@charset "UTF-8";

/* =========================================================
   A SLICE OF ME — strawberry cream personal archive
   Palette: milk white / vanilla cream / strawberry blush
   ========================================================= */

:root {
  --paper: #fbf7f0;
  --paper-soft: #fffdf9;
  --paper-deep: #f4ecdf;
  --ink: #4a403c;
  --ink-soft: #7d716b;
  --ink-faint: #b0a49c;
  --line: rgba(122, 96, 88, 0.1);
  --line-strong: rgba(122, 96, 88, 0.18);

  /* Soft macaron accents, low saturation; rose stays the lead. */
  --rose: #e7b3c2;
  --rose-deep: #cf7f95;
  --rose-soft: #f7e3ea;
  --rose-wash: #fdf3f6;
  --mint: #c4e2d6;
  --mint-wash: #eef7f2;
  --butter: #f3e2b0;
  --butter-wash: #fdf6e3;
  --sky: #c2d9ec;
  --sky-wash: #eff6fb;
  --lilac: #d8cbe8;
  --lilac-wash: #f6f2fa;

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

  --serif: "Garamond", "思源宋体 CN", "Source Han Serif CN", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Helvetica Neue", "Noto Sans SC", "思源黑体 CN", "Source Han Sans CN", "Microsoft YaHei UI", sans-serif;

  --gutter: clamp(22px, 5vw, 76px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 26px 74px rgba(172, 122, 138, 0.1);
  --radius-sm: 16px;
  --radius-md: 26px;
  --radius-lg: 38px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: 150;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.48'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 48% at 12% 8%, rgba(255, 255, 255, 0.96), transparent 70%),
    radial-gradient(ellipse 44% 40% at 90% 82%, rgba(247, 227, 234, 0.32), transparent 72%),
    radial-gradient(ellipse 38% 36% at 8% 88%, rgba(196, 226, 214, 0.22), transparent 74%),
    radial-gradient(ellipse 36% 34% at 88% 6%, rgba(243, 226, 176, 0.2), transparent 72%),
    radial-gradient(ellipse 36% 34% at 50% 100%, rgba(194, 217, 236, 0.16), transparent 74%),
    linear-gradient(145deg, #fdfaf4 0%, var(--paper) 52%, #f9f1ea 100%);
}

::selection {
  color: var(--paper-soft);
  background: var(--rose-deep);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 5px;
}

[hidden] {
  display: none !important;
}

/* ---------------------------------------------------------
   Page veil / route transition
   --------------------------------------------------------- */

.veil {
  display: none;
}

.js .veil {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--paper);
  transform: translateY(0);
  transition: transform 0.9s var(--ease);
  will-change: transform;
}

.js body.is-loaded .veil {
  transform: translateY(-101%);
}

.js body.is-leaving .veil {
  transform: translateY(0);
  transition: transform 0.5s var(--ease-soft);
}

.veil-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.veil-mark {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.veil-word {
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

.site-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 24px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.brand-text small {
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.22em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  justify-self: center;
  background: rgba(255, 252, 247, 0.42);
  border: 1px solid rgba(93, 74, 64, 0.08);
  border-radius: 999px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 7px;
  padding: 9px 14px;
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

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

.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--rose-soft);
  box-shadow: 0 5px 16px rgba(166, 113, 105, 0.08);
}

.site-nav a[aria-current="page"] .nav-no {
  color: var(--rose-deep);
}

.head-side {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: end;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.head-side .head-date {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.head-side .back-table {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.1em;
  background: rgba(255, 252, 247, 0.46);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.head-side .back-table span {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.head-side .back-table:hover {
  color: var(--rose-deep);
  background: var(--rose-wash);
  border-color: rgba(232, 158, 179, 0.34);
}

.head-side .back-table:hover span {
  color: var(--paper-soft);
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  transform: rotate(45deg);
}

/* ---------------------------------------------------------
   Landing / cover
   --------------------------------------------------------- */

.cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 64px);
  min-height: 100svh;
  padding: clamp(104px, 13vh, 142px) var(--gutter) clamp(58px, 7vh, 78px);
  overflow: hidden;
}

.cover::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 3%;
  width: min(56vw, 780px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(245, 184, 203, 0.26) 0%, rgba(243, 217, 211, 0.12) 42%, transparent 70%);
  border-radius: 50%;
  filter: blur(10px);
  transform: translateY(-50%);
  pointer-events: none;
}

.cover-intro {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 440px;
  padding-left: clamp(0px, 1.2vw, 20px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--line-strong);
}

.eyebrow .eyebrow-no {
  color: var(--clay);
}

.cover-title {
  margin-top: clamp(26px, 4vh, 42px);
  font-family: var(--serif);
  font-size: clamp(52px, 6.6vw, 98px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.015em;
}

.cover-title span {
  display: block;
}

.cover-title .title-accent {
  position: relative;
  width: fit-content;
  color: var(--rose-deep);
}

.cover-title .title-accent::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: 0.35em;
  width: 15px;
  height: 15px;
  background: rgba(249, 223, 230, 0.58);
  border: 1px solid var(--rose);
  border-radius: 50%;
  opacity: 0.9;
}

.cover-en {
  margin-top: 18px;
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 21px);
  font-style: italic;
  letter-spacing: 0.02em;
}

.cover-lead {
  position: relative;
  max-width: 310px;
  min-height: 62px;
  margin-top: clamp(26px, 4vh, 44px);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: 0.06em;
}

.lead-initial,
.lead-cut {
  display: block;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.lead-cut {
  position: absolute;
  inset: 0;
  color: var(--ink);
  opacity: 0;
  transform: translateY(9px);
  pointer-events: none;
}

body.is-cut .lead-initial {
  opacity: 0;
  transform: translateY(-8px);
}

body.is-cut .lead-cut {
  opacity: 1;
  transform: translateY(0);
}

.cover-signature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: clamp(26px, 4.2vh, 46px);
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.75;
  letter-spacing: 0.14em;
}

.seal {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}

.seal::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(232, 158, 179, 0.22);
  border-radius: 50%;
}

.scene-wrap {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(100%, 66vw, calc(100svh - 190px), 800px);
}

.scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.scene::before {
  content: "";
  position: absolute;
  inset: -1%;
  z-index: -1;
  background: radial-gradient(circle, rgba(255, 253, 249, 0.18), transparent 62%);
  border: 1px solid rgba(232, 158, 179, 0.14);
  border-radius: 50%;
  transform: scale(0.985);
}

.scene-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  user-select: none;
  -webkit-user-select: none;
}

/* SVG tableware */

.table-ring {
  fill: none;
  stroke: rgba(211, 101, 132, 0.13);
  stroke-width: 1;
}

.table-ring--inner {
  stroke: rgba(211, 101, 132, 0.08);
  stroke-dasharray: 1 10;
  stroke-linecap: round;
}

.fork {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 1.2s var(--ease);
}

.scene:hover .fork {
  transform: rotate(1.1deg) translateY(-2px);
}

.spoon {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 1.2s var(--ease);
}

.scene:hover .spoon {
  transform: rotate(-1.1deg) translateY(-2px);
}

.knife {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.65s var(--ease), filter 0.4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.knife-halo {
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}

@media (hover: hover) {
  .scene:not(.is-cut):not(.is-cutting) .knife:hover {
    transform: translate(-7px, -10px) rotate(-4deg);
    filter: drop-shadow(0 18px 22px rgba(55, 37, 22, 0.16));
  }

  .scene:not(.is-cut):not(.is-cutting) .knife:hover .knife-halo {
    opacity: 1;
  }
}

.scene:not(.is-cut):not(.is-cutting) .knife:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 0.7px var(--clay)) drop-shadow(0 14px 18px rgba(55, 37, 22, 0.2));
}

.scene:not(.is-cut):not(.is-cutting) .knife:focus-visible .blade {
  stroke: var(--clay);
  stroke-width: 2;
}

.scene.is-cutting .knife:focus-visible,
.scene.is-cut .knife:focus-visible {
  outline: none;
}

.scene.is-cutting .knife {
  pointer-events: none;
  animation: knifeDance 1.85s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.scene.is-cut .knife {
  cursor: default;
  pointer-events: none;
}

@keyframes knifeDance {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  14% {
    transform: translate(-126px, -152px) rotate(-38deg);
  }
  26% {
    transform: translate(-106px, -92px) rotate(-43deg);
  }
  39% {
    transform: translate(-154px, -124px) rotate(-34deg);
  }
  52% {
    transform: translate(-100px, -58px) rotate(-47deg);
  }
  65% {
    transform: translate(-148px, -132px) rotate(-36deg);
  }
  79% {
    transform: translate(-88px, -34px) rotate(-42deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.knife-glint {
  opacity: 0;
}

.scene.is-cutting .knife-glint {
  animation: glint 0.65s ease-out 0.45s both;
}

@keyframes glint {
  0% {
    opacity: 0;
    transform: translate(0, 18px);
  }
  35% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(0, -34px);
  }
}

/* Cake illustration */

.cake-base {
  filter: drop-shadow(0 14px 11px rgba(90, 52, 66, 0.16));
  transition: opacity 0.18s linear;
}

.scene.is-split .cake-base {
  opacity: 0;
}

.cake-art {
  filter: none;
}

.wedge {
  transform-box: view-box;
  transform-origin: 450px 460px;
  filter: none;
  transition: transform 1.05s cubic-bezier(0.34, 1.28, 0.64, 1), filter 0.35s var(--ease);
}

.scene.is-split .wedge {
  filter: drop-shadow(0 10px 9px rgba(90, 52, 66, 0.2));
}

.scene.is-split .wedge--about {
  transform: translate(-9px, -2px) rotate(-0.35deg);
}

.scene.is-split .wedge--works {
  transform: translate(0, 7px);
  transition-delay: 0.06s;
}

.scene.is-split .wedge--books {
  transform: translate(9px, -2px) rotate(0.35deg);
  transition-delay: 0.03s;
}

.cake-under-shadow {
  transition: opacity 0.8s var(--ease);
}

.scene.is-split .cake-under-shadow {
  opacity: 0.05;
}

.cut-edge {
  fill: none;
  stroke: #eaa2b4;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 0.45s var(--ease) 0.15s;
}

.scene.is-split .cut-edge {
  opacity: 0.85;
}

.cut-line {
  fill: none;
  stroke: #bd6f83;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}

.scene.is-cutting .cut-line {
  animation: cutDraw 0.55s var(--ease-soft) both;
}

.scene.is-cutting .cut-line--2 {
  animation-delay: 0.42s;
}

.scene.is-cutting .cut-line--3 {
  animation-delay: 0.84s;
}

@keyframes cutDraw {
  0% {
    opacity: 0.9;
    stroke-dashoffset: 1;
  }
  75% {
    opacity: 0.6;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

.cut-glow {
  opacity: 0;
  transform-origin: 450px 470px;
}

.scene.is-cutting .cut-glow {
  animation: cutGlow 1.3s ease-out 0.65s both;
}

@keyframes cutGlow {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  35% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

/* Slice labels */

.slice-labels {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.slice-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  padding: 8px 10px 8px 14px;
  color: var(--ink);
  background: rgba(255, 252, 248, 0.92);
  border: 1px solid rgba(232, 158, 179, 0.26);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(181, 104, 132, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.scene.is-cut .slice-label {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scene.is-cut .slice-label--about {
  transition-delay: 0.08s;
}

.scene.is-cut .slice-label--passions {
  transition-delay: 0.18s;
}

.scene.is-cut .slice-label--works {
  transition-delay: 0.28s;
}

.slice-label--about {
  top: 9.5%;
  left: 8%;
}

.slice-label--passions {
  bottom: 4.5%;
  left: 50%;
  transform: translate(-50%, 12px);
}

.scene.is-cut .slice-label--passions {
  transform: translate(-50%, 0);
}

.slice-label--works {
  top: 9.5%;
  right: 8%;
}

.cake-zones {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.cake-zone {
  position: absolute;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 44% 44% 26% 26%;
  pointer-events: none;
  cursor: default;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.scene.is-cut .cake-zone {
  pointer-events: auto;
  cursor: pointer;
}

.cake-zone--about {
  top: 11%;
  left: 15%;
  width: 31%;
  height: 55%;
}

.cake-zone--books {
  top: 11%;
  left: 54%;
  width: 31%;
  height: 55%;
}

.cake-zone--works {
  top: 52%;
  left: 23%;
  width: 54%;
  height: 25%;
}

.scene.is-cut .cake-zone:hover,
.scene.is-cut .cake-zone:focus-visible {
  background: rgba(255, 248, 250, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 250, 252, 0.36);
  outline: none;
}

.slice-label:hover {
  background: var(--paper-soft);
  border-color: rgba(232, 158, 179, 0.62);
  box-shadow: 0 16px 42px rgba(181, 104, 132, 0.15);
}

.slice-label .slice-no {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  line-height: 1;
}

.slice-label .slice-name {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.slice-label .slice-name em {
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.2em;
}

.slice-label .slice-arrow {
  display: grid;
  width: 27px;
  height: 27px;
  margin-left: 2px;
  place-items: center;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), transform 0.35s var(--ease);
}

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

/* Hint + foot */

.scene-hint {
  position: absolute;
  bottom: -0.4%;
  left: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 14px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.11em;
  white-space: nowrap;
  background: rgba(255, 252, 248, 0.9);
  border: 1px solid rgba(232, 158, 179, 0.24);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(181, 104, 132, 0.09);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateX(-50%);
  transition:
    color 0.35s var(--ease),
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.scene-hint .hint-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--rose-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(232, 158, 179, 0.15);
  animation: hintPulse 2.4s ease-out infinite;
}

.scene.is-cut .scene-hint .hint-dot {
  background: var(--rose-deep);
  box-shadow: 0 0 0 4px rgba(232, 158, 179, 0.16);
}

.scene-hint:hover {
  color: var(--ink);
  background: var(--paper-soft);
  border-color: rgba(232, 158, 179, 0.42);
  box-shadow: 0 14px 34px rgba(181, 104, 132, 0.12);
  transform: translateX(-50%) translateY(-2px);
}

.scene-hint[disabled] {
  cursor: default;
}

.scene-hint[disabled]:hover {
  color: var(--ink-soft);
  background: rgba(255, 252, 248, 0.9);
  border-color: rgba(232, 158, 179, 0.24);
  box-shadow: 0 10px 30px rgba(181, 104, 132, 0.09);
  transform: translateX(-50%);
}

@keyframes hintPulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(232, 158, 179, 0.1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(232, 158, 179, 0.025);
  }
}

.cover-foot {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  left: var(--gutter);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}

.cover-foot .foot-left,
.cover-foot .foot-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cover-foot .foot-left::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--line);
}

.reset-cake {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.12em;
  background: rgba(255, 252, 247, 0.42);
  border: 1px solid var(--line);
  border-radius: 999px;
  pointer-events: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

body.is-cut .reset-cake {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reset-cake span {
  font-size: 13px;
  transition: transform 0.45s var(--ease);
}

.reset-cake:hover {
  color: var(--rose-deep);
  background: var(--rose-wash);
  border-color: rgba(232, 158, 179, 0.34);
}

.reset-cake:hover span {
  transform: rotate(-180deg);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

.page-main {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(116px, 15vh, 160px) var(--gutter) 0;
}

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: end;
  gap: clamp(32px, 6vw, 100px);
  padding-bottom: clamp(36px, 5vw, 62px);
  border-bottom: 1px solid var(--line);
}

.page-head-copy {
  max-width: 860px;
}

.page-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(22px, 3vw, 36px);
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--line-strong);
}

.page-kicker .kicker-no {
  color: var(--clay);
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(52px, 7.2vw, 108px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.012em;
}

.page-title .title-accent {
  color: var(--rose-deep);
}

.page-lead {
  max-width: 430px;
  padding-bottom: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2.05;
  letter-spacing: 0.035em;
}

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

.page-body {
  padding-top: clamp(48px, 7vw, 92px);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal--delay-1 {
  transition-delay: 0.08s;
}

.js .reveal--delay-2 {
  transition-delay: 0.16s;
}

.js .reveal--delay-3 {
  transition-delay: 0.24s;
}

.next-slice {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(80px, 11vw, 150px);
  padding: clamp(26px, 3vw, 36px) clamp(24px, 3.2vw, 42px);
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.6), rgba(248, 234, 230, 0.55));
  border: 1px solid rgba(232, 158, 179, 0.2);
  border-radius: var(--radius-lg);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.next-slice-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.next-slice-copy small {
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.next-slice-copy strong {
  font-family: var(--serif);
  font-size: clamp(29px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  transition: color 0.35s var(--ease);
}

.next-slice-arrow {
  display: grid;
  width: clamp(50px, 5vw, 68px);
  height: clamp(50px, 5vw, 68px);
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink-soft);
  font-size: 20px;
  background: rgba(255, 253, 249, 0.6);
  border: 1px solid rgba(232, 158, 179, 0.26);
  border-radius: 50%;
  transition:
    color 0.4s var(--ease),
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    transform 0.5s var(--ease);
}

.next-slice:hover {
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.92), rgba(246, 226, 222, 0.79));
  border-color: rgba(232, 158, 179, 0.38);
  box-shadow: 0 22px 54px rgba(181, 104, 132, 0.1);
}

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

.next-slice:hover .next-slice-arrow {
  color: var(--paper-soft);
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  transform: rotate(45deg);
}

.page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 34px;
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.page-footer .footer-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-footer .footer-dot {
  width: 4px;
  height: 4px;
  background: var(--clay);
  border-radius: 50%;
}

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

.about-body {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(45px, 8vw, 128px);
  align-items: start;
}

.portrait {
  position: relative;
  width: 100%;
  max-width: 590px;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  border: 1px solid rgba(232, 158, 179, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(181, 104, 132, 0.12);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(38, 35, 31, 0.16));
  pointer-events: none;
}

.portrait-frame svg {
  width: 100%;
  height: 100%;
  transition: transform 1.2s var(--ease);
}

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

.portrait-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portrait-caption .caption-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.portrait-caption .caption-stamp {
  color: var(--clay);
  font-family: var(--serif);
  font-style: italic;
}

.about-copy {
  padding-top: clamp(0px, 2vw, 22px);
}

.about-lead {
  max-width: 620px;
  font-family: var(--serif);
  font-size: clamp(23px, 2.45vw, 34px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.about-lead em {
  color: var(--rose-deep);
  font-style: normal;
}

.about-text {
  display: grid;
  gap: 17px;
  max-width: 600px;
  margin-top: clamp(26px, 3.5vw, 40px);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: 0.035em;
}

.about-text p {
  max-width: 560px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  max-width: 590px;
  margin-top: clamp(38px, 5vw, 62px);
}

.fact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 13px 15px;
  background: rgba(255, 253, 249, 0.47);
  border: 1px solid rgba(232, 158, 179, 0.16);
  border-radius: var(--radius-sm);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.fact:hover {
  background: rgba(255, 253, 249, 0.82);
  border-color: rgba(232, 158, 179, 0.3);
}

.fact dt {
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fact dd {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.fact dd a {
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.fact dd a:hover {
  color: var(--rose-deep);
  border-color: var(--rose-deep);
}

.skills {
  max-width: 590px;
  margin-top: 30px;
}

.skills-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

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

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.skill-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 13px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.06em;
  background: rgba(251, 240, 237, 0.72);
  border: 1px solid rgba(232, 158, 179, 0.2);
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.skill-tags span:hover {
  color: var(--rose-deep);
  background: rgba(255, 253, 249, 0.9);
  border-color: rgba(232, 158, 179, 0.36);
}

.trait-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  max-width: 590px;
  margin-top: 20px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.72), rgba(248, 233, 229, 0.58));
  border: 1px solid rgba(232, 158, 179, 0.2);
  border-radius: var(--radius-md);
}

.trait-label {
  padding-top: 2px;
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  white-space: nowrap;
}

.trait-note p {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.035em;
}

.now-strip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 590px;
  margin-top: 20px;
  padding: 16px 18px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  background: rgba(255, 252, 248, 0.52);
  border: 1px solid rgba(232, 158, 179, 0.18);
  border-radius: var(--radius-sm);
}

.now-strip .now-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin-top: 7px;
  background: var(--rose);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(232, 158, 179, 0.15);
}

.about-quote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(72px, 9vw, 120px);
  padding: clamp(38px, 5vw, 60px) clamp(28px, 4.5vw, 58px);
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.58), rgba(247, 230, 226, 0.56));
  border: 1px solid rgba(232, 158, 179, 0.18);
  border-radius: var(--radius-lg);
}

.quote-mark {
  color: var(--clay-soft);
  font-family: var(--serif);
  font-size: clamp(70px, 9vw, 126px);
  line-height: 0.65;
}

.quote-copy {
  max-width: 900px;
}

.quote-copy blockquote {
  font-family: var(--serif);
  font-size: clamp(27px, 3.4vw, 48px);
  line-height: 1.55;
  letter-spacing: 0.015em;
}

.quote-copy blockquote em {
  color: var(--rose-deep);
  font-style: normal;
}

.quote-copy cite {
  display: block;
  margin-top: 22px;
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   Picture books
   --------------------------------------------------------- */

.book-feature {
  margin-bottom: clamp(74px, 9vw, 128px);
}

.book-feature-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  align-items: end;
  gap: clamp(26px, 4vw, 60px);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.book-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.book-feature-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  color: var(--rose-deep);
  font-size: 8px;
  letter-spacing: 0.18em;
  background: rgba(251, 240, 237, 0.84);
  border: 1px solid rgba(232, 158, 179, 0.22);
  border-radius: 999px;
}

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

.book-feature-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.book-feature-title em {
  display: block;
  margin-top: 7px;
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: 0.32em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.book-feature-note {
  max-width: 310px;
  justify-self: end;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.035em;
}

.book-stage {
  position: relative;
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid rgba(232, 158, 179, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 38px 90px rgba(181, 104, 132, 0.13);
  cursor: pointer;
}

.book-spread {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  position: relative;
}

.book-spread.is-active {
  display: grid;
  animation: bookPageIn 0.65s var(--ease);
}

.book-spread::after {
  content: "";
  position: absolute;
  top: 7%;
  bottom: 7%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(122, 87, 98, 0.16) 16%, rgba(122, 87, 98, 0.16) 84%, transparent);
  box-shadow: 10px 0 26px rgba(117, 77, 67, 0.09);
  pointer-events: none;
}

@keyframes bookPageIn {
  0% {
    opacity: 0;
    transform: translateX(12px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.book-page {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(42px, 5vw, 76px);
}

.book-page--text {
  background: linear-gradient(135deg, #fffdf9, #fbf0eb);
}

.book-page--art {
  align-items: center;
  background: linear-gradient(150deg, #f8e9e3, #efd8d2);
}

.book-page--text::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(232, 158, 179, 0.13);
  border-radius: 20px;
  pointer-events: none;
}

.story-kicker {
  margin-bottom: clamp(22px, 3vw, 36px);
  color: var(--rose-deep);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.story-text {
  max-width: 460px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.03em;
}

.story-text em {
  color: var(--rose-deep);
  font-style: normal;
}

.story-sign {
  margin-top: clamp(28px, 4vw, 48px);
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.page-number {
  position: absolute;
  left: 30px;
  bottom: 24px;
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.book-page--art .page-number {
  right: 30px;
  left: auto;
}

.book-art {
  width: 100%;
  max-width: 500px;
}

.book-art svg {
  width: 100%;
  height: auto;
}

.book-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 4px 0;
}

.book-next {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 18px;
  color: var(--paper-soft);
  font-size: 9px;
  letter-spacing: 0.14em;
  background: var(--rose-deep);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(211, 101, 132, 0.18);
  transition: background 0.3s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.book-next-arrow {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: var(--rose-deep);
  font-size: 11px;
  background: rgba(255, 253, 249, 0.88);
  border-radius: 50%;
  transition: transform 0.35s var(--ease);
}

.book-next:hover {
  background: #c15d7d;
  box-shadow: 0 14px 30px rgba(211, 101, 132, 0.24);
  transform: translateY(-2px);
}

.book-next:hover .book-next-arrow {
  transform: translateX(2px);
}

.book-counter {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.1em;
}

.book-counter::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(232, 158, 179, 0.42);
}

.book-shelf {
  padding-top: clamp(6px, 2vw, 18px);
}

.book-shelf-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(24px, 3.4vw, 42px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.book-shelf-head h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 400;
  line-height: 1.2;
}

.book-shelf-head p {
  max-width: 320px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: right;
}

.books-grid .work-art {
  border-radius: var(--radius-md);
}

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

body.reader-open {
  overflow: hidden;
}

.book-reader {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.6vw, 34px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.book-reader.is-open {
  opacity: 1;
  pointer-events: auto;
}

.book-reader-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(65, 37, 48, 0.48);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

.book-reader-shell {
  /* 书的两页 + 中缝在视觉上始终是 2:1；同时受屏幕高度约束，短屏也不会顶出画面 */
  --reader-book-width: min(1500px, 100%, calc(200svh - 380px));
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.2vh, 14px);
  width: min(1500px, 100%);
  max-height: 96svh;
  color: #fff8fa;
  opacity: 0;
  transform: translateY(24px) scale(0.975);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
}

.book-reader.is-open .book-reader-shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reader-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--reader-book-width));
  padding: 0 4px;
}

.reader-heading {
  min-width: 0;
}

.reader-kicker {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 247, 249, 0.62);
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.reader-title {
  overflow: hidden;
  color: #fff9fb;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-tap-hint {
  display: block;
  margin-top: 2px;
  color: rgba(255, 247, 249, 0.54);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.reader-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  font-size: 19px;
  background: rgba(255, 253, 250, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(46, 23, 31, 0.18);
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    transform 0.35s var(--ease);
}

.reader-close:hover {
  color: #fff9fb;
  background: var(--rose-deep);
  transform: rotate(90deg);
}

.reader-stage {
  display: grid;
  width: 100%;
  place-items: center;
  perspective: 8000px;
}

.reader-book {
  position: relative;
  width: var(--reader-book-width);
  aspect-ratio: 2 / 1;
  height: auto;
  transform-style: preserve-3d;
  user-select: none;
  -webkit-user-select: none;
}

.reader-spread {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  background: var(--paper-soft);
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 0 0 1px rgba(211, 101, 132, 0.06),
    inset 0 0 60px rgba(171, 91, 118, 0.05);
  transform-style: preserve-3d;
}

.reader-page {
  position: relative;
  height: 100%;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(135deg, #fffdfb, #fff8f6);
  cursor: pointer;
}

.reader-page--left {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  border-right: 1px solid rgba(211, 101, 132, 0.12);
}

.reader-page--right {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.reader-gutter {
  position: absolute;
  top: 4%;
  bottom: 4%;
  left: 50%;
  z-index: 12;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(159, 87, 111, 0.2) 15%, rgba(159, 87, 111, 0.2) 85%, transparent);
  box-shadow:
    -10px 0 24px rgba(122, 67, 89, 0.09),
    10px 0 24px rgba(122, 67, 89, 0.11);
  pointer-events: none;
}

.reader-page-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: clamp(32px, 4.4vw, 68px);
  overflow: hidden;
}

.reader-page-kicker {
  margin-bottom: clamp(22px, 3.6vh, 38px);
  color: var(--rose-deep);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.reader-story-text {
  max-width: 440px;
  font-family: var(--serif);
  font-size: clamp(20px, 1.85vw, 28px);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.025em;
}

.reader-story-text em {
  color: var(--rose-deep);
  font-style: normal;
}

.reader-sign {
  margin-top: clamp(22px, 3.6vh, 36px);
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.reader-page-number {
  position: absolute;
  right: clamp(22px, 3vw, 40px);
  bottom: clamp(18px, 2.4vh, 28px);
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.reader-page--left .reader-page-number {
  right: auto;
  left: clamp(22px, 3vw, 40px);
}

.reader-title-page {
  background:
    radial-gradient(circle at 74% 24%, rgba(249, 197, 211, 0.46), transparent 35%),
    linear-gradient(145deg, #fffdfb, #fff1f5);
}

.reader-title-page::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -82px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(211, 101, 132, 0.16);
  border-radius: 50%;
}

.reader-title-page .reader-book-name {
  position: relative;
  z-index: 1;
  max-width: 420px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.03em;
}

.reader-title-page .reader-book-en {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 21px);
  font-style: italic;
}

.reader-title-page .reader-intro {
  position: relative;
  z-index: 1;
  max-width: 370px;
  margin-top: clamp(24px, 4vh, 38px);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.035em;
}

.reader-title-page .reader-author {
  position: absolute;
  bottom: clamp(48px, 6.8vh, 66px);
  left: clamp(32px, 4.4vw, 68px);
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reader-cover-page {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #5b4147;
}

.reader-cover-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.reader-cover-bg > svg {
  width: 100%;
  height: 100%;
}

.reader-cover-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(61, 38, 46, 0.46), rgba(61, 38, 46, 0.02) 54%, rgba(61, 38, 46, 0.42)),
    linear-gradient(90deg, rgba(61, 38, 46, 0.12), transparent 40%);
}

.reader-cover-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: clamp(32px, 4.4vw, 64px);
  color: #fff9fa;
  text-shadow: 0 2px 18px rgba(56, 27, 38, 0.25);
}

.reader-cover-kicker {
  font-size: 8px;
  letter-spacing: 0.2em;
  opacity: 0.76;
}

.reader-cover-title {
  max-width: 360px;
  font-family: var(--serif);
  font-size: clamp(46px, 4.8vw, 76px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.reader-cover-en {
  margin-top: 10px;
  color: #ffeef2;
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 23px);
  font-style: italic;
  letter-spacing: 0.02em;
}

.reader-cover-foot {
  font-size: 8px;
  letter-spacing: 0.16em;
  opacity: 0.7;
}

.reader-art-page {
  padding: 0;
  background: var(--paper-soft);
}

.reader-art-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.reader-art-frame > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reader-art-page.is-zoom .reader-art-frame > svg {
  transform: scale(1.24);
}

.reader-art-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(255, 250, 247, 0.72);
  font-size: 7px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reader-quote-page {
  justify-content: space-between;
  background:
    radial-gradient(circle at 77% 16%, rgba(255, 255, 255, 0.62), transparent 30%),
    linear-gradient(150deg, #f9dce4, #f3c5d0);
}

.reader-quote-page--cloud {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.7), transparent 33%),
    linear-gradient(150deg, #fff3ef, #f9ced9);
}

.reader-quote-page--friday {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 251, 241, 0.78), transparent 36%),
    linear-gradient(150deg, #f9e8df, #f3cbd3);
}

.reader-quote-kicker {
  color: var(--rose-deep);
  font-size: 8px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.reader-quote-text {
  max-width: 380px;
  color: #5c3e4a;
  font-family: var(--serif);
  font-size: clamp(38px, 4.4vw, 68px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.reader-quote-note {
  max-width: 260px;
  color: rgba(85, 55, 66, 0.7);
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.reader-quote-page .reader-page-number {
  color: rgba(85, 55, 66, 0.6);
}

.reader-leaf {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  display: none;
  width: 50%;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  pointer-events: none;
  will-change: transform;
}

.reader-leaf.is-active {
  display: block;
}

.reader-leaf.is-left {
  right: auto;
  left: 0;
  transform-origin: right center;
}

.reader-leaf.is-turning {
  animation: readerTurn 0.72s cubic-bezier(0.32, 0.04, 0.18, 1) forwards;
}

.reader-leaf.is-turning-back {
  animation: readerTurnBack 0.72s cubic-bezier(0.32, 0.04, 0.18, 1) forwards;
}

.reader-leaf-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--paper-soft);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 12px 32px rgba(44, 19, 29, 0.16);
}

/* 翻页时纸张靠近书脊的一侧自然变暗，外侧保留一点受光 */
.reader-leaf-face::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(74, 40, 52, 0.2),
    rgba(74, 40, 52, 0.07) 14%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.06)
  );
}

.reader-leaf.is-left .reader-leaf-front::after,
.reader-leaf.is-left .reader-leaf-back::after {
  background: linear-gradient(
    270deg,
    rgba(74, 40, 52, 0.2),
    rgba(74, 40, 52, 0.07) 14%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.06)
  );
}

.reader-leaf-front {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.reader-leaf-back {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  transform: rotateY(180deg);
}

.reader-leaf.is-left .reader-leaf-front {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.reader-leaf.is-left .reader-leaf-back {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

@keyframes readerTurn {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(-180deg);
  }
}

@keyframes readerTurnBack {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(180deg);
  }
}

.reader-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 2px;
}

.reader-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  color: #fff8fa;
  font-size: 10px;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

.reader-nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.reader-nav:disabled {
  cursor: default;
  opacity: 0.35;
}

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

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

.reader-progress {
  min-width: 130px;
  color: rgba(255, 248, 250, 0.76);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.1em;
  text-align: center;
}

.reader-book.is-single {
  width: min(480px, 92vw, 66svh);
  aspect-ratio: 1 / 1;
  height: auto;
}

.reader-book.is-single .reader-spread {
  grid-template-columns: 1fr;
}

.reader-book.is-single .reader-page--left {
  display: none;
}

.reader-book.is-single .reader-page--right {
  border-radius: var(--radius-md);
}

.reader-book.is-single .reader-gutter {
  display: none;
}

.reader-book.is-single .reader-leaf {
  right: auto;
  left: 0;
  width: 100%;
  transform-origin: left center;
}

.reader-book.is-single .reader-leaf.is-left {
  transform-origin: right center;
}

.reader-book.is-single .reader-leaf-front,
.reader-book.is-single .reader-leaf-back {
  border-radius: var(--radius-md);
}

.reader-book.is-single .reader-page-number {
  right: clamp(22px, 3vw, 40px);
  left: auto;
}

/* ---------------------------------------------------------
   Interactive bakery kitchen
   --------------------------------------------------------- */

.kitchen-wrap {
  position: relative;
}

.kitchen-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  padding: 0 4px;
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kitchen-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
}

.kitchen-dot {
  width: 5px;
  height: 5px;
  background: var(--rose-deep);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(211, 101, 132, 0.12);
}

.kitchen-hint {
  color: var(--rose-deep);
}

.kitchen-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background: #fff8f6;
  border: 1px solid rgba(211, 101, 132, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 75px rgba(181, 104, 132, 0.15);
}

.kitchen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.kitchen-spot {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1.5px dashed transparent;
  border-radius: 26px;
  cursor: pointer;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.kitchen-spot:hover,
.kitchen-spot:focus-visible {
  background: rgba(255, 252, 249, 0.09);
  border-color: rgba(255, 247, 250, 0.6);
  box-shadow: inset 0 0 0 1px rgba(211, 101, 132, 0.12);
  outline: none;
}

.kitchen-spot--microwave {
  top: 37%;
  left: 17%;
  width: 28%;
  height: 27%;
}

.kitchen-spot--bowl {
  top: 38%;
  left: 56%;
  width: 23%;
  height: 27%;
}

.kitchen-spot--oven {
  top: 63%;
  left: 19%;
  width: 31%;
  height: 31%;
  align-items: flex-start;
  padding: 10px 0 0;
}

.spot-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px 6px 7px;
  background: rgba(255, 252, 248, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(79, 41, 54, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background 0.3s var(--ease),
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.kitchen-spot:hover .spot-pill,
.kitchen-spot:focus-visible .spot-pill {
  background: var(--paper-soft);
  box-shadow: 0 14px 34px rgba(79, 41, 54, 0.24);
  transform: translateY(-2px);
}

.spot-no {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 9px;
  font-style: italic;
  background: var(--rose-deep);
  border-radius: 50%;
}

.spot-name {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: 0.05em;
  text-align: left;
  white-space: nowrap;
}

.spot-name em {
  margin-top: 1px;
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: 9px;
  font-style: italic;
  letter-spacing: 0.02em;
}

.spot-arrow {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink-soft);
  font-size: 9px;
  border: 1px solid rgba(107, 82, 91, 0.16);
  border-radius: 50%;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), transform 0.35s var(--ease);
}

.kitchen-spot:hover .spot-arrow {
  color: var(--paper-soft);
  background: var(--rose-deep);
  transform: rotate(45deg);
}

/* gentle bounce reminder — invites a click */
.spot-pill {
  position: relative;
  animation: spotBob 2.8s var(--ease) infinite;
}

.kitchen-spot--oven .spot-pill {
  animation-delay: 0.5s;
}

.kitchen-spot--bowl .spot-pill {
  animation-delay: 1s;
}

@keyframes spotBob {
  0%,
  100% {
    transform: translateY(0);
  }
  12% {
    transform: translateY(-6px);
  }
  24% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-2.5px);
  }
  36% {
    transform: translateY(0);
  }
}

/* pulsing ring around the pill — an affordance beacon */
.spot-pill::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1.5px solid rgba(211, 101, 132, 0.55);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  animation: spotPing 2.8s ease-out infinite;
}

.kitchen-spot--oven .spot-pill::after {
  animation-delay: 0.5s;
}

.kitchen-spot--bowl .spot-pill::after {
  animation-delay: 1s;
}

@keyframes spotPing {
  0% {
    opacity: 0.85;
    transform: scale(1);
  }
  55%,
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

.kitchen-spot:hover .spot-pill,
.kitchen-spot:focus-visible .spot-pill {
  animation: none;
}

.kitchen-spot:hover .spot-pill::after,
.kitchen-spot:focus-visible .spot-pill::after {
  animation: none;
  opacity: 0;
}

/* clicked once — calm the reminder, keep the label */
.kitchen-spot.is-visited .spot-pill,
.kitchen-spot.is-visited .spot-pill::after {
  animation: none;
}

.kitchen-spot.is-visited .spot-pill::after {
  opacity: 0;
}

/* click feedback — a slightly bigger springy bounce */
.kitchen-spot.is-tapped .spot-pill {
  animation: spotTap 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes spotTap {
  0% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(-12px) scale(1.06);
  }
  65% {
    transform: translateY(2px) scale(0.97);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.kitchen-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.kitchen-index button {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 11px 13px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 253, 249, 0.48);
  border: 1px solid rgba(211, 101, 132, 0.15);
  border-radius: var(--radius-sm);
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.kitchen-index button:hover {
  background: var(--paper-soft);
  border-color: rgba(211, 101, 132, 0.34);
  transform: translateY(-2px);
}

.kitchen-index-no {
  color: var(--rose-deep);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.kitchen-index button > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.kitchen-index em {
  margin-top: 2px;
  color: var(--ink-faint);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.kitchen-index-arrow {
  color: var(--ink-faint);
  font-size: 11px;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.kitchen-index button:hover .kitchen-index-arrow {
  color: var(--rose-deep);
  transform: translate(2px, -2px);
}

.kitchen-note {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-align: right;
}

/* ---------------------------------------------------------
   Works — single bakery illustration
   --------------------------------------------------------- */

.page-main--works .page-kicker {
  margin-bottom: 18px;
}

.page-main--works .page-title {
  font-size: clamp(46px, 4.8vw, 72px);
  line-height: 1.12;
}

.page-main--works .page-title br {
  display: none;
}

.page-main--works .page-body {
  padding-top: clamp(36px, 4.6vw, 60px);
}

@media (min-width: 901px) {
  .page-main--works .page-head {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    padding-bottom: clamp(30px, 4vw, 50px);
  }

  .page-main--works .page-title {
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .page-main--works .page-title br {
    display: inline;
  }
}

.works-piece {
  margin: 0;
}

.works-frame {
  position: relative;
  overflow: hidden;
  background: #fff8f6;
  border: 1px solid rgba(211, 101, 132, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 75px rgba(181, 104, 132, 0.15);
}

.works-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.works-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin-top: 18px;
  padding: 0 4px;
}

.works-caption-no {
  color: var(--clay);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1;
}

.works-caption-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.works-caption-name em {
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.2em;
}

.works-caption-meta {
  margin-left: auto;
  color: var(--ink-faint);
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.works-stage {
  position: relative;
}

.works-stage .kitchen-spot {
  z-index: 2;
  border-radius: 22px;
}

.works-stage .kitchen-spot--microwave {
  top: 39%;
  left: 24%;
  width: 22%;
  height: 27%;
}

.works-stage .kitchen-spot--bowl {
  top: 47%;
  left: 63%;
  width: 16%;
  height: 24%;
}

.works-stage .kitchen-spot--oven {
  top: 70%;
  left: 8%;
  width: 40%;
  height: 25%;
  align-items: flex-start;
  padding: 10px 0 0;
}

.works-hint {
  margin-top: 16px;
  color: var(--rose-deep);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.11em;
  text-align: right;
}

@media (max-width: 640px) {
  .works-stage .kitchen-spot--microwave {
    top: 38%;
    left: 22%;
    width: 26%;
    height: 30%;
  }

  .works-stage .kitchen-spot--bowl {
    top: 46%;
    left: 61%;
    width: 20%;
    height: 27%;
  }

  .works-stage .kitchen-spot--oven {
    top: 68%;
    left: 6%;
    width: 44%;
    height: 28%;
    padding-top: 7px;
  }

  .works-hint {
    text-align: left;
  }
}

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

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
  align-items: start;
}

.work-card {
  min-width: 0;
}

.work-card:nth-child(2) {
  margin-top: clamp(34px, 6vw, 92px);
}

.work-card:nth-child(3) {
  margin-top: clamp(14px, 2.6vw, 40px);
}

.work-trigger {
  display: block;
  width: 100%;
  text-align: left;
}

.work-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 55px rgba(158, 112, 103, 0.1);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.work-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(232, 158, 179, 0.16);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.4s var(--ease);
}

.work-art > svg {
  width: 100%;
  height: 100%;
  transition: transform 1.1s var(--ease);
}

.work-trigger:hover .work-art {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(158, 112, 103, 0.16);
}

.work-trigger:hover .work-art > svg {
  transform: scale(1.035);
}

.work-trigger:hover .work-art::after {
  border-color: rgba(232, 158, 179, 0.4);
}

.work-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 17px 0 0;
}

.work-index {
  padding-top: 4px;
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
}

.work-name {
  min-width: 0;
}

.work-name h2 {
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.35;
  transition: color 0.3s var(--ease);
}

.work-name p {
  margin-top: 3px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-open-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  color: var(--ink-soft);
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.4s var(--ease);
}

.work-trigger:hover .work-name h2 {
  color: var(--rose-deep);
}

.work-trigger:hover .work-open-icon {
  color: var(--paper-soft);
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  transform: rotate(45deg);
}

.works-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(42px, 6vw, 82px);
  padding: 18px 22px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.14em;
  background: rgba(255, 253, 249, 0.38);
  border: 1px solid rgba(232, 158, 179, 0.14);
  border-radius: var(--radius-sm);
}

.works-footnote span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.works-footnote .tiny-dot {
  width: 5px;
  height: 5px;
  background: var(--rose-deep);
  border-radius: 50%;
}

/* Work modal */

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 44px);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(57, 44, 39, 0.42);
  opacity: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.45s var(--ease);
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  width: min(1140px, 100%);
  height: min(88svh, 820px);
  max-height: min(88svh, 820px);
  overflow: auto;
  background: var(--paper-soft);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px rgba(78, 50, 43, 0.2);
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}

.work-modal.is-open .modal-backdrop {
  opacity: 1;
}

.work-modal.is-open .modal-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-art {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.modal-art svg,
.modal-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  padding: clamp(32px, 4.5vw, 64px);
  overflow: auto;
}

.modal-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.modal-kicker::before {
  content: "";
  width: 25px;
  height: 1px;
  background: var(--line-strong);
}

.modal-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4.3vw, 64px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.modal-subtitle {
  margin-top: 8px;
  color: var(--ink-faint);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.modal-desc {
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 2.05;
  letter-spacing: 0.035em;
}

.modal-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.modal-fact dt {
  margin-bottom: 4px;
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.modal-fact dd {
  color: var(--ink);
  font-size: 11px;
  line-height: 1.7;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.modal-tags span {
  padding: 5px 10px;
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: 0.1em;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.modal-note {
  margin-top: 34px;
  padding-top: 18px;
  color: var(--ink-faint);
  font-size: 9px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  border-top: 1px solid var(--line);
}

.modal-note a {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.modal-note a:hover {
  color: var(--rose-deep);
  border-color: var(--rose-deep);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 3;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  font-size: 19px;
  background: rgba(255, 252, 248, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(92, 59, 50, 0.1);
  backdrop-filter: blur(6px);
  transition:
    color 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.35s var(--ease);
}

.modal-close:hover {
  color: var(--paper-soft);
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  transform: rotate(90deg);
}

body.modal-open {
  overflow: hidden;
}

/* ---------------------------------------------------------
   Small decorative elements
   --------------------------------------------------------- */

.vertical-note {
  position: absolute;
  top: 50%;
  right: 16px;
  z-index: 4;
  color: var(--ink-faint);
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  opacity: 0.7;
  pointer-events: none;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 1240px) {
  .head-side .head-date {
    display: none;
  }

  .head-side {
    gap: 0;
  }

  .cover {
    grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.25fr);
  }
}

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

  .site-nav {
    justify-self: end;
  }

  .head-side {
    display: none;
  }

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

  .page-head {
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
    gap: 46px;
  }
}

@media (max-width: 900px) {
  .site-head {
    padding-top: 20px;
  }

  .cover {
    display: block;
    min-height: auto;
    padding-top: 108px;
    padding-bottom: 84px;
  }

  .cover-intro {
    max-width: 620px;
    padding-left: 0;
  }

  .cover-title {
    font-size: clamp(54px, 10vw, 82px);
  }

  .cover-lead {
    max-width: 400px;
  }

  .cover-signature {
    margin-top: 25px;
  }

  .scene-wrap {
    width: min(90vw, 650px);
    margin: clamp(10px, 2.5vw, 24px) auto 0;
  }

  .cover-foot {
    position: static;
    margin-top: 34px;
    pointer-events: auto;
  }

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

  .page-head {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .page-lead,
  .page-lead--offset {
    justify-self: start;
    max-width: 100%;
    padding-bottom: 0;
  }

  .about-body {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .portrait {
    max-width: 520px;
  }

  .about-copy {
    padding-top: 0;
  }

  .book-feature-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .book-feature-note {
    justify-self: start;
  }

  .book-spread {
    min-height: 460px;
  }

  .book-page {
    padding: 40px;
  }

  .story-text {
    font-size: clamp(21px, 3vw, 28px);
  }

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

  .work-card:nth-child(2) {
    margin-top: 60px;
  }

  .work-card:nth-child(3) {
    margin-top: 0;
  }

  .modal-panel {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 90svh;
  }

  .modal-art {
    height: auto;
    min-height: 340px;
    aspect-ratio: 16 / 10;
  }

  .modal-copy {
    min-height: 0;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 22px;
  }

  body {
    font-size: 14px;
  }

  .site-head {
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 17px var(--gutter);
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
  }

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

  .brand-text small {
    font-size: 7px;
  }

  .site-nav {
    justify-self: end;
    gap: 1px;
    padding: 2px;
  }

  .site-nav a {
    gap: 4px;
    padding: 7px 8px;
    font-size: 10px;
    letter-spacing: 0.05em;
  }

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

  .cover {
    padding-top: 92px;
    padding-bottom: 52px;
  }

  .eyebrow {
    gap: 10px;
    font-size: 8px;
  }

  .eyebrow::before {
    width: 24px;
  }

  .cover-title {
    margin-top: 24px;
    font-size: clamp(48px, 14vw, 66px);
  }

  .cover-title .title-accent::after {
    right: -18px;
    width: 11px;
    height: 11px;
  }

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

  .cover-lead {
    margin-top: 24px;
    font-size: 12px;
    line-height: 2;
  }

  .cover-signature {
    gap: 12px;
    margin-top: 24px;
  }

  .seal {
    width: 46px;
    height: 46px;
    font-size: 13px;
  }

  .scene-wrap {
    width: 100%;
    margin-top: 18px;
  }

  .scene::before {
    inset: 1%;
  }

  .slice-label {
    min-height: 40px;
    gap: 8px;
    padding: 6px 7px 6px 10px;
  }

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

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

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

  .slice-label--about {
    top: 4%;
    left: 1%;
  }

  .slice-label--works {
    top: 4%;
    right: 1%;
  }

  .slice-label--passions {
    bottom: 10.5%;
  }

  .scene-hint {
    bottom: -3%;
    gap: 8px;
    padding: 8px 13px 8px 11px;
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .cover-foot {
    display: block;
    margin-top: 42px;
    font-size: 7px;
    line-height: 2;
  }

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

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

  .page-kicker {
    gap: 10px;
    margin-bottom: 20px;
    font-size: 8px;
  }

  .page-kicker::before {
    width: 24px;
  }

  .page-title {
    font-size: clamp(43px, 13vw, 61px);
    line-height: 1.16;
  }

  .page-lead {
    font-size: 12px;
    line-height: 2;
  }

  .page-head {
    padding-bottom: 34px;
  }

  .page-body {
    padding-top: 38px;
  }

  .about-lead {
    font-size: 23px;
    line-height: 1.7;
  }

  .about-text {
    font-size: 12px;
    line-height: 2;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 34px;
  }

  .fact {
    padding: 12px 13px;
  }

  .skills {
    margin-top: 24px;
  }

  .skills-head {
    gap: 12px;
    font-size: 7px;
  }

  .skill-tags span {
    min-height: 30px;
    padding: 6px 11px;
    font-size: 9px;
  }

  .trait-note {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 16px 17px;
  }

  .trait-label {
    font-size: 14px;
  }

  .now-strip {
    margin-top: 18px;
    font-size: 10px;
  }

  .about-quote {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 58px;
    padding: 30px 24px;
    border-radius: var(--radius-md);
  }

  .quote-mark {
    font-size: 60px;
  }

  .quote-copy blockquote {
    font-size: 26px;
  }

  .book-feature {
    margin-bottom: 64px;
  }

  .book-feature-copy {
    gap: 10px;
  }

  .book-feature-title {
    font-size: 36px;
  }

  .book-feature-note {
    font-size: 10px;
  }

  .book-stage {
    border-radius: var(--radius-md);
  }

  .book-spread,
  .book-spread.is-active {
    display: none;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .book-spread.is-active {
    display: grid;
  }

  .book-spread::after {
    display: none;
  }

  .book-page {
    min-height: 0;
    padding: 30px 24px;
  }

  .book-page--text {
    order: 1;
  }

  .book-page--art {
    order: 2;
    min-height: 260px;
    padding: 22px 24px 28px;
  }

  .book-page--text::after {
    inset: 12px;
    border-radius: 16px;
  }

  .story-kicker {
    margin-bottom: 18px;
  }

  .story-text {
    font-size: 22px;
    line-height: 1.85;
  }

  .story-sign {
    margin-top: 22px;
    font-size: 13px;
  }

  .page-number {
    left: 20px;
    bottom: 16px;
    font-size: 9px;
  }

  .book-page--art .page-number {
    right: 20px;
    left: auto;
  }

  .book-controls {
    padding: 14px 2px 0;
  }

  .book-next {
    padding: 10px 14px 10px 16px;
  }

  .book-shelf-head {
    display: block;
    padding-top: 20px;
  }

  .book-shelf-head p {
    margin-top: 8px;
    text-align: left;
  }

  .kitchen-frame {
    aspect-ratio: 3 / 2;
    border-radius: var(--radius-md);
  }

  .kitchen-image {
    object-position: center;
  }

  .kitchen-toolbar {
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 7px;
  }

  .kitchen-hint {
    max-width: 140px;
    line-height: 1.5;
    text-align: right;
  }

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

  .kitchen-spot--microwave {
    top: 36%;
    left: 24%;
    width: 33%;
    height: 28%;
  }

  .kitchen-spot--bowl {
    top: 37%;
    left: 62%;
    width: 30%;
    height: 28%;
  }

  .kitchen-spot--oven {
    top: 63%;
    left: 24%;
    width: 35%;
    height: 32%;
    padding-top: 7px;
  }

  .spot-pill {
    gap: 5px;
    padding: 5px 7px 5px 5px;
  }

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

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

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

  .spot-arrow {
    display: none;
  }

  .kitchen-index {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 10px;
  }

  .kitchen-index button {
    padding: 9px 11px;
  }

  .kitchen-index button > span:nth-child(2) {
    font-size: 10px;
  }

  .kitchen-note {
    text-align: left;
  }

  .book-reader {
    padding: 10px;
  }

  .book-reader-shell {
    gap: 10px;
    width: 100%;
  }

  .reader-head {
    align-items: center;
    width: 100%;
    padding: 0 3px;
  }

  .reader-kicker {
    font-size: 7px;
  }

  .reader-title {
    font-size: 21px;
  }

  .reader-close {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .reader-book.is-single {
    width: min(480px, 92vw, 68svh);
  }

  .reader-page-inner {
    padding: 26px 22px;
  }

  .reader-page-kicker {
    margin-bottom: 18px;
    font-size: 7px;
  }

  .reader-story-text {
    font-size: 17px;
    line-height: 1.95;
  }

  .reader-sign {
    margin-top: 18px;
    font-size: 13px;
  }

  .reader-page-number {
    right: 22px;
    bottom: 16px;
    font-size: 9px;
  }

  .reader-page--left .reader-page-number {
    left: 22px;
  }

  .reader-title-page .reader-book-name {
    font-size: 38px;
  }

  .reader-title-page .reader-book-en {
    margin-top: 8px;
    font-size: 15px;
  }

  .reader-title-page .reader-intro {
    margin-top: 20px;
    font-size: 11px;
    line-height: 1.9;
  }

  .reader-title-page .reader-author {
    bottom: 42px;
    left: 22px;
    font-size: 7px;
  }

  .reader-quote-text {
    font-size: 42px;
  }

  .reader-quote-note {
    font-size: 13px;
  }

  .reader-controls {
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }

  .reader-nav {
    min-height: 35px;
    padding: 7px 13px;
    font-size: 9px;
  }

  .reader-progress {
    min-width: 0;
    font-size: 10px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .work-card:nth-child(2),
  .work-card:nth-child(3) {
    margin-top: 0;
  }

  .work-art {
    aspect-ratio: 4 / 4.7;
  }

  .work-name h2 {
    font-size: 23px;
  }

  .works-footnote {
    display: block;
    margin-top: 40px;
    font-size: 8px;
    line-height: 2;
  }

  .works-footnote span:last-child {
    display: block;
    margin-top: 4px;
  }

  .next-slice {
    margin-top: 60px;
    padding: 24px 22px;
    border-radius: var(--radius-md);
  }

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

  .next-slice-arrow {
    width: 48px;
    height: 48px;
    font-size: 17px;
  }

  .page-footer {
    display: block;
    padding: 24px 0 28px;
    font-size: 7px;
    line-height: 2;
  }

  .page-footer .footer-copy {
    display: block;
    margin-top: 5px;
  }

  .vertical-note {
    display: none;
  }

  .work-modal {
    padding: 10px;
  }

  .modal-panel {
    max-height: 92svh;
  }

  .modal-art {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .modal-copy {
    padding: 28px 24px 34px;
  }

  .modal-title {
    font-size: 39px;
  }

  .modal-desc {
    margin-top: 20px;
    font-size: 11px;
  }

  .modal-close {
    top: 9px;
    right: 9px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 360px) {
  .site-nav {
    gap: 1px;
  }

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

  .site-nav a {
    padding: 7px 7px;
    font-size: 9.5px;
    letter-spacing: 0.04em;
  }

  .facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) and (max-height: 740px) {
  .cover {
    padding-top: 82px;
    padding-bottom: 32px;
  }

  .cover-title {
    margin-top: 16px;
    font-size: clamp(43px, 12.6vw, 56px);
  }

  .cover-en,
  .cover-signature {
    display: none;
  }

  .cover-lead {
    margin-top: 18px;
    font-size: 11.5px;
    line-height: 1.95;
  }

  .scene-wrap {
    margin-top: 8px;
  }

  .cover-foot {
    margin-top: 30px;
  }
}

@media (max-height: 720px) and (min-width: 901px) {
  .cover {
    padding-top: 96px;
    padding-bottom: 48px;
  }

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

  .cover-lead {
    margin-top: 22px;
  }

  .cover-signature {
    margin-top: 22px;
  }

  .scene-wrap {
    width: min(64vw, calc(100svh - 150px), 760px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .js .veil {
    display: none;
  }
}




