/* The books landing page shares the home palette; book detail pages keep their own styles. */
.books-hub{--ink:#f3f5fc;--muted:#a8b1c6;--line:#273149;--blue:#b6b8ff;--lime:#b6b8ff;--paper:#080e1c;--serif:Manrope,Arial,sans-serif;background:#080e1c;color:#f3f5fc;color-scheme:dark}
.books-hub :focus-visible{outline:3px solid #c5b7ff;outline-offset:5px}
.books-hub ::selection{background:#b6b8ff;color:#080e1c}
.books-hub .collection-shell{width:min(1180px,calc(100% - 64px))}
.books-hub .book-site-header{position:relative;height:auto;padding:20px 0 0;background:transparent;color:#f3f5fc;box-shadow:none}
.books-hub .book-nav-shell{width:min(1320px,calc(100% - 40px));min-height:72px;padding:12px 26px;background:#101726;border:1px solid #2b3144;border-radius:48px;gap:24px}
.books-hub .book-brand>span{display:none}.books-hub .book-brand strong{font-size:1.1rem}.books-hub .book-brand strong:after{content:'.'}
.books-hub .book-nav{gap:22px}.books-hub .book-nav a,.books-hub .nav-pill{font-size:.875rem}.books-hub .book-nav a{padding-block:12px}.books-hub .nav-pill{color:#d8d5ff;border-color:#484466}
.books-hub .book-mobile-menu{background:#101a2d;color:#f3f5fc}.books-hub .book-mobile-menu a{font-size:1rem;padding:12px}.books-hub .book-menu-toggle{font-size:.9rem;width:60px}
.books-hub h1,.books-hub h2,.books-hub h3{font-family:Manrope,Arial,sans-serif;letter-spacing:-.045em;font-weight:600}
.hub-hero{display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:60px;padding-block:78px 60px}
.hub-eyebrow{color:#bbb7eb;font-size:.875rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:18px}
.hub-hero h1{font-size:clamp(2.7rem,4.7vw,4.6rem);line-height:1.1;margin:0 0 26px}
.hub-hero h1 span,.hub-section-head h2 span{color:#b6b8ff}
.hub-hero__copy>p:not(.hub-eyebrow){color:#a8b1c6;max-width:550px;font-size:1.08rem;line-height:1.85}
.hub-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.hub-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 21px;border-radius:28px;border:1px solid #b0a2ef55;background:linear-gradient(115deg,#4969cb,#795dcc);color:#fff;font-size:.94rem;font-weight:700;line-height:1.4;text-align:center;transition:transform .2s,box-shadow .2s}
.hub-button:hover{transform:translateY(-2px);box-shadow:0 6px 24px #6853b44d}.hub-button--quiet{background:#ffffff07;border-color:#38405a;color:#e6eaf6}
.hub-hero__copy .hub-note{font-size:.875rem!important;margin:20px 0 0}
.hub-hero__art{display:flex;align-items:center;flex-direction:column;gap:22px;padding:30px 20px;border-radius:24px;border:1px solid #3f3e60;background:radial-gradient(ellipse at 50% 55%,#48406b80,transparent 70%),linear-gradient(130deg,#101a2d,#15172b);box-shadow:0 20px 80px #7363da14;text-align:center}
.hub-hero__art>.hub-eyebrow{margin:0}.hub-hero__art img{height:330px;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(10px 15px 15px #0008);transform:rotate(-5deg);transition:transform .3s}.hub-hero__art:hover img{transform:rotate(0)}.hub-hero__art>span:last-child{font-weight:700;font-size:1.2rem}.hub-hero__art small{display:block;color:#a8b1c6;font-size:.875rem;font-weight:400;margin-top:7px}
.hub-routes{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:72px!important}.hub-routes a{padding:20px 24px;border:1px solid #273149;border-radius:14px;font-weight:700;background:#101828}.hub-routes a:hover{border-color:#b6b8ff}.hub-routes span{display:block;color:#a8b1c6;font-size:.875rem;font-weight:400;margin-top:6px}
.hub-film,.hub-novels{scroll-margin-top:24px;margin-bottom:90px!important}.hub-section-head{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:end;margin-bottom:32px}.hub-section-head h2{font-size:clamp(2rem,3.2vw,3rem);line-height:1.2}.hub-section-head>p{color:#a8b1c6;font-size:1rem;margin:0}.hub-section-head strong{color:#f3f5fc;font-weight:600}
.hub-film video{display:block;width:100%;aspect-ratio:16/9;background:#02050b;object-fit:contain;border:1px solid #38405a;border-radius:18px}
.hub-film__bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px}.hub-film__bottom>p{font-weight:700;margin:0}.hub-film__bottom>p span{display:block;font-size:.875rem;color:#a8b1c6;font-weight:400}.hub-text-link{color:#c4c3ff;text-decoration:underline;text-underline-offset:5px;line-height:1.7}
.hub-books{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.hub-book{display:flex;flex-direction:column;border:1px solid #27334c;border-radius:18px;overflow:hidden;background:#101828}.hub-book__cover{padding:30px;background:radial-gradient(ellipse at 50% 55%,#33365790,transparent 75%)}.hub-book__cover img{width:100%;height:280px;object-fit:contain;filter:drop-shadow(7px 10px 9px #0006);transition:transform .25s}.hub-book__cover:hover img{transform:translateY(-5px)}.hub-book__copy{display:flex;flex-direction:column;flex:1;padding:0 24px 26px}.hub-book__copy>.hub-eyebrow{font-size:.8rem;letter-spacing:.045em;min-height:42px;margin-bottom:10px}.hub-book h3{font-size:1.6rem;line-height:1.22;min-height:64px;margin-bottom:14px}.hub-book__copy>p:not(.hub-eyebrow){color:#a8b1c6;font-size:1rem;line-height:1.8;margin-bottom:22px}.hub-buy{margin-top:auto;display:flex;flex-direction:column;gap:10px}.hub-book__links{display:flex;flex-wrap:wrap;gap:12px 18px;margin-top:20px}.hub-book__links a{font-size:.875rem;color:#c4c3ff;text-decoration:underline;text-underline-offset:5px;padding-block:5px}.hub-reading{border-top:1px solid #273149;margin-top:32px;padding-top:26px}.hub-reading strong{font-size:1.1rem}.hub-reading p{margin:12px 0;color:#a8b1c6;max-width:850px}.hub-reading>span{font-size:.875rem;color:#a8b1c6}
/* Existing language collections retain their contents, with the home's visual language. */
.books-hub .edition-catalogue--english{background:#0d1525;border-block:1px solid #273149;color:#f3f5fc;padding-block:65px}
.books-hub .collection-heading h2,.books-hub .catalan-preview h2{font-size:clamp(2rem,3.2vw,3rem);line-height:1.2}.books-hub .collection-heading h2 em,.books-hub .catalan-preview h2 em{font-style:normal;color:#b6b8ff}
.books-hub .collection-kicker,.books-hub .catalan-preview__eyebrow{font-size:.875rem;color:#bbb7eb}.books-hub .collection-heading>div>p:not(.collection-kicker),.books-hub .edition-card__description{font-size:1rem;color:#a8b1c6}.books-hub .collection-link{font-size:1rem;color:#c4c3ff}
.books-hub .learning-grid{gap:24px;max-width:none}.books-hub .edition-card{padding:24px;background:#131d30;border:1px solid #2d3a56;border-radius:18px}.books-hub .learning-grid .edition-card__art{height:290px;background:transparent}.books-hub .edition-card__meta,.books-hub .edition-card__meta>span{font-size:.875rem;color:#a8b1c6}.books-hub .edition-card h3{font-size:1.6rem}.books-hub .edition-card__actions a{font-size:.875rem;color:#c4c3ff;padding:9px 0}.books-hub .edition-card__actions .amazon-track{border:1px solid #484466;border-radius:24px;padding:10px 16px}.books-hub .workbook-companion{max-width:none;border-radius:18px;border:1px solid #4c456b;background:linear-gradient(120deg,#171d34,#121a2b);color:#f3f5fc}.books-hub .workbook-companion__cover img{border-radius:5px}
.books-hub .catalan-preview{background:#080e1c;color:#f3f5fc;padding-block:65px}.books-hub .catalan-preview__inner{max-width:1180px}.books-hub .catalan-preview__copy>p,.books-hub .catalan-preview__status,.books-hub .catalan-preview__book figcaption p{color:#a8b1c6;font-size:1rem}.books-hub .catalan-preview__book figcaption span{color:#c4c3ff;font-size:.875rem}
.hub-author{display:grid;grid-template-columns:.7fr 1.3fr;gap:50px;align-items:center;padding-block:45px 70px;border-top:1px solid #273149}.hub-author img{border-radius:18px;width:100%;height:auto}.hub-author h2{font-size:2.4rem;margin-bottom:18px}.hub-author p:not(.hub-eyebrow){color:#a8b1c6;font-size:1rem}
.books-hub .book-footer{background:#080e1c;color:#a8b1c6;border-top:1px solid #273149}.books-hub .book-footer a,.books-hub .book-footer p{font-size:.875rem}.books-hub .book-footer__brand>span{background:#b6b8ff;color:#080e1c}
@media(max-width:1100px){.books-hub .book-nav-shell{grid-template-columns:1fr auto}.hub-hero{gap:32px}.hub-book__copy{padding-inline:18px}.hub-book h3{font-size:1.4rem}}
@media(max-width:760px){.books-hub .collection-shell{width:calc(100% - 40px)}.hub-hero{grid-template-columns:1fr;padding-block:40px;gap:32px}.hub-hero h1{font-size:clamp(2.5rem,8.8vw,3.8rem)}.hub-hero__art{padding:24px}.hub-hero__art img{height:250px}.hub-routes{grid-template-columns:1fr;gap:10px;margin-bottom:48px!important}.hub-routes a{padding:16px 20px}.hub-routes span{display:inline;margin-left:8px}.hub-section-head{grid-template-columns:1fr;gap:20px}.hub-film,.hub-novels{margin-bottom:55px!important}.hub-film__bottom{align-items:flex-start;flex-direction:column}.hub-books{grid-template-columns:1fr}.hub-book__cover img{height:285px}.hub-book__copy{padding:0 24px 26px}.hub-book__copy>.hub-eyebrow,.hub-book h3{min-height:0}.hub-book h3{font-size:1.8rem}.hub-buy{flex-direction:row;flex-wrap:wrap}.hub-buy a{flex:1}.hub-author{grid-template-columns:1fr;gap:24px}.hub-author img{max-width:420px}.books-hub .catalan-preview{padding-inline:20px}.books-hub .learning-grid{grid-template-columns:1fr}.books-hub .edition-card{max-width:none}.books-hub .book-nav-shell{padding-inline:20px}.books-hub .book-mobile-menu.is-open{position:absolute;top:100%;left:20px;right:20px;border:1px solid #38405a;border-radius:18px;max-height:75vh;overflow-y:auto;padding:16px}.books-hub .book-mobile-menu a{min-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.books-hub *{transition:none!important}}
.books-hub .book-brand strong{display:block}
