:root {
  color-scheme: light;
  --paper: #fcf8ed;
  --ink: #263d32;
  --muted: #506253;
  --line: #d7dace;
  --display: Georgia, 'Times New Roman', serif;
  font: 16px/1.6 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: inherit; text-decoration: none }
button, summary { cursor: pointer }
:focus-visible { outline: 3px solid #92583e; outline-offset: 4px }
img, svg { display: block }
h1, h2, h3, p { margin: 0 }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.06 }
h2 { font-size: clamp(2.15rem, 5vw, 3.65rem); letter-spacing: -.042em }
p { color: var(--muted) }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto }
.skip { position: absolute; z-index: 20; left: 1rem; top: .5rem; transform: translateY(-150%); padding: .6rem 1rem; background: var(--paper) }
.skip:focus { transform: none }
.site-header { border-bottom: 1px solid #263d321a; position: relative; z-index: 2 }
.header-inner { width: min(1320px, calc(100% - 2rem)); min-height: 69px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem }
.brand { display: inline-flex; flex-direction: column; line-height: 1.05 }
.brand strong { font: 700 clamp(1.25rem, 2.8vw, 1.7rem)/1.1 var(--display); letter-spacing: -.05em }
.brand small { font-size: .7rem; letter-spacing: .16em; margin-top: .24rem }
.desktop-nav { display: none; align-items: center; gap: clamp(1rem, 3vw, 2.7rem); font-size: .9rem; font-weight: 600 }
.desktop-nav a:hover, .footer-inner nav a:hover { text-decoration: underline; text-underline-offset: .3em }
.header-actions { display: flex; align-items: center; gap: .45rem }
.language, .mobile-menu summary { min-width: 44px; min-height: 44px; border: 1px solid var(--line); display: grid; place-content: center; border-radius: 50%; font-size: .75rem; font-weight: 700 }
.mobile-menu summary { list-style: none; gap: 4px }
.mobile-menu summary::-webkit-details-marker { display: none }
.mobile-menu summary span { width: 15px; height: 1px; background: currentColor }
.mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: .5rem 1rem 1rem; border-bottom: 1px solid var(--line) }
.mobile-menu nav a { display: block; padding: .67rem 0 }
.hero { position: relative; isolation: isolate; background: #e6e8d8 }
.hero-image { height: clamp(275px, 53vw, 430px); background: #dde4d3 url('hero.webp') center 53% / cover no-repeat }
.hero-inner { padding-block: 1.8rem 2.4rem; text-align: center }
.hero-copy { max-width: 540px; margin-inline: auto }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .20em; text-transform: uppercase; margin-bottom: .85rem }
h1 { font-size: clamp(2.75rem, 8.6vw, 5.85rem); letter-spacing: -.064em; text-wrap: balance }
.lead { font-size: clamp(1rem, 2vw, 1.19rem); margin: 1rem auto 1.45rem; max-width: 34ch }
.buttons { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .65rem }
.button { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .65rem 1rem; border: 1px solid #385440; border-radius: 100px; color: #fffdf3; background: #385440; font-weight: 650; font-size: .9rem }
.button:hover { background: #263d32 }
.button.outline { color: var(--ink); background: #fcf8edbd; border-color: #70806a }
.button.outline:hover { background: #fffdf3 }
.quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .2rem; padding-block: 1.4rem; max-width: 650px }
.quick a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; font-size: clamp(.69rem, 2.3vw, .93rem); font-weight: 650 }
.quick a:hover { text-decoration: underline; text-underline-offset: .2em }
.quick-icon, .feature-icon { display: grid; place-items: center; border-radius: 50%; width: clamp(44px, 12vw, 65px); aspect-ratio: 1 }
.quick-icon svg, .feature-icon svg { width: 43%; height: auto }
.tint-0 { background: #dce5d2 } .tint-1 { background: #efe0bb } .tint-2 { background: #eed8cc } .tint-3 { background: #d8e6e8 } .tint-4 { background: #e8dfc7 }
.band { padding-block: clamp(3rem, 8vw, 6.5rem); text-align: center }
.worlds { background: #edf0e3 }
.section-title { margin-bottom: clamp(1.5rem, 4vw, 3rem) }
.section-title p, .about p { margin: .72rem auto 0; max-width: 58ch }
.world-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.65rem, 2.2vw, 1.5rem) }
.sage { --tile: #dce5ce } .peach { --tile: #eddbc3 } .lilac { --tile: #e4ddec } .rose { --tile: #efd6c9 } .blue { --tile: #d7e6e7 }
.world-card { min-width: 0; border-radius: clamp(.8rem, 3vw, 1.35rem); background: var(--tile); overflow: hidden; text-align: left; display: flex; flex-direction: column }
.world-card:last-child { grid-column: 1 / -1 }
.world-card:last-child .art { aspect-ratio: 2.4 }
.art { width: 100%; aspect-ratio: 1.35; background-position: center; background-size: cover; background-color: var(--tile, #dce5ce) }
.art-0 { background-image: url('world-0.webp') }.art-1 { background-image: url('world-1.webp') }.art-2 { background-image: url('world-2.webp') }
.art-3 { background-image: url('world-3.webp') }.art-4 { background-image: url('world-4.webp') }.art-5 { background-image: url('world-5.webp') }
.card-copy { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: clamp(.75rem, 2.5vw, 1.65rem) }
.card-copy h3 { font-size: clamp(1.42rem, 4vw, 2.2rem) }
.card-copy p { margin: .45rem 0 .76rem; font-size: clamp(.79rem, 2.2vw, 1rem) }
.card-copy > span { margin-top: auto; font-size: .85rem; font-weight: 700 }
.world-card:hover .card-copy > span, .book:hover > span, .character:hover strong { text-decoration: underline; text-underline-offset: .2em }
.book-grid, .character-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 3vw, 2.3rem); max-width: 780px; margin: auto }
.cover { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: .73; padding: .55rem .35rem; background: var(--tile); border-radius: .25rem .55rem .55rem .25rem; box-shadow: inset 4px 0 #263d321c, 2px 6px 12px #263d3218; overflow: hidden }
.cover .art { aspect-ratio: 1; border-radius: 50%; margin-block: .2rem }
.cover strong { font: 600 clamp(.85rem, 3.2vw, 1.8rem)/1 var(--display) }
.cover small { font-size: clamp(.58rem, 1.8vw, .75rem) }
.book > span { display: block; margin-top: .65rem; font-weight: 650; font-size: .9rem }
.subtle { margin-top: 1.3rem; font-size: .86rem }
.text-link { display: inline-block; margin-top: .7rem; font-weight: 700; text-decoration: underline; text-underline-offset: .22em; padding-block: .35rem }
.characters { background: #f2e7d4 }
.character .art { aspect-ratio: 1; border-radius: 50%; margin-bottom: .7rem }
.character strong, .character small { display: block }
.character small { color: var(--muted) }
.features { padding-block: clamp(1.8rem, 6vw, 4rem) }
.feature { display: flex; align-items: flex-start; gap: clamp(.85rem, 3vw, 1.6rem); padding-block: 1.2rem }
.feature + .feature { border-top: 1px solid var(--line) }
.feature-icon { flex: 0 0 clamp(56px, 13vw, 88px); width: auto; border-radius: .9rem }
.feature h2 { font-size: clamp(1.35rem, 4vw, 2.1rem); letter-spacing: -.025em }
.feature p { margin: .4rem 0; max-width: 58ch }
.feature strong { font-size: .86rem }
.about { background: #e6e9d8 }
.site-footer { background: #283e32; color: #fff9e9; padding: 2.4rem 0 }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; justify-content: space-between; align-items: flex-start }
.footer-inner p { color: inherit; font: italic 1.05rem var(--display); margin-top: .55rem }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; max-width: 360px }
.back-top { text-decoration: underline; text-underline-offset: .2em }
.world-dialog { width: min(90%, 520px); padding: 0; border: none; border-radius: 1rem; background: var(--tile); color: var(--ink); max-height: 85dvh }
.world-dialog::backdrop { background: #1c2b23a8 }
.world-dialog .art { aspect-ratio: 1.75 }
.dialog-copy { padding: 1.5rem }
.dialog-copy p { margin-top: .65rem }
.close { position: absolute; right: .65rem; top: .65rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 1.6rem }
@media (min-width: 760px) {
  .desktop-nav { display: flex }
  .mobile-menu { display: none }
  .hero { display: grid; min-height: clamp(460px, 54vw, 650px); align-items: center }
  .hero-image { position: absolute; inset: 0; height: auto; background-position: 55% 60%; z-index: -2 }
  .hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 20%, #faf6e9bc 59%, #faf6e9ec 100%) }
  .hero-inner { display: flex; justify-content: flex-end; text-align: left }
  .hero-copy { margin-inline: 0; width: 54%; padding-left: 1.4rem }
  .hero h1 { font-size: clamp(3.6rem, 6.3vw, 6.15rem); text-wrap: initial }
  .lead { margin-inline: 0 }
  .buttons { justify-content: flex-start }
  .quick { padding-block: 1.65rem }
  .world-card .art { aspect-ratio: 1.9 }
  .world-card:last-child { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center }
  .world-card:last-child .art { aspect-ratio: 2.6 }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth } }
.desktop-nav ul,.mobile-menu ul,.footer-inner ul { margin: 0; padding: 0; list-style: none }
.desktop-nav ul,.footer-inner ul { display: flex; flex-wrap: wrap; gap: .75rem 1.3rem }
.header-search summary { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; font-size: 1.4rem; list-style: none }
.header-search summary::-webkit-details-marker { display:none }
.header-search > div { position: absolute; z-index: 4; right: 1rem; top: 100%; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: .65rem; max-width: calc(100% - 2rem) }
.search-form input { max-width: 100%; padding: .5rem; font: inherit }
.reading { text-align: left; max-width: 850px }
.reading h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); margin-bottom: 1.2rem }
.reading article + article { border-top: 1px solid var(--line); margin-top: 1.4rem; padding-top: 1.4rem }
.reading img { max-width: 100%; height: auto }
.reading p { margin-block: 1rem }
.art.photo { display:block; object-fit:cover; height:auto }
.book > strong { display:block; margin-top:.6rem }
body.admin-bar .site-header { z-index: 1 }
.catalogue-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:1rem;text-align:left;margin:1.4rem auto }
.catalogue-card { min-width:0;background:#f2ecdc;border-radius:.9rem;overflow:hidden;border:1px solid var(--line);display:flex;flex-direction:column }
.catalogue-card img {width:100%;height:auto;aspect-ratio:4/5;object-fit:contain;background:#f7f1e4}
.catalogue-copy {padding:.9rem;display:flex;flex:1;flex-direction:column;align-items:flex-start}
.catalogue-copy h3 {font-size:clamp(1.05rem,2.4vw,1.35rem);line-height:1.2}
.catalogue-copy p {margin:.3rem 0;font-size:.88rem}
.catalogue-copy .text-link {margin-top:auto;font-size:.85rem}
.product-price {font-weight:700}
.related-products {margin-top:3rem}
.section-links {display:flex;flex-wrap:wrap;justify-content:center;gap:.45rem 1rem;margin-top:1rem}
.character-grid {grid-template-columns:repeat(auto-fit,minmax(128px,1fr))}
.character {padding:.65rem;background:#fff9e9;border-radius:.65rem}
.header-shop {min-height:44px;display:grid;place-items:center;padding:0 .55rem;font-weight:700;font-size:.83rem}
.desktop-nav ul {gap:.6rem 1rem}
.desktop-nav {font-size:.82rem}
@media(min-width:760px) and (max-width:1059px){.desktop-nav{display:none}.mobile-menu{display:block}}
@media(max-width:580px){
  .header-inner{flex-wrap:wrap;justify-content:center;gap:.3rem .6rem;padding:.65rem 0}
  .header-inner > .brand{width:100%;align-items:center}
  .header-actions{justify-content:center;flex-wrap:wrap}
  .quick{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:.75rem}
}
.catalogue-card[hidden],.catalogue-filters[hidden]{display:none}
.catalogue-filters{margin-top:1.6rem}
.catalogue-filters select,.catalogue-filters [data-shbl-reset]{font:inherit;padding:.45rem;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:.5rem}
.catalogue-filters [aria-pressed=true]{background:#385440;color:#fff}
.catalogue-filters [data-shbl-count]{text-align:center;margin-top:.7rem}
.catalogue-copy .original-title{font-style:italic}
.hero-translation{margin-top:.65rem;font-family:var(--display);font-size:clamp(1.3rem,3vw,2rem)}
.entry-hero{padding:clamp(1.1rem,5vw,3rem);background:#e8ead9;border-radius:1.1rem;margin-bottom:1.8rem}
.entry-hero img{width:100%;max-height:440px;object-fit:contain}
.crumbs { margin:0 0 1.65rem; color:var(--muted); font-size:.88rem;text-align:left }
.crumbs ol {display:flex;flex-wrap:wrap;gap:.22rem .55rem;list-style:none;padding:0;margin:0}
.crumbs li+li::before {content:"/";margin-right:.5rem}
.crumbs a,.desktop-nav [aria-current=page],.mobile-menu [aria-current=page] {text-decoration:underline;text-underline-offset:.2em}
.discovery-page {text-align:left}
.discovery-page .entry-hero p {margin-top:.75rem}
.discovery-page .entry-hero h1 {font-size:clamp(2.5rem,7vw,5rem)}
.discovery-page .world-card:last-child .art {min-height:0}
.discovery-page .world-card .card-copy {min-height:8.5rem}
.discovery-page .character-grid {max-width:100%}
.discovery-page .character {min-height:90px;display:grid;align-content:center}
.screen-reader-text:not(:focus) {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.catalogue-filters button,.catalogue-filters select,.search-form button {min-height:44px}
.catalogue-copy .text-link {min-height:44px;display:inline-flex;align-items:center}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .world-card,.character,.catalogue-card,.button {transition:transform .18s ease, box-shadow .18s ease}
 .world-card:hover,.character:hover,.catalogue-card:hover {transform:translateY(-3px);box-shadow:0 .45rem 1.3rem #263d3224}
}
