:root {
  color-scheme: light;
  --paper: #f9f4e9;
  --ink: #30251f;
  --red: #873029;
  --rule: #dccdb7;
  --muted: #6c5343;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, figure, h1, h2, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #ac604b; outline-offset: 5px; }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; padding: .6rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); z-index: 2; }
.masthead { border-bottom: 1px solid var(--rule); }
.masthead-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 24px Georgia, serif; }
.brand small { display: block; font: 700 9px system-ui, sans-serif; letter-spacing: .22em; color: var(--red); margin-bottom: 3px; }
nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 35px); }
nav a { font-size: 14px; font-weight: 600; text-decoration: none; }
nav a:hover, .footer a:hover { color: var(--red); text-decoration: underline; }
.hero { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(25px, 5.3vw, 80px); padding-block: clamp(52px, 7.2vw, 110px); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--red); font-size: .72rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 23px; height: 1px; background: currentColor; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; }
h1, .yumi-title { font-size: clamp(68px, 8.4vw, 125px); line-height: .83; letter-spacing: -.075em; margin: 28px 0 22px; color: var(--red); }
h1 em, .yumi-title em { display: block; color: var(--ink); font-size: .48em; line-height: 1; letter-spacing: -.045em; margin-top: 14px; }
.intro { max-width: 31ch; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.62; }
.byline { margin-top: 15px; font-size: 14px; color: var(--muted); }
.button { display: inline-flex; align-items: center; gap: 20px; margin-top: 27px; padding: 13px 19px; color: #fff8ef; background: var(--red); text-decoration: none; font-size: 14px; font-weight: 650; }
.button:hover { background: #67211e; }
.hero-art { padding: 10px 10px 0; border: 1px solid var(--rule); background: #fffaf0; box-shadow: 12px 14px 0 #eadcc8; }
.hero-art img { width: 100%; height: auto; }
figcaption { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); padding: 9px 1px 10px; font-size: .72rem; }
figcaption span:first-child { font: italic .9rem Georgia, serif; }
.story { border-block: 1px solid var(--rule); background: #f0e5d3; }
.story-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 8vw, 115px); align-items: center; padding-block: clamp(38px, 6.5vw, 84px); }
h2 { font-size: clamp(32px, 4vw, 53px); line-height: 1.04; letter-spacing: -.038em; margin-top: 12px; }
.story-copy p, .house p:last-child { font-size: 17px; line-height: 1.7; max-width: 59ch; }
.text-link { display: inline-block; color: var(--red); font-weight: 700; font-size: 14px; text-underline-offset: 4px; margin-top: 16px; }
.house { padding-block: clamp(46px, 7vw, 90px); }
.house p:last-child { margin-top: 15px; }
.contact { background: #752a25; color: #fff6e9; }
.contact-inner { display: flex; justify-content: space-between; align-items: end; gap: 25px; padding-block: 44px; }
.contact .eyebrow { color: #f6d8c1; }
.contact p:last-child { margin-top: 10px; }
.contact-address { font-weight: 650; overflow-wrap: anywhere; }
.footer { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; padding-block: 20px; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 42px); }
  .masthead-inner { align-items: start; flex-direction: column; gap: 14px; padding-block: 13px; }
  .brand { font-size: 20px; }
  .brand img { width: 39px; height: 39px; }
  .hero, .story-inner { grid-template-columns: 1fr; }
  .hero { gap: 33px; padding-top: 40px; padding-bottom: 48px; }
  h1 em br, .yumi-title em br { display: none; }
  .hero-art { box-shadow: 6px 7px 0 #eadcc8; }
  .contact-inner { flex-direction: column; align-items: start; }
}

.shelf { padding-block: clamp(44px, 6vw, 78px); border-bottom: 1px solid var(--rule); }
.shelf-grid, .book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 3vw, 32px); margin-top: 26px; }
.shelf-card { display: block; text-decoration: none; border: 1px solid var(--rule); background: #fffaf0; padding: 12px; }
.shelf-card:hover { border-color: var(--red); }
.shelf-art, .book-art { display: grid; place-items: center; background: #efe3d1; }
.shelf-art { height: clamp(155px, 23vw, 265px); }
.shelf-art img, .book-art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; padding: 14px; }
.shelf-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 13px 0 4px; color: var(--red); }
.shelf-card p { font-size: .8rem; color: var(--muted); }
.catalogue { padding-block: clamp(40px, 7vw, 95px); }
.catalogue-head h1 { font-size: clamp(56px, 9vw, 110px); }
.catalogue-head > p:not(.eyebrow) { max-width: 53ch; line-height: 1.6; }
.catalogue-nav { flex-wrap: wrap; margin-top: 24px; gap: 10px; }
.catalogue-nav a { border: 1px solid var(--rule); padding: 9px 12px; color: var(--red); }
.catalogue-nav a:hover { border-color: var(--red); }
.catalogue-section { padding-top: clamp(32px, 6vw, 70px); scroll-margin-top: 20px; }
.book { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--rule); background: #fffaf0; }
.book-art { height: clamp(180px, 23vw, 295px); }
.book-body { flex: 1; display: flex; flex-direction: column; align-items: start; padding: clamp(12px, 2vw, 22px); }
.book-meta { color: var(--red); font-size: .75rem; font-weight: 650; }
.book h3 { font: 400 clamp(20px, 2.4vw, 30px)/1.12 Georgia, serif; margin: 8px 0; }
.book-body p:not(.book-meta) { font-size: .91rem; line-height: 1.5; padding-bottom: 12px; }
.book-body .text-link { margin-top: auto; }
nav [aria-current="page"] { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 510px) {
  .shelf-grid { grid-template-columns: 1fr; }
  .shelf-art { height: 180px; }
  .book-art { height: 155px; }
  .book-art img { padding: 7px; }
}

.hero-art { width: min(100%, 385px); justify-self: center; }
.hero-art figcaption { flex-wrap: wrap; }
.kalypsa-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 7vw, 92px); padding-block: clamp(44px, 7vw, 90px); border-bottom: 1px solid var(--rule); }
.kalypsa-feature .hero-art { width: min(100%, 300px); }
.kalypsa-feature h2 { color: var(--red); font-size: clamp(48px, 6.4vw, 88px); }
.kalypsa-feature h2 em { display: block; color: var(--ink); font-size: .51em; margin-top: 6px; }
.kalypsa-synopsis { max-width: 55ch; margin-top: 18px; line-height: 1.6; }
.kalypsa-synopsis p + p { margin-top: 10px; }
@media (max-width: 760px) {
  .brand img { width: 50px; height: auto; }
  .kalypsa-feature { grid-template-columns: 1fr; }
  .kalypsa-feature > div { grid-row: 1; }
}

.publisher-banner { background: #752a25; color: #fff6e9; border-bottom: 1px solid #5c201d; }
.publisher-banner-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 4vw, 55px); padding-block: clamp(36px, 6vw, 82px); }
.publisher-logo { width: clamp(102px, 15vw, 180px); height: auto; }
.masthead-nav-only { min-height: 56px; justify-content: flex-end; }
.catalogue-head > .catalogue-contact { margin-top: 20px; color: var(--muted); overflow-wrap: anywhere; }
.publisher-banner .eyebrow { color: #f6d8c1; }
.publisher-banner h1 {
  color: inherit;
  font-size: clamp(42px, 6.7vw, 102px);
  line-height: .98;
  letter-spacing: -.052em;
  margin: 15px 0 19px;
}
.publisher-banner h1 span { display: inline-block; }
.publisher-formats { font-size: clamp(14px, 1.6vw, 18px); color: #ffe2cc; line-height: 1.5; }
.publisher-formats a { text-underline-offset: .2em; }

@media (max-width: 760px) {
  .masthead-nav-only { align-items: center; justify-content: center; }
  .masthead nav { flex-wrap: wrap; }
  .masthead-nav-only nav { justify-content: center; }
}
@media (max-width: 600px) {
  .publisher-banner-inner { grid-template-columns: 1fr; }
  .publisher-logo { width: 94px; }
}

.music-page { padding-block: clamp(40px, 7vw, 88px); }
.music-head > p:last-child { line-height: 1.6; }
.music-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(22px, 7vw, 92px); margin-top: 36px; }
.music-cover { width: min(100%, 440px); padding: 9px; border: 1px solid var(--rule); background: #fffaf0; box-shadow: 9px 10px 0 #eadcc8; }
.music-cover img { width: 100%; height: auto; }
.music-feature h2 { color: var(--red); font-size: clamp(41px, 6vw, 83px); }
.music-feature h2 em { display: block; color: var(--ink); font-size: .55em; margin-top: 5px; }
.music-feature div > p:not(.eyebrow), .music-projects article > p:not(.eyebrow) { max-width: 46ch; line-height: 1.6; }
.music-feature div > p:not(.eyebrow) { margin-top: 15px; }
.music-upcoming { border-top: 1px solid var(--rule); margin-top: clamp(42px, 7vw, 86px); padding-top: 22px; }
.music-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.music-projects article { border: 1px solid var(--rule); background: #fffaf0; padding: clamp(16px, 3vw, 32px); }
.music-projects h3 { font: 400 clamp(27px, 3.6vw, 40px)/1.12 Georgia, serif; margin: 8px 0; }
@media (max-width: 650px) {
  .music-feature, .music-projects { grid-template-columns: 1fr; }
}

.book-detail { padding-block: clamp(30px, 6vw, 76px); }
.back-catalogue { margin: 0 0 24px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(22px, 6vw, 75px); }
.detail-cover { width: min(100%, 390px); padding: 9px; border: 1px solid var(--rule); background: #fffaf0; box-shadow: 8px 9px 0 #eadcc8; }
.detail-cover img { width: 100%; height: auto; }
.book-detail h1 { font-size: clamp(36px, 5.3vw, 74px); line-height: 1.02; letter-spacing: -.045em; margin: 13px 0 19px; }
.detail-summary { max-width: 62ch; line-height: 1.65; }
.detail-summary p + p { margin-top: 10px; }
.detail-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; padding: 16px 0; margin: 18px 0 0; border-block: 1px solid var(--rule); }
.detail-specs dt { font-size: .76rem; font-weight: 700; color: var(--red); }
.detail-specs dd { margin: 4px 0 0; line-height: 1.4; }
.detail-previews { margin-top: clamp(40px, 7vw, 86px); border-top: 1px solid var(--rule); padding-top: 18px; }
.detail-previews > p { margin-top: 8px; color: var(--muted); }
.preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(12px, 3vw, 30px); margin-top: 18px; }
.preview-grid figure { padding: 8px 8px 0; border: 1px solid var(--rule); background: #fffaf0; }
.preview-grid img { width: 100%; height: clamp(120px, 22vw, 320px); object-fit: contain; }
.footer-return { margin-top: 0; gap: 8px; white-space: nowrap; }
.footer a.footer-return:hover { color: #fff8ef; text-decoration: none; }
.preview-grid figcaption { display: block; }
.anchor-alias { display: block; height: 0; }
@media (max-width: 700px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-cover { width: min(76%, 310px); }
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-grid img { height: clamp(105px, 23vw, 160px); }
}

.preview-lightbox {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.preview-lightbox::backdrop { background: rgb(20 16 16 / 92%); }
.preview-lightbox-content {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 4.25rem 1rem 1rem;
}
.preview-lightbox-content form { position: absolute; inset: 0 0 auto; }
.preview-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 5.25rem);
  max-height: calc(100dvh - 5.25rem);
  width: auto;
  height: auto;
  object-fit: contain;
}
.preview-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: #fff8ef;
  color: #3d2222;
  font: 700 2rem/1 system-ui, sans-serif;
  cursor: pointer;
}
.preview-lightbox-close:focus-visible { outline: 2px solid #fff8ef; outline-offset: 4px; }
html:has(.preview-lightbox[open]) { overflow: hidden; }
