:root {
  --paper: #fcfcfa;
  --paper-deep: #f1f1ed;
  --ink: #2a2a28;
  --stone: #8b8a85;
  --rule: #e2e1dc;
  --teal: #3fb2b0;
  --teal-ink: #1f7f7e;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 6vw, 96px);
  --measure: 34rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
::selection { background: var(--teal); color: #fff; }
.mono { font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); }
.wrap { padding-inline: var(--gutter); max-width: 1360px; margin-inline: auto; }
.site-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-block: 28px 0; }
.site-head .name { font-size: 1.0625rem; letter-spacing: 0.02em; }
.site-head nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-head nav a { position: relative; padding-bottom: 3px; }
.site-head nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--teal); transition: right .35s ease; }
.site-head nav a:hover::after { right: 0; }
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; padding-block: clamp(56px, 9vw, 128px) clamp(48px, 6vw, 80px); }
.hero .eyebrow { margin-bottom: 36px; display: flex; gap: 18px; align-items: center; }
.hero .eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--stone); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); line-height: 1.05; letter-spacing: -0.015em; max-width: 13ch; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w > * { display: inline-block; transform: translateY(105%); animation: rise .9s cubic-bezier(.16,1,.3,1) forwards; }
.hero .lede, .hero .actions { opacity: 0; animation: fade 1s .55s ease forwards; }
.hero-media { opacity: 0; animation: fade .8s .3s ease forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
.hero h1 em { font-style: italic; color: var(--teal-ink); }
.hero .lede { margin-top: 36px; max-width: var(--measure); font-size: 1.25rem; color: #5a5853; }
.hero .lede i { color: var(--ink); }
.hero .actions { margin-top: 44px; display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 12px; font-size: 1.0625rem; border-bottom: 1px solid var(--teal); padding-bottom: 3px; transition: color .25s ease, border-color .25s ease; }
.btn:hover { color: var(--teal-ink); border-color: var(--teal-ink); }
.btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.4; transition: transform .3s ease; }
.btn:hover svg { transform: translateX(3px); }
.frame { position: relative; aspect-ratio: 0.66; max-width: 100%; width: 100%; overflow: hidden; background: transparent; touch-action: pan-y; }
.frame .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.frame .slide.on { opacity: 1; }
.frame .slide img { width: 100%; height: 100%; object-fit: cover; }
.frame .slide.cover { padding: 4% 9%; }
.frame .slide.cover { display: flex; justify-content: center; }
.frame .slide.cover .obj { height: 100%; }
.frame .slide.cover img { object-fit: contain; height: 100%; width: auto; }
.obj { position: relative; display: inline-block; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 24px 40px -18px rgba(42,42,40,.35); }
.obj::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 9px; background: linear-gradient(90deg, rgba(0,0,0,.16), rgba(255,255,255,.45) 50%, rgba(0,0,0,.06) 100%); pointer-events: none; mix-blend-mode: multiply; }
.book-cover .obj { width: min(100%, 420px); }
.frame .slide:not(.cover) img { border-radius: 2px; }
.frame .slide.poster { background: var(--ink); }
.frame .slide.poster img { object-fit: contain; }
.frame .slide.release img { object-fit: contain; }
.pub.solo { grid-template-columns: minmax(0, 1fr); }
.frame .slide.text p { font-size: clamp(1.25rem, 2.4vw, 1.9rem); line-height: 1.25; }
.frame .slide.text .mono { color: var(--teal); margin-bottom: 20px; }
.frame-progress { height: 1px; background: var(--rule); margin-top: 14px; position: relative; overflow: hidden; }
.frame-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.frame-progress span.run { animation: bar 5s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.frame-foot { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.frame-foot #frame-count { margin-left: auto; }
.frame-foot .frame-nav { margin-left: auto; }
.frame-foot #frame-count + .frame-nav { margin-left: 0; }
.frame-nav { display: inline-flex; gap: 6px; }
.frame-nav button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: border-color .3s, background .3s; }
.frame-nav button:hover { border-color: var(--teal); background: rgba(63,178,176,.08); }
.frame-nav svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* The ridge: the cover's mountain, drawn in ink as you scroll into it */
.ridge { position: relative; width: 100%; margin-top: clamp(-24px, -2vw, -40px); margin-bottom: clamp(28px, 4vw, 56px); z-index: 0; pointer-events: none; }
.ridge svg { width: 100%; height: clamp(110px, 17vw, 240px); display: block; overflow: hidden; }
.ridge .back { fill: var(--ink); opacity: 0; transition: opacity 1.8s ease .2s; }
.ridge .fill { fill: var(--ink); opacity: 0; transition: opacity 1.6s ease .5s; }
.ridge .stroke { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ridge.drawn .back { opacity: .08; }
.ridge.drawn .fill { opacity: .86; }
.status { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: 18px; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.status .mono { color: var(--ink); }
.status-compact { display: none; }
.status .mono b { font-weight: 400; color: var(--teal-ink); }
section { padding-block: clamp(72px, 10vw, 140px); }
.sec-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: 14px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head h2 { font-size: 1.0625rem; font-style: italic; color: #5a5853; }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.two .sticky { position: sticky; top: 40px; }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.2em; }
.prose h3 { font-size: clamp(1.85rem, 3vw, 2.5rem); line-height: 1.15; margin-bottom: 28px; }
.prose .big { font-size: 1.5rem; line-height: 1.35; margin-bottom: 32px; }
.book-cover img { width: 100%; }
.book-meta { margin-top: 28px; display: grid; gap: 8px; }
.book-meta .row { display: grid; grid-template-columns: 9em 1fr; gap: 12px; align-items: baseline; }
.book-meta .row span:last-child { font-size: 1rem; }
.learn-head { display: block; margin-top: 44px; margin-bottom: 12px; color: var(--ink); }
ol.learn { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
ol.learn li { display: grid; grid-template-columns: 2.5em 1fr; gap: 12px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--rule); font-size: 1.1875rem; }
ol.learn li .mono { text-align: right; padding-right: .6em; }
ol.learn li .mono { color: var(--teal-ink); }
.buy { margin-top: 44px; display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.buy .note { font-size: 1rem; color: var(--stone); font-style: italic; }
.expect, .avail { margin-top: 40px; }
.expect .mono, .avail .mono { display: block; margin-bottom: 12px; }
.expect p { font-size: 1.1875rem; }
.avail p { color: #5a5853; }
.more-btn { display: none; }
.phone-only { display: none; }
/* Request slip: a library request card */
.slip { margin-top: 48px; border: 3px double var(--rule); background: var(--paper); }
.slip .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.slip-head { display: flex; justify-content: space-between; padding: 12px 22px; border-bottom: 1px solid var(--rule); color: var(--teal-ink); }
.slip-body, .slip-done { padding: 28px 22px 26px; }
.slip-title { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; }
.slip-note { margin-top: 10px; color: #5a5853; font-size: 1rem; font-style: italic; max-width: 30rem; }
.slip-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 22px; }
.slip .f { display: grid; gap: 2px; padding-top: 16px; }
.slip .f .mono { color: var(--stone); }
.slip input { font: inherit; font-size: 1.125rem; padding: 8px 0 9px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); width: 100%; transition: border-color .3s; }
.slip input::placeholder { color: #b9b7b1; font-style: italic; }
.slip input:focus { outline: none; border-bottom-color: var(--teal); box-shadow: 0 1px 0 var(--teal); }
.slip input:focus-visible { outline: none; }
.slip .f:focus-within .mono { color: var(--teal-ink); }
.slip-foot { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.slip-btn { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-family: inherit; font-size: 1rem; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 12px 22px; transition: background .3s; }
.slip-btn:hover { background: #3d3d3a; }
.slip-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.slip-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform .3s; }
.slip-btn:hover svg { transform: translateX(3px); }
.slip-btn[disabled] { opacity: .6; cursor: progress; }
.slip-btn[hidden] { display: none; }
a.slip-btn { text-decoration: none; }
.avail .slip-btn { margin-top: 18px; }
.slip .tick { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 1rem; color: #5a5853; cursor: pointer; }
.slip .tick input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; flex: none; margin: 0; padding: 0; border: 1px solid var(--ink); border-radius: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.slip .tick input:checked { background: var(--ink); box-shadow: inset 0 0 0 3px var(--paper); }
.slip .tick input:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.slip-err { color: #a5432f; font-size: .95rem; }
.slip-done .stamp { display: inline-block; color: var(--teal-ink); border: 1px solid var(--teal); padding: 4px 10px; transform: rotate(-3deg); margin-bottom: 16px; }
.slip-done b { font-weight: 400; color: var(--ink); font-style: normal; }
.band { background: var(--ink); color: var(--paper); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.band .mono { color: var(--teal); }
.band h3 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; margin: 22px 0 28px; }
.band p { max-width: 30rem; color: #cfc9bb; }
.band figure { margin: 0; }
.band figure img { width: 100%; max-height: 72vh; object-fit: contain; object-position: center; outline: 1px solid rgba(252,252,250,.18); outline-offset: 10px; }
.band figcaption { margin-top: 26px; display: flex; justify-content: space-between; color: var(--stone); }
.portrait img { aspect-ratio: 4/5; object-fit: cover; object-position: 50% 15%; width: 100%; }
.portrait figcaption { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); }
.press-line { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); color: #5a5853; font-size: 1.0625rem; }
.press-line .mono { margin-right: 10px; }
.press-line a.clip { text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .3s, color .3s; }
.press-line a.clip:hover, .press-line a.clip:focus-visible { color: var(--ink); text-decoration-color: var(--teal); outline: none; }
/* Press clippings: a quiet reading view, only opened from the names above */
dialog.clips { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); }
dialog.clips::backdrop { background: rgba(42,42,40,.4); }
dialog.clips[open] { animation: fade .35s ease; }
.clips-inner { max-width: 860px; margin: 0 auto; padding: 28px var(--gutter) 64px; }
.clips-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
.clips-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; flex: none; }
.clips-close:hover { border-color: var(--teal); }
.clips-close svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; }
.clips h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin-top: 28px; }
.clips-note { margin-top: 10px; color: #5a5853; font-style: italic; }
.clips-pages { margin-top: 32px; display: grid; gap: 28px; }
.clips-pages figure { margin: 0; }
.clips-pages img { width: 100%; height: auto; border: 1px solid var(--rule); background: #fff; }
.clips-pages img.narrow { width: auto; max-width: 100%; max-height: 92vh; margin-inline: auto; }
.clips-pages figcaption { margin-top: 8px; }
.clips-more { margin-top: 32px; }
.clips-more a { color: var(--teal-ink); border-bottom: 1px solid var(--teal); padding-bottom: 2px; }
.timeline { list-style: none; padding: 0; margin: 56px 0 0; border-top: 1px solid var(--rule); }
.timeline li { display: grid; grid-template-columns: 6.5em 1fr; gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--rule); }
.timeline .year { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--teal-ink); padding-top: 5px; }
.timeline h4 { margin: 0 0 4px; font-weight: 400; font-size: 1.3rem; }
.timeline p { color: #5a5853; font-size: 1.0625rem; }
.press { margin-top: 48px; }
.press .mono { margin-bottom: 14px; display: block; }
.press p { font-style: italic; color: #5a5853; max-width: var(--measure); }
details.more { margin-top: 36px; border-top: 1px solid var(--rule); }
details.more summary { cursor: pointer; list-style: none; padding-block: 16px; display: flex; justify-content: space-between; align-items: center; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary .mono { color: var(--ink); }
details.more summary::after { content: "+"; font-family: var(--mono); color: var(--stone); }
details.more[open] summary::after { content: "\2212"; }
.quote { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 5vw, 70px); }
.quote blockquote { margin: 0; max-width: 22ch; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -0.015em; text-indent: -0.42em; }
.quote blockquote::before { content: "\201C"; color: var(--teal); }
.quote blockquote::after { content: "\201D"; color: var(--teal); }
.quote figcaption { margin-top: 32px; }
.quote figcaption i { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: var(--ink); }
.pub { padding-top: clamp(40px, 5vw, 70px); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pub img { width: min(100%, 520px); mix-blend-mode: multiply; }
.pub p { max-width: var(--measure); color: #5a5853; }
footer { border-top: 1px solid var(--rule); padding-block: 64px 40px; }
footer .foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; align-items: start; }
footer h3 { font-size: 1.75rem; margin-bottom: 10px; }
footer .foot-left p { color: #5a5853; max-width: 28rem; }
footer .social { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; min-width: 260px; }
footer .social a { display: grid; grid-template-columns: 22px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); transition: color .3s; }
footer .social li:first-child a { border-top: 1px solid var(--rule); }
footer .social a:hover { color: var(--teal-ink); }
footer .social svg { grid-row: 1 / 3; width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
footer .social span { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); }
footer .social em { font-style: normal; font-size: 1.0625rem; }
footer .fine { margin-top: 56px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 1s ease, transform 1s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .hero .lede, .hero .actions, .hero-media { opacity: 1; transform: none; transition: none; animation: none; } .hero h1 .w > * { transform: none; animation: none; } .frame .slide { transition: none; } .frame-progress span.run { animation: none; } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; align-items: start; gap: 28px; padding-block: 24px 40px; }
  .hero-media { order: -1; }
  .hero .frame { max-width: 100%; aspect-ratio: 0.8; }
  .hero .frame .slide.cover { padding: 5% 18%; }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero .lede { margin-top: 22px; font-size: 1.125rem; }
  .hero .actions { margin-top: 28px; }
  .phone-hide { display: none !important; }
  .status { padding-block: 14px; }
  .status-full { display: none; }
  .status-compact { display: inline; line-height: 1.9; }
  .two, .band .wrap, .pub { grid-template-columns: 1fr; }
  .two .sticky { position: static; }
  .book-side { order: 2; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--rule); }
  .book-cover { display: none; }
  .book-meta { margin-top: 0; gap: 10px; }
  .book-meta .row { grid-template-columns: 6.5em 1fr; gap: 10px; }
  .more-text { display: none; }
  .more-text.open { display: block; }
  .phone-only { display: inline-block; }
  .more-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; background: none; border: 0; border-bottom: 1px solid var(--teal); padding: 0 0 3px; font: inherit; font-size: 1.0625rem; color: var(--ink); cursor: pointer; }
  .more-btn::after { content: "+"; font-family: var(--mono); color: var(--teal-ink); }
  .more-btn.open::after { content: "\2212"; }
  .prose .more-text p:first-child { margin-top: 1.2em; }
  .band figure { order: 2; margin-top: 32px; }
  .band figure img { outline-offset: 6px; }
  footer .foot-grid { grid-template-columns: 1fr; }
  .site-head { flex-direction: column; gap: 14px; }
  section { padding-block: clamp(56px, 10vw, 140px); }
}
@media (max-width: 480px) {
  body { font-size: 1.0625rem; line-height: 1.55; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 2.8rem); }
  .slip-fields { grid-template-columns: 1fr; }
  .slip-body, .slip-done { padding: 24px 18px 22px; }
  .slip-head { padding: 11px 18px; }
  .quote blockquote { max-width: none; }
}
