/* Book page variants: one layout per book, all dark, each accented by its cover color (--acc). */

/* Pre-rendered layout (npm run prerender): it is in the HTML so images start loading and crawlers can read it,
   but it stays invisible until main.js takes over, so the entrance motion is unchanged. If scripts never
   arrive, it shows by itself after 5s instead of leaving an empty page. */
.js:not(.v-ready) #v[data-hash],
.js:not(.v-ready) .nav__crumbs { visibility: hidden; animation: v-show 0s 5s forwards; }
@keyframes v-show { to { visibility: visible; } }

.v { --acc: #f3f1ec; }
.acc { color: var(--acc); }
.v-pad { padding-left: var(--pad); padding-right: var(--pad); }
.v-stage { perspective: 1400px; }
.v-buy { display: flex; gap: 10px; flex-wrap: wrap; }

/* eBook | Print: the switch sits on its own line above the buttons and picks which stores show.
   The store groups are display: contents, so the pills wrap and align exactly as they did before. */
.v-fmt { row-gap: 14px; }
.v-fmt__row { width: 100%; display: flex; justify-content: inherit; }
.v-fmt__grp { display: contents; }
.v-fmt__grp[hidden] { display: none; }
.v-fmt.is-switched .v-fmt__grp > a { animation: fmt-in 0.5s var(--ease) both; }
.v-fmt.is-switched .v-fmt__grp > a + a { animation-delay: 0.06s; }
@keyframes fmt-in { from { opacity: 0; transform: translateY(8px); } }
.fmt__switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.fmt__switch button {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  height: 32px;
  padding: 0 16px;
  border-radius: 100px;
  transition: background-color 0.4s var(--ease);
}
.fmt__switch button span { transition: color 0.4s var(--ease); }
.fmt__switch button[aria-pressed="true"] { background: currentColor; }
.fmt__switch button[aria-pressed="true"] span { color: var(--fmt-on, var(--bg)); }
.fmt__switch button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (hover: none) { .fmt__switch button { height: 40px; padding: 0 18px; } }
@media (prefers-reduced-motion: reduce) { .v-fmt.is-switched .v-fmt__grp > a { animation: none; } }
.pill--acc { background: var(--acc); border-color: var(--acc); color: #0a0a0a; }
.pill--acc::before { background: var(--fg); }
.pill--acc:hover { color: #0a0a0a; }
.v-meta { display: flex; gap: clamp(24px, 3vw, 48px); flex-wrap: wrap; color: var(--mute); }
.v-meta b { display: block; margin-top: 6px; color: var(--fg); font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; text-transform: none; }
.v-lede { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.2; letter-spacing: -0.025em; }
.v-copy p { color: var(--mute); font-size: 17px; line-height: 1.55; max-width: 58ch; }
.v-copy p + p { margin-top: 16px; }
.v-copy p:first-child { color: var(--fg); }

/* Shared ending: next book + variant switcher */
.v-end { border-top: 1px solid var(--line); }
.v-end .bk-next { border-top: 0; padding-bottom: 50px; }
.v-switch { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 0 var(--pad) clamp(60px, 7vw, 110px); }
.v-switch a {
  display: grid; place-items: center; height: 34px; min-width: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 100px; color: var(--mute);
  transition: color .3s, border-color .3s, background .3s;
}
.v-switch a:hover { color: var(--fg); border-color: var(--fg); }
.v-switch a.is-on { background: var(--acc); border-color: var(--acc); color: #0a0a0a; }

/* ═════════════ 01 · Letters to My Dear Sam: the letter ═════════════ */
.ls-hero { position: relative; min-height: 100vh; padding: 110px var(--pad) 60px; overflow: hidden; }
.ls-top { display: flex; justify-content: space-between; color: var(--mute); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ls-dear { display: block; margin-top: 2vw; font-size: clamp(90px, 15vw, 260px); line-height: 0.9; color: var(--acc); }
.ls-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 6vw; margin-top: 3vw; align-items: start; }
.ls-letter {
  position: relative; padding: 36px 0 0 70px;
  background-image: repeating-linear-gradient(180deg, transparent 0 33px, var(--line) 33px 34px);
}
.ls-letter::before { content: ''; position: absolute; left: 44px; top: 0; bottom: 0; width: 1px; background: color-mix(in srgb, var(--acc) 40%, transparent); }
.ls-letter p.ls-body { font-size: clamp(19px, 1.6vw, 24px); line-height: 34px; letter-spacing: -0.015em; }
.ls-letter .ls-to { color: var(--mute); line-height: 34px; display: block; }
.ls-sign { display: block; font-size: 44px; line-height: 68px; color: var(--acc); }
.ls-letter .v-buy { margin-top: 34px; }
.ls-desk { position: relative; display: grid; place-items: center; padding-top: 20px; }
.ls-desk .book3d { width: min(24vw, 340px); --depth: 30px; }
.ls-stamp {
  position: absolute; right: 2%; top: 0; width: 110px; aspect-ratio: 0.82; display: grid; place-items: center;
  border: 2px dashed var(--acc); color: var(--acc); font-family: var(--serif); font-style: italic; font-size: 56px;
  outline: 6px solid var(--bg); outline-offset: -10px; transform: rotate(8deg);
}
.ls-post { position: absolute; left: -6%; bottom: 6%; width: 130px; height: 130px; border: 1px solid var(--acc); border-radius: 50%; display: grid; place-items: center; text-align: center; color: var(--acc); transform: rotate(-14deg); }
.ls-post::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--acc); border-radius: 50%; opacity: .5; }
.ls-pages { padding: clamp(80px, 9vw, 150px) var(--pad); }
.ls-pages > .label { display: block; margin-bottom: 50px; }
.ls-item { display: grid; grid-template-columns: 2fr 8fr 2fr; gap: 30px; padding: 40px 0; border-top: 1px solid var(--line); align-items: baseline; }
.ls-item .ls-n { font-family: var(--serif); font-style: italic; font-size: clamp(60px, 7vw, 120px); line-height: .8; color: var(--acc); }
.ls-item p { font-size: clamp(20px, 2vw, 30px); line-height: 1.2; letter-spacing: -0.025em; max-width: 34ch; }
.ls-item .mono { color: var(--mute); justify-self: end; }
.ls-themes { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 50px; }
.ls-themes span { padding: 10px 18px; border: 1px dashed var(--acc); color: var(--acc); border-radius: 3px; }

/* ═════════════ 02 · P!G: case file ═════════════ */
.pg-hero { position: relative; min-height: 100vh; padding: 110px var(--pad) 40px; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.pg-file { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; color: var(--mute); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; }
.pg-file b { display: block; color: var(--fg); font-weight: 500; margin-top: 4px; }
.pg-word { position: relative; display: flex; align-items: center; justify-content: center; }
.pg-word h1 { font-size: 36vw; line-height: .78; letter-spacing: -0.09em; font-weight: 700; white-space: nowrap; display: flex; }
.pg-word h1 span { display: inline-block; }
.pg-word .pg-bang { color: var(--acc); transform-origin: 50% 90%; margin: 0 -0.02em; }
.pg-word .v-stage { position: absolute; right: 4%; top: 8%; }
.pg-book { width: min(16vw, 240px); }
.pg-book img { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .4)); }
.pg-foot { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.pg-foot .serif { font-size: clamp(26px, 2.8vw, 44px); line-height: 1; }
.pg-check { padding: clamp(80px, 9vw, 150px) var(--pad); display: grid; grid-template-columns: 4fr 8fr; gap: 4vw; }
.pg-check h2 { font-size: clamp(34px, 4vw, 64px); line-height: .95; letter-spacing: -0.045em; }
.pg-check h2 + p { margin-top: 20px; color: var(--mute); max-width: 32ch; }
.pg-list { list-style: none; margin: 0; padding: 0; }
.pg-list li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); font-size: clamp(20px, 2.1vw, 32px); letter-spacing: -0.03em; line-height: 1.1; color: var(--mute); transition: color .5s; }
.pg-box { width: 36px; height: 36px; border: 1.5px solid var(--mute); border-radius: 4px; display: grid; place-items: center; transition: background .4s var(--ease-out), border-color .4s; }
.pg-box::after { content: '✓'; font-size: 22px; color: #0a0a0a; transform: scale(0); transition: transform .5s var(--ease-out); }
.pg-list li.on { color: var(--fg); }
.pg-list li.on .pg-box { background: var(--acc); border-color: var(--acc); }
.pg-list li.on .pg-box::after { transform: scale(1); }
.pg-body { padding: 0 var(--pad) clamp(80px, 9vw, 150px); display: grid; grid-template-columns: 4fr 8fr; gap: 4vw; }
.pg-body .v-buy { margin-top: 36px; }
.pg-note { margin-top: 24px; color: var(--mute); }

/* ═════════════ 04 · Creature: field guide ═════════════ */
.cr { background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; background-position: -1px -1px; }
/* the ground: dark, grainy soil, mottled like bark, warmed by an amber glow at the top */
.cr { --ink: #efe5d6; --soft: #b5a690; position: relative; isolation: isolate; background-color: #110c08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' preserveAspectRatio='none'%3E%3Cfilter id='t' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .88 0 0 0 0 .72 .5 0 0 0 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000' preserveAspectRatio='none'%3E%3Cfilter id='t' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.022 .05' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .26 0 0 0 0 .14 .55 0 0 0 -.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='1000' preserveAspectRatio='none'%3E%3Cfilter id='t' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0028 .0042' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .34 0 0 0 0 .21 0 0 0 0 .11 1.05 0 0 0 -.46'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E"),
    radial-gradient(80% 55% at 72% 0%, rgba(150, 78, 26, .34), transparent 70%),
    radial-gradient(130% 95% at 50% 45%, transparent 50%, rgba(0, 0, 0, .55) 100%);
  background-size: 260px 260px, cover, cover, 100% 1500px, 100% 100%;
  background-attachment: scroll, fixed, fixed, scroll, fixed;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat; }
.cr::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 280px; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.cr .label, .cr .mono { color: var(--soft); }
/* hero */
.cr-hero { position: relative; min-height: 100vh; padding: 120px var(--pad) 80px; display: grid; grid-template-columns: 7fr 5fr; gap: 4vw; align-items: center; }
.cr-hero > :not(.cr-trail) { position: relative; z-index: 1; }
.cr-trail { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cr-paw { position: absolute; width: clamp(20px, 1.9vw, 30px); height: clamp(20px, 1.9vw, 30px); fill: var(--acc); opacity: .2; rotate: 36deg; }
.cr-title { font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(84px, 11.5vw, 206px); line-height: .84; letter-spacing: .005em; margin-top: 22px; color: var(--ink); }
.cr-sub { margin-top: 20px; font-size: clamp(22px, 2.1vw, 32px); color: var(--soft); max-width: 24ch; line-height: 1.08; }
.cr-hero .v-meta { margin-top: 40px; }
.cr-hero .v-buy { margin-top: 34px; }
.cr-spec { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.cr-glow { position: absolute; left: 50%; top: 50%; width: 86%; aspect-ratio: .8; translate: -50% -50%; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  background: radial-gradient(closest-side, rgba(255, 168, 76, .5), rgba(217, 119, 43, .2) 60%, transparent); filter: blur(8px); pointer-events: none; }
.cr-book { position: relative; margin: 0; width: 60%; aspect-ratio: 609 / 917; }
.cr-book img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .45)); }
.cr-crop { position: absolute; width: 26px; height: 26px; border-color: var(--acc); border-style: solid; border-width: 0; }
.cr-crop:nth-of-type(2) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.cr-crop:nth-of-type(3) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.cr-crop:nth-of-type(4) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.cr-crop:nth-of-type(5) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.cr-note { position: absolute; display: flex; align-items: center; gap: 10px; color: var(--acc) !important; white-space: nowrap; }
.cr-note i { display: block; width: 80px; height: 1px; background: var(--acc); transform-origin: left; }
.cr-note--a { top: 7%; right: -2%; flex-direction: row-reverse; }
.cr-note--a i { transform-origin: right; }
.cr-note--b { bottom: 8.5%; left: -2%; }
.cr-fig { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; }
/* the blurb, with its seven words lit */
.cr-mirror { padding: clamp(90px, 10vw, 170px) var(--pad); border-top: 1px solid var(--line); display: grid; grid-template-columns: 3fr 9fr; gap: 4vw; }
.cr-lede { font-size: clamp(32px, 3.9vw, 66px); line-height: 1.06; letter-spacing: -0.01em; color: var(--ink); max-width: 25ch; }
.cr-lede em { color: var(--acc); }
.cr-copy { margin-top: clamp(36px, 4vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: 3vw; max-width: 920px; }
.cr-copy p { color: var(--soft); font-size: 18px; line-height: 1.6; }
/* specimens */
.cr-index { padding: 0 var(--pad) clamp(90px, 10vw, 170px); }
.cr-state { font-size: clamp(40px, 5.4vw, 96px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; max-width: 17ch; color: var(--ink); margin-bottom: clamp(60px, 7vw, 120px); }
.cr-state span { display: block; margin-top: .12em; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--acc); }
.cr-index > .label { display: block; margin-bottom: 36px; }
.cr-row { display: grid; grid-template-columns: 110px 1fr 1.4fr 60px; gap: 24px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--line); transition: background .5s; }
.cr-row:last-child { border-bottom: 1px solid var(--line); }
.cr-row:hover { background: linear-gradient(90deg, rgba(232, 137, 58, .09), transparent 75%); }
.cr-row h3 { font-size: clamp(30px, 3.6vw, 58px); letter-spacing: -0.05em; line-height: .95; white-space: nowrap; color: var(--ink); }
.cr-row p { color: var(--soft); font-size: 17px; max-width: 40ch; }
.cr-mk { width: 26px; height: 26px; fill: var(--acc); justify-self: end; align-self: center; rotate: 24deg; transition: rotate .6s var(--ease-out, ease); }
.cr-row:hover .cr-mk { rotate: -12deg; }
/* four ways of looking */
.cr-blend { padding: clamp(90px, 10vw, 170px) var(--pad); border-top: 1px solid var(--line); }
.cr-blend__head { display: flex; justify-content: space-between; align-items: end; gap: 4vw; margin-bottom: clamp(40px, 5vw, 80px); }
.cr-blend__head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 6.2vw, 112px); line-height: .88; color: var(--ink); }
.cr-blend ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cr-bl { padding: 30px 28px 44px; border-left: 1px solid var(--line); transition: background .5s; }
.cr-bl:first-child { border-left: 0; padding-left: 0; }
.cr-bl:hover { background: linear-gradient(180deg, rgba(232, 137, 58, .1), transparent); }
.cr-bl__n { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--acc); }
.cr-bl h3 { margin-top: clamp(50px, 6vw, 96px); font-size: clamp(26px, 2.4vw, 40px); font-weight: 600; letter-spacing: -0.045em; color: var(--ink); }
.cr-bl p { margin-top: 14px; color: var(--soft); font-size: 17px; line-height: 1.5; max-width: 26ch; }
/* the question, over a glowing egg */
.cr-ask { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 12vw, 210px) var(--pad); text-align: center; display: grid; justify-items: center; gap: 26px; }
.cr-egg { position: absolute; left: 50%; top: 50%; width: min(48vw, 560px); aspect-ratio: .78; translate: -50% -50%; z-index: -1; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  background: radial-gradient(closest-side, rgba(255, 160, 70, .34), rgba(217, 119, 43, .13) 62%, transparent); filter: blur(6px); }
.cr-ask p { font-family: var(--serif); font-size: clamp(44px, 6.4vw, 118px); line-height: .98; letter-spacing: -0.02em; max-width: 15ch; color: var(--ink); }
.cr-ask .v-buy { justify-content: center; margin-top: 18px; }
/* the edition: the real cover, lit from below, beside the colophon */
.cr-ed { padding: clamp(90px, 10vw, 170px) var(--pad) clamp(140px, 14vw, 230px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 4fr 8fr; gap: 6vw; align-items: center; }
.cr-ed__cover { position: relative; margin: 0; max-width: 360px; justify-self: center; width: 100%; }
.cr-ed__cover .cover { position: relative; box-shadow: 28px 40px 80px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06); }
.cr-ed__glow { position: absolute; left: 50%; top: 55%; width: 150%; aspect-ratio: .8; translate: -50% -50%; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  background: radial-gradient(closest-side, rgba(255, 160, 70, .45), rgba(217, 119, 43, .16) 60%, transparent); filter: blur(10px); pointer-events: none; }
.cr-ed__t { margin-top: 22px; font-size: clamp(54px, 7vw, 128px); font-weight: 600; letter-spacing: -0.06em; line-height: .86; color: var(--ink); }
.cr-ed__t span { display: block; margin-top: 18px; font-size: clamp(22px, 2.2vw, 34px); font-weight: 400; font-style: italic; letter-spacing: -0.01em; line-height: 1.1; color: var(--soft); }
.cr-ed .v-meta { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.cr-ed__shop { display: inline-block; margin-top: 34px; color: var(--acc) !important; border-bottom: 1px solid color-mix(in srgb, var(--acc) 45%, transparent); padding-bottom: 4px; transition: border-color .3s; }
.cr-ed__shop:hover { border-color: var(--acc); }

/* ═════════════ 07 · Kwanele Blanc: enough ═════════════ */
.kw-hero { min-height: 100vh; padding: 120px var(--pad) 50px; display: grid; grid-template-columns: 8fr 4fr; gap: 4vw; align-items: end; }
.kw-entry .mono { color: var(--mute); }
.kw-word { font-size: clamp(100px, 14.5vw, 260px); font-weight: 700; letter-spacing: -0.075em; line-height: .8; margin: 20px 0 0 -0.04em; }
.kw-word .kw-dot { color: var(--acc); }
.kw-pron { margin-top: 26px; display: flex; gap: 20px; align-items: baseline; color: var(--mute); }
.kw-pron .serif { font-size: 30px; color: var(--fg); }
.kw-def { margin-top: 34px; display: grid; grid-template-columns: 40px 1fr; gap: 10px; font-size: clamp(26px, 2.8vw, 44px); letter-spacing: -0.035em; line-height: 1.05; max-width: 22ch; }
.kw-def span:first-child { font-family: var(--mono); font-size: 13px; color: var(--mute); padding-top: .6em; }
.kw-entry .v-buy { margin-top: 40px; }
.kw-cover { align-self: center; }
.kw-cover .cover { box-shadow: 30px 40px 80px rgba(0,0,0,.6); }
.kw-cover .mono { display: block; margin-top: 14px; color: var(--mute); text-align: right; }
.kw-wall { padding: clamp(80px, 9vw, 150px) var(--pad); font-size: clamp(34px, 4.6vw, 80px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.kw-wall .wd { color: var(--dim); transition: color .35s; }
.kw-wall .wd.on { color: var(--fg); }
.kw-wall .wd.kw-last { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.kw-wall .wd.kw-last.on { color: var(--acc); }
.kw-body { padding: 0 var(--pad) clamp(80px, 9vw, 150px); display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; border-top: 1px solid var(--line); padding-top: 50px; }
/* three movements, set as dictionary entries */
.kw-moves { padding: clamp(80px, 9vw, 150px) var(--pad); border-top: 1px solid var(--line); }
.kw-moves__head { display: flex; justify-content: space-between; align-items: end; gap: 4vw; margin-bottom: clamp(40px, 5vw, 80px); }
.kw-moves__head h2 { font-size: clamp(44px, 5.4vw, 92px); font-weight: 700; letter-spacing: -0.06em; line-height: .88; }
.kw-moves__head .mono { color: var(--mute); }
.kw-mv-list { list-style: none; margin: 0; padding: 0; }
.kw-mv { display: grid; grid-template-columns: 90px 1.5fr 1fr; gap: 3vw; align-items: baseline; padding: clamp(28px, 3vw, 44px) 0; border-top: 1px solid var(--line); }
.kw-mv:last-child { border-bottom: 1px solid var(--line); }
.kw-mv__n { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.4vw, 38px); color: var(--mute); }
.kw-mv h3 { font-size: clamp(40px, 5vw, 88px); font-weight: 600; letter-spacing: -0.055em; line-height: .92; transition: color .4s; }
.kw-mv__gl { display: block; margin-top: 16px; color: var(--mute); }
.kw-mv p { font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -0.025em; line-height: 1.2; color: var(--mute); max-width: 20ch; transition: color .4s; }
.kw-mv:hover h3 { color: var(--acc); }
.kw-mv:hover p { color: var(--fg); }
/* what it names: one long line of words */
.kw-names { padding: 0 var(--pad) clamp(80px, 9vw, 150px); }
.kw-names > .mono { color: var(--mute); }
.kw-names__list { margin-top: 28px; font-size: clamp(32px, 4.4vw, 76px); font-weight: 600; letter-spacing: -0.05em; line-height: 1.05; }
.kw-names__list span { display: inline-block; white-space: nowrap; transition: color .3s; }
.kw-names__list span:hover { color: var(--acc); }
.kw-names__list i { font-style: normal; font-weight: 300; color: var(--dim); margin: 0 .28em; }
/* closing: the word again, beside the cover */
.kw-close { padding: clamp(80px, 9vw, 150px) var(--pad); border-top: 1px solid var(--line); display: grid; grid-template-columns: 4fr 8fr; gap: 6vw; align-items: center; }
.kw-close__cover { max-width: 440px; }
.kw-close__cover img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 44px rgba(0, 0, 0, .55)); }
.kw-close__txt > .mono { color: var(--mute); }
.kw-close__word { font-family: var(--serif); font-style: italic; font-size: clamp(90px, 12vw, 220px); letter-spacing: -0.03em; line-height: .85; margin-top: 18px; }
.kw-close__word .kw-dot { color: var(--acc); }
/* Kwanele's red, from its cover. Named directly: inside main.v, --acc is the cream fallback. */
.kw-word .kw-dot, .kw-close__word .kw-dot, .kw-names__list span:hover, .kw-names__list span:active { color: #c63a2c; }
.kw-close__def { margin-top: 26px; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -0.03em; line-height: 1.1; max-width: 24ch; color: var(--mute); }
.kw-close .v-buy { margin-top: 40px; }
.kw-pilcrow { font-family: var(--serif); font-size: clamp(120px, 14vw, 240px); line-height: .8; color: var(--acc); }

/* ═════════════ 08 · Neither Noir: the intersection ═════════════ */
.nn-hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.nn-half { display: flex; align-items: center; padding: 0 var(--pad); }
.nn-half--l { justify-content: flex-end; background: var(--bg); }
.nn-half--r { justify-content: flex-start; background: #f3f1ec; color: #0a0a0a; }
.nn-half :is(h1, .nn-h) { font-size: clamp(80px, 11vw, 200px); letter-spacing: -0.075em; line-height: .8; font-weight: 700; }
.nn-half--l h1 { margin-right: 12vw; }
.nn-half--r .nn-h { margin-left: 12vw; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; }
/* black where it crosses the cream half, yellow where it crosses the black half */
.nn-slash { position: absolute; left: 50%; top: -10%; bottom: -10%; width: 2px; background: linear-gradient(to bottom, #0a0a0a 50%, var(--acc) 50%); transform: rotate(14deg); }
/* the hardcover sits dead centre on the split, between the two words */
.nn-book { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; margin: 0; height: min(52vh, 540px); aspect-ratio: 611 / 842; }
.nn-book img { display: block; width: 100%; height: 100%; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
.nn-meta { position: absolute; left: var(--pad); right: var(--pad); bottom: 30px; display: flex; justify-content: space-between; mix-blend-mode: difference; color: #fff; z-index: 3; }
.nn-venn { padding: clamp(80px, 9vw, 150px) var(--pad); display: grid; grid-template-columns: 5fr 7fr; gap: 4vw; align-items: center; }
.nn-venn h2 { font-size: clamp(34px, 4vw, 66px); line-height: .95; letter-spacing: -0.045em; }
.nn-venn h2 + p { margin-top: 20px; color: var(--mute); max-width: 36ch; }
.nn-circles { position: relative; aspect-ratio: 1; max-width: 620px; width: 100%; justify-self: center; }
.nn-c { position: absolute; width: 52%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--fg); display: grid; place-items: center; mix-blend-mode: difference; }
.nn-c span { position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.nn-c1 { left: 0; top: 0; } .nn-c1 span { top: 26%; left: 22%; }
.nn-c2 { right: 0; top: 0; } .nn-c2 span { top: 26%; right: 22%; }
.nn-c3 { left: 0; bottom: 0; } .nn-c3 span { bottom: 26%; left: 22%; }
.nn-c4 { right: 0; bottom: 0; } .nn-c4 span { bottom: 26%; right: 22%; }
.nn-core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 36px); color: var(--acc); white-space: nowrap; }
.nn-body { padding: 0 var(--pad) clamp(80px, 9vw, 150px); display: grid; grid-template-columns: 5fr 7fr; gap: 4vw; }
.nn-body .v-buy { margin-top: 36px; }
.nn-link { display: inline-block; margin-top: 30px; color: var(--mute); }
.nn-link:hover { color: var(--fg); }

/* ───────────── Responsive ───────────── */
@media (max-width: 1000px) {
  .ls-grid, .pg-check, .pg-body, .cr-hero, .cr-mirror, .kw-hero, .kw-body, .nn-venn, .nn-body { grid-template-columns: 1fr; }
  .ls-item { grid-template-columns: 1fr; }
  .ls-item .mono { justify-self: start; }
  .cr-row { grid-template-columns: 70px 1fr; }
  .cr-row p, .cr-row .cr-mk { grid-column: 2; justify-self: start; }
  .cr-copy { grid-template-columns: 1fr; }
  .cr-ed { grid-template-columns: 1fr; }
  .cr-ed__cover { max-width: 260px; }
  .cr-spec { max-width: 460px; }
  .cr-blend__head { flex-direction: column; align-items: start; }
  .cr-blend ol { grid-template-columns: 1fr 1fr; }
  .cr-bl:nth-child(3) { border-left: 0; padding-left: 0; }
  .cr-bl:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pg-file { grid-template-columns: 1fr 1fr; }
  .ls-desk .book3d { width: min(50vw, 280px); }
  .kw-cover { max-width: 320px; }
  .kw-moves__head { flex-direction: column; align-items: start; }
  .kw-mv { grid-template-columns: 50px 1fr; }
  .kw-mv p { grid-column: 2; }
  .kw-close { grid-template-columns: 1fr; }
  .kw-close__cover { max-width: 300px; }
}
@media (max-width: 700px) {
  .nn-hero { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .nn-half--l, .nn-half--r { justify-content: center; }
  .nn-half :is(h1, .nn-h) { margin: 0 !important; }
  .nn-slash { display: none; }
  .nn-book { height: min(30vh, 62vw); }
  .ls-letter { padding-left: 30px; }
  .ls-letter::before { left: 14px; }
}

/* ───────────── From the back cover (shared) ───────────── */
.v-back { padding: clamp(80px, 9vw, 150px) var(--pad); display: grid; grid-template-columns: 4fr 8fr; gap: 4vw; align-items: center; border-top: 1px solid var(--line); }
.v-back--solo { grid-template-columns: 1fr; }
/* text left, a picture on the right */
.v-back--art { grid-template-columns: 7fr 5fr; }
.v-back__art { margin: 0; justify-self: end; width: min(100%, 520px); overflow: hidden; border-radius: 4px; }
.v-back__art img { display: block; width: 100%; height: auto; }
.v-photo { margin: 0; justify-self: start; width: min(100%, 300px); padding: 12px 12px 44px; background: #f1ede4; transform: rotate(-3deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); position: relative; }
.v-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.v-photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 14px; color: #6b665c; font-size: 11px; }
.v-back__txt blockquote { margin: 18px 0 0; font-size: clamp(34px, 4.2vw, 72px); line-height: 1.02; letter-spacing: -0.02em; max-width: 20ch; color: var(--fg); }
.v-back__txt blockquote::first-letter { color: var(--acc); }
.v-back__bio { margin-top: 28px; color: var(--mute); max-width: 52ch; font-size: 17px; line-height: 1.55; }
.v-back .v-meta { margin-top: 44px; }

/* P!G · seven signals */
.pg-sins li { grid-template-columns: 54px minmax(150px, 0.8fr) 1.6fr; align-items: baseline; }
.pg-n { font-size: 12px; color: var(--mute); letter-spacing: 0; }
.pg-sin { position: relative; font-weight: 600; letter-spacing: -0.04em; width: fit-content; }
.pg-sin::after { content: ''; position: absolute; left: -4%; right: -4%; top: 55%; height: 3px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.pg-q { font-family: var(--serif); font-style: italic; font-size: .9em; opacity: 0; transform: translateX(-16px); transition: opacity .6s, transform .7s var(--ease-out); }
.pg-sins li.on .pg-sin { color: var(--mute); }
.pg-sins li.on .pg-sin::after { transform: scaleX(1); }
.pg-sins li.on .pg-q { opacity: 1; transform: none; color: var(--fg); }

/* Creature · epigraph */
.cr-epi { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--acc); max-width: 30ch; }

@media (max-width: 1000px) {
  .v-back { grid-template-columns: 1fr; }
  .v-photo { justify-self: center; }
  .v-back__art { justify-self: stretch; width: 100%; }
  .pg-sins li { grid-template-columns: 40px 1fr; }
  .pg-sins .pg-q { grid-column: 2; }
  .cr-row h3 { white-space: normal; }
}

/* Variant pages use clip, not hidden, so sticky scenes work */
body.v { overflow-x: clip; }

/* ═════════════ 03 · Ma'Lily Lives in Noir: lights on ═════════════ */
.ma-hero { position: relative; min-height: 100vh; padding: 110px var(--pad) 60px calc(var(--pad) + 7vw); display: grid; grid-template-columns: 6fr 5fr; gap: 2vw; align-items: center; overflow: hidden; }
.ma-kick { color: var(--mute); }
.ma-title { --tx: -999px; --ty: -999px; --r: 0px; display: grid; margin-top: 22px; font-family: var(--serif); font-weight: 400; font-size: clamp(110px, 14.5vw, 260px); line-height: .84; letter-spacing: -0.035em; }
.ma-pink { color: #e8508f; }
.ma-teal { color: #2bb3a6; }
.ma-sub { display: block; margin-top: 4px; font-size: clamp(36px, 4.2vw, 72px); line-height: 1; color: #f08a24; font-style: normal; }
.ma-tag { margin-top: 28px; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -0.02em; color: var(--mute); max-width: 28ch; }
.ma-txt .v-buy { margin-top: 34px; }
.ma-hint { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; color: var(--acc); }
.ma-hint::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 16px 3px var(--acc); }
.ma-cover { --mx: 80%; --my: 26%; --r: 170px; position: relative; margin: 0; justify-self: center; width: min(100%, calc(78vh * 2 / 3)); aspect-ratio: 2 / 3; }
.ma-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.ma-dark { filter: grayscale(1) brightness(.2) contrast(1.15); }
.ma-lit {
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0, #000 calc(var(--r) * .35), transparent var(--r));
  mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0, #000 calc(var(--r) * .35), transparent var(--r));
}
.ma-cover figcaption { position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; color: var(--mute); }

.ma-nb { --p: 50%; position: relative; height: 260vh; }
.ma-nb__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.ma-nb__l { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 0 var(--pad); text-align: center; }
.ma-noir { background: #000; color: #f4efe4; }
.ma-blanc { background: #f4efe4; color: #0a0a0a; clip-path: inset(0 0 0 var(--p)); }
.ma-nb__l .mono { opacity: .55; }
.ma-nb__l p { font-size: clamp(56px, 7.6vw, 144px); line-height: .9; letter-spacing: -0.035em; max-width: 7ch; }
.ma-noir { justify-content: start; justify-items: start; text-align: left; }
.ma-blanc { justify-content: end; justify-items: end; text-align: right; }
.ma-nb__edge { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: var(--acc); box-shadow: 0 0 40px 6px color-mix(in srgb, var(--acc) 60%, transparent); }
.ma-nb__cap { position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; display: flex; justify-content: space-between; color: #fff; mix-blend-mode: difference; }

.ma-frags { padding: clamp(110px, 13vw, 220px) var(--pad); }
.ma-frags > .label { display: block; margin-bottom: 60px; }
.ma-frag { font-size: clamp(32px, 3.9vw, 68px); line-height: 1.04; letter-spacing: -0.04em; max-width: 21ch; color: var(--dim); transition: color .9s var(--ease-out); }
.ma-frag + .ma-frag { margin-top: clamp(50px, 6vw, 100px); }
.ma-frag--r { margin-left: auto; text-align: right; }
.ma-frag em { font-style: normal; transition: color .9s var(--ease-out); }
.ma-frag.on { color: var(--fg); }
.ma-frag.on em { color: var(--c); }

.ma-return { padding: 0 var(--pad) clamp(110px, 13vw, 220px); text-align: center; }
.ma-return p { font-family: var(--serif); font-size: clamp(46px, 6.6vw, 126px); line-height: 1; letter-spacing: -0.03em; }
.ma-return p + p { margin-top: .25em; }
.ma-return em { color: var(--acc); }
.ma-return s { position: relative; text-decoration: none; color: var(--mute); }
.ma-return s::after { content: ''; position: absolute; left: -4%; right: -4%; top: 56%; height: .055em; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out) .3s; }
.ma-return.on s::after { transform: scaleX(1); }

.ma-about { padding: clamp(70px, 8vw, 130px) var(--pad); display: grid; grid-template-columns: 4fr 8fr; gap: 4vw; border-top: 1px solid var(--line); }
.ma-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.ma-chips span { padding: 9px 16px; border: 1.5px solid var(--c); border-radius: 100px; color: var(--c); }
.ma-note { margin-top: 24px; color: var(--mute); }
.ma-about .v-buy { margin-top: 34px; }

/* ═════════════ 05 · Izidalwa: two times ═════════════ */
/* Izidalwa type: Schibsted Grotesk (display + labels) with Young Serif. No italics. */
body[data-book="izidalwa"] { --sans: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif; --serif: 'Young Serif', Georgia, serif; --mono: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif; --iz-red: #d8431f; }
body[data-book="izidalwa"] :is(*, *::before, *::after) { font-style: normal !important; }
body[data-book="izidalwa"] .mono { font-weight: 600; font-size: 11.5px; letter-spacing: 0.02em; }
body[data-book="izidalwa"] .serif { font-weight: 400; letter-spacing: -0.02em; }
body[data-book="izidalwa"] :is(h1, h2, h3) { font-weight: 700; }

/* Hero: cowhide, packed red title, corner credits */
.iz-hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; display: grid; place-items: center; padding: 0 var(--pad); background: #2a1a12; color: var(--iz-red); }
.iz-hide { position: absolute; inset: 0; }
.iz-hide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.iz-head { position: relative; margin-top: -6vh; }
.iz-pre { margin-left: .15em; font-weight: 700; text-transform: uppercase; font-size: clamp(14px, 1.35vw, 22px); line-height: 1; letter-spacing: -0.01em; }
body[data-book="izidalwa"] .iz-title { font-family: var(--sans); font-weight: 800; text-transform: uppercase; font-size: 16.8vw; line-height: .8; letter-spacing: -0.045em; white-space: nowrap; color: var(--iz-red); }
.iz-title .w { padding: .1em .05em .08em 0; margin: -.1em -.05em -.08em 0; }
.iz-meta { position: absolute; bottom: 12vh; font-weight: 700; text-transform: uppercase; font-size: clamp(12px, 1vw, 16px); line-height: 1.05; letter-spacing: -0.01em; color: var(--iz-red); }
.iz-meta--l { left: 9vw; }
.iz-meta--r { right: 9vw; text-align: right; }
.iz-hbuy { display: flex; justify-content: flex-end; gap: 6px; margin-top: 18px; }
.iz-hbuy a { display: inline-flex; align-items: center; gap: .4em; padding: .7em 1.1em .62em; border: 2px solid var(--iz-red); border-radius: 999px; color: var(--iz-red); background: rgba(34, 20, 13, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, color .3s; }
.iz-hbuy a:first-child, .iz-hbuy a:hover { background: var(--iz-red); color: #f6ece2; }
.iz-hbuy a:first-child:hover { background: rgba(34, 20, 13, .55); color: var(--iz-red); }
.iz-hbuy .arrow { transition: transform .3s; }
.iz-hbuy a:hover .arrow { transform: translate(2px, -2px); }

/* The two volumes, on their timeline */
/* Where the stories happen: one place open, the rest folded into columns */
.iz-places { padding: clamp(100px, 10vw, 170px) var(--pad) 0; }
.iz-places__head { display: grid; grid-template-columns: 4fr 8fr; gap: 4vw; align-items: start; margin-bottom: clamp(40px, 4vw, 64px); }
.iz-places__head p { max-width: 38ch; font-size: clamp(20px, 1.7vw, 28px); line-height: 1.3; letter-spacing: -0.015em; }
.iz-acc { display: flex; height: min(80vh, 780px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.iz-acc__item { --era: #d8431f; position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-left: 1px solid var(--line); cursor: pointer; outline: none; transition: flex-grow .9s cubic-bezier(.65, 0, .2, 1); }
.iz-acc__item:last-child { border-right: 1px solid var(--line); }
.iz-acc__item--present { --era: #f3e3b0; }
.iz-acc__item--future { --era: #5fd3c4; }
.iz-acc__item.is-open { flex-grow: 9; }
.iz-acc__media { position: absolute; inset: 0; opacity: 0; background: radial-gradient(120% 90% at 70% 30%, color-mix(in srgb, var(--era) 26%, #1a120d), #120c09 70%); transition: opacity .6s; }
.iz-acc__item.is-open .iz-acc__media { opacity: 1; }
.iz-acc__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 38%); }
.iz-acc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; transform: scale(1.06); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.iz-acc__item.is-open .iz-acc__media img { transform: scale(1); }
.iz-acc__media:has(img) .iz-acc__ph { display: none; }
.iz-acc__ph { position: absolute; right: 4%; bottom: -.12em; font-size: clamp(180px, 22vw, 380px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--era) 55%, transparent); }
.iz-acc__era, .iz-acc__name { position: absolute; left: 50%; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); white-space: nowrap; transition: left .9s cubic-bezier(.65, 0, .2, 1), color .4s; }
.iz-acc__era { top: 24px; color: color-mix(in srgb, var(--era) 70%, transparent); }
.iz-acc__name { bottom: 24px; font-family: var(--sans); font-weight: 600; font-size: clamp(16px, 1.35vw, 22px); letter-spacing: -0.01em; color: var(--mute); }
.iz-acc__item:hover .iz-acc__name, .iz-acc__item:focus-visible .iz-acc__name { color: var(--fg); }
.iz-acc__item.is-open .iz-acc__era, .iz-acc__item.is-open .iz-acc__name { left: 40px; color: #fff; }
.iz-acc__item.is-open .iz-acc__era { color: var(--era); }
.iz-acc__item:focus-visible { box-shadow: inset 0 0 0 2px var(--iz-red); }
.iz-places__foot { margin: clamp(40px, 4vw, 64px) 0 0 auto; max-width: 30ch; font-size: clamp(24px, 2.2vw, 38px); line-height: 1.12; text-align: right; color: #c9f1ea; }

.iz-vols { padding: clamp(90px, 10vw, 170px) var(--pad) 0; display: grid; gap: clamp(90px, 10vw, 170px); }
.iz-vol { display: grid; grid-template-columns: 4fr 7fr; gap: 6vw; align-items: center; }
.iz-vol--future { --acc: #5fd3c4; grid-template-columns: 7fr 4fr; }
.iz-vol--future .iz-vol__cover { order: 2; }
.iz-vol__cover { margin: 0; justify-self: center; width: min(100%, 340px); }
.iz-vol__cover img { width: 100%; border-radius: 3px; box-shadow: 0 50px 100px -30px color-mix(in srgb, var(--acc) 55%, transparent); }
.iz-vol__n { display: block; font-size: clamp(54px, 6vw, 110px); line-height: .8; color: var(--acc); }
.iz-vol h2 { margin-top: 20px; font-size: clamp(36px, 4vw, 68px); line-height: .95; letter-spacing: -0.045em; max-width: 13ch; }
.iz-vol p { margin-top: 26px; color: var(--mute); font-size: 17px; line-height: 1.6; max-width: 56ch; }
.iz-vol__themes { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.iz-vol__themes li { padding: 8px 14px; border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent); border-radius: 100px; color: var(--acc); }
.iz-vol .v-buy { margin-top: 32px; }
.iz-ask { padding: clamp(110px, 13vw, 220px) var(--pad); display: grid; justify-items: center; gap: 26px; text-align: center; }
.iz-ask p { font-size: clamp(40px, 5.2vw, 96px); line-height: 1.02; letter-spacing: -0.03em; max-width: 22ch; background: linear-gradient(90deg, #e2573a, #f6e7bd 50%, #7fe0d2); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ═════════════ 06 · The Shape of Healing: a changing shape ═════════════ */
.sh { --cream: #eef3ea; background: #0a2416; color: var(--cream); }
.sh .label, .sh .mono { color: rgba(238, 243, 234, .58); }
.sh-hero { position: relative; min-height: 100vh; padding: 110px var(--pad) 60px; display: grid; grid-template-columns: 7fr 5fr; gap: 4vw; align-items: center; overflow: hidden; background: linear-gradient(150deg, #0a2416 8%, #135331 58%, #2a8a4a 100%); }
.sh-rule { position: absolute; top: 0; bottom: 0; left: 59%; width: 2px; background: var(--acc); transform-origin: top; }
.sh-txt { position: relative; z-index: 1; }
.sh-title { margin-top: 26px; font-family: var(--serif); font-weight: 400; text-transform: uppercase; font-size: clamp(76px, 9.6vw, 176px); line-height: .9; letter-spacing: 0.005em; }
.sh-ln { display: block; overflow: hidden; padding-bottom: .05em; }
.sh-ln > span { display: inline-block; }
.sh-of { font-style: italic; text-transform: none; font-size: .42em; color: var(--acc); margin-left: .08em; vertical-align: .95em; }
.sh-gold { color: var(--acc); }
.sh-tag { margin-top: 28px; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.25; letter-spacing: -0.02em; color: rgba(238, 243, 234, .75); max-width: 30ch; }
.sh-txt .v-buy { margin-top: 34px; }
.sh .pill:not(.pill--acc) { border-color: rgba(238, 243, 234, .35); }
.sh-stage { position: relative; display: grid; place-items: center; }
.sh-halo { position: absolute; width: 130%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(216, 178, 58, .34), transparent 62%); }
/* the floating trio, static: no tilt, no drift */
.sh-trio { position: relative; display: block; width: min(34vw, 480px); height: auto; filter: drop-shadow(0 30px 44px rgba(0, 0, 0, .45)); }

/* Inside the book: a ring-bound editorial spread */
.sh-ed { --paper: #efe9dd; --ink: #151515; --grn: #1f6b3b; --ant: 'Anton', Impact, sans-serif; --bod: 'Bodoni Moda', Didot, serif; --scr: 'Pinyon Script', cursive; --typ: 'Courier Prime', 'Courier New', monospace;
  padding: clamp(80px, 9vw, 150px) var(--pad); background: radial-gradient(ellipse 80% 60% at 50% 35%, #135331, #0a2416 72%); }
.sh-binder { max-width: 1240px; margin: 0 auto; }
.sh-pg { position: relative; background-color: var(--paper); color: var(--ink); border-radius: 3px; padding: 40px 46px 54px; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(0, 0, 0, .05);
  /* a real sheet: folds, smudges and foxing, stretched so each page shows the whole sheet */
  background-image: url('/photos/paper-texture.jpg');
  background-image: image-set(url('/img/photos/paper-texture-752.avif') type('image/avif'), url('/img/photos/paper-texture-752.webp') type('image/webp'), url('/photos/paper-texture.jpg') type('image/jpeg'));
  background-size: 100% 100%; background-repeat: no-repeat; }
.sh-pg .arrow { font-family: var(--sans); }
.sh-bod { font-family: var(--bod); font-weight: 400; }
.sh-scr { font-family: var(--scr); font-weight: 400; color: var(--grn); }
.sh-ant { font-family: var(--ant); font-weight: 400; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 54px); line-height: .92; letter-spacing: 0; }
.sh-ant em { font-style: normal; color: var(--grn); }

.sh-pg__head { display: grid; grid-template-columns: 150px 1fr auto; align-items: start; gap: 24px; margin-bottom: 34px; }
.sh-kick2 { font-family: var(--typ); font-weight: 700; font-size: 10.5px; line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; color: var(--grn); }
.sh-mast__t { display: flex; align-items: baseline; gap: .1em; line-height: .85; }
.sh-mast__t .sh-bod { font-size: clamp(56px, 6.4vw, 100px); letter-spacing: -0.03em; text-transform: uppercase; }
.sh-mast__t .sh-scr { font-size: clamp(42px, 4.6vw, 72px); transform: translateY(.06em); }
.sh-filt { margin-top: 14px; font-family: var(--typ); font-weight: 700; font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; }
.sh-more { align-self: end; margin-bottom: 4px; font-family: var(--ant); font-size: 15px; letter-spacing: .02em; text-transform: uppercase; border-bottom: 2px solid currentColor; }
.sh-more:hover { color: var(--grn); }

.sh-grid { display: grid; grid-template-columns: 190px .9fr 1.2fr .9fr; gap: 24px; align-items: start; }
.sh-idx { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(21, 21, 21, .28); }
.sh-idx li { padding: 9px 0 8px; border-bottom: 1px solid rgba(21, 21, 21, .28); font-family: var(--bod); font-size: 21px; line-height: 1.1; letter-spacing: -0.01em; }
.sh-idx li:nth-child(even) { color: var(--grn); }
.sh-idx sup { margin-left: 5px; font-family: var(--typ); font-size: 8px; letter-spacing: .04em; vertical-align: .9em; white-space: nowrap; color: var(--ink); }
.sh-fig { position: relative; margin: 0; }
.sh-fig img { display: block; width: 100%; height: auto; object-fit: cover; }
.sh-fig figcaption { display: grid; gap: 2px; margin-top: 8px; font-family: var(--typ); font-size: 8.5px; line-height: 1.3; letter-spacing: .03em; text-transform: uppercase; }
.sh-fig figcaption b { font-weight: 700; }
.sh-fig--a img { aspect-ratio: 3 / 4; filter: grayscale(1) contrast(1.05); }
.sh-fig--ret img { aspect-ratio: 3 / 4; object-position: 70% 50%; }
.sh-intro { display: flex; flex-direction: column; height: 100%; }
.sh-intro .sh-ant { margin: -6px 0 0; font-size: clamp(44px, 4.8vw, 76px); }
.sh-lede { margin: 22px 0 0; max-width: 30ch; font-family: var(--bod); font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.sh-note { margin: auto 0 0; padding-top: 18px; font-family: var(--typ); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; }
.sh-note b { color: var(--grn); margin-right: 6px; }

/* the four movements, side by side, each a little lower or higher than the last */
.sh-mvts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; margin-top: 46px; padding-top: 16px; border-top: 1px solid rgba(21, 21, 21, .28); }
.sh-mv { margin: 0; }
.sh-mv:nth-child(even) { margin-top: 54px; }
.sh-mv__n { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 10px; }
.sh-mv__n span { font-family: var(--typ); font-weight: 700; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--grn); }
.sh-mv__n b { font-family: var(--bod); font-weight: 400; font-size: clamp(26px, 2.5vw, 38px); line-height: 1; letter-spacing: -0.02em; text-transform: uppercase; }
.sh-mv img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.sh-mv figcaption { display: grid; gap: 5px; margin-top: 12px; }
.sh-mv figcaption b { font-family: var(--ant); font-weight: 400; font-size: 17px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.sh-mv figcaption span { font-family: var(--typ); font-size: 11px; line-height: 1.4; max-width: 28ch; }

/* rings: steel loops through punched holes, crossing a dark gap between the pages */
.sh-rings { position: relative; z-index: 2; height: 140px; margin: -56px 0; pointer-events: none; }
.sh-rings::before { content: ''; position: absolute; left: 0; right: 0; top: 56px; height: 28px; background: linear-gradient(180deg, #000 0%, #04100a 55%, #0a1c12 100%); box-shadow: inset 0 10px 12px -6px rgba(0, 0, 0, .9); }
.sh-rings__defs { position: absolute; }
.sh-ring { position: absolute; top: 0; width: 52px; height: 140px; margin-left: -26px; overflow: visible; }
.sh-pg--bot { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; padding-top: 52px; }
.sh-ant--lg { font-size: clamp(30px, 2.9vw, 46px); line-height: .98; margin: 0; }
.sh-row { display: grid; grid-template-columns: 1.15fr .9fr; gap: 18px; align-items: end; margin-top: clamp(48px, 5.5vw, 84px); }
.sh-fig--cov img { aspect-ratio: 1100 / 1551; }
.sh-fig--roots img { aspect-ratio: 1100 / 1551; }
.sh-prose { margin-top: 28px; display: grid; gap: 12px; max-width: 64ch; font-family: var(--typ); font-size: 12.5px; line-height: 1.55; }
.sh-prose p:first-child::first-letter { float: left; margin: 4px 10px 0 0; font-family: var(--bod); font-size: 66px; line-height: .78; }
.sh-r { display: flex; flex-direction: column; }
.sh-prod { position: relative; margin: 0; aspect-ratio: 4 / 5.2; overflow: hidden; background: #efe9dd; }
.sh-prod img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the collage keeps its full tall shape, set to the right */
.sh-prod--collage { aspect-ratio: auto; overflow: visible; background: none; justify-self: end; width: min(100%, 400px); margin-left: auto; }
.sh-prod--collage img { position: static; display: block; height: auto; aspect-ratio: 9 / 16; }
.sh-prod--collage figcaption { display: grid; gap: 2px; margin-top: 8px; font-family: var(--typ); font-size: 8.5px; line-height: 1.3; letter-spacing: .03em; text-transform: uppercase; }
/* handwritten sign-off */
.sh-sig { position: relative; z-index: 2; margin: 26px 0 0; display: grid; justify-items: end; gap: 4px; font-family: 'Homemade Apple', cursive; font-weight: 400; color: var(--grn); line-height: 1.5; }
.sh-sig span { display: block; margin-right: 22%; font-size: clamp(20px, 1.7vw, 26px); }
.sh-sig .sh-sig__name { margin-right: 0; font-size: clamp(40px, 3.8vw, 60px); transform: rotate(-4deg); transform-origin: right center; }
.sh-buy { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.sh-buy a { display: inline-flex; white-space: nowrap; gap: .4em; padding: .8em 1.2em .72em; border: 1.5px solid var(--ink); border-radius: 999px; font-family: var(--typ); font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; transition: background .3s, color .3s, border-color .3s; }
.sh-buy a:first-child, .sh-buy a:hover { background: var(--grn); border-color: var(--grn); color: var(--paper); }
.sh-buy a:first-child:hover { background: transparent; color: var(--ink); border-color: var(--ink); }

.sh .v-back { border-top-color: rgba(238, 243, 234, .14); }
.sh .v-back__bio { color: rgba(238, 243, 234, .65); }

/* ═════════════ 09 · Rooms & Ruins: room / ruin ═════════════ */
.rr-hero { position: relative; min-height: 100vh; padding: 110px var(--pad) 70px; display: grid; grid-template-columns: 7fr 5fr; gap: 4vw; align-items: center; overflow: hidden; background: radial-gradient(ellipse 50% 60% at 78% 45%, rgba(169, 139, 224, .2), transparent 70%); }
.rr-txt > .mono { color: var(--mute); }
.rr-title { margin-top: 24px; font-weight: 800; text-transform: uppercase; font-size: clamp(84px, 10.4vw, 196px); line-height: .84; letter-spacing: -0.055em; }
.rr-w { display: block; white-space: nowrap; }
.rr-ch, .rr-sp { display: inline-block; }
.rr-sp { width: .28em; }
.rr-amp { display: inline-block; margin-right: .06em; font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--acc); }
.rr-ru { color: #cfc6dd; }
.rr-txt .v-lede { margin-top: 32px; max-width: 22ch; }
.rr-txt .v-buy { margin-top: 32px; }
/* Hero A · the viewing, as a tall plate bled off the edge */
.rr-plate { position: relative; align-self: stretch; margin: -110px calc(-1 * var(--pad)) -70px 0; overflow: hidden; background: #2b2b2b; }
.rr-plate img { position: absolute; left: 0; top: -5%; width: 100%; height: 110%; object-fit: cover; object-position: center 30%; }
.rr-plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .7), transparent 14%), linear-gradient(90deg, rgba(10, 10, 10, .55), transparent 18%); pointer-events: none; }
.rr-plate figcaption { position: absolute; left: 24px; bottom: 26px; z-index: 1; padding: 8px 12px; background: rgba(10, 10, 10, .7); color: #eee; backdrop-filter: blur(6px); }

/* Hero B · step back: start inside the painting, scroll out to the viewer */
.rr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rr-step { position: relative; height: 260vh; background: #2b2b2b; }
.rr-step__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-columns: 1fr minmax(0, 38vw) 1fr; align-items: center; gap: 3vw; padding: 0 var(--pad); }
/* the wide gallery photo covers the whole screen once you've stepped back; transform-origin sits on the gilt frame's centre */
.rr-step__fig { --fw: max(100vw, 100vh * 1672 / 941); position: absolute; z-index: 0; margin: 0; width: var(--fw); aspect-ratio: 1672 / 941; left: calc(50% - var(--fw) / 2); top: calc(50% - var(--fw) * 941 / 1672 / 2); transform-origin: 51.98% 34.05%; will-change: transform; }
.rr-step__fig img { display: block; width: 100%; height: 100%; }
.rr-step__shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .6), transparent 30%, transparent 70%, rgba(0, 0, 0, .6)); }
.rr-step__l, .rr-step__r { position: relative; z-index: 1; }
.rr-step__l { grid-column: 1; }
.rr-step__r { grid-column: 3; }
.rr-step__l .mono { color: #9a9a9a; }
/* the wall-label text, set as the hero title, with a soft shadow to lift it off the wall */
.rr-step__plate { margin-top: 22px; text-shadow: 0 2px 14px rgba(0, 0, 0, .6), 0 1px 2px rgba(0, 0, 0, .45); }
.rr-step__plate .mono { display: block; letter-spacing: .06em; }
.rr-step__t { margin: 12px 0 14px; font-family: 'Archivo Black', var(--sans); font-weight: 400; font-size: clamp(40px, 4.2vw, 76px); line-height: .96; letter-spacing: -0.03em; color: #f4f1ea; max-width: 8ch; }
.rr-step__plate p { margin: 0 0 16px; max-width: 26ch; font-size: clamp(16px, 1.15vw, 19px); line-height: 1.4; color: #e2ded6; }
.rr-step__r { justify-self: end; max-width: 320px; }
.rr-step__r > .mono { color: #bdbdbd; line-height: 1.6; }
.rr-step__r .v-buy { margin-top: 26px; flex-direction: column; align-items: flex-start; }
.rr-step__hint { position: absolute; left: 50%; bottom: 34px; z-index: 2; transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; background: rgba(10, 10, 10, .6); color: #fff; backdrop-filter: blur(6px); }

/* Hero C · wall label: the book hung in a gallery, with its museum card */
.rr-label { position: relative; min-height: 100vh; padding: 110px var(--pad) 70px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 4vw; align-items: center; background: radial-gradient(ellipse 34% 60% at 50% 8%, rgba(255, 244, 220, .14), transparent 70%), #222; }
.rr-label__l { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; }
.rr-label__l > .mono { color: #9a9a9a; }
.rr-label .rr-title { font-size: clamp(52px, 5.4vw, 104px); }
.rr-label__fig { margin: 0; height: min(76vh, 760px); aspect-ratio: 1029 / 1529; padding: 18px; background: #f2eee6; border: 9px solid #0c0c0c; box-shadow: 0 50px 90px rgba(0, 0, 0, .65), 0 8px 20px rgba(0, 0, 0, .4); box-sizing: content-box; transform-origin: 50% 0%; }
.rr-label__fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rr-label__r { align-self: end; display: flex; flex-direction: column; gap: 26px; max-width: 300px; }
.rr-card { padding: 22px 22px 20px; background: #efe9dc; color: #141414; box-shadow: 0 10px 26px rgba(0, 0, 0, .4); }
.rr-card .mono { display: block; color: #555; font-size: 11px; }
.rr-card__t { margin: 10px 0 4px; font-size: 30px; font-style: italic; line-height: 1; color: #111; }
.rr-card__d { margin-top: 14px; font-size: 14px; line-height: 1.5; color: #2a2a2a; }
.rr-card__isbn { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, .15); }
.rr-label__r .v-buy { flex-direction: column; align-items: flex-start; }

.rr-rooms { padding: clamp(90px, 10vw, 170px) var(--pad); }
.rr-rooms > .label { display: block; margin-bottom: 44px; }
.rr-row { display: grid; grid-template-columns: 120px 1.5fr 1fr; gap: 30px; align-items: center; padding: 38px 0; border-top: 1px solid var(--line); }
.rr-row:last-child { border-bottom: 1px solid var(--line); }
.rr-no { color: var(--acc); }
.rr-name { font-size: clamp(40px, 4.8vw, 88px); font-weight: 800; line-height: .9; letter-spacing: -0.05em; white-space: nowrap; }
.rr-cap { position: relative; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.15; letter-spacing: -0.02em; }
.rr-cap .rr-ruin { position: absolute; left: 0; top: 50%; translate: 0 -50%; opacity: 0; transform: translateY(14px); font-size: 1.2em; color: var(--acc); }

.rr-sentence { padding: 0 var(--pad) clamp(80px, 9vw, 150px); }
.rr-sentence p.serif { font-size: clamp(44px, 6vw, 110px); line-height: 1; letter-spacing: -0.03em; max-width: 16ch; }
.rr-sentence b { font-weight: 400; color: var(--acc); }
.rr-sentence__s { margin: 34px 0 0 auto; max-width: 36ch; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.25; letter-spacing: -0.02em; color: var(--mute); }
.rr-about { padding: 0 var(--pad) clamp(80px, 9vw, 150px); display: grid; grid-template-columns: 4fr 8fr; gap: 4vw; }

/* ───────────── Responsive · redesigned pages ───────────── */
@media (max-width: 1000px) {
  .ma-hero, .ma-about, .sh-hero, .rr-hero, .rr-about, .iz-vol, .iz-vol--future { grid-template-columns: 1fr; }
  .ma-hero { padding-left: var(--pad); }
  .iz-vol--future .iz-vol__cover { order: 0; }
  .iz-places__head { grid-template-columns: 1fr; gap: 18px; }
  .iz-acc { flex-direction: column; height: auto; border-bottom: 0; }
  .iz-acc__item { flex: none; height: 64px; border-left: 0; border-right: 0 !important; border-bottom: 1px solid var(--line); transition: height .7s cubic-bezier(.65, 0, .2, 1); }
  .iz-acc__item.is-open { height: 62vh; }
  .iz-acc__era, .iz-acc__name { writing-mode: horizontal-tb; transform: none; left: 20px !important; }
  .iz-acc__era { top: 22px; }
  .iz-acc__name { bottom: auto; top: 18px; left: auto !important; right: 20px; }
  .iz-acc__item.is-open .iz-acc__name { top: auto; bottom: 22px; left: 20px !important; right: auto; font-size: 28px; }
  .sh-rule { left: 92%; }
  .sh-trio { width: min(78vw, 360px); }
  .pg-book { width: 30vw; }
  .sh-pg { padding: 28px 22px 40px; }
  .sh-pg__head { grid-template-columns: 1fr; gap: 14px; }
  .sh-grid { grid-template-columns: 1fr 1fr; }
  .sh-idx, .sh-intro { grid-column: 1 / -1; }
  .sh-intro { order: -1; }
  .sh-mvts { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .sh-mv:nth-child(even) { margin-top: 40px; }
  .sh-pg--bot { grid-template-columns: 1fr; }
  .sh-ring:nth-of-type(3), .sh-ring:nth-of-type(4) { display: none; }
  .rr-row { grid-template-columns: 1fr; gap: 12px; }
  .rr-plate { margin: 0 calc(-1 * var(--pad)) -70px; min-height: 80vh; }
  .rr-step__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding: 90px var(--pad) 28px; gap: 16px; }
  /* narrow screens: size the photo to the painting's width (not cover) and fade its top and bottom into the wall */
  .rr-step { background: #262626; }
  .rr-step__fig { --fw: min(287vw, 284vh); top: calc(51% - var(--fw) * 0.1916); -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent); }
  .rr-step__l, .rr-step__r { grid-column: 1; }
  .rr-step__l { grid-row: 1; }
  .rr-step__r { grid-row: 3; justify-self: start; }
  .rr-step__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 34%, transparent 62%, rgba(0, 0, 0, .75)); }
  .rr-step__plate { margin-top: 14px; }
  .rr-step__t { font-size: 34px; max-width: none; margin: 8px 0 10px; }
  .rr-step__plate p { margin-bottom: 10px; font-size: 15px; }
  .rr-label { grid-template-columns: 1fr; }
  .rr-label__fig { height: auto; width: calc(100% - 54px); justify-self: center; }
  .rr-name { white-space: normal; }
  .ma-frag--r { text-align: left; margin-left: 0; }
}

/* Creature · specimen type: an engraved caps serif (echoes the cover), a label grotesque, a typewriter mono */
.v[data-type="specimen"] { --serif: 'Cormorant Garamond', Georgia, serif; --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif; --mono: 'DM Mono', ui-monospace, monospace; }
[data-type="specimen"] .cr-title { font-weight: 500; letter-spacing: .045em; line-height: .86; font-size: clamp(66px, 9.2vw, 166px); }
[data-type="specimen"] .serif { letter-spacing: 0; }
[data-type="specimen"] .cr-sub { font-size: clamp(25px, 2.4vw, 37px); font-weight: 500; }
[data-type="specimen"] .cr-epi { font-size: 1.12em; }
[data-type="specimen"] .cr-lede { font-size: clamp(36px, 4.4vw, 74px); line-height: 1.02; letter-spacing: -0.005em; }
[data-type="specimen"] .cr-lede em { font-weight: 500; }
[data-type="specimen"] .cr-copy p { font-size: 17px; line-height: 1.65; }
[data-type="specimen"] .cr-state { font-weight: 600; letter-spacing: -0.035em; }
[data-type="specimen"] .cr-state span { font-weight: 500; letter-spacing: 0; }
[data-type="specimen"] .cr-row h3, [data-type="specimen"] .cr-bl h3 { font-weight: 600; letter-spacing: -0.035em; }
[data-type="specimen"] .cr-blend__head h2 { font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(46px, 5.6vw, 100px); }
[data-type="specimen"] .cr-bl__n { font-size: 40px; }
[data-type="specimen"] .cr-ask p { font-weight: 500; font-size: clamp(48px, 6.8vw, 126px); line-height: .96; letter-spacing: -0.01em; }
[data-type="specimen"] .cr-ed__t { font-family: var(--serif); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; line-height: .9; }
[data-type="specimen"] .cr-ed__t span { text-transform: none; letter-spacing: 0; font-size: clamp(25px, 2.4vw, 37px); }
[data-type="specimen"] .mono, [data-type="specimen"] .label { letter-spacing: .06em; }

/* Creature · upright pairings: no italics anywhere on the page */
[data-type="soft"] *, [data-type="grotesk"] * { font-style: normal !important; }

/* soft: Fraunces upright (a warm, ink-trap serif) + Instrument Sans + JetBrains Mono */
.v[data-type="soft"] { --serif: 'Fraunces', Georgia, serif; --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif; --mono: 'JetBrains Mono', ui-monospace, monospace; }
[data-type="soft"] .serif { letter-spacing: -0.02em; font-weight: 300; }
[data-type="soft"] .cr-title { font-weight: 300; font-variation-settings: 'opsz' 144; letter-spacing: -0.01em; font-size: clamp(70px, 9.8vw, 176px); }
[data-type="soft"] .cr-sub { font-weight: 300; letter-spacing: -0.01em; font-variation-settings: "opsz" 36; font-size: clamp(22px, 2.1vw, 32px); }
[data-type="soft"] .cr-epi { font-weight: 400; font-size: 18px; }
[data-type="soft"] .cr-lede { font-weight: 300; font-variation-settings: 'opsz' 72; letter-spacing: -0.012em; font-size: clamp(30px, 3.6vw, 60px); line-height: 1.08; }
[data-type="soft"] .cr-lede em { font-weight: 400; }
[data-type="soft"] .cr-state { letter-spacing: -0.04em; }
[data-type="soft"] .cr-state span { font-weight: 300; letter-spacing: -0.03em; }
[data-type="soft"] .cr-row h3, [data-type="soft"] .cr-bl h3 { letter-spacing: -0.035em; }
[data-type="soft"] .cr-blend__head h2 { font-weight: 300; font-variation-settings: 'opsz' 144; letter-spacing: -0.03em; }
[data-type="soft"] .cr-bl__n { font-weight: 300; font-size: 32px; }
[data-type="soft"] .cr-ask p { font-weight: 300; font-variation-settings: 'opsz' 144; letter-spacing: -0.035em; }
[data-type="soft"] .cr-ed__t { font-family: var(--serif); font-weight: 300; font-variation-settings: 'opsz' 144; letter-spacing: -0.03em; }
[data-type="soft"] .cr-ed__t span { font-weight: 400; letter-spacing: -0.01em; font-variation-settings: "opsz" 24; }

/* grotesk: Bricolage Grotesque (an organic display sans) + DM Sans + Space Mono, no serif at all */
.v[data-type="grotesk"] { --serif: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif; --sans: 'DM Sans', 'Helvetica Neue', Arial, sans-serif; --mono: 'Space Mono', ui-monospace, monospace; }
[data-type="grotesk"] .serif { letter-spacing: -0.03em; font-weight: 400; }
[data-type="grotesk"] .cr-title { font-weight: 800; font-variation-settings: 'opsz' 96; letter-spacing: -0.045em; line-height: .82; font-size: clamp(74px, 10.6vw, 192px); }
[data-type="grotesk"] .cr-sub { font-weight: 400; letter-spacing: -0.03em; }
[data-type="grotesk"] .cr-epi { font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
[data-type="grotesk"] .cr-lede { font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; font-size: clamp(30px, 3.7vw, 62px); }
[data-type="grotesk"] .cr-lede em { font-weight: 700; }
[data-type="grotesk"] .cr-state { font-family: var(--serif); font-weight: 700; letter-spacing: -0.05em; }
[data-type="grotesk"] .cr-state span { font-weight: 400; letter-spacing: -0.04em; }
[data-type="grotesk"] .cr-row h3, [data-type="grotesk"] .cr-bl h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.045em; }
[data-type="grotesk"] .cr-blend__head h2 { font-weight: 800; letter-spacing: -0.05em; }
[data-type="grotesk"] .cr-bl__n { font-family: var(--mono); font-size: 15px; letter-spacing: .08em; }
[data-type="grotesk"] .cr-ask p { font-weight: 700; letter-spacing: -0.055em; line-height: .92; }
[data-type="grotesk"] .cr-ed__t { font-family: var(--serif); font-weight: 800; letter-spacing: -0.05em; }
[data-type="grotesk"] .cr-ed__t span { font-weight: 400; letter-spacing: -0.03em; }
[data-type="grotesk"] .cr-copy p { font-size: 18px; }
[data-type="grotesk"] .mono, [data-type="grotesk"] .label { font-size: 11px; }

/* Rooms · Step back: no italics. Display lines are set like Kwanele (heavy Inter Tight, tight tracking) */
.v[data-hv="step"] :is(.serif, em, i, b) { font-style: normal; }
.v[data-hv="step"] .serif { font-family: var(--sans); font-weight: 600; letter-spacing: -0.045em; }
.v[data-hv="step"] .serif b { font-weight: 700; }
.v[data-hv="step"] .rr-sentence p.serif { font-weight: 700; letter-spacing: -0.055em; line-height: .95; }
.v[data-hv="step"] .rr-cap .rr-ruin { font-weight: 600; letter-spacing: -0.035em; }
/* the logo stays put; only the links and the store pill tuck away while you're inside the painting */
.v[data-hv="step"] .nav :is(.nav__links, .nav__meta) { transition: translate .6s cubic-bezier(.2, .7, .2, 1), opacity .45s; }
.v.nav-tucked .nav :is(.nav__links, .nav__meta) { translate: 0 -120%; opacity: 0; pointer-events: none; }

/* a room and a ruin, as two photographs */
.rr-pair { padding: clamp(90px, 10vw, 170px) var(--pad); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2vw; row-gap: clamp(40px, 5vw, 80px); }
.rr-pair__head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; gap: 4vw; }
.rr-pair__head .label { color: var(--mute); }
.rr-pair__head h2 { font-size: clamp(44px, 5.6vw, 104px); font-weight: 700; letter-spacing: -0.06em; line-height: .9; max-width: 13ch; }
.rr-pair__head h2 b { font-weight: 700; color: var(--acc); }
.rr-pair figure { margin: 0; }
.rr-pair__a { grid-column: 1 / span 5; }
.rr-pair__b { grid-column: 7 / -1; align-self: end; }
.rr-pair__img { position: relative; overflow: hidden; background: #1a1a1a; }
.rr-pair__a .rr-pair__img { aspect-ratio: 624 / 882; }
.rr-pair__b .rr-pair__img { aspect-ratio: 1208 / 806; }
.rr-pair__img img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; filter: contrast(1.05); transition: filter .6s; }
.rr-pair figure:hover img { filter: contrast(1.1) brightness(1.06); }
.rr-pair figcaption { display: grid; grid-template-columns: 90px 1fr; gap: 14px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--mute); }
.rr-pair figcaption span { color: var(--acc); }
@media (max-width: 900px) {
  .rr-pair__head { flex-direction: column; align-items: start; }
  .rr-pair__a, .rr-pair__b { grid-column: 1 / -1; }
}

/* Dear Sam: what the letters hold, as a poster of the sea with moon jellyfish */
.ls-sea { position: relative; overflow: hidden; isolation: isolate; min-height: 122vh; padding: clamp(40px, 3.4vw, 64px) var(--pad) 0; color: #e8e4dd;
  background: radial-gradient(110% 75% at 58% 38%, #133340 0%, #0d222c 42%, #08161c 78%, #071217 100%); }
.ls-sea::before { content: ""; position: absolute; inset: 0 0 auto; height: 140px; background: linear-gradient(var(--bg), transparent); z-index: 0; pointer-events: none; }
.jf-defs { position: absolute; }
.ls-sea__top { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: start; font-size: clamp(28px, 3.1vw, 54px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.04; }
.ls-sea__para { position: absolute; z-index: 3; left: 66%; top: 35%; width: clamp(210px, 15.5vw, 300px); font-size: clamp(15px, 1.32vw, 22px); line-height: 1.2; letter-spacing: -0.005em; text-align: justify; text-align-last: left; hyphens: none; color: #dde2e3; }
.ls-sea__para span { transition: color .3s; }
.ls-sea__para span:hover { color: var(--acc); }
.ls-sea__foot { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 0; }
.ls-sea__the { display: block; font-size: clamp(28px, 3.1vw, 54px); font-weight: 500; letter-spacing: -0.035em; }
.ls-sea__word { display: block; font-size: 35.4vw; font-weight: 600; letter-spacing: -0.052em; line-height: .98; margin: 0 0 0 -0.05em; padding-bottom: .16em; color: #ebe6de; }

/* jellyfish: placed by custom properties, drifting along their own heading, bells pulsing, tentacles trailing */
.ls-sea__jellies { position: absolute; inset: 0; }
.jf { position: absolute; left: var(--x); top: var(--y); width: var(--w); z-index: var(--z); opacity: var(--o); filter: blur(calc(var(--b) + .5px)); rotate: var(--r); pointer-events: none; }
.jf__swim { animation: jf-drift var(--d) ease-in-out var(--dl) infinite alternate; }
.jf__svg { display: block; width: 100%; height: auto; overflow: visible; animation: jf-thrust var(--p) ease-in-out var(--dl) infinite; }
.jf__bell { transform-box: fill-box; transform-origin: 50% 0%; animation: jf-pulse var(--p) ease-in-out var(--dl) infinite; }
.jf__tent { transform-box: fill-box; transform-origin: 50% 0%; animation: jf-trail var(--p) ease-in-out var(--dl) infinite; }
.jf__fringe { fill: none; stroke: rgba(214, 228, 232, .3); stroke-width: .7; stroke-linecap: round; }
.jf__arms { fill: none; stroke: rgba(214, 228, 232, .08); stroke-width: 13; stroke-linecap: round; }
.jf__rings { fill: none; stroke: rgba(240, 244, 244, .14); stroke-width: 3; }
.jf__rim { fill: none; stroke: rgba(236, 244, 246, .45); stroke-width: 2.5; }
@keyframes jf-drift { from { translate: 0 0; } to { translate: var(--dx) var(--dy); } }
@keyframes jf-pulse { 0%, 100% { transform: scale(1, 1); } 32% { transform: scale(1.07, .86); } 58% { transform: scale(.97, 1.04); } }
@keyframes jf-trail { 0%, 100% { transform: scale(1, 1) skewX(0deg); } 36% { transform: scale(1.05, .88) skewX(5deg); } 66% { transform: scale(.98, 1.07) skewX(-4deg); } }
@keyframes jf-thrust { 0%, 30% { translate: 0 0; } 55% { translate: 0 -4%; } 100% { translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .jf__swim, .jf__svg, .jf__bell, .jf__tent { animation: none; } }
@media (max-width: 900px) {
  .ls-sea { min-height: 150vh; }
  .ls-sea__para { left: auto; right: var(--pad); top: 30%; }
}

/* Dear Sam hero: a faint pool of the cover's water behind the letter */
.ls-hero { isolation: isolate; }
.ls-hero__water { position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 30% 66%, #000 20%, transparent 78%);
          mask-image: radial-gradient(ellipse 62% 58% at 30% 66%, #000 20%, transparent 78%); }
.ls-hero__water img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 79%; transform: scale(2.2); transform-origin: 0% 50%; filter: blur(1.5px) saturate(1.15) brightness(.9); }

/* sea haze: soft light shafts from above and drifting specks (the specks are drawn on the canvas) */
.ls-sea__rays { position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: blur(16px); mix-blend-mode: screen; }
.ls-sea__rays i { position: absolute; top: -8%; left: var(--rx); width: var(--rw); height: 92%; transform-origin: 50% 0; rotate: var(--rr);
  background: linear-gradient(180deg, rgba(150, 205, 220, .16), rgba(150, 205, 220, .05) 55%, transparent 90%);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); animation: ray-sway var(--rd) ease-in-out infinite alternate; }
@keyframes ray-sway { from { rotate: var(--rr); opacity: .45; } to { rotate: calc(var(--rr) + 5deg); opacity: 1; } }
.ls-sea__snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .ls-sea__rays i { animation: none; } }

/* Dear Sam: no italics; the greeting, sign-off and stamp in the heavy upright sans */
.ls-hero .ls-dear { font-family: var(--sans); font-style: normal; font-weight: 700; letter-spacing: -0.065em; line-height: .86; }
.ls-letter .ls-sign { font-family: var(--sans); font-style: normal; font-weight: 700; letter-spacing: -0.04em; font-size: 36px; }
.ls-desk .ls-stamp { font-family: var(--sans); font-style: normal; font-weight: 700; letter-spacing: -0.05em; font-size: 48px; }

/* Dear Sam hero: the book as an open paperback lying on the desk, cover side up */
.ls-open { --w: min(17.5vw, 268px); --h: calc(var(--w) * 1.393); --sp: calc(var(--w) * .075); --t: calc(var(--w) * .06);
  position: relative; width: calc(var(--w) * 2.3); height: calc(var(--h) * 1.25); display: grid; place-items: center; perspective: 1600px; }
.ls-open__tilt { transform-style: preserve-3d; translate: -9% 4%; }
.ls-open__plane { position: relative; display: flex; transform-style: preserve-3d; transform: rotateX(44deg) rotateZ(-44deg); }
.ls-open__plane::before { content: ""; position: absolute; inset: 4% -2% -6% 6%; border-radius: 6px; background: rgba(0, 0, 0, .55);
  box-shadow: 0 0 60px 30px rgba(0, 0, 0, .55); transform: translateZ(-2px); }
.ls-open__back, .ls-open__spine, .ls-open__front { position: relative; height: var(--h); }
.ls-open__back { width: var(--w); transform-origin: 100% 50%; transform: rotateY(19deg); padding: 9% 9% 8%; display: flex; flex-direction: column; gap: 6%;
  color: #e9e4da; border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .08), transparent 30%, rgba(0, 0, 0, .25)), linear-gradient(160deg, #0f4552, #0a2731 60%, #071a21); }
.ls-open__mark { font-weight: 700; font-size: calc(var(--w) * .13); letter-spacing: -0.05em; color: var(--acc); line-height: 1; }
.ls-open__back strong { font-size: calc(var(--w) * .1); font-weight: 700; line-height: .95; letter-spacing: -0.045em; }
.ls-open__back p { font-size: calc(var(--w) * .043); line-height: 1.35; color: rgba(233, 228, 218, .72); }
.ls-open__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: end; }
.ls-open__foot em { font-style: normal; font-family: var(--mono, monospace); font-size: calc(var(--w) * .036); letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.ls-open__code { width: 30%; aspect-ratio: 1.7; background: #f2efe8 repeating-linear-gradient(90deg, #111 0 1px, transparent 1px 3px, #111 3px 5px, transparent 5px 6px) content-box; padding: 4px; }
.ls-open__spine { width: var(--sp); display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 8% 0;
  writing-mode: vertical-rl; background: linear-gradient(90deg, #071a21, #0e3c47 45%, #0a2a33); color: #e9e4da;
  font-size: calc(var(--sp) * .42); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transform: translateZ(calc(var(--t) * .5)); }
.ls-open__spine span:last-child { color: var(--acc); }
.ls-open__front { width: var(--w); transform-style: preserve-3d; transform: translateZ(var(--t)); }
.ls-open__front img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0 3px 3px 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.ls-open__front::after { content: ""; position: absolute; inset: 0; border-radius: 0 3px 3px 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 9%), linear-gradient(200deg, rgba(255, 255, 255, .14), transparent 40%); }
.ls-open__tail, .ls-open__edge { position: absolute; background: repeating-linear-gradient(0deg, #f3efe6 0 1px, #d9d3c6 1px 2px); }
.ls-open__tail { left: 0; right: 2px; top: 100%; height: var(--t); transform-origin: 50% 0; transform: rotateX(-90deg);
  background: repeating-linear-gradient(180deg, #f4f0e7 0 1px, #d6cfc1 1px 2px); }
.ls-open__edge { top: 0; bottom: 2px; left: 100%; width: var(--t); transform-origin: 0 50%; transform: rotateY(90deg);
  background: repeating-linear-gradient(90deg, #f4f0e7 0 1px, #d6cfc1 1px 2px); }
@media (max-width: 900px) { .ls-open { --w: min(34vw, 200px); } }
.ls-desk .ls-post { z-index: 2; left: -2%; bottom: 0; }

/* ───────── Dear Sam · Paper ───────── */
.dp { --scrawl: 'Reenie Beanie', 'Caveat', cursive; --ox: #6a0b0d; --red: #c8281b; --cream: #efeae1; --grey: #dcd9d4; --warm: #9e9894; --ink: #1f2c4c; --hand: 'Caveat', cursive;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .3  0 0 0 0 .25  0 0 0 1.6 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --scuff: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 3.2 -2.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --acc: var(--red); color: var(--red); }
.dp .pill--acc { background: var(--red); border-color: var(--red); color: var(--cream); }
.dp .pill--acc::before { background: var(--ox); }
.dp .pill--acc:hover { color: var(--cream); }
.dp-hero .fmt__switch { color: var(--red); --fmt-on: var(--cream); }
.dp-hero__side .v-fmt { justify-content: flex-end; }
.dp-close .fmt__switch { --fmt-on: var(--ox); }
.dp-close .v-fmt { justify-content: center; }
.dp-caps { font-size: clamp(10.5px, .8vw, 13px); font-weight: 700; line-height: 1.06; letter-spacing: -0.01em; text-transform: uppercase; text-align: right; }

/* hero: oxblood with the letter, grey with the book */
.dp-hero { display: grid; grid-template-columns: 52fr 48fr; min-height: 100vh; min-height: 100svh; }
.dp-hero__ox { position: relative; display: grid; place-items: center; padding: 130px 7% 90px; overflow: hidden; background: var(--ox); }
.dp-hero__ox::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .5; pointer-events: none; }

/* torn paper: a fibrous white rim under the sheet, both clipped to a jagged left edge */
.dp-sheet { position: relative; width: min(100%, 540px); rotate: -1.5deg; filter: drop-shadow(0 26px 30px rgba(20, 0, 0, .38)) drop-shadow(0 2px 2px rgba(20, 0, 0, .3)); }
.dp-sheet__rim { position: absolute; inset: 0 0 0 -4px; background: #faf8f2; }
.dp-paper { position: relative; aspect-ratio: .8; padding: 13% 11% 10% 14%; color: var(--ink);
  background: var(--grain), linear-gradient(173deg, transparent 52%, rgba(0, 0, 0, .04) 54%, rgba(255, 255, 255, .4) 55%, transparent 58%), linear-gradient(180deg, #ece8de, #e6e1d5); }
.dp-clip { position: absolute; top: -3.5%; right: 9%; width: 7.5%; z-index: 2; filter: drop-shadow(1px 2px 1.5px rgba(0, 0, 0, .35)); }
.dp-date { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(31, 44, 76, .5); margin-bottom: 1.6em; }
.dp-hand { font-family: var(--hand); font-weight: 500; font-size: clamp(22px, 1.9vw, 32px); line-height: 1.2; }
.dp-hand + .dp-hand { margin-top: .6em; }
.dp-greet { font-size: clamp(34px, 2.8vw, 48px); line-height: 1; }
.dp-sig { margin-top: 1em !important; text-align: right; rotate: -3deg; }
.dp-w { display: inline-block; }

.dp-hero__grey { position: relative; display: flex; flex-direction: column; padding: 112px var(--pad) 46px 5%; overflow: hidden; background: var(--grey); --fg: var(--red); --bg: var(--grey); }
.dp-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 30px; border-bottom: 1.5px solid currentColor; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.dp-title { position: relative; z-index: 2; max-width: 7.5ch; font-size: clamp(46px, 5vw, 90px); font-weight: 700; line-height: .87; letter-spacing: -0.058em; text-transform: uppercase; }
.dp-num { margin-top: auto; font-size: clamp(36px, 3.4vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.dp-hero__side { position: absolute; right: var(--pad); bottom: 46px; display: grid; justify-items: end; gap: 18px; }

/* the book as a worn cloth-bound notebook: real cover, bookcloth spine, rounded scuffed corners, page block */
.dp-nb { --w: min(18vw, 280px); --t: calc(var(--w) * .085); position: absolute; z-index: 1; right: 11%; top: 31%; width: var(--w); perspective: 1400px; }
.dp-nb::before { content: ""; position: absolute; left: 4%; right: -4%; bottom: -3%; height: 10%; border-radius: 50%; background: rgba(50, 35, 30, .42); filter: blur(14px); }
.dp-nb__book { position: relative; aspect-ratio: 611 / 851; transform-style: preserve-3d; transform: rotateY(-20deg); }
.dp-nb__back { position: absolute; inset: 0; border-radius: 3px 12px 12px 3px; background: #0a2128; transform: translateZ(calc(var(--t) * -.5)); }
.dp-nb__pages { position: absolute; top: 1.4%; bottom: 1.4%; left: calc(100% - var(--t) * .5 - 2px); width: var(--t); transform: rotateY(90deg);
  background: linear-gradient(90deg, rgba(0, 0, 0, .18), transparent 30%, transparent 70%, rgba(0, 0, 0, .14)), repeating-linear-gradient(90deg, #f4f0e7 0 1px, #d8d1c3 1px 2px); }
.dp-nb__cover { position: absolute; inset: 0; overflow: hidden; border-radius: 3px 14px 14px 3px; background: #0b2a33; transform: translateZ(calc(var(--t) * .5));
  box-shadow: 0 30px 40px -16px rgba(50, 35, 30, .45); }
.dp-nb__cover img { position: absolute; left: 9%; top: 0; display: block; width: 91%; height: 100%; object-fit: cover; object-position: 0% 50%; filter: saturate(.9) contrast(1.05) brightness(.96); }
.dp-nb__cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22), inset 0 0 22px rgba(0, 0, 0, .4); }
.dp-nb__wear { position: absolute; inset: 0; mix-blend-mode: screen; opacity: .5; pointer-events: none;
  background: var(--scuff), radial-gradient(60% 40% at 100% 0%, rgba(255, 255, 255, .22), transparent 60%), radial-gradient(50% 30% at 100% 100%, rgba(255, 255, 255, .18), transparent 60%); }
.dp-nb__spine { position: absolute; top: 0; bottom: 0; left: 0; width: 10%; border-radius: 3px 0 0 3px;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px), linear-gradient(90deg, #08191e, #133139 55%, #0c2228);
  box-shadow: 3px 0 5px -1px rgba(0, 0, 0, .55), inset -1px 0 0 rgba(255, 255, 255, .1); }
.dp-nb__spine::after { content: ""; position: absolute; inset: 0; background: var(--scuff); background-size: 140px; opacity: .35; mix-blend-mode: screen; }

/* editorial: cream page, red text justified to the measure */
.dp-ed { display: grid; place-items: center; padding: clamp(150px, 15vw, 260px) var(--pad); background: var(--cream); }
.dp-ed__col { width: min(100%, 430px); }
.dp-ed__t { width: 100%; margin: 0 auto; font-size: clamp(30px, 2.5vw, 40px); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; letter-spacing: -0.01em; }
.dp-jl { display: flex; justify-content: space-between; }
.dp-ed__fig { margin: 40px 0 34px; aspect-ratio: 1.2; overflow: hidden; }
.dp-ed__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.dp-ed__p { font-size: 15px; font-weight: 500; line-height: 1.32; text-align: justify; text-align-last: justify; hyphens: none; }

/* deck: three panels on warm grey */
.dp-deck { display: grid; gap: clamp(18px, 1.8vw, 28px); padding: clamp(70px, 7vw, 120px) var(--pad); background: var(--warm); }
.dp-pn { position: relative; width: min(100%, 1360px); margin: 0 auto; aspect-ratio: 16 / 9; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; background: var(--grey); }
.dp-pn__l, .dp-pn__r { position: relative; overflow: hidden; }
.dp-pn__l { padding: 9% 9%; }
.dp-pn__h { font-size: clamp(40px, 4.9vw, 84px); font-weight: 700; line-height: .87; letter-spacing: -0.058em; text-transform: uppercase; }
.dp-pn__n { position: absolute; left: 7%; bottom: 10%; font-size: clamp(34px, 3.4vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.dp-pn--one .dp-pn__l { background: var(--cream); }
.dp-pn__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 50%; scale: 2.7; transform-origin: 18% 76%; filter: saturate(.85) brightness(.9); }
.dp-pn__inset { position: absolute; left: 30%; top: 14%; width: 34%; aspect-ratio: 611 / 851; overflow: hidden; margin: 0; box-shadow: 0 30px 50px rgba(0, 20, 30, .45), 0 4px 10px rgba(0, 0, 0, .3); }
.dp-pn__inset img { width: 100%; height: 100%; object-fit: cover; }
.dp-pn--one .dp-caps { position: absolute; right: 7%; bottom: 9%; }
.dp-caps--light { color: var(--cream); }
.dp-pn--two { background: #d6d3ce; }
.dp-pn--two .dp-pn__l { background: #e6e3de; }
.dp-pn__sq { position: absolute; z-index: 1; left: 33%; top: 22%; width: 25%; aspect-ratio: .8; display: grid; place-content: center; text-align: center; color: var(--cream);
  background: var(--grain), var(--ox); box-shadow: 0 24px 40px rgba(60, 0, 0, .25); }
.dp-pn__sq span { font-family: var(--hand); font-size: clamp(54px, 6.4vw, 110px); font-weight: 500; line-height: .9; }
.dp-pn__sq small { margin-top: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.dp-pn__txt { position: absolute; right: 18%; top: 22%; width: 40%; display: grid; gap: 1.1em; }
.dp-pn--three { display: block; background: #e4e1dc; }
.dp-pn__h--wide { position: absolute; left: 7%; top: 11%; }
.dp-rows { position: absolute; left: 0; top: 50%; width: 64%; margin: 0; }
.dp-rows div { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 0 0 8px 11%; margin-bottom: clamp(14px, 1.6vw, 26px); border-bottom: 1.5px solid var(--red); }
.dp-rows dt, .dp-rows dd { margin: 0; font-size: clamp(10.5px, .8vw, 13px); font-weight: 700; line-height: 1.06; text-transform: uppercase; }
.dp-rows dd { max-width: 46%; text-align: right; }
.dp-pn--three .dp-pn__n { bottom: 9%; }
/* the envelope: open flap behind, a deckle-edged card, the front pocket and bottom flap over it */
.dp-env { --env: #ede5d3; --pen: #2d4597; position: absolute; right: 4%; top: 8%; width: 32%; aspect-ratio: 400 / 440; rotate: 4deg;
  filter: drop-shadow(0 26px 28px rgba(45, 28, 15, .26)) drop-shadow(0 2px 2px rgba(45, 28, 15, .2)); }
.dp-env > i, .dp-env__front, .dp-env__bot, .dp-env__front i, .dp-env__bot i { position: absolute; inset: 0; }
.dp-env__flap { background: var(--grain) 0 0 / 200px, linear-gradient(180deg, #e6dcc7, #ddd1b9 85%, #d2c5ab); }
.dp-env__back { background: var(--grain) 0 0 / 200px, linear-gradient(180deg, #c9bca2, #d8cdb7 30%, #e0d6c2); }
.dp-env__card { position: absolute; left: 17%; top: 15%; width: 66%; height: 60%; padding: 12% 7% 0; text-align: center; color: var(--pen);
  background: var(--grain) 0 0 / 180px, linear-gradient(180deg, #fbf8f0, #f2ede1); }
.dp-env__hand { font-family: var(--scrawl); font-size: clamp(26px, 2.45vw, 42px); line-height: 1; -webkit-text-stroke: .3px currentColor; }
.dp-env__sig { margin-top: .35em; }
.dp-env__front { filter: drop-shadow(0 -3px 4px rgba(60, 40, 20, .2)); }
.dp-env__front i { background: var(--grain) 0 0 / 200px, var(--grain) 40px 70px / 340px,
  linear-gradient(162deg, transparent 50%, rgba(90, 70, 40, .08) 62%, transparent 63%), linear-gradient(198deg, transparent 50%, rgba(90, 70, 40, .07) 62%, transparent 63%),
  linear-gradient(180deg, #e9e0cc, var(--env) 40%, #e7dec9); }
.dp-env__bot { filter: drop-shadow(0 -2px 2px rgba(60, 40, 20, .16)); }
.dp-env__bot i { background: var(--grain) 0 0 / 200px, linear-gradient(180deg, #f1eadb, #ebe2cf); }
.dp-env__caps { position: absolute; left: 0; right: 0; bottom: 11%; font-family: var(--mono); font-size: clamp(8.5px, .62vw, 10.5px); letter-spacing: .16em; line-height: 1.6;
  text-transform: uppercase; text-align: center; color: var(--pen); opacity: .85; }

/* close: the sign-off, large */
.dp-close { display: grid; justify-items: center; gap: 44px; padding: clamp(120px, 12vw, 200px) var(--pad); text-align: center; color: var(--cream); background: var(--grain), var(--ox); --fg: var(--cream); --bg: var(--ox); }
.dp-close__hand { font-family: var(--hand); font-size: clamp(80px, 11vw, 190px); font-weight: 500; line-height: .9; }
.dp-close .pill--acc { background: var(--cream); border-color: var(--cream); color: var(--ox); }
.dp-close .pill--acc::before { background: var(--red); }

@media (max-width: 900px) {
  .dp-hero { grid-template-columns: 1fr; }
  .dp-hero__grey { min-height: 110vh; padding-top: 60px; }
  .dp-nb { width: min(46vw, 260px); top: 34%; }
  .dp-pn { aspect-ratio: auto; grid-template-columns: 1fr; min-height: 120vw; }
  .dp-pn__sq, .dp-pn__txt, .dp-rows, .dp-pn__h--wide { position: relative; inset: auto; width: auto; margin: 7%; }
  .dp-env { position: relative; inset: auto; width: 78%; margin: 7% auto; }
}

/* Dear Sam · Paper: the hero letter in a felt-tip scrawl on creased, folded paper */
.dp-sheet--hero .dp-paper { color: #1c1b1e; padding: 12% 10% 9% 14%;
  background: var(--grain) 0 0 / 220px, var(--grain) 60px 90px / 380px, linear-gradient(180deg, #efebe1, #e7e1d4);
  box-shadow: inset 0 0 70px rgba(110, 88, 55, .17), inset 0 0 14px rgba(110, 88, 55, .12); }
.dp-sheet--hero .dp-paper::before, .dp-sheet--hero .dp-paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.dp-sheet--hero .dp-paper::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='540' height='675' viewBox='0 0 540 675'%3E%3Cfilter id='c' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='turbulence' baseFrequency='.0055 .0075' numOctaves='4' seed='23' result='t'/%3E%3CfeDiffuseLighting in='t' surfaceScale='7' diffuseConstant='1' lighting-color='%23fff'%3E%3CfeDistantLight azimuth='235' elevation='56'/%3E%3C/feDiffuseLighting%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='1.16' intercept='-.02'/%3E%3CfeFuncG type='linear' slope='1.16' intercept='-.03'/%3E%3CfeFuncB type='linear' slope='1.14' intercept='-.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23c%29'/%3E%3C/svg%3E") 0 0 / 100% 100%; mix-blend-mode: multiply; opacity: .62; }
.dp-sheet--hero .dp-paper::after {
  background:
    linear-gradient(178.6deg, transparent calc(33.4% - 26px), rgba(80, 60, 35, .07) calc(33.4% - 3px), rgba(70, 50, 30, .26) 33.4%, rgba(255, 255, 255, .7) calc(33.4% + 1.5px), rgba(255, 255, 255, .18) calc(33.4% + 10px), transparent calc(33.4% + 30px)),
    linear-gradient(181.2deg, transparent calc(66.8% - 30px), rgba(255, 255, 255, .2) calc(66.8% - 10px), rgba(255, 255, 255, .65) calc(66.8% - 1.5px), rgba(70, 50, 30, .24) 66.8%, rgba(80, 60, 35, .07) calc(66.8% + 3px), transparent calc(66.8% + 24px)),
    linear-gradient(91deg, transparent calc(51% - 18px), rgba(80, 60, 35, .05) calc(51% - 2px), rgba(70, 50, 30, .13) 51%, rgba(255, 255, 255, .4) calc(51% + 1px), transparent calc(51% + 16px)),
    linear-gradient(-48deg, transparent 13%, rgba(70, 50, 30, .12) 13.4%, rgba(255, 255, 255, .45) 13.7%, transparent 15.5%); }
.dp-sheet--hero .dp-paper > * { position: relative; z-index: 1; }
.dp-sheet--hero .dp-date { color: rgba(28, 27, 30, .5); }
.dp-sheet--hero .dp-hand { font-family: var(--scrawl); font-weight: 400; font-size: clamp(26px, 2.3vw, 40px); line-height: 1.04; letter-spacing: .005em; -webkit-text-stroke: .35px currentColor; }
.dp-sheet--hero .dp-hand + .dp-hand { margin-top: .5em; }
.dp-sheet--hero .dp-greet { font-size: clamp(40px, 3.4vw, 60px); line-height: 1; }
.dp-sheet--hero .dp-sig { rotate: -2deg; }

/* only scroll moves this page: no load wipe, no trailing cursor dot */
body[data-hv="paper"] .wipe, body[data-hv="paper"] .cursor { display: none; }
/* …except at the shared ending, which behaves as on every other book page: the "next" cursor, then the wipe on click */
body[data-hv="paper"]:has(.v-end:hover) .wipe { display: block; }
body[data-hv="paper"]:has(.v-end:hover) .cursor { display: grid; }

/* nav tones: set per item from what sits under it (red on light, white on oxblood) */
body[data-hv="paper"] .nav { mix-blend-mode: normal; color: #fff; }
body[data-hv="paper"] .nav__logo, body[data-hv="paper"] .nav__links a, body[data-hv="paper"] .nav__crumbs > * { color: var(--nc, #fff); }
body[data-hv="paper"] .nav .dp-navsplit { background: var(--ng); -webkit-background-clip: text; background-clip: text; color: transparent; }
body[data-hv="paper"] .nav .pill { color: var(--nc, #fff); border-color: var(--nc, #fff); }
body[data-hv="paper"] .nav .pill::before { background: var(--nc, #fff); }
body[data-hv="paper"] .nav .pill:hover { color: var(--nh, #000); }
body[data-hv="paper"] .nav .buy[open] summary, body[data-hv="paper"] .nav .buy__menu .pill { color: var(--nh, #000); }
body[data-hv="paper"] .nav .buy__menu .pill:hover { color: var(--nc, #fff); }
body[data-hv="paper"] .nav .buy[open] summary, body[data-hv="paper"] .nav .buy__menu .pill { color: var(--nh, #000); }
body[data-hv="paper"] .nav .buy__menu .pill:hover { color: var(--nc, #fff); }

/* the envelope's stamp and the blue postmark struck across its edge */
.dp-env__stamp { position: absolute; right: 6.5%; top: 62%; width: 17%; height: auto; overflow: visible; rotate: 3deg;
  filter: drop-shadow(0 1px 1px rgba(60, 40, 20, .28)) drop-shadow(0 3px 4px rgba(60, 40, 20, .12)); }
.dp-env__stamp text { font-family: var(--sans); font-weight: 700; fill: #fbf8f0; }
.dp-env__stamp-v { font-size: 15px; letter-spacing: -0.04em; }
.dp-env__stamp-c { font-family: var(--mono) !important; font-weight: 500 !important; font-size: 7.2px; letter-spacing: .12em; fill: #3d4a60 !important; }
.dp-env__pm { position: absolute; left: 50%; top: 66%; width: 34%; height: auto; overflow: visible; rotate: -9deg; color: var(--pen); opacity: .9; mix-blend-mode: multiply; pointer-events: none; }
.dp-env__pm text { font-family: var(--mono); letter-spacing: .14em; }
.dp-env__pm-ring { font-size: 8.4px; }
.dp-env__pm-d { font-size: 13px; font-weight: 500; }
.dp-env__pm-s { font-size: 7px; }

/* Ma'Lily title: keeps its crayon colour; the cursor's light brightens it and makes it glow */
.ma-title__row { grid-area: 1 / 1; display: flex; }
.ma-title__row:not(.ma-title__lit) > span { filter: brightness(.78); }
.ma-title__lit > span { filter: brightness(1.3) saturate(1.2) drop-shadow(0 0 22px currentColor); }
.ma-title__lit { pointer-events: none; padding: .2em; margin: -.2em; /* room for the glow inside the mask */
  -webkit-mask-image: radial-gradient(circle at calc(var(--tx) + .2em) calc(var(--ty) + .2em), #000 0, #000 calc(var(--r) * .35), transparent var(--r));
  mask-image: radial-gradient(circle at calc(var(--tx) + .2em) calc(var(--ty) + .2em), #000 0, #000 calc(var(--r) * .35), transparent var(--r)); }

/* ═════════════ Shared ending + footer: identical on every book page ═════════════
   Some pages swap the site fonts for their own (Creature, Izidalwa) or restyle small caps.
   The "Next book" block, the page switcher and the footer always use the site's own type and colours. */
.v :is(.v-end, .foot) {
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --bg: #0a0a0a;
  --fg: #f3f1ec;
  --mute: #8c8a86;
  --line: rgba(243, 241, 236, 0.14);
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
}
.v :is(.v-end, .foot) .mono { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.v .v-end .bk-next__t { font-family: var(--sans); font-weight: 600; }

/* ───────────── No italics: the last italic accents, set like Kwanele ───────────── */
:is(.ls-item .ls-n, .kw-wall .wd.kw-last, .kw-mv__n, .kw-close__word, .nn-half--r .nn-h, .nn-core, .pg-q, .rr-amp, .rr-card__t) {
  font-family: var(--sans); font-style: normal; font-weight: 700; letter-spacing: -0.05em; }

/* Cover lettering: these hero words follow their book covers, ahead of the no-italics rule */
.sh-txt .sh-title .sh-of { font-family: 'Pinyon Script', cursive; font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none;
  color: inherit; font-size: .5em; line-height: 1; margin-left: .04em; vertical-align: .62em; }
.sh-txt .sh-title .sh-gold { color: #d8b23a; }
.nn-half--r .nn-h { letter-spacing: -0.075em; }
.ma-hero .ma-txt .ma-sub.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }

/* ───────────── Phones: buy bar that rides the bottom of book pages ───────────── */
.v-sticky { display: none; }
@media (max-width: 700px) {
  .v-sticky { display: block; position: fixed; z-index: 55; left: var(--pad); right: var(--pad); bottom: calc(12px + env(safe-area-inset-bottom));
    translate: 0 calc(100% + 40px); transition: translate .5s cubic-bezier(.2, .7, .2, 1); }
  .v-sticky.is-on { translate: 0 0; }
  .v-sticky .pill { width: 100%; justify-content: center; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }

  /* type floor: no label under 12px */
  .nn-c span, .sh-kick2, .sh-filt, .dp-caps, .dp-date, .dp-top { font-size: 12px; }
  .v :is(.v-end, .foot) .mono, .v-photo figcaption, .rr-card .mono, body[data-book="izidalwa"] .mono, [data-type="grotesk"] :is(.mono, .label) { font-size: 12px; }
  .sh-buy a, .sh-note, .sh-mv__n span, .sh-mv figcaption span, .sh-fig figcaption, .sh-prod--collage figcaption { font-size: 12px; }
  .dp-rows dt, .dp-rows dd, .dp-pn__sq small { font-size: 12px; }
  .dp-env__caps { font-size: 11px; }
  .sh-idx sup { font-size: 10px; }
  /* tap targets: 44px */
  .v-switch a { height: 44px; }
  .iz-hbuy a { min-height: 44px; }
  .sh-more { padding-top: 19px; }
  .cr-ed__shop { padding-top: 22px; margin-top: 12px; }

  /* Ma'Lily: keep the title's glow inside the screen */
  .ma-title { overflow-x: clip; }
  /* Healing: the gold rule moves to the edge, clear of the store button and the publisher line */
  .sh-rule { left: auto; right: 6px; }
  .sh-ant--lg { font-size: 24px; }
  /* Kwanele: the word and its full stop on one line */
  .kw-word { font-size: 21vw; white-space: nowrap; }
  .kw-close__word { font-size: 19vw; }
  /* Neither Noir: the circles stay inside the column; the meta line stacks */
  .nn-circles { min-width: 0; max-width: 100%; }
  .nn-meta { flex-wrap: wrap; gap: 4px 16px; justify-content: flex-start; }
  /* Dear Sam: the title and buy button first, then the letter; the details row wraps cleanly */
  .dp-hero__grey { order: -1; padding-top: 110px; }
  .dp-hero__ox { padding-top: 60px; }
  .dp-top { flex-wrap: wrap; justify-content: flex-start; gap: 6px 18px; }
  .dp-top span { white-space: nowrap; }
}

/* P!G hero on phones: the paperback is the hero object, centred above the wordmark */
@media (max-width: 700px) {
  .pg-word { flex-direction: column; padding: 40px 0 4px; }
  .pg-word h1 { position: relative; z-index: 1; margin-top: -84px; font-size: 68vw; }
  .pg-word .v-stage.pg-book { order: -1; position: relative; top: auto; right: auto; width: min(42vw, 230px); }
}

/* Izidalwa hero on phones: author line, volumes line, then the two buy buttons, stacked so nothing overlaps */
@media (max-width: 700px) {
  .iz-meta--l, .iz-meta--r { left: var(--pad); right: var(--pad); text-align: left; }
  .iz-meta--r { bottom: 36px; }
  .iz-meta--l { bottom: 141px; }
  .iz-hbuy { justify-content: stretch; }
  .iz-hbuy a { flex: 1; justify-content: center; }
}
