/* ===========================================================
   Little Particle Press, dedicated styles
   Loaded ONLY on imprint-particle.html.
   =========================================================== */

body.lpp {
  /* Rounded, bouncy Chinese display face to match the playful Latin type */
  --t-cn: 'ZCOOL KuaiLe', 'Noto Serif SC', 'Noto Serif TC', cursive;
  background: #D9EFE2;
  color: #2A1810;
}
body.lpp .topstrip {
  background: #E8A33D;
  color: #2A1810;
  border-bottom: 1px solid #2A1810;
}
body.lpp .masthead { border-bottom: 2px solid #2A1810; }
body.lpp .nav-link { color: #2A1810; }
body.lpp .nav-link:hover { color: #D77A8E; border-bottom-color: #D77A8E; }
body.lpp .nav-link.is-active { color: #D77A8E; }

/* ---------------- Tokens ---------------- */
.lpp {
  /* Playful type identity, distinct from the house serif.
     Fredoka = rounded display for headings; Nunito = friendly readable body. */
  --p-display: 'Fredoka', 'Baloo 2', system-ui, sans-serif;
  --p-text: 'Nunito', 'Open Sans', system-ui, sans-serif;

  --p-yellow: #FFD15C;
  --p-yellow-deep: #E8A33D;
  --p-pink: #F08DA5;
  --p-pink-deep: #D77A8E;
  --p-rose-bg: #FFE3D6;
  --p-mint: #B8DCC8;
  --p-sky: #B8D0E8;
  --p-cream: #FDF4DF;
  --p-ink: #2A1810;
}

/* ---------------- Particle dot helper ---------------- */
.lpp-dot {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  width: var(--s, 8px);
  height: var(--s, 8px);
  background: var(--c, var(--p-pink));
  border-radius: 50%;
  pointer-events: none;
  animation: lpp-float var(--d, 9s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
}
.lpp-dot--ring {
  background: transparent;
  border: 2px solid var(--c, var(--p-pink));
}
@keyframes lpp-float {
  from { transform: translate(0, 0); }
  to { transform: translate(var(--dx, 4px), var(--dy, -6px)); }
}

/* Reusable constellation field, place inside a relatively-positioned parent */
.lpp-constellation {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

/* Dot section-label, used like § prefix */
.lpp-dotlabel {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p-pink-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.lpp-dotlabel__dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lpp-dotlabel__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-pink);
}
.lpp-dotlabel__dots span:nth-child(2) { background: var(--p-yellow-deep); width: 10px; height: 10px; }
.lpp-dotlabel__dots span:nth-child(3) { background: var(--p-mint); }

/* Particle divider, between sections */
.lpp-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 56px 0;
}
.lpp-divider span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.lpp-divider span:nth-child(1) { background: var(--p-pink); }
.lpp-divider span:nth-child(2) { background: var(--p-yellow-deep); width: 10px; height: 10px; }
.lpp-divider span:nth-child(3) { background: var(--p-ink); width: 14px; height: 14px; }
.lpp-divider span:nth-child(4) { background: var(--p-yellow-deep); width: 10px; height: 10px; }
.lpp-divider span:nth-child(5) { background: var(--p-mint); }
.lpp-divider span:nth-child(6) { background: var(--p-sky); width: 4px; height: 4px; }

/* ---------------- Hero ---------------- */
.lpp-hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}

/* Top hairline strip (B + C modes) ---------------- */
.lpp-hero__topstrip {
  display: none;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
  position: relative;
  z-index: 3;
}
.lpp-hero__topstrip-tag {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--p-pink-deep);
  white-space: nowrap;
}
.lpp-hero__topstrip-tag--right { color: rgba(42,24,16,0.55); }
.lpp-hero__topstrip-rule {
  flex: 1;
  height: 1px;
  background: var(--p-ink);
  opacity: 0.35;
}

/* C-mode: big bilingual Chinese block ---------------- */
.lpp-hero__col--cn {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: relative;
  z-index: 2;
}
.lpp-hero__cn-big {
  font-family: var(--t-cn);
  font-weight: 500;
  font-size: clamp(80px, 11vw, 200px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--p-pink-deep);
  display: block;
}
.lpp-hero__cn-big:nth-child(2) {
  color: var(--p-yellow-deep);
  margin-left: 0.4em;
}
.lpp-hero__cn-meta {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(42,24,16,0.55);
  margin-top: 24px;
  font-style: normal;
}

/* B-mode: italic pull-quote in right column ---------------- */
.lpp-hero__pull {
  display: none;
  font-family: var(--t-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.32;
  color: var(--p-ink);
  margin: 0 0 22px;
  text-wrap: pretty;
  max-width: 24ch;
}
.lpp-hero__pull em {
  font-style: italic;
  color: var(--p-pink-deep);
}
.lpp-hero__hairline {
  display: none;
  border: 0;
  border-top: 1px solid var(--p-ink);
  opacity: 0.35;
  margin: 0 0 24px;
  width: 80px;
}

.lpp-hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-areas: "latin right";
  gap: 64px;
  align-items: end;
  position: relative;
  z-index: 2;
}

/* Brand emblem, sits in the hero's right column to balance the left wordmark */
.lpp-hero__emblem {
  display: block;
  width: clamp(124px, 12vw, 168px);
  height: auto;
  margin: 0 0 28px;
  animation: lpp-emblem-bob 9s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes lpp-emblem-bob {
  from { transform: translateY(0) rotate(-1.2deg); }
  to   { transform: translateY(-8px) rotate(1.2deg); }
}
/* Default (current) composition: right column fills the row height so the
   emblem floats to the top-right and the lede/chips anchor to the bottom, a diagonal balance against the big wordmark at bottom-left. */
body:not([data-lpp-hero]) .lpp-hero__col--right,
body[data-lpp-hero="current"] .lpp-hero__col--right {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
body:not([data-lpp-hero]) .lpp-hero__emblem,
body[data-lpp-hero="current"] .lpp-hero__emblem {
  margin: 0 0 auto;
  align-self: flex-end;
}
/* Bilingual composition reworks the right column into a structured caption
   grid, so the seal would disrupt it, hide it there. */
body[data-lpp-hero="bilingual"] .lpp-hero__emblem { display: none; }
.lpp-hero__col--latin { grid-area: latin; }
.lpp-hero__col--cn    { grid-area: cn; }
.lpp-hero__col--right { grid-area: right; }
.lpp-hero__num {
  font-family: var(--t-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p-pink-deep);
  display: inline-block;
  margin-bottom: 18px;
}
.lpp-hero__cn {
  font-family: var(--t-cn);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 500;
  color: var(--p-pink-deep);
  line-height: 0.95;
  display: block;
  margin-bottom: 6px;
}
.lpp-hero__name {
  font-family: var(--t-serif);
  font-weight: 700;
  font-size: clamp(64px, 9vw, 156px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--p-ink);
  margin: 0;
  position: relative;
  text-wrap: balance;
}
.lpp-hero__name em {
  font-weight: 400;
  font-style: italic;
  color: var(--p-yellow-deep);
}
/* Hand-drawn underline */
.lpp-hero__name .squiggle {
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 60%;
  height: 16px;
  color: var(--p-pink);
}

.lpp-hero__lede {
  font-size: 22px;
  line-height: 1.5;
  color: var(--p-ink);
  text-wrap: pretty;
  max-width: 44ch;
}
.lpp-hero__lede em {
  font-style: italic;
  color: var(--p-pink-deep);
}
.lpp-hero__lede-zh {
  font-family: var(--t-cn);
  color: rgba(42,24,16,0.7);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 16px;
}
.lpp-hero__chips {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lpp-chip {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  background: white;
  border: 1.5px solid var(--p-ink);
  border-radius: 999px;
  color: var(--p-ink);
  white-space: nowrap;
  flex: 0 0 auto;
}
.lpp-chip--filled { background: var(--p-yellow); }
.lpp-chip--pink { background: var(--p-pink); color: white; border-color: var(--p-pink-deep); }

/* Decorative SVG accents on hero (legacy, now hidden) */
.lpp-hero__dec { display: none; }

/* Replace hero squiggle with a particle trail */
.lpp-hero__name .squiggle { display: none; }
.lpp-hero__trail {
  position: absolute;
  left: 0;
  bottom: -22px;
  width: 70%;
  height: 24px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}
.lpp-hero__trail span {
  display: inline-block;
  border-radius: 50%;
  margin-right: 16px;
  animation: lpp-float 7s ease-in-out infinite alternate;
}
.lpp-hero__trail span:nth-child(1) { width: 14px; height: 14px; background: var(--p-pink); }
.lpp-hero__trail span:nth-child(2) { width: 10px; height: 10px; background: var(--p-yellow-deep); animation-delay: 0.4s; }
.lpp-hero__trail span:nth-child(3) { width: 18px; height: 18px; background: var(--p-mint); animation-delay: 0.8s; }
.lpp-hero__trail span:nth-child(4) { width: 8px; height: 8px; background: var(--p-sky); animation-delay: 1.2s; }
.lpp-hero__trail span:nth-child(5) { width: 22px; height: 22px; background: var(--p-pink-deep); animation-delay: 0.2s; }
.lpp-hero__trail span:nth-child(6) { width: 6px; height: 6px; background: var(--p-ink); animation-delay: 1.6s; }
.lpp-hero__trail span:nth-child(7) { width: 12px; height: 12px; background: transparent; border: 2px solid var(--p-pink); animation-delay: 2s; }
.lpp-hero__trail span:nth-child(8) { width: 16px; height: 16px; background: var(--p-yellow); animation-delay: 0.6s; }

/* ---------------- Window sill (3 books on display) ---------------- */
.lpp-sill {
  padding: 56px 0 120px;
  position: relative;
}
.lpp-sill__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: end;
  position: relative;
  z-index: 2;
}
.lpp-sill__line {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 64px;
  height: 1px;
  background: var(--p-ink);
  z-index: 1;
}
.lpp-sill-book {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
}
.lpp-sill-book__cover {
  aspect-ratio: 5 / 7;
  box-shadow: 0 24px 40px -20px rgba(42,24,16,0.45), 0 2px 0 rgba(42,24,16,0.1);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  padding: 0;
  overflow: hidden;
}
.lpp-sill-book:nth-child(1) .lpp-sill-book__cover,
.lpp-sill-book:nth-child(2) .lpp-sill-book__cover,
.lpp-sill-book:nth-child(3) .lpp-sill-book__cover { transform: none; }
.lpp-sill-book:hover .lpp-sill-book__cover {
  transform: translateY(-6px) scale(1.025);
}
.lpp-sill-book__cover.cv-miantiao { aspect-ratio: 1 / 1 !important; }
.lpp-sill-book__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lpp-sill-book__title {
  font-family: var(--t-serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.1;
}
.lpp-sill-book__title .zh { font-family: var(--t-cn); margin-right: 6px; }
.lpp-sill-book__author {
  font-family: var(--t-serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(42,24,16,0.7);
}
.lpp-sill-book__meta {
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-pink-deep);
  margin-top: 6px;
}

/* Tape strip badge */
.lpp-sill-book__badge {
  position: absolute;
  top: 14px;
  right: -8px;
  background: var(--p-pink);
  color: white;
  font-family: var(--t-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  z-index: 3;
  transform: rotate(8deg);
  box-shadow: 0 4px 8px -2px rgba(42,24,16,0.3);
}

/* Cover hover, particles burst out */
.lpp-sill-book__cover::before,
.lpp-sill-book__cover::after,
.lpp-sill-book__sparks {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s, transform .4s cubic-bezier(.34,1.56,.64,1);
  z-index: 2;
}
.lpp-sill-book__cover::before {
  content: "";
  width: 12px; height: 12px;
  background: var(--p-pink);
  border-radius: 50%;
  top: 12%; right: -6px;
}
.lpp-sill-book__cover::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--p-yellow-deep);
  border-radius: 50%;
  bottom: 18%; left: -10px;
}
.lpp-sill-book:hover .lpp-sill-book__cover::before {
  opacity: 1;
  transform: translate(18px, -16px);
}
.lpp-sill-book:hover .lpp-sill-book__cover::after {
  opacity: 1;
  transform: translate(-22px, 12px);
}

/* ---------------- "Why we make books" manifesto ---------------- */
.lpp-why {
  background: var(--p-pink);
  color: var(--p-ink);
  padding: 96px 0;
  border-top: 2px solid var(--p-ink);
  border-bottom: 2px solid var(--p-ink);
  position: relative;
  overflow: hidden;
}
.lpp-why__inner {
  position: relative;
  z-index: 2;
}
.lpp-why__label {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--p-ink);
  margin-bottom: 18px;
  display: inline-block;
  padding: 6px 14px;
  background: var(--p-yellow);
  border: 1.5px solid var(--p-ink);
  border-radius: 999px;
  white-space: nowrap;
}
.lpp-why__title {
  font-family: var(--t-serif);
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0 0 28px;
  max-width: 18ch;
}
.lpp-why__title em { font-style: italic; color: white; }
.lpp-why__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.lpp-why-card {
  background: var(--p-cream);
  border: 1.5px solid var(--p-ink);
  border-radius: 18px;
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 6px 6px 0 var(--p-ink);
  transition: transform .2s;
}
.lpp-why-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--p-ink); }
.lpp-why-card__icon {
  width: 48px;
  height: 48px;
  color: var(--p-pink-deep);
}
.lpp-why-card__title {
  font-family: var(--t-serif);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.15;
}
.lpp-why-card__body {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(42,24,16,0.85);
  margin: 0;
}

/* Cloud SVG decorations behind */
.lpp-why__cloud {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  color: rgba(255,255,255,0.4);
}
.lpp-why__cloud--1 { top: 6%; left: 4%; width: 180px; }
.lpp-why__cloud--2 { bottom: 8%; right: 6%; width: 140px; }

/* ---------------- Faint cartoon doodles (whitespace fillers) ----------------
   Low-opacity, non-interactive space/particle motifs that echo the LPP
   ringed-planet emblem. They drift very slowly and sit behind content. */
.lpp-doodle {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  display: block;
  animation: lpp-drift var(--dd, 16s) ease-in-out infinite alternate;
  animation-delay: var(--ddelay, 0s);
}
.lpp-doodle svg { display: block; width: 100%; height: 100%; overflow: visible; }
@keyframes lpp-drift {
  from { transform: translate(0, 0) rotate(var(--r0, 0deg)); }
  to   { transform: translate(var(--ddx, 6px), var(--ddy, -10px)) rotate(var(--r1, 0deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .lpp-doodle { animation: none; }
}
/* Field container, sits behind a section's content */
.lpp-doodle-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
/* Keep real content above the doodle field */
.lpp-hero__inner,
.lpp-featured__inner,
.lpp-dual__inner,
.lpp-authors .container,
.lpp-sill__inner { position: relative; z-index: 2; }

/* ---------------- Featured book ---------------- */
.lpp-featured {
  padding: 120px 0;
  position: relative;
}
.lpp-featured__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lpp-featured__cover-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.lpp-featured__cover {
  width: 80%;
  max-width: 480px;
  aspect-ratio: 5 / 7;
  box-shadow: 0 40px 80px -30px rgba(42,24,16,0.5);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  background-size: cover;
  background-position: center;
}
.lpp-featured__cover.cv-miantiao { aspect-ratio: 1 / 1 !important; }
.lpp-featured__cover:hover { transform: translateY(-6px) scale(1.02); }
.lpp-featured__cover-deco {
  position: absolute;
  z-index: -1;
}
.lpp-featured__cover-deco--circle {
  top: -10%;
  right: 0;
  width: 60%;
  aspect-ratio: 1;
  background: var(--p-yellow);
  border-radius: 50%;
}
.lpp-featured__cover-deco--squiggle {
  bottom: -8%;
  left: 0;
  width: 60%;
  color: var(--p-pink);
}
.lpp-featured__label {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p-pink-deep);
  display: inline-block;
  margin-bottom: 16px;
}
.lpp-featured__title {
  font-family: var(--t-serif);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
}
.lpp-featured__title .zh {
  display: block;
  font-family: var(--t-cn);
  color: var(--p-yellow-deep);
  margin-bottom: 8px;
}
.lpp-featured__sub {
  font-family: var(--t-serif);
  font-style: italic;
  font-size: 20px;
  color: rgba(42,24,16,0.75);
  margin: 0 0 20px;
}
.lpp-featured__quote {
  font-family: var(--t-serif);
  font-size: 22px;
  line-height: 1.45;
  position: relative;
  padding: 24px 32px;
  background: var(--p-rose-bg);
  border: 1.5px solid var(--p-ink);
  border-radius: 24px;
  margin: 24px 0 32px;
}
.lpp-featured__quote::before {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 48px;
  width: 28px;
  height: 28px;
  background: var(--p-rose-bg);
  border-right: 1.5px solid var(--p-ink);
  border-bottom: 1.5px solid var(--p-ink);
  transform: rotate(45deg);
}
.lpp-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--p-ink);
  color: var(--p-yellow);
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--t-serif);
  font-size: 17px;
  font-weight: 500;
  transition: transform .2s, background .2s;
  border: 2px solid var(--p-ink);
}
.lpp-featured__cta:hover {
  background: var(--p-pink-deep);
  color: white;
  transform: translateX(4px);
}
.lpp-featured__cta .arrow { transition: transform .2s; }
.lpp-featured__cta:hover .arrow { transform: translateX(4px); }

/* ---------------- Author trio ---------------- */
.lpp-authors {
  padding: 120px 0 96px;
  background: var(--p-yellow);
  border-top: 2px solid var(--p-ink);
  border-bottom: 2px solid var(--p-ink);
  position: relative;
  overflow: hidden;
}
.lpp-authors__head {
  text-align: center;
  margin-bottom: 56px;
}
.lpp-authors__label {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--p-pink-deep);
  display: inline-block;
  margin-bottom: 14px;
}
.lpp-authors__title {
  font-family: var(--t-serif);
  font-weight: 600;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
.lpp-authors__title em { color: var(--p-pink-deep); font-style: italic; }

/* ---- Display carousel ---- */
.lpp-authors__carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lpp-authors__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 6px 30px;        /* breathing room for the sticker shadows */
}
.lpp-authors__viewport::-webkit-scrollbar { display: none; }
.lpp-authors__track {
  display: flex;
  gap: 32px;
  width: max-content;
  align-items: stretch;
}

/* Round triangle nav buttons */
.lpp-authors__arrow {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--p-cream);
  border: 2px solid var(--p-ink);
  box-shadow: 4px 4px 0 var(--p-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.lpp-authors__arrow:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--p-ink); background: var(--p-yellow); }
.lpp-authors__arrow:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--p-ink); }
.lpp-authors__arrow::before {
  content: "";
  width: 0; height: 0;
  border-style: solid;
}
.lpp-authors__arrow--prev::before {
  border-width: 9px 13px 9px 0;
  border-color: transparent var(--p-ink) transparent transparent;
  margin-right: 2px;
}
.lpp-authors__arrow--next::before {
  border-width: 9px 0 9px 13px;
  border-color: transparent transparent transparent var(--p-ink);
  margin-left: 2px;
}
.lpp-authors__arrow[disabled] { opacity: 0.32; cursor: default; box-shadow: 4px 4px 0 var(--p-ink); transform: none; pointer-events: none; }

/* ---- Author display card ---- */
.lpp-author {
  flex: 0 0 clamp(280px, 80vw, 416px);
  scroll-snap-align: start;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--p-cream);
  border: 2px solid var(--p-ink);
  border-radius: 28px;
  padding: 38px 30px 30px;
  box-shadow: 7px 7px 0 var(--p-ink);
  color: var(--p-ink);
  transition: transform .2s, box-shadow .2s;
}
.lpp-author:hover { transform: translate(-2px,-2px); box-shadow: 9px 9px 0 var(--p-ink); }
.lpp-author__portrait {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--p-rose-bg);
  border: 3px solid var(--p-ink);
  position: relative;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--p-ink);
}
.lpp-author__portrait image-slot { width: 100%; height: 100%; display: block; }
.lpp-author__portrait image-slot::part(empty) { color: var(--p-ink); }
.lpp-author__name {
  font-family: var(--t-serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  margin-top: 4px;
}
.lpp-author__role {
  font-family: var(--t-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p-pink-deep);
}
.lpp-author__bio {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(42,24,16,0.85);
  margin: 0;
  text-wrap: pretty;
}
.lpp-author__more {
  margin-top: auto;
  font-family: var(--p-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--p-pink-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 6px;
}
.lpp-author__more .arrow { transition: transform .2s; }
.lpp-author:hover .lpp-author__more .arrow { transform: translateX(4px); }

/* ---------------- Illustrators · the studio ---------------- */
.lpp-studio {
  position: relative;
  overflow: hidden;
  padding: 84px 0 92px;
  background:
    radial-gradient(rgba(42,24,16,0.05) 1.3px, transparent 1.6px) 0 0 / 24px 24px,
    #EAF2F7;
  border-top: 2px solid var(--p-ink);
  border-bottom: 2px solid var(--p-ink);
}
.lpp-studio__head { position: relative; z-index: 2; max-width: 680px; margin: 0 0 40px; }
.lpp-studio__label {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--p-pink-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lpp-studio__dots { display: inline-flex; gap: 4px; align-items: center; }
.lpp-studio__dots span { width: 6px; height: 6px; border-radius: 50%; }
.lpp-studio__dots span:nth-child(1) { background: var(--p-pink); }
.lpp-studio__dots span:nth-child(2) { width: 10px; height: 10px; background: var(--p-sky); }
.lpp-studio__dots span:nth-child(3) { background: var(--p-yellow-deep); }
.lpp-studio__title {
  font-family: var(--p-display);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 12px 0 12px;
}
.lpp-studio__title em { font-style: normal; color: var(--p-pink-deep); }
.lpp-studio__intro {
  font-family: var(--p-text);
  font-size: 16px;
  line-height: 1.55;
  max-width: 60ch;
  color: rgba(42,24,16,0.82);
  margin: 0;
}
.lpp-studio__legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.lpp-studio__leg {
  font-family: var(--t-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--p-ink); border-radius: 999px; padding: 6px 13px 6px 10px;
  color: var(--p-ink); background: #fff;
}
.lpp-studio__leg::before { content: ""; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--p-ink); flex: 0 0 auto; }
.lpp-studio__leg--current::before { background: #FBE3CE; }
.lpp-studio__leg--talent::before { background: #DEEDD6; }
.lpp-studio__wall {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, 190px);
  justify-content: space-between;
  gap: 26px 22px;
  align-items: start;
}
.lpp-studio-card, .lpp-studio-join { width: 190px; box-sizing: border-box; }
.lpp-studio__group { position: relative; z-index: 2; margin-top: 44px; }
.lpp-studio__group:first-of-type { margin-top: 4px; }
.lpp-studio__grouphead { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.lpp-studio__groupnum {
  font-family: var(--t-mono); font-size: 12px; letter-spacing: 0.08em;
  color: #fff; background: var(--p-pink-deep); border: 2px solid var(--p-ink);
  border-radius: 999px; padding: 6px 12px; flex: 0 0 auto; line-height: 1;
}
.lpp-studio__grouptitle { font-family: var(--p-display); font-weight: 600; font-size: clamp(19px, 2vw, 25px); line-height: 1.05; margin: 1px 0 3px; }
.lpp-studio__groupnote { font-family: var(--p-text); font-size: 14px; line-height: 1.4; color: rgba(42,24,16,0.72); }
.lpp-studio-card {
  position: relative;
  margin: 0;
  background: var(--p-cream);
  border: 2px solid var(--p-ink);
  border-radius: 12px;
  box-shadow: 5px 5px 0 var(--p-ink);
  padding: 11px 11px 14px;
  transform: rotate(var(--rot, 0deg));
  transition: transform .22s ease, box-shadow .22s ease;
}
.lpp-studio-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 7px 10px 0 var(--p-ink);
}
.lpp-studio-card--current { background: #FBE3CE; }
.lpp-studio-card--talent { background: #DEEDD6; }
.lpp-studio-card__tape {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 78px; height: 21px;
  background: rgba(184,208,232,0.62);
  border: 1.5px solid rgba(42,24,16,0.22);
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset;
}
.lpp-studio-card:nth-child(2n) .lpp-studio-card__tape {
  transform: translateX(-50%) rotate(4deg);
  background: rgba(240,141,165,0.55);
}
.lpp-studio-card__art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid var(--p-ink);
  background: #fff;
}
.lpp-studio-card__count {
  position: absolute; left: 8px; bottom: 8px;
  font-family: var(--t-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(42,24,16,0.78); color: #fff; padding: 4px 8px; border-radius: 6px;
}
.lpp-studio-card__proj {
  font-family: var(--p-text); font-size: 13.5px; line-height: 1.4;
  color: var(--p-pink-deep); font-weight: 700;
}
.lpp-studio-card__art image-slot { width: 100%; height: 100%; display: block; }
.lpp-studio-card__art image-slot::part(empty) { color: var(--p-ink); }
.lpp-studio-card__cap { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; }
.lpp-studio-card__name { font-family: var(--p-display); font-weight: 600; font-size: 19px; line-height: 1; }
.lpp-studio-card__loc {
  font-family: var(--t-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--p-pink-deep);
}
.lpp-studio-card__medium {
  align-self: flex-start;
  font-family: var(--t-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent, var(--p-yellow));
  color: #fff;
  border: 1.5px solid var(--p-ink);
  border-radius: 999px;
  padding: 3px 9px;
}
.lpp-studio-card__style {
  font-family: var(--p-text);
  font-size: 13px;
  line-height: 1.4;
  color: rgba(42,24,16,0.82);
  margin: 2px 0 0;
}
.lpp-studio-card__for {
  font-family: var(--p-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--p-pink-deep);
  text-decoration: none;
  margin-top: 4px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.lpp-studio-card__for em { font-style: italic; }
.lpp-studio-card__for .arrow { transition: transform .2s; }
.lpp-studio-card__for:hover .arrow { transform: translateX(4px); }
.lpp-studio-card__more {
  font-family: var(--p-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--p-ink);
  text-decoration: none;
  margin-top: 2px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border-bottom: 2px solid var(--accent, var(--p-yellow));
  align-self: flex-start;
  padding-bottom: 1px;
}
.lpp-studio-card__more .arrow { transition: transform .2s; }
.lpp-studio-card__more:hover .arrow { transform: translateX(4px); }
.lpp-studio-join {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  align-self: stretch;
  min-height: 0;
  background: rgba(255,255,255,0.35);
  border: 2.5px dashed var(--p-pink-deep);
  border-radius: 12px;
  padding: 20px 18px;
  text-decoration: none;
  color: var(--p-ink);
  transition: background .2s ease, transform .2s ease;
}
.lpp-studio-join:hover { background: rgba(255,255,255,0.7); transform: translateY(-4px); }
.lpp-studio-join__pin {
  position: absolute; top: 16px; right: 18px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--p-pink); border: 1.5px solid var(--p-ink);
  box-shadow: 0 2px 0 rgba(42,24,16,0.25);
}
.lpp-studio-join__plus {
  font-family: var(--p-display); font-weight: 600;
  font-size: 34px; line-height: 0.8; color: var(--p-pink-deep);
}
.lpp-studio-join__title { font-family: var(--p-display); font-weight: 600; font-size: 19px; line-height: 1.08; margin: 0; }
.lpp-studio-join__body { font-family: var(--p-text); font-size: 13px; line-height: 1.45; color: rgba(42,24,16,0.82); margin: 0; }
.lpp-studio-join__cta {
  font-family: var(--p-display); font-weight: 600; font-size: 15px; color: var(--p-pink-deep);
  margin-top: 6px; display: inline-flex; gap: 6px; align-items: center;
}
.lpp-studio-join__cta .arrow { transition: transform .2s; }
.lpp-studio-join:hover .arrow { transform: translateX(4px); }

/* ---------------- For grown-ups / For little readers ---------------- */
.lpp-dual {
  padding: 120px 0;
}
.lpp-dual__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.lpp-dual-card {
  border: 2px solid var(--p-ink);
  border-radius: 28px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 8px 8px 0 var(--p-ink);
  position: relative;
  overflow: hidden;
}
.lpp-dual-card--grown { background: var(--p-mint); }
.lpp-dual-card--little { background: var(--p-sky); }
.lpp-dual-card__label {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p-ink);
}
.lpp-dual-card__title {
  font-family: var(--t-serif);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.05;
  margin: 0;
}
.lpp-dual-card__body {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(42,24,16,0.9);
  margin: 0 0 12px;
}
.lpp-dual-card__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--p-ink);
  color: white;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--t-serif);
  font-size: 15px;
  font-weight: 500;
  transition: background .15s;
}
.lpp-dual-card__cta:hover { background: var(--p-pink-deep); }

/* ---------------- Submissions CTA ---------------- */
.lpp-cta {
  padding: 120px 0 144px;
  text-align: center;
  position: relative;
}
.lpp-cta__title {
  font-family: var(--t-serif);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  margin: 0 auto 24px;
  max-width: 18ch;
  text-wrap: balance;
}
.lpp-cta__title em { color: var(--p-yellow-deep); font-style: italic; }
.lpp-cta__body {
  font-size: 19px;
  max-width: 56ch;
  margin: 0 auto 32px;
  color: rgba(42,24,16,0.85);
}
.lpp-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--p-pink);
  color: var(--p-ink);
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--t-serif);
  font-size: 18px;
  font-weight: 500;
  border: 2px solid var(--p-ink);
  box-shadow: 6px 6px 0 var(--p-ink);
  transition: transform .15s, box-shadow .15s;
}
.lpp-cta__btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--p-ink);
}

/* Decorative star scatter on CTA */
.lpp-cta__scatter {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.lpp-cta__scatter > * { position: absolute; color: var(--p-pink); }

/* ============================================================
   Hero variants, toggled by body[data-lpp-hero]
   - current   : original A composition (left wordmark dominant)
   - caption   : B, top strip + italic pull + hairline, right top-aligned
   - bilingual : C, 中 / EN equal weight, caption strip below
   ============================================================ */

/* ---- B, Caption plate ---- */
body[data-lpp-hero="caption"] .lpp-hero { padding-top: 56px; }
body[data-lpp-hero="caption"] .lpp-hero__topstrip { display: flex; }
body[data-lpp-hero="caption"] .lpp-hero__num { display: none; } /* moved up to topstrip */
body[data-lpp-hero="caption"] .lpp-hero__inner {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
  gap: 72px;
}
body[data-lpp-hero="caption"] .lpp-hero__name {
  font-size: clamp(56px, 7.5vw, 124px);
}
body[data-lpp-hero="caption"] .lpp-hero__cn {
  font-size: clamp(40px, 4.6vw, 64px);
  margin-bottom: 10px;
}
body[data-lpp-hero="caption"] .lpp-hero__pull,
body[data-lpp-hero="caption"] .lpp-hero__hairline {
  display: block;
}
body[data-lpp-hero="caption"] .lpp-hero__lede {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(42,24,16,0.78);
  max-width: 38ch;
}
body[data-lpp-hero="caption"] .lpp-hero__lede-zh {
  font-size: 14px;
  margin-top: 12px;
}
body[data-lpp-hero="caption"] .lpp-hero__chips {
  margin-top: 28px;
}
/* Thin out the constellation in B, less is more here */
body[data-lpp-hero="caption"] .lpp-constellation .lpp-dot:nth-child(3n+2) { opacity: 0; }
body[data-lpp-hero="caption"] .lpp-constellation .lpp-dot { transform-origin: center; }

/* ---- C, Bilingual lockup ---- */
body[data-lpp-hero="bilingual"] .lpp-hero { padding-top: 56px; padding-bottom: 80px; }
body[data-lpp-hero="bilingual"] .lpp-hero__topstrip { display: flex; }
body[data-lpp-hero="bilingual"] .lpp-hero__num { display: none; } /* moved up to topstrip */
body[data-lpp-hero="bilingual"] .lpp-hero__cn { display: none; } /* moved into big col */

body[data-lpp-hero="bilingual"] .lpp-hero__inner {
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "latin cn"
    "right right";
  gap: 64px 56px;
  align-items: end;
}

/* Reveal the big CN block */
body[data-lpp-hero="bilingual"] .lpp-hero__col--cn { display: flex; }

/* Latin scaled down a notch so the two wordmarks share weight */
body[data-lpp-hero="bilingual"] .lpp-hero__name {
  font-size: clamp(56px, 7.6vw, 132px);
  line-height: 0.9;
}
/* Hide the trail in C, it competes with the right column */
body[data-lpp-hero="bilingual"] .lpp-hero__trail { display: none; }

/* Right column becomes a single caption strip below both wordmarks */
body[data-lpp-hero="bilingual"] .lpp-hero__col--right {
  border-top: 1px solid var(--p-ink);
  padding-top: 28px;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
body[data-lpp-hero="bilingual"] .lpp-hero__lede {
  font-size: 18px;
  line-height: 1.5;
  max-width: 52ch;
  margin: 0;
  grid-column: 1;
}
body[data-lpp-hero="bilingual"] .lpp-hero__lede-zh {
  font-size: 14.5px;
  margin: 14px 0 0;
  grid-column: 1;
  color: rgba(42,24,16,0.6);
}
body[data-lpp-hero="bilingual"] .lpp-hero__chips {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-top: 0;
  align-self: start;
  justify-content: flex-end;
}

/* Sparser, larger dots in C, they become structural marks */
body[data-lpp-hero="bilingual"] .lpp-constellation .lpp-dot:nth-child(odd) { opacity: 0; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .lpp-hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .lpp-hero__emblem { width: 128px; margin-bottom: 20px; }
  body[data-lpp-hero="bilingual"] .lpp-hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "latin" "cn" "right";
  }
  body[data-lpp-hero="bilingual"] .lpp-hero__col--right {
    grid-template-columns: 1fr;
  }
  body[data-lpp-hero="bilingual"] .lpp-hero__chips {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }
  body[data-lpp-hero="caption"] .lpp-hero__inner { grid-template-columns: 1fr; }
  .lpp-sill__inner { grid-template-columns: 1fr; gap: 56px; }
  .lpp-sill__line { display: none; }
  .lpp-why__cards { grid-template-columns: 1fr 1fr; }
  .lpp-featured__inner { grid-template-columns: 1fr; gap: 56px; }
  .lpp-dual__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lpp-why__cards { grid-template-columns: 1fr; }
  .lpp-hero__dec--sun { width: 80px; height: 80px; }
}

/* ============================================================
   Playful type identity, rounded display + friendly body.
   Distinguishes Little Particle Press from the house serif used
   by the other imprints. The parent "Carter & Co." wordmark in
   the masthead intentionally stays serif for house/imprint contrast.
   ============================================================ */
body.lpp { font-family: var(--p-text); }

/* Rounded display for every headline, title, button & wordmark */
.lpp-hero__name,
.lpp-sill-book__title,
.lpp-why__title, .lpp-why-card__title,
.lpp-featured__title, .lpp-featured__cta,
.lpp-authors__title, .lpp-author__name, .lpp-author__portrait,
.lpp-dual-card__title, .lpp-dual-card__cta,
.lpp-cta__title, .lpp-cta__btn {
  font-family: var(--p-display);
  letter-spacing: 0;
}

/* Rounded faces have no true italic, use weight/colour for emphasis */
.lpp-hero__name em,
.lpp-why__title em,
.lpp-authors__title em,
.lpp-cta__title em {
  font-style: normal;
  font-weight: 600;
}

/* Ease the giant wordmark's tight tracking for the rounder face */
.lpp-hero__name { font-weight: 600; letter-spacing: -0.01em; }
.lpp-featured__title { letter-spacing: -0.005em; }

/* Friendly body face for the prose & captions that were serif */
.lpp-featured__sub,
.lpp-featured__quote,
.lpp-sill-book__author { font-family: var(--p-text); }

/* ============================================================
   Author bio page (.apg-*), its own LPP-styled detail page
   ============================================================ */
.apg-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--p-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--p-ink);
  margin: 28px 0 8px;
  background: var(--p-cream);
  border: 2px solid var(--p-ink);
  border-radius: 999px;
  padding: 8px 18px;
  box-shadow: 3px 3px 0 var(--p-ink);
  transition: transform .15s, box-shadow .15s, background .15s;
}
.apg-back:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--p-ink); background: var(--p-yellow); }
.apg-back .arrow { transition: transform .2s; }
.apg-back:hover .arrow { transform: translateX(-3px); }

.apg-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: center;
  padding: 32px 0 56px;
}
.apg-hero__portrait-wrap { position: relative; width: 300px; height: 300px; }
.apg-blob { position: absolute; border-radius: 50%; z-index: 0; }
.apg-blob--1 { width: 132px; height: 132px; background: var(--p-yellow); top: -24px; left: -28px; animation: lpp-float 8s ease-in-out infinite alternate; }
.apg-blob--2 { width: 92px; height: 92px; background: var(--p-mint); bottom: -18px; right: -22px; animation: lpp-float 7s ease-in-out infinite alternate; animation-delay: .8s; }
.apg-hero__portrait {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--p-rose-bg);
  border: 3px solid var(--p-ink);
  box-shadow: 8px 8px 0 var(--p-ink);
  overflow: hidden;
}
.apg-hero__portrait image-slot { width: 100%; height: 100%; display: block; }
.apg-hero__portrait image-slot::part(empty) { color: var(--p-ink); }
.apg-kicker {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--p-pink-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.apg-kicker__dots { display: inline-flex; gap: 4px; align-items: center; }
.apg-kicker__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--p-pink); }
.apg-kicker__dots span:nth-child(2) { width: 10px; height: 10px; background: var(--p-ink); }
.apg-kicker__dots span:nth-child(3) { background: var(--p-mint); }
.apg-name {
  font-family: var(--p-display);
  font-weight: 600;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--p-ink);
}
.apg-role {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  font-family: var(--t-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--apg-accent, var(--p-pink-deep));
  margin-top: 16px;
}
.apg-role__loc { color: rgba(42,24,16,0.55); }
.apg-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.apg-chip {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  background: white;
  border: 1.5px solid var(--p-ink);
  border-radius: 999px;
  color: var(--p-ink);
}
.apg-bio {
  max-width: 64ch;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.6;
  color: var(--p-ink);
  text-wrap: pretty;
}
.apg-bio p { margin: 0 0 1.1em; }
.apg-bio p:last-child { margin-bottom: 0; }
.apg-bio em { font-style: italic; color: var(--p-pink-deep); }

.apg-books__title {
  font-family: var(--p-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 42px);
  text-align: center;
  margin: 0 0 40px;
  color: var(--p-ink);
}
.apg-books__title em { font-style: normal; color: var(--apg-accent, var(--p-pink-deep)); }
.apg-books__grid { display: flex; flex-direction: column; gap: 28px; max-width: 760px; margin: 0 auto 48px; }
.apg-book {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--p-cream);
  border: 2px solid var(--p-ink);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 7px 7px 0 var(--p-ink);
  color: var(--p-ink);
  transition: transform .2s, box-shadow .2s;
}
.apg-book:hover { transform: translate(-2px,-2px); box-shadow: 9px 9px 0 var(--p-ink); }
.apg-book__cover {
  width: 150px;
  aspect-ratio: 5 / 7;
  border: 2px solid var(--p-ink);
  box-shadow: 3px 3px 0 rgba(42,24,16,0.25);
}
.apg-book__cover.cv-miantiao { aspect-ratio: 1 / 1; }
.apg-book__info { display: flex; flex-direction: column; gap: 8px; }
.apg-book__meta { font-family: var(--t-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--p-pink-deep); }
.apg-book__title { font-family: var(--p-display); font-weight: 600; font-size: 26px; line-height: 1.05; margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.apg-book__zh { font-family: var(--t-cn); color: var(--p-yellow-deep); }
.apg-book__sub { font-size: 15px; line-height: 1.45; color: rgba(42,24,16,0.8); margin: 0; }
.apg-book__cta { font-family: var(--p-display); font-weight: 600; font-size: 15px; color: var(--p-pink-deep); display: inline-flex; gap: 6px; align-items: center; }
.apg-book .arrow { transition: transform .2s; }
.apg-book:hover .arrow { transform: translateX(4px); }

@media (max-width: 760px) {
  .apg-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 36px; }
  .apg-role, .apg-facts { justify-content: center; }
  .apg-book { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .apg-book__title { justify-content: center; }
}

/* ============================================================
   LPP skin applied to a book detail page (body.lpp on book.html)
   Activated only when a Little Particle Press book is opened.
   ============================================================ */
body.lpp-book { background: var(--p-cream); }
body.lpp .book-hero__title,
body.lpp .book-hero__price,
body.lpp .headline,
body.lpp .book__title,
body.lpp .book-author__portrait-name {
  font-family: var(--p-display);
  letter-spacing: 0;
  font-weight: 600;
}
/* Playful masthead wordmark, LPP pages only */
body.lpp .masthead__wordmark .name {
  font-family: var(--p-display);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--p-pink-deep);
}
body.lpp .masthead__wordmark .name em {
  font-style: normal;
  font-weight: 500;
  color: var(--p-yellow-deep);
}
body.lpp .book-hero__subtitle,
body.lpp .book-hero__author,
body.lpp .book__author,
body.lpp .book-blurb__pull { font-family: var(--p-text); }

body.lpp .book-hero__buy {
  border: 2px solid var(--p-ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--p-ink);
  background: var(--p-cream);
}
body.lpp .book-hero__buy .btn { border-radius: 999px; }
body.lpp .book-hero__buy .btn--primary { background: var(--p-pink-deep); border-color: var(--p-ink); color: #fff; }
body.lpp .book-hero__buy .btn--primary:hover { background: var(--p-ink); border-color: var(--p-ink); }
body.lpp .book-hero__buy .btn--ghost { border-color: var(--p-ink); }
body.lpp .book-hero__formats { border: 1.5px solid var(--p-ink); border-radius: 14px; overflow: hidden; }
body.lpp .book-hero__formats button { font-family: var(--p-text); border-color: var(--p-ink); }
body.lpp .book-hero__formats button.is-on { background: var(--p-yellow-deep); color: var(--p-ink); }

body.lpp .book-author__portrait {
  aspect-ratio: 1 / 1;
  max-width: 280px;
  border-radius: 50%;
  border: 3px solid var(--p-ink);
  box-shadow: 7px 7px 0 var(--p-ink);
  background: var(--p-rose-bg);
  padding: 0;
  overflow: hidden;
}
body.lpp .book-author__portrait::before { display: none; }
body.lpp .book-author__portrait image-slot { width: 100%; height: 100%; display: block; }
body.lpp .book-author__portrait image-slot::part(empty) { color: var(--p-ink); }
body.lpp .book-author__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-family: var(--p-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--p-pink-deep);
}
body.lpp .book-author__more .arrow { transition: transform .2s; }
body.lpp .book-author__more:hover .arrow { transform: translateX(4px); }
