:root{
  --navy:#12286B; --navy-deep:#0C1D4F; --saffron:#F28C28; --saffron-text:#B05400; --green:#1B6B3A;
  --paper:#FAF6EE; --white:#fff; --line:#E4DCCB; --ink:#1F2433; --ink-2:#2B3145; --muted:#4A5068; --tint:#DCE2F2;
  --serif:'Playfair Display',Georgia,serif; --sans:'Source Sans 3',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.55}
img{max-width:100%;height:auto}
a{color:var(--navy);text-decoration:none}
a:hover{color:var(--saffron-text)}
:focus-visible{outline:3px solid var(--saffron);outline-offset:2px}
.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip:focus{position:fixed;top:8px;left:8px;background:#fff;padding:10px 14px;z-index:99;border-radius:6px}
.wrap{max-width:1200px;margin:0 auto;padding:0 32px}
.narrow{max-width:820px}
.center{text-align:center}
.muted{color:var(--muted)}
.gap-top{margin-top:48px}
h1,h2,h3{font-family:var(--serif);color:var(--navy);line-height:1.15;margin:0}
.h1{font-size:40px}.h1.xl{font-size:52px}
.h2{font-size:34px}
.lead-dark{font-size:20px;line-height:1.6;color:var(--ink-2);margin:12px 0 0;max-width:700px}
.eyebrow{display:block;font-size:14px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#F4A340}
.eyebrow-navy{color:var(--navy)} .eyebrow-saffron{color:var(--saffron-text)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:6px;border:2px solid transparent;font:700 17px var(--sans);cursor:pointer;text-align:center}
.btn-navy{background:var(--navy);color:#fff}.btn-navy:hover{background:var(--navy-deep);color:#fff}
.btn-saffron{background:var(--saffron);color:var(--navy)}.btn-saffron:hover{background:#FFA24A;color:var(--navy)}
.btn-outline{border-color:var(--navy);color:var(--navy);background:transparent}.btn-outline:hover{background:var(--navy);color:#fff}
.btn-outline-white{border-color:#fff;color:#fff}.btn-outline-white:hover{background:#fff;color:var(--navy)}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

/* header */
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.header-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-top:14px;padding-bottom:14px}
.brand{display:flex;align-items:center;gap:14px}
.brand img{width:56px;height:56px;border-radius:50%;object-fit:cover}
.brand-text{display:flex;flex-direction:column;gap:2px}
.brand-name{font-family:var(--serif);font-weight:700;font-size:21px;color:var(--navy);line-height:1.1}
.brand-tag{font-size:13px;color:var(--muted)}
.main-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;font-weight:600}
.main-nav .btn{min-height:44px;padding:0 20px;font-size:16px;border-radius:6px}
.main-nav .btn-navy{color:#fff}

/* flash */
.flash{padding:14px 0;font-weight:600}.flash-ok{background:#E3F3E8;color:#14532D}.flash-err{background:#FDE8E8;color:#7F1D1D}

/* hero */
.hero{background:var(--navy);color:#fff}
.hero-row{display:flex;flex-wrap:wrap;align-items:center;gap:48px;padding-top:72px;padding-bottom:80px}
.hero-copy{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:24px}
.hero h1{color:#fff;font-size:56px;font-weight:600;line-height:1.08}
.lead{margin:0;font-size:20px;line-height:1.55;color:#DCE2F2;max-width:560px}
.hero-search{display:flex;flex-wrap:wrap;gap:12px;max-width:560px}
.hero-search input{flex:1 1 260px;min-width:0;height:52px;padding:0 18px;border:0;border-radius:6px;font:17px var(--sans)}
.hero-search .btn{height:52px}
.stats{display:flex;flex-wrap:wrap;gap:12px 44px;padding-top:12px}
.stats div{display:flex;flex-direction:column}
.stats strong{font-family:var(--serif);font-size:38px;color:#fff;line-height:1.1}
.stats span{font-size:15px;color:#DCE2F2}
.hero-seal{flex:1 1 360px;display:flex;justify-content:center}
.hero-seal img{width:340px;height:340px;border-radius:50%;object-fit:cover;border:8px solid #fff;box-shadow:0 16px 40px rgba(0,0,0,.35)}

/* sections */
.section{padding:56px 0 24px}.section-lg{padding:64px 0}
.band{padding:64px 0}.band-white{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.band-navy{background:var(--navy);color:#fff}
.section-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:28px}
.more{font-weight:700;color:var(--saffron-text)}
.page-head{background:#fff;border-bottom:1px solid var(--line);padding:40px 0 32px}
.crumbs{padding-top:22px;font-size:15px;color:var(--muted)}.crumbs a{font-weight:600}

.chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.chip{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border:1.5px solid var(--navy);border-radius:999px;font-weight:600;background:#fff}
.chip:hover{background:var(--navy);color:#fff}
.chips.small{margin-top:12px;gap:8px}.chips.small .chip{min-height:36px;padding:0 14px;font-size:15px}
.chip-static{cursor:default}.chip-static:hover{background:#fff;color:var(--navy)}
a.chip-static{cursor:pointer}

/* grids & cards */
.grid{display:grid;gap:28px}
.grid-books{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.grid-authors{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
.grid-new{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:24px}
.grid-cards{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-top:28px}
.grid-quotes{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-top:24px}
.book-card{display:flex;flex-direction:column;gap:12px;color:var(--ink)}
.cover-wrap{position:relative;display:block}
.cover-wrap img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover;box-shadow:0 8px 20px rgba(18,40,107,.18)}
.book-card:hover .cover-wrap img{box-shadow:0 12px 26px rgba(18,40,107,.3)}
.badges{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.badge{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:4px;color:#fff}
.badge-new{background:var(--green)}.badge-offer{background:var(--saffron);color:var(--navy)}.badge-navy{background:var(--navy)}
.book-meta{display:flex;flex-direction:column;gap:3px}
.kicker{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--saffron-text)}
.book-title{font-family:var(--serif);font-size:21px;font-weight:600;color:var(--navy);line-height:1.25}
.book-author{font-size:16px;color:var(--muted)}
.book-formats{font-size:14px;color:var(--muted)}
.new-card{display:flex;gap:20px;padding:20px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink)}
.new-card img{flex:0 0 104px;width:104px;height:156px;object-fit:cover}
.new-meta{display:flex;flex-direction:column;gap:6px;min-width:0;align-items:flex-start}
.author-card{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px;color:var(--ink)}
.author-card:hover{border-color:var(--navy)}
.author-card img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center top;border-radius:4px;background:var(--tint)}
.author-name{font-family:var(--serif);font-size:20px;font-weight:600;color:var(--navy);line-height:1.2}
.author-genres,.author-count{font-size:14px;color:var(--muted)}

.offers-band{background:var(--saffron)}
.offers-row{display:flex;flex-wrap:wrap;align-items:center;gap:28px 48px;padding-top:44px;padding-bottom:44px}
.offers-title{flex:0 1 300px}
.offers-title h2{font-size:30px;margin-top:6px}
.offers-list{flex:1 1 560px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.offer-card{background:#fff;border-radius:8px;padding:18px 20px;display:flex;flex-direction:column;gap:4px;color:var(--navy)}
.offer-card strong{font-size:18px}.offer-card span{font-size:14px;color:var(--muted)}

.feature-author{display:flex;flex-wrap:wrap;align-items:center;gap:48px}
.feature-author img{flex:0 0 320px;width:320px;max-width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center top;border-radius:4px;background:var(--tint)}
.fa-copy{flex:1 1 420px;display:flex;flex-direction:column;gap:16px;min-width:0}
.fa-copy p{margin:0}

.band-navy h2{color:#fff;font-size:38px;margin:12px 0 14px}
.about-intro{max-width:760px}.about-intro p{font-size:19px;line-height:1.6;color:#DCE2F2;margin:0}
.aims{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-top:36px}
.aims div{border:1px solid #3A4F8F;border-radius:8px;padding:24px}
.aims span{font-family:var(--serif);font-size:34px;font-weight:700;color:#F4A340}
.aims p{margin:10px 0 0;font-size:18px;line-height:1.5}
.about-link{margin:28px 0 0}.about-link a{color:#fff;font-weight:700;text-decoration:underline}
.info-card{background:#fff;border:1px solid var(--line);border-radius:8px;padding:26px}
.info-card h3{font-size:23px;font-weight:600}.info-card p{margin:8px 0 0;color:var(--ink-2)}

.quote{margin:0;background:var(--paper);border-radius:8px;padding:28px;display:flex;flex-direction:column;gap:16px}
.quote blockquote{margin:0;font-family:var(--serif);font-size:21px;line-height:1.45;color:var(--navy)}
.quote figcaption{font-size:15px;color:var(--muted)}.quote figcaption a{font-weight:600}
.quote-inline{border-left:4px solid var(--green);border-radius:0;padding:16px 20px;gap:8px}
.quote-inline blockquote{font-size:19px}

.join-box{display:flex;flex-wrap:wrap;gap:40px;align-items:center;justify-content:space-between;background:var(--navy);border-radius:12px;padding:56px 48px}
.join-box>div:first-child{flex:1 1 460px;min-width:0}
.join-box h2{color:#fff;font-size:36px}.join-box p{margin:14px 0 0;font-size:18px;line-height:1.6;color:#DCE2F2}
.join-actions{display:flex;flex-wrap:wrap;gap:14px}

/* footer */
.site-footer{background:var(--navy-deep);color:#DCE2F2;margin-top:0}
.site-footer .wrap{padding-top:56px;padding-bottom:32px}
.footer-top{display:flex;flex-wrap:wrap;gap:40px;justify-content:space-between}
.footer-about{flex:1 1 300px;max-width:420px}
.footer-brand{display:flex;align-items:center;gap:14px;font-family:var(--serif);font-size:20px;font-weight:700;color:#fff}
.footer-brand img{width:52px;height:52px;border-radius:50%;object-fit:cover}
.footer-about p{margin:14px 0 0}
.footer-cols{display:flex;flex-wrap:wrap;gap:40px 64px}
.footer-cols div{display:flex;flex-direction:column;gap:10px}
.footer-cols h2{font:700 16px var(--sans);color:#fff;margin:0}
.footer-cols a{color:#DCE2F2}.footer-cols a:hover{color:#fff;text-decoration:underline}
.copy{border-top:1px solid #2A3F82;margin:36px 0 0;padding-top:20px;font-size:14px;color:#B8C1DC}

/* catalogue */
.catalogue{display:flex;flex-wrap:wrap;gap:36px;align-items:flex-start}
.filters{flex:0 0 260px;max-width:100%;background:#fff;border:1px solid var(--line);border-radius:8px;padding:22px;display:flex;flex-direction:column;gap:16px}
.results{flex:1 1 560px;min-width:0}
.results-top{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;margin-bottom:22px}
.count{margin:0;font-weight:600;color:var(--muted)}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-weight:600;font-size:15px;color:var(--ink-2)}
.field input,.field select,.field textarea{min-height:46px;padding:10px 12px;border:1.5px solid #B8B3A4;border-radius:6px;font:16px var(--sans);background:#fff;color:var(--ink);width:100%}
.field textarea{resize:vertical}
.field.checks label{display:flex;gap:10px;align-items:center;font-weight:400;font-size:16px}
.field.checks input{width:20px;min-height:20px}
.field.actions{flex-direction:row;flex-wrap:wrap;gap:10px}
.filter-row{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;margin-bottom:20px}
.filter-row .field{flex:1 1 220px}.filter-row .actions{flex:0 0 auto}
.letters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px}
.letters a{min-width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:6px;background:#fff;font-weight:600}
.letters a.current,.letters a:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.empty{background:#fff;border:1px dashed #B8B3A4;border-radius:8px;padding:40px;text-align:center}
.pager{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;margin:36px 0 0}
.pager a{min-width:42px;min-height:42px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:6px;background:#fff;font-weight:600}
.pager a.current{background:var(--navy);color:#fff;border-color:var(--navy)}

/* author page */
.author-hero{padding:28px 0 56px}
.author-row{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start}
.author-photo{flex:0 0 300px;width:300px;max-width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center top;border-radius:4px;background:var(--tint)}
.author-intro{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:18px}
.link-row{display:flex;flex-wrap:wrap;gap:8px 28px;font-weight:600}
.book{display:flex;flex-wrap:wrap;gap:44px;padding:48px 0;border-bottom:1px solid var(--line)}
.book:last-child{border-bottom:0}
.book:target{background:#FFF8EC;margin:0 -16px;padding-left:16px;padding-right:16px}
.book-gallery{flex:0 0 320px;max-width:100%;display:flex;flex-direction:column;gap:14px}
.book-main{width:100%;aspect-ratio:2/3;object-fit:cover;box-shadow:0 10px 24px rgba(18,40,107,.2);display:block}
.thumbs{display:flex;flex-wrap:wrap;gap:10px}
.thumb{width:68px;padding:0;border:2px solid transparent;background:none;cursor:pointer}
.thumb.on{border-color:var(--saffron)}
.thumb img{display:block;width:100%;aspect-ratio:2/3;object-fit:cover}
.book-info{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:18px}
.book-info .h1{font-size:36px;margin-top:6px}
.subtitle{margin:6px 0 0;font-size:19px;color:var(--ink-2)}
.offer-box{background:#FFF1DF;border:1px solid #F4A340;border-radius:8px;padding:14px 18px;display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;color:var(--navy)}
.prose{font-size:18px;line-height:1.7;color:var(--ink-2)}
.prose p{margin:0 0 1em}.prose h2,.prose h3,.prose h4{margin:1.4em 0 .5em}.prose ul,.prose ol{padding-left:1.3em}
.prose a{text-decoration:underline}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:0 32px;margin:0;font-size:16px}
.facts div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.facts dt{color:var(--muted)}.facts dd{margin:0;font-weight:600;text-align:right}
.prices{display:flex;flex-wrap:wrap;gap:12px}
.prices div{border:1.5px solid var(--navy);border-radius:8px;padding:12px 20px;display:flex;flex-direction:column}
.prices span{font-size:14px;color:var(--muted)}.prices strong{font-family:var(--serif);font-size:24px;color:var(--navy)}
.buy{display:flex;flex-direction:column;gap:10px}.buy-label{font-size:15px;font-weight:700;color:var(--muted)}
.review-cta{margin:0;font-weight:600}
.two-col{display:flex;flex-wrap:wrap;gap:48px}
.two-col>.prose{flex:2 1 460px;min-width:0}
.side-card{flex:1 1 280px;align-self:flex-start;background:#fff;border:1px solid var(--line);border-radius:8px;padding:26px;display:flex;flex-direction:column;gap:12px}
.side-card h3{font-size:22px;font-weight:600}.side-card a{font-weight:600}

/* lists, forms, misc */
.list-item{display:flex;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.li-body{display:flex;flex-direction:column;gap:4px;min-width:0}
.li-title{font-family:var(--serif);font-size:22px;font-weight:600;color:var(--navy)}
.date-tile{flex:0 0 76px;background:var(--navy);color:#fff;border-radius:8px;padding:10px 6px;text-align:center;display:flex;flex-direction:column;line-height:1.1}
.date-tile strong{font-family:var(--serif);font-size:30px}.date-tile span{font-size:13px}.date-tile.dim{background:#6A7399}
.wide-img{width:100%;height:auto;border-radius:8px;margin:20px 0}
.cta-box{margin-top:36px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:28px}
.cta-box h2{font-size:26px;margin-bottom:8px}
.stack-form{display:flex;flex-direction:column;gap:18px;max-width:620px;margin-top:20px}
.alert{background:#FDE8E8;color:#7F1D1D;padding:12px 16px;border-radius:6px;font-weight:600}
.hp{position:absolute;left:-9999px}

@media (max-width:640px){
  .wrap{padding:0 20px}
  .hero h1{font-size:38px}.h1.xl{font-size:38px}.h2{font-size:28px}
  .hero-row{padding-top:44px;padding-bottom:48px}
  .join-box{padding:36px 24px}
  .hero-seal img{width:240px;height:240px}
  .new-card{flex-direction:column}
  .brand-tag{display:none}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
