/*
 * 21R6 Editions — gallery white
 * Concept: the site as a gallery. Pure white walls, black type, each book
 * shown large as an object with a small wall label beside it. The only
 * colour is bookcloth green, kept for The Heritage Guild and its plates.
 */
:root {
  --wall: #FFFFFF;
  --ink: #000000;
  --grey: #6E6E6E;
  --line: #E4E4E4;
  --plinth: #F5F5F3;
  --cloth: #133D30;
  --foil: #B8945A;

  --display: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --text: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --ui: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(1rem, 5vw, 5rem);
  --max: 90rem;
  --measure: 32rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
html.nav-open { overflow: hidden; }
body {
  background: var(--wall); color: var(--ink);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
a:hover { color: var(--grey); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; text-wrap: balance; }
p { max-width: var(--measure); }
p + p { margin-top: 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Header: wordmark and one Menu button ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--wall); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 5.5rem; }
.brand { display: flex; align-items: baseline; gap: 0.55rem; text-decoration: none; }
.brand img { height: 1.75rem; width: auto; }
.brand span { font-family: var(--display); font-size: 1.3rem; }
.nav-toggle, .nav-close {
  font-family: var(--ui); font-size: 0.9rem; letter-spacing: 0.02em;
  background: none; border: 0; color: var(--ink); cursor: pointer; padding: 0.5rem 0;
  border-bottom: 1px solid var(--ink);
}
.nav-toggle:hover, .nav-close:hover { color: var(--grey); border-color: var(--grey); }

/* Full-screen index */
.site-nav { position: fixed; inset: 0; z-index: 60; background: var(--wall); overflow-y: auto; }
.site-nav .wrap { min-height: 100%; display: flex; flex-direction: column; padding-bottom: 3rem; }
.nav-top { display: flex; justify-content: space-between; align-items: center; min-height: 5.5rem; }
.nav-mark { font-family: var(--display); font-size: 1.3rem; }
.site-nav ul { list-style: none; margin-top: clamp(2rem, 8vh, 6rem); }
.site-nav li a {
  display: inline-block; font-family: var(--display); text-decoration: none;
  font-size: clamp(2.8rem, 8vw, 6.5rem); line-height: 1.12; letter-spacing: -0.02em;
}
.site-nav li a:hover { color: var(--cloth); }
.nav-note { margin-top: auto; padding-top: 3rem; font-family: var(--ui); font-size: 0.9rem; color: var(--grey); }

/* ---------- Hero: the book, large, with its headline ---------- */
.hero { padding-block: clamp(1rem, 4vw, 3rem) clamp(5rem, 12vw, 10rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.hero h1.hero-brand { font-size: clamp(2.8rem, 5.6vw, 5.4rem); letter-spacing: -0.03em; line-height: 0.98; color: var(--ink); padding-bottom: clamp(1.4rem, 2.5vw, 2rem); border-bottom: 1px solid var(--line); margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.hero-slide { min-height: 21rem; transition: opacity 0.38s ease, transform 0.38s cubic-bezier(.4,0,.2,1); }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
.hero-slide.is-out { opacity: 0; transform: translateX(-2.5rem); }
.hero-slide.is-in { opacity: 0; transform: translateX(2.5rem); transition: none; }
.hero-slide .eyebrow { font-family: var(--ui); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); margin-bottom: 1.2rem; }
.hero-slide .slide-title { font-size: clamp(2rem, 3.4vw, 3.2rem); letter-spacing: -0.02em; line-height: 1.02; }
.hero-slide .slide-title a { text-decoration: none; }
.hero-slide .slide-by { font-size: 1.05rem; margin-top: 0.8rem; }
.hero-slide .lede { font-style: italic; }
.hero .lede { font-size: 1.2rem; line-height: 1.6; color: var(--grey); margin-top: 1.5rem; max-width: 28rem; }
.links { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 2.5rem; font-family: var(--ui); font-size: 0.95rem; max-width: none; }
.links a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.15rem; }

/* One orchestrated moment: the opening reveal on the home page */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .book-object { animation: rise 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero .hero-text > * { animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hero .hero-text > :nth-child(1) { animation-delay: 0.25s; }
.hero .hero-text > :nth-child(2) { animation-delay: 0.45s; }
.hero .hero-text > :nth-child(3) { animation-delay: 0.6s; }

/* ---------- Book object (cover image, upgraded to 3D when available) ---------- */
.book-object { position: relative; width: 100%; aspect-ratio: 5 / 6; margin-bottom: 2.5rem; }
.book-object .cover {
  position: absolute; inset: 0; margin: auto; height: 82%; width: auto; max-width: 90%; object-fit: contain;
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: opacity 0.8s ease;
}
.book-object .plate.cover { height: 70%; aspect-ratio: 2 / 3; padding: 1.5rem; }
.book-object .plate.cover span { font-size: clamp(1.1rem, 2vw, 1.6rem); }
.book-object canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; cursor: grab; touch-action: pan-y; }
.book-object canvas:active { cursor: grabbing; }
.book-object.is-3d .cover { opacity: 0; pointer-events: none; }
.book-object .cover.is-swapping { opacity: 0; transition-duration: 0.3s; }
.hero-dots { position: absolute; left: 0; right: 0; top: calc(100% + 2.4rem); display: flex; justify-content: center; gap: 0.55rem; }
.hero-dots button { width: 0.55rem; height: 0.55rem; padding: 0; border-radius: 50%; border: 1px solid var(--ink); background: transparent; cursor: pointer; opacity: 0.45; transition: opacity 0.3s, background 0.3s; }
.hero-dots button:hover { opacity: 0.9; }
.hero-dots button[aria-current] { background: var(--ink); opacity: 1; }
.hero-dots button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.book-object figcaption {
  position: absolute; left: 0; right: 0; top: calc(100% + 0.5rem); text-align: center;
  font-family: var(--ui); font-size: 0.8rem; color: var(--grey);
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(5rem, 11vw, 10rem); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-head h2 { font-size: clamp(2.8rem, 6vw, 5.2rem); letter-spacing: -0.025em; }
.section-head p { color: var(--grey); justify-self: end; }
.section-head.is-small h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }

/* ---------- Works: each collection as an object with a wall label ---------- */
.works { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem); }
.work-art { background: var(--plinth); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; padding: 14% 18%; }
.work-art a { display: block; height: 100%; }
.work-art img { outline: 1px solid rgba(0,0,0,0.06); outline-offset: -1px; height: 100%; width: auto; max-width: 100%; object-fit: contain; box-shadow: 0 24px 36px -22px rgba(0, 0, 0, 0.45); transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.work-art a:hover img { transform: translateY(-6px); }
.work-art.has-group { padding: 4% 3% !important; }
.work-art.has-group a { width: 100%; }
.work-art img.group { width: 100%; height: 100%; object-fit: contain; box-shadow: none; outline: none; }
.work-art a:hover img.group { transform: translateY(-4px); }
.plate {
  height: 100%; aspect-ratio: 2 / 3; background: var(--cloth); max-width: 100%;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem;
  box-shadow: inset 0 0 0 0.45rem var(--cloth), inset 0 0 0 calc(0.45rem + 1px) rgba(184, 148, 90, 0.6), 0 24px 36px -22px rgba(0, 0, 0, 0.45);
}
.plate span { font-family: var(--display); color: var(--foil); font-size: clamp(0.85rem, 1.4vw, 1.1rem); line-height: 1.25; }
.plate.is-thematic { background: #1B1B1B; box-shadow: inset 0 0 0 0.45rem #1B1B1B, inset 0 0 0 calc(0.45rem + 1px) rgba(184, 148, 90, 0.6), 0 24px 36px -22px rgba(0, 0, 0, 0.45); }
.works:not(.book-grid):has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.works:not(.book-grid):has(> li:nth-child(4):last-child) .work-art { aspect-ratio: 5 / 4; padding: 9% 20%; }
.label { margin-top: 1.5rem; }
/* home page shelves: one per collection, a turning 3D book per title */
.shelf + .shelf { margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.shelf-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0.5rem 3rem; align-items: start; margin-bottom: clamp(2rem, 4vw, 3rem); }
.shelf-head h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); grid-column: 1; }
.shelf-head .kind { font-family: var(--ui); font-size: 0.85rem; color: var(--grey); grid-column: 1; }
.shelf-head .desc { grid-column: 2; grid-row: 1 / span 3; color: var(--grey); max-width: 36rem; }
.shelf-head .state { grid-column: 1; font-family: var(--ui); font-size: 0.85rem; color: var(--grey); }
.shelf-head .state a { color: var(--ink); }
.works.book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shelf.is-single { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 clamp(2rem, 4vw, 3.5rem); align-items: start; }
.shelf.is-single .book-grid { grid-column: 1; grid-row: 1; grid-template-columns: minmax(0, 1fr); }
.shelf.is-single .shelf-head { grid-column: 2; grid-row: 1; grid-template-columns: minmax(0, 1fr); margin: 0; }
.shelf.is-single .shelf-head .desc { grid-column: 1; grid-row: auto; margin-top: 1rem; }
.book-tile .work-art { padding: 0; display: block; }
.book-tile .book-object { aspect-ratio: 4 / 5; margin: 0; }
.book-tile .book-object .cover { height: 74%; }
.book-tile .book-object .plate.cover { height: 68%; }
.book-tile.is-empty .work-art { display: flex; padding: 14% 18%; }
.book-tile h4 { font-family: var(--display); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.15; }
.book-tile h4 a { text-decoration: none; }
.book-tile .kind { font-family: var(--ui); font-size: 0.85rem; color: var(--grey); margin-top: 0.35rem; }
.book-tile .short { margin-top: 0.7rem; font-size: 0.98rem; line-height: 1.55; color: var(--grey); }
.label .titles { list-style: none; padding: 0; margin: 0 0 0.6rem; }
.label .titles li + li { margin-top: 0.85rem; }
.label .titles .short { display: block; margin-top: 0.25rem; font-family: var(--text); font-size: 0.95rem; line-height: 1.5; color: var(--grey); max-width: 34rem; }
.works.series-books { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.works.series-books .work-art { aspect-ratio: 4 / 5; padding: 10% 18%; }
.series-books .is-current .work-art { outline: 1px solid var(--ink); outline-offset: -1px; }
.series-books .label h3 a { text-decoration: none; }
.series-picture { background: var(--plinth); margin: 0 0 clamp(2.5rem, 5vw, 4rem); padding: clamp(1rem, 3vw, 2.5rem); }
.series-picture img { display: block; width: 100%; max-width: 62rem; height: auto; margin: 0 auto; }
.series-link { margin-top: 2rem; font-family: var(--ui); font-size: 0.9rem; }
.series-link a { text-decoration: underline; text-underline-offset: 0.2em; }
.label h3 { font-size: clamp(1.45rem, 2.1vw, 1.8rem); line-height: 1.15; }
.label .kind { font-family: var(--ui); font-size: 0.85rem; color: var(--grey); margin-top: 0.35rem; }
.label .desc { margin-top: 0.9rem; font-size: 1rem; }
.label .state { margin-top: 0.9rem; font-family: var(--ui); font-size: 0.85rem; color: var(--grey); }
.label .state a { color: var(--ink); }

/* ---------- The Heritage Guild ---------- */
.guild-feature { border-top: 1px solid var(--line); }
.guild-title { color: var(--cloth); font-size: clamp(3.2rem, 10vw, 9.5rem); letter-spacing: -0.035em; line-height: 0.92; }
.guild-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(2.5rem, 6vw, 5rem); }
.guild-summary { font-size: 1.25rem; line-height: 1.6; }
.practices { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.practices li { border-top: 1px solid var(--ink); padding-top: 1rem; }
.practices h3 { font-size: 1.35rem; }
.practices p { margin-top: 0.6rem; font-size: 0.95rem; color: var(--grey); }

/* ---------- Authors ---------- */
.author { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.author + .author { margin-top: 6rem; }
.author.no-photo { grid-template-columns: minmax(0, 1fr); }
.author.no-photo h3 { margin-bottom: 0.75rem; }
.author img { width: 100%; height: auto; max-width: 24rem; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.author h3 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.author .books { font-family: var(--ui); font-size: 0.85rem; color: var(--grey); margin-top: 1.5rem; }

/* ---------- Buttons (book page) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ui); font-size: 0.95rem; padding: 1rem 1.75rem; text-decoration: none;
  background: var(--ink); color: var(--wall); border: 1px solid var(--ink); transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--wall); color: var(--ink); }
.btn img { width: 1.05rem; height: 1.05rem; filter: invert(1); }
.btn:hover img { filter: none; }
.btn-quiet { background: var(--wall); color: var(--ink); }
.btn-quiet img { filter: none; }
.btn-quiet:hover { background: var(--ink); color: var(--wall); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.stores { margin-top: 1rem; font-family: var(--ui); font-size: 0.85rem; color: var(--grey); }
.stores summary { cursor: pointer; list-style: none; display: inline; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--line); }
.stores summary::-webkit-details-marker { display: none; }
.stores summary:hover { color: var(--ink); }
.stores ul { list-style: none; margin: 0.9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.stores a { color: var(--ink); }
.stores a[aria-current] { font-weight: 500; }

/* ---------- Book page ---------- */
.crumbs { font-family: var(--ui); font-size: 0.85rem; color: var(--grey); }
.crumbs a { color: var(--grey); }
.book-hero { padding-block: clamp(1rem, 3vw, 2rem) clamp(5rem, 10vw, 8rem); }
.book-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.book-hero .book-object { position: sticky; top: 7rem; background: var(--plinth); }
.book-hero h1 { font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -0.03em; line-height: 0.98; }
.book-hero .subtitle { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; margin-top: 1rem; }
.book-hero .byline { font-size: 1.3rem; margin-top: 1.25rem; }
.book-hero .tagline { font-style: italic; color: var(--grey); margin-top: 0.3rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 2rem; margin-block: 2.5rem; padding-block: 1.25rem; border-block: 1px solid var(--line); font-family: var(--ui); font-size: 0.85rem; }
.facts dt { color: var(--grey); }
.edition-mark { font-family: var(--display); color: var(--cloth); font-size: 1.1rem; margin-bottom: 1rem; }

.parts { list-style: none; }
.parts li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 0.6fr); gap: clamp(1rem, 3vw, 3rem); padding-block: 1.75rem; border-top: 1px solid var(--line); align-items: baseline; }
.parts li:last-child { border-bottom: 1px solid var(--line); }
.parts h3 { font-size: 1.45rem; }
.parts .books { font-family: var(--ui); font-size: 0.85rem; color: var(--grey); justify-self: end; text-align: right; }
.parts .books strong { color: var(--ink); font-weight: 500; }

/* ---------- Guild page ---------- */
.legal-page { padding-block: clamp(2rem, 6vw, 5rem) clamp(4rem, 9vw, 8rem); }
.legal-page h1 { font-family: var(--display); font-weight: 400; font-size: clamp(3rem, 8vw, 6.5rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: 1rem; }
.legal-page .updated { font-family: var(--ui); font-size: 0.85rem; color: var(--grey); margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.legal-page .prose { max-width: 40rem; margin-left: auto; font-size: 1.1rem; line-height: 1.65; }
.legal-page .prose .short { font-size: 1.3rem; line-height: 1.55; margin-bottom: 1rem; }
.legal-page .prose h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin: 2.75rem 0 0.75rem; }
.legal-page .prose p + p, .legal-page .prose p + ul, .legal-page .prose ul + p { margin-top: 0.9rem; }
.legal-page .prose ul { padding-left: 1.2rem; }
.legal-page .prose li + li { margin-top: 0.35rem; }
.legal-page .prose a { text-decoration: underline; text-underline-offset: 0.2em; }
.guild-page-head { padding-block: clamp(2rem, 6vw, 5rem) clamp(4rem, 9vw, 8rem); }
.guild-page-head .guild-title { margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.guild-page-head #guild-intro { font-size: 1.25rem; line-height: 1.6; margin-left: auto; max-width: 38rem; }
.philosophy { font-family: var(--display); font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.22; letter-spacing: -0.01em; max-width: 60rem; }
.eyebrow-line { font-family: var(--ui); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); margin-bottom: 1.2rem; }
.commission-intro { font-size: 1.25rem; line-height: 1.6; margin-left: auto; max-width: 38rem; }
.commission-intro p + p { margin-top: 1rem; }
.practices.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(2rem, 4vw, 3rem); }
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--cloth); margin-bottom: 0.8rem; }
.steps h3 { font-size: 1.3rem; }
.steps p { margin-top: 0.6rem; font-size: 0.95rem; color: var(--grey); }
.marks.terms .mark { min-height: 11rem; }
.marks.terms .specimen { font-size: clamp(1.3rem, 2vw, 1.7rem); color: var(--ink); }
.commission-example { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.commission-example .book-object { background: var(--plinth); aspect-ratio: 4 / 5; margin: 0; }
.commission-example h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1.2rem; }
.commission-example p { max-width: 34rem; }
.commission-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.commission-cta h2 { font-size: clamp(2.8rem, 6vw, 5.2rem); letter-spacing: -0.025em; }
.commission-cta p { font-size: 1.2rem; }
.commission-cta .mail { white-space: nowrap; border-bottom: 1px solid currentColor; text-decoration: none; }
.commission-cta ul { margin: 1.2rem 0 1.4rem; padding-left: 1.2rem; }
.commission-cta li + li { margin-top: 0.4rem; }
.commission-cta .note { font-family: var(--ui); font-size: 0.9rem; color: var(--grey); }
.marks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; list-style: none; }
.mark { background: var(--plinth); padding: clamp(2rem, 4vw, 3.5rem); min-height: 14rem; display: flex; flex-direction: column; justify-content: space-between; }
.mark .where { font-family: var(--ui); font-size: 0.85rem; color: var(--grey); }
.mark .specimen { font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; color: var(--cloth); margin-top: 2rem; }
.mark.is-spine .specimen { font-variant: small-caps; letter-spacing: 0.06em; }
.practice-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 5vw, 5rem); padding-block: 2.25rem; border-top: 1px solid var(--line); }
.practice-detail:last-child { border-bottom: 1px solid var(--line); }
.practice-detail h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.section + .section { border-top: 1px solid var(--line); }

/* ---------- Colophon ---------- */
.colophon { border-top: 1px solid var(--line); padding-block: 4.5rem 3rem; font-size: 0.95rem; }
.colophon .wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
.colophon h2 { font-family: var(--display); font-size: 1.3rem; margin-bottom: 0.9rem; }
.colophon p { color: var(--grey); }
.colophon ul { list-style: none; font-family: var(--ui); font-size: 0.9rem; }
.colophon li + li { margin-top: 0.45rem; }
.colophon .fine a { color: inherit; }
.colophon .fine { grid-column: 1 / -1; max-width: none; font-family: var(--ui); font-size: 0.8rem; color: var(--grey); border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works.book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .practices { grid-template-columns: minmax(0, 1fr); }
  .guild-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero .wrap, .book-hero .wrap, .author { grid-template-columns: minmax(0, 1fr); }
  .hero .book-object { order: 2; }
  .hero-slide { min-height: 18rem; }
  .book-hero .book-object { position: relative; top: 0; }
  .section-head, .practice-detail { grid-template-columns: minmax(0, 1fr); }
  .practices.is-four, .commission-example, .commission-cta { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .commission-cta .mail { white-space: normal; }
  .section-head p { justify-self: start; }
  .works, .works:not(.book-grid):has(> li:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); }
  .works.book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1rem; }
  .shelf-head { grid-template-columns: minmax(0, 1fr); }
  .shelf.is-single { grid-template-columns: minmax(0, 1fr); }
  .shelf.is-single .shelf-head { grid-column: 1; grid-row: 1; margin-bottom: 2rem; }
  .shelf.is-single .book-grid { grid-column: 1; grid-row: 2; grid-template-columns: minmax(0, 1fr); }
  .shelf.is-single .book-tile .work-art { width: 62%; }
  .shelf-head .desc { grid-column: 1; grid-row: auto; }
  .book-tile .short { font-size: 0.9rem; }
  .works.series-books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
  .marks { grid-template-columns: minmax(0, 1fr); }
  .colophon .wrap { grid-template-columns: minmax(0, 1fr); }
  .parts li { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .parts .books { justify-self: start; text-align: left; }
  .site-header .wrap, .nav-top { min-height: 4.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .book-object, .hero .hero-text > * { animation: none; }
  .work-art img, .book-object .cover, .btn { transition: none; }
}
