/* Dark Aesthetic Mind · v4 · calm, static, high-contrast */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-400.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/atkinson-hyperlegible-400.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/caveat-400.woff2") format("woff2"); }

:root {
  --bg: #07070a;
  --bg-2: #0d0d12;
  --card: #111117;
  --card-2: #16161e;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #eeece6;
  --muted: #b3b0a8;   /* 9.3:1 on --bg */
  --faint: #8f8c85;   /* 6.1:1 on --bg */
  --lamp: #e9b872;    /* warm lamp accent, 10:1 on --bg */
  --lamp-ink: #1a1307;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --r: 14px;
  --wrap: 72rem;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--lamp); }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
em { font-style: italic; }
strong, b { font-weight: 700; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mist { color: var(--muted); }
.small { font-size: 0.9rem; }
.hand { font-family: var(--hand); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 46rem; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--lamp); color: var(--lamp-ink); padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }

/* type */
.eyebrow { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--lamp); margin-bottom: 0.9rem; }
.display { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
.display em, .h2 em, .quote em { color: var(--lamp); }
.h2 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.08; text-wrap: balance; }
.h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; }
.lede { font-size: clamp(1.08rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 38rem; margin-top: 1.25rem; text-wrap: pretty; }
.section-head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head.split { display: grid; gap: 1rem 3rem; align-items: end; }
.section-head.split > .mist { max-width: 30rem; }
@media (min-width: 52rem) { .section-head.split { grid-template-columns: 1.2fr 1fr; } }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.7rem 1.35rem;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text);
  font: inherit; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.04); }
.btn-primary { background: var(--lamp); border-color: var(--lamp); color: var(--lamp-ink); font-weight: 700; }
.btn-primary:hover { background: #f3cb90; border-color: #f3cb90; }
.btn-quiet { min-height: 2.6rem; padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.text-link { color: var(--lamp); text-decoration: none; font-size: 0.95rem; }
.text-link:hover { text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0.25rem 0; color: var(--muted); font: inherit; font-size: 0.85rem; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.link-btn:hover { color: var(--text); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
a.card { text-decoration: none; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
a.card:hover { border-color: var(--line-2); background: var(--card-2); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(7, 7, 10, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; letter-spacing: 0.005em; white-space: nowrap; }
.brand img { border-radius: 50%; }
.nav-desktop ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-desktop a { display: block; padding: 0.5rem 0.8rem; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-desktop a.nav-cta { color: var(--lamp); border: 1px solid rgba(233, 184, 114, 0.45); margin-right: 0.35rem; }
.nav-desktop a.nav-cta:hover, .nav-desktop a.nav-cta[aria-current="page"] { background: rgba(233, 184, 114, 0.1); color: var(--lamp); }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.75rem; padding: 0.4rem 0.95rem; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; font-size: 0.95rem; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.bars, .bars::before, .bars::after { display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -5px; } .bars::after { top: 5px; }
.nav-mobile .label-open { display: none; }
.nav-mobile[open] .label-open { display: inline; }
.nav-mobile[open] .label-closed { display: none; }
.nav-mobile nav { position: absolute; right: 0; top: calc(100% + 0.6rem); width: min(18rem, calc(100vw - 2 * var(--gutter))); background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 0.5rem; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.9); }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile a { display: block; padding: 0.8rem 0.9rem; border-radius: 10px; text-decoration: none; font-size: 1.05rem; }
.nav-mobile a:hover { background: rgba(255, 255, 255, 0.05); }
.nav-mobile a[aria-current="page"] { color: var(--lamp); }
@media (max-width: 60rem) { .nav-desktop { display: none; } .nav-mobile { display: block; } }
@media (max-width: 23rem) { .brand span { font-size: 1.1rem; } }

/* home hero */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; } }
.hero-title { font-size: clamp(3rem, 9vw, 6.4rem); }
.hero-art { margin: 0; justify-self: center; width: min(100%, 26rem); }
.hero-art img { width: 100%; }
@media (max-width: 59.99rem) { .hero-art { width: min(64%, 17rem); order: -1; } }

/* note of the day */
.band { background: linear-gradient(180deg, transparent, var(--bg-2) 25%, var(--bg-2) 75%, transparent); }
.notd { margin: 0; text-align: center; }
.notd blockquote { margin: 0; }
.notd .hand { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.15; color: var(--text); text-wrap: balance; }
.notd figcaption { margin-top: 1rem; color: var(--faint); font-size: 0.9rem; }
.notd-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: center; align-items: center; margin-top: 1.5rem; }

/* rooms */
.rooms { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .rooms { grid-template-columns: 1fr 1fr; } .rooms li:first-child { grid-column: 1 / -1; } }
@media (min-width: 64rem) { .rooms { grid-template-columns: repeat(5, 1fr); } .rooms li:first-child { grid-column: auto; } }
.room { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; padding: 1.6rem 1.5rem 1.4rem; }
.room-num { color: var(--faint); font-size: 0.85rem; letter-spacing: 0.1em; }
.room h3 { font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; }
.room p { color: var(--muted); }
.go { margin-top: auto; padding-top: 0.6rem; color: var(--lamp); font-size: 0.95rem; }
.rooms li:first-child .room { border-color: rgba(233, 184, 114, 0.35); }

/* manifesto */
.manifesto { display: grid; gap: 2.5rem; border-top: 1px solid var(--line); padding-top: clamp(3rem, 7vw, 5rem); }
@media (min-width: 56rem) { .manifesto { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.quote { font-family: var(--serif); font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.15; text-wrap: balance; }
.pillars { display: grid; gap: 1.5rem; }
.pillars li { border-left: 1px solid var(--line-2); padding-left: 1.25rem; }
.pillars b { display: block; margin-bottom: 0.25rem; }
.pillars p { color: var(--muted); }

/* page headers */
.page-top { padding-block: clamp(2.75rem, 7vw, 5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-head { max-width: 42rem; }
.split-top { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .split-top { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } .split-top.flip .side-art { order: -1; } .split-top.flip { grid-template-columns: 0.9fr 1.1fr; } }
.side-art { margin: 0; justify-self: center; width: min(100%, 28rem); }
.side-art img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
@media (max-width: 59.99rem) { .side-art { width: min(100%, 22rem); } }
.notice { margin-top: 1.75rem; padding: 1rem 1.2rem; border: 1px solid rgba(233, 184, 114, 0.4); border-radius: var(--r); background: rgba(233, 184, 114, 0.06); max-width: 38rem; }

/* freedom wall */
.wall-feature { display: grid; gap: 1.25rem; }
@media (min-width: 60rem) { .wall-feature { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; } }
.wall-feature .notd { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); }
.composer { padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 0.9rem; }
.composer label { color: var(--text); }
.composer textarea { width: 100%; min-height: 8.5rem; resize: vertical; padding: 0.9rem 1rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--text); font: 1.45rem/1.3 var(--hand); }
.composer textarea:focus-visible { border-color: var(--lamp); outline-offset: 1px; }
.composer-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.feedback:empty { display: none; }
.feedback { padding: 0.75rem 1rem; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line-2); }
.feedback.is-crisis { border-color: var(--lamp); }
.rules { display: grid; gap: 0.4rem; color: var(--muted); font-size: 0.92rem; border-top: 1px solid var(--line); padding-top: 0.9rem !important; }
.rules li { padding-left: 1rem; position: relative; }
.rules li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.wall-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.wall-grid + .wall-grid { margin-top: 1rem; }
.wall-grid[hidden] { display: none; }
.note { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; min-height: 9.5rem; padding: 1.3rem 1.35rem 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.note .hand { font-size: 1.55rem; line-height: 1.2; color: var(--text); overflow-wrap: anywhere; }
.note .who { color: var(--faint); font-size: 0.82rem; letter-spacing: 0.06em; }
@media (max-width: 40rem) { .note { min-height: 0; padding: 1.1rem 1.2rem 0.9rem; } .note .hand { font-size: 1.45rem; } }
.note-mine { border-color: rgba(233, 184, 114, 0.35); }
.note-row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.queue-section { padding-top: 0; }
.queue { padding: 1.1rem 1.35rem; }
.queue summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem; }
.queue[open] summary { margin-bottom: 1rem; }
.queue > p { margin-bottom: 1rem; max-width: 46rem; }
[data-queue] { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.held { padding: 1rem; border: 1px dashed var(--line-2); border-radius: 10px; color: var(--muted); }
.held .kicker { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lamp); margin-bottom: 0.35rem; }

/* words */
.word-list { columns: 3 17rem; column-gap: 1rem; }
.word-list li { break-inside: avoid; margin-bottom: 1rem; padding: 1.1rem 1.3rem; font-size: 1.6rem; line-height: 1.2; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }

/* shop */
.products { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.product { overflow: hidden; }
.product-body { padding: 1.2rem 1.35rem 1.4rem; display: grid; gap: 0.4rem; }
.product h3 { font-family: var(--serif); font-size: 1.55rem; }
.product p { color: var(--muted); }
.tag { justify-self: start; margin-top: 0.4rem; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lamp) !important; }
.mock { aspect-ratio: 4 / 3.2; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 35%, #1c1c26, #0a0a0e 70%); overflow: hidden; border-bottom: 1px solid var(--line); }
.mock img { width: 36%; border-radius: 50%; }
.cover { width: 44%; aspect-ratio: 2 / 3; border-radius: 3px 8px 8px 3px; background: linear-gradient(90deg, rgba(255,255,255,0.08) 0 4%, transparent 4% 7%), linear-gradient(160deg, #24242e, #0b0b10 70%); box-shadow: 0 30px 50px -15px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(255,255,255,0.08); display: grid; align-content: space-between; padding: 12% 10%; }
.cover img { width: 46%; margin: 0 auto; }
.cover-title { font-family: var(--serif); font-size: clamp(0.95rem, 1.5vw, 1.2rem); line-height: 1.05; text-align: center; }
.cover-sub { letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.6rem; text-align: center; color: var(--lamp); }
.cover.paper { background: linear-gradient(90deg, rgba(0,0,0,0.12) 0 4%, transparent 4% 7%), linear-gradient(160deg, #f4f1ea, #d8d3c8); color: #0b0b10; }
.cover.paper .cover-sub { color: #6b5428; }
.garment-wrap { position: relative; width: 60%; display: grid; place-items: center; }
.garment { width: 100%; aspect-ratio: 1; background: var(--g, #f0ece3); -webkit-mask: var(--shape) center / contain no-repeat; mask: var(--shape) center / contain no-repeat; }
.garment-wrap .mark { position: absolute; top: 34%; font-family: var(--serif); font-size: clamp(1rem, 2.2vw, 1.6rem); color: #0b0b10; }
.garment-wrap.dark .mark { color: #f4f1ea; }
.tee { --shape: url("/media/shape-tee.svg"); }
.hoodie { --shape: url("/media/shape-hoodie.svg"); --g: #2a2a33; }
.sticker-sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; width: 60%; }
.sticker-sheet span { aspect-ratio: 1; border-radius: 50%; background: #f4f1ea; overflow: hidden; }
.sticker-sheet span:nth-child(even) { border-radius: 30%; }
.sticker-sheet img { width: 100%; border-radius: 0; }
.poster { width: 46%; aspect-ratio: 3 / 4; border: 6px solid #f4f1ea; box-shadow: 0 30px 50px -15px rgba(0,0,0,0.9); overflow: hidden; }
.poster picture, .poster img { width: 100%; height: 100%; }
.poster img { object-fit: cover; object-position: 72% 50%; border-radius: 0; }

/* about */
.prose-grid { display: grid; gap: 2.5rem; padding-top: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
@media (min-width: 56rem) { .prose-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }
.prose { max-width: 40rem; }
.prose p { color: var(--muted); margin-top: 1.1rem; }
.prose a { color: var(--lamp); }
.facts { display: grid; gap: 0.9rem; align-content: start; }
.facts li { padding: 1.1rem 1.3rem; display: grid; gap: 0.2rem; }
.facts span { color: var(--muted); }

/* support */
.resources { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.resources a { position: relative; display: grid; gap: 0.35rem; height: 100%; padding: 1.35rem 3rem 1.35rem 1.35rem; }
.resources strong { font-size: 1.1rem; }
.resources span { color: var(--muted); }
.resources .go { position: absolute; top: 1.2rem; right: 1.3rem; padding: 0; color: var(--lamp); }
.resources li:first-child a { border-color: rgba(233, 184, 114, 0.45); }

/* follow */
.follow-links { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); max-width: 46rem; }
.follow-links a { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; font-size: 1.1rem; }
.follow-links a > span:first-child { display: grid; gap: 0.15rem; }
.follow-links strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.follow-note { margin-top: 1.5rem; padding-bottom: 5rem; }

/* footer */
.site-footer { margin-top: clamp(3rem, 8vw, 6rem); border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem 2rem; padding-block: clamp(2.5rem, 6vw, 3.5rem); border-bottom: 1px solid var(--line); }
.footer-cta-text { font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.15; }
.footer-cta-text em { color: var(--lamp); }
.footer-grid { display: grid; gap: 2rem; padding-block: 2.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
@media (min-width: 60rem) { .footer-grid { grid-template-columns: 1.6fr 0.8fr 1fr 1.1fr; gap: 3rem; } }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--serif); font-size: 1.4rem; margin-bottom: 0.8rem; }
.footer-brand img { border-radius: 50%; }
.footer-about p:not(.footer-brand), .footer-col p { color: var(--muted); font-size: 0.95rem; }
.footer-col h2 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-col a { text-decoration: none; color: var(--text); font-size: 0.95rem; }
.footer-col a:hover { color: var(--lamp); }
.footer-col a[aria-current="page"] { color: var(--lamp); }
.footer-col .mist { font-size: 0.85rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1.25rem 2rem; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.85rem; }

/* gentle entrance on first paint only; removed for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .page-head, .hero-art, .side-art { animation: fade-in 0.7s var(--ease) both; }
  .hero-art, .side-art { animation-delay: 0.1s; }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) { .btn, .card, .note { border: 1px solid CanvasText; } }
/* book page + homepage teaser */
@media (min-width: 60rem) and (max-width: 74rem) {
  .nav-desktop a { padding: 0.5rem 0.62rem; }
}

.book-top {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 60rem) {
  .book-top { grid-template-columns: 0.82fr 1.18fr; gap: 4rem; align-items: center; }
}
.book-cover { margin: 0; justify-self: center; width: min(100%, 22rem); }
.book-cover img {
  width: 100%;
  border-radius: 2px 8px 8px 2px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: #f3efe6;
}
@media (max-width: 59.99rem) { .book-cover { width: min(100%, 18rem); } }

.book-by {
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-top: 1rem;
  color: var(--text);
}
.book-pub { color: var(--muted); font-size: 0.98rem; margin-top: 0.2rem; }
.book-badge { display: inline-block; margin: 0 0 1rem; }
.book-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: center; margin-top: 1.25rem; }
.book-pages-note { color: var(--muted); font-size: 0.95rem; }
.book-blurb { max-width: 38rem; margin-top: 1.4rem; color: var(--text); text-wrap: pretty; }
.book-blurb + .notice { margin-top: 1.75rem; }

.book-pages { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 44rem) { .book-pages { grid-template-columns: 1fr 1fr; } }
.book-pages figure { margin: 0; }
.book-pages img {
  width: 100%;
  border-radius: 2px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.8);
  background: #f3efe6;
}
.book-pages figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.7rem; }

.book-teaser {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem 1.5rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
}
@media (min-width: 40rem) { .book-teaser { padding: 1.35rem 1.6rem; gap: 1.25rem 1.85rem; } }
.book-teaser-art { display: block; width: 5.75rem; flex-shrink: 0; }
@media (min-width: 40rem) { .book-teaser-art { width: 6.5rem; } }
.book-teaser-art img {
  width: 100%;
  border-radius: 2px 6px 6px 2px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.8);
  background: #f3efe6;
}
.book-teaser-copy { display: grid; gap: 0.3rem; min-width: 0; }
.book-teaser-copy .eyebrow { margin-bottom: 0.1rem; }
.book-teaser-copy .h3 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.7rem;
}
.book-teaser-soon {
  color: var(--lamp);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-style: normal;
  white-space: nowrap;
}
.book-teaser-copy p { color: var(--muted); font-size: 1rem; }
.book-teaser .go { color: var(--lamp); font-size: 0.95rem; margin-top: 0.4rem; }
