/* Smart Word Books - V7 "Library" design: navy, emerald and antique gold, matched to the book covers */
:root{--navy:#0c1a2b;--navy2:#132a44;--emerald:#0e5a48;--emerald2:#0a4536;--gold:#c8a04a;--gold2:#e6c67e;--ivory:#fbf8f1;--mist:#eef3f1;--ink:#182230;--muted:#586472;--line:#dde2de;--max:1180px;--serif:Georgia,"Iowan Old Style","Palatino Linotype",Palatino,"Times New Roman",serif;--sans:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:var(--ivory);color:var(--ink);font:18px/1.65 var(--sans);-webkit-text-size-adjust:100%}
img{max-width:100%;height:auto;display:block}
a{color:var(--emerald);text-underline-offset:3px}
a:hover{color:var(--emerald2)}
h1,h2,h3{font-family:var(--serif);line-height:1.15;color:var(--navy);margin:0 0 .5em;font-weight:700}
h1{font-size:clamp(2.1rem,4.6vw,3.7rem)}
h2{font-size:clamp(1.7rem,3vw,2.4rem)}
h3{font-size:1.25rem}
p{margin:0 0 1em}
.wrap{width:min(100% - 40px,var(--max));margin:0 auto}
.skip{position:absolute;left:-999px}.skip:focus{left:12px;top:12px;background:#fff;padding:10px 14px;z-index:100;border-radius:8px}
/* header */
.site-header{background:var(--navy);border-bottom:2px solid var(--gold);position:sticky;top:0;z-index:50}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:76px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff}
.brand-mark{width:44px;height:44px;border-radius:50%;border:2px solid var(--gold);display:grid;place-items:center;font:700 16px var(--serif);color:var(--gold2)}
.brand-text{display:flex;flex-direction:column;line-height:1.15}
.brand-text strong{font:700 1.15rem var(--serif);color:#fff}
.brand-text span{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:#a9b8c9}
nav{display:flex;align-items:center;gap:6px}
nav a{color:#e9eef5;text-decoration:none;font-weight:700;padding:10px 14px;border-radius:10px}
nav a:hover{color:var(--gold2)}
nav a[aria-current="page"]{color:var(--gold2)}
nav a.nav-pill{background:var(--gold);color:var(--navy)}
nav a.nav-pill:hover{background:var(--gold2);color:var(--navy)}
.menu-btn{display:none;background:transparent;border:1px solid rgba(255,255,255,.4);color:#fff;border-radius:10px;font-size:22px;line-height:1;padding:8px 12px;cursor:pointer}
/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:50px;padding:12px 22px;border-radius:12px;font-weight:800;font-size:1rem;text-decoration:none;border:2px solid transparent;cursor:pointer;line-height:1.2}
.btn:focus-visible,nav a:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.btn-gold{background:var(--gold);color:var(--navy)}
.btn-gold:hover{background:var(--gold2);color:var(--navy)}
.btn-ghost{border-color:rgba(255,255,255,.55);color:#fff;background:transparent}
.btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.btn-dark{background:var(--navy);color:#fff}
.btn-dark:hover{background:var(--emerald2);color:#fff}
.btn-outline{border-color:var(--navy);color:var(--navy);background:#fff}
.btn-outline:hover{background:var(--mist);color:var(--navy)}
.btn-sm{min-height:42px;padding:9px 15px;font-size:.92rem}
.cta-row,.buy-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.store-links{margin:10px 0 0;font-size:.95rem;color:var(--muted)}
.notice{font-size:.92rem;color:var(--muted)}
.dark-note{color:#b9c6d6}
/* hero */
.hero{background:radial-gradient(900px 420px at 82% 18%,rgba(200,160,74,.2),transparent 70%),linear-gradient(135deg,var(--navy),var(--emerald2));color:#fff;padding:clamp(44px,7vw,92px) 0}
.hero-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:36px;align-items:center}
.hero h1{color:#fff}
.hero p{color:#dbe5ef;font-size:1.15rem;max-width:620px}
.eyebrow,.kicker{font:800 .78rem var(--sans);letter-spacing:.16em;text-transform:uppercase}
.eyebrow{color:var(--gold2);margin-bottom:14px}
.kicker{color:var(--emerald);margin-bottom:8px}
.section.dark .kicker,.book-hero .kicker{color:var(--gold2)}
.hero-covers{display:flex;gap:18px;justify-content:center;align-items:flex-end}
.hero-covers .cover-frame{width:min(210px,46%)}
.hero-covers .cover-frame:nth-child(1){transform:rotate(-4deg)}
.hero-covers .cover-frame:nth-child(2){transform:rotate(3deg) translateY(-14px)}
.text-link-light{color:#fff;font-weight:700;display:inline-block;margin-top:18px}
/* cover frame */
.cover-frame{position:relative;aspect-ratio:2/3;border-radius:6px;overflow:hidden;background:linear-gradient(160deg,var(--navy2),var(--emerald));box-shadow:0 22px 46px rgba(0,0,0,.32);display:grid;place-items:center;text-align:center;color:var(--gold2);padding:12px;border:1px solid rgba(200,160,74,.6)}
.cover-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cover-fallback{font:700 1rem var(--serif);line-height:1.2}
/* bands & sections */
.statband{background:var(--navy);color:#fff;border-top:1px solid var(--gold);border-bottom:1px solid var(--gold)}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat{padding:22px 16px;text-align:center;border-right:1px solid rgba(255,255,255,.12)}
.stat:last-child{border-right:0}
.stat strong{display:block;font:700 1.7rem var(--serif);color:var(--gold2)}
.stat span{font-size:.92rem;color:#c4d0de}
.section{padding:clamp(46px,6vw,84px) 0}
.section.mist{background:var(--mist)}
.section.dark{background:linear-gradient(160deg,var(--navy),var(--navy2));color:#dbe5ef}
.section.dark h2,.section.dark h3{color:#fff}
.section-head{max-width:780px;margin-bottom:30px}
.section-head p{color:var(--muted);font-size:1.1rem}
.section.dark .section-head p{color:#b9c6d6}
.prose{max-width:800px}
.prose h2{margin-top:1.6em}
.prose h2:first-child{margin-top:0}
.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 8px 24px rgba(12,26,43,.06)}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.book-card{display:grid;grid-template-columns:170px 1fr;gap:24px;align-items:start}
.book-card .cover-frame{width:170px}
.book-card h3{font-size:1.5rem;margin:2px 0 8px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0;list-style:none}
.chips li{background:var(--mist);border:1px solid var(--line);border-radius:999px;padding:5px 12px;font-size:.88rem;font-weight:700;color:var(--navy2)}
.book-hero .chips li,.hero .chips li{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.28);color:#fff}
/* tiles */
.tile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.tile{border-radius:18px;padding:26px;color:#fff;text-decoration:none;min-height:180px;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid rgba(200,160,74,.5);transition:transform .15s}
.tile:hover{transform:translateY(-3px);color:#fff}
.tile h3{color:#fff;margin:0 0 4px;font-size:1.45rem}
.tile span{color:#e3ecf5;font-size:.98rem}
.tile.pt{background:linear-gradient(140deg,#0a3f33,#15705a)}
.tile.hr{background:linear-gradient(140deg,#0c1f3d,#7a1f2b)}
.tile.esl{background:linear-gradient(140deg,#1d2b4a,#5a4a86)}
.tile.eu{background:linear-gradient(140deg,#0f2e46,#1c6f7a)}
.tile.am{background:linear-gradient(140deg,#5a2a14,#a3612a)}
.tile.af{background:linear-gradient(140deg,#1d3b1f,#7a6a1f)}
.tile.as{background:linear-gradient(140deg,#3a1a3f,#a02b4b)}
.pill-list{display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:0;list-style:none}
.pill-list a{display:block;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 16px;font-weight:700;text-decoration:none;color:var(--navy)}
.pill-list a:hover{border-color:var(--gold);background:#fffaf0}
/* gallery */
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.gallery figure{margin:0;border-radius:16px;overflow:hidden;background:#fff;border:1px solid var(--line)}
.gallery figcaption{padding:12px 16px;font-size:.95rem;color:var(--muted)}
.section.dark .gallery figure{background:#0f2238;border-color:rgba(200,160,74,.35)}
.section.dark .gallery figcaption{color:#b9c6d6}
/* book hero */
.book-hero{padding:clamp(40px,5vw,64px) 0;color:#fff;background:linear-gradient(135deg,var(--navy),var(--emerald2))}
.theme-pt .book-hero{background:linear-gradient(135deg,#093a2f,#137356)}
.theme-hr .book-hero{background:linear-gradient(135deg,#0b1d3b,#28376a 62%,#6b1e2b)}
.theme-esl .book-hero{background:linear-gradient(135deg,#182642,#4b4285)}
.theme-eu .book-hero{background:linear-gradient(135deg,#0d2a40,#1c6f7a)}
.theme-am .book-hero{background:linear-gradient(135deg,#4a2010,#a3612a)}
.theme-af .book-hero{background:linear-gradient(135deg,#17331a,#7a6a1f)}
.theme-as .book-hero{background:linear-gradient(135deg,#2e1533,#a02b4b)}
.book-hero h1{color:#fff}
.book-hero .lede{color:#e4ecf4;font-size:1.2rem;max-width:760px}
.breadcrumbs{font-size:.92rem;color:#c9d6e3;margin-bottom:20px}
.breadcrumbs a{color:var(--gold2)}
.book-hero-grid{display:grid;grid-template-columns:280px 1fr;gap:44px;align-items:center}
.section .breadcrumbs{color:var(--muted)}
/* themes, editions, book tiles */
.theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:18px 0}
.theme-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px}
.theme-card h3{margin:0 0 6px;font-size:1.05rem}
.edition-row{display:grid;grid-template-columns:84px 1fr;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 18px;margin:14px 0}
.edition-row .cover-frame{width:84px;box-shadow:0 8px 18px rgba(0,0,0,.25)}
.edition-row strong{display:block;font:700 1.1rem var(--serif);color:var(--navy)}
.edition-row small{display:block;color:var(--muted);margin:2px 0 8px}
.edition-links{display:flex;flex-wrap:wrap;gap:6px 16px;font-weight:800;font-size:.92rem}
.book-tile{display:grid;grid-template-columns:130px 1fr;gap:20px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;box-shadow:0 8px 24px rgba(12,26,43,.06)}
.book-tile .cover-frame{width:130px}
.book-tile h3{margin:2px 0 6px;font-size:1.2rem}
.book-tile p{font-size:.98rem;margin-bottom:.6em}
.tag{display:inline-block;font:800 .72rem var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--emerald);margin-bottom:4px}
.tile-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:20px}
.tile-list.wide{grid-template-columns:repeat(auto-fit,minmax(460px,1fr))}
/* table, faq */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff;margin:14px 0}
.price-table{width:100%;border-collapse:collapse;background:#fff}
.price-table td,.price-table th{padding:12px 16px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.price-table th{background:var(--mist);font-weight:800;color:var(--navy)}
.price-table td:first-child{font-weight:700;color:var(--navy);white-space:nowrap}
details.faq{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 18px;margin:10px 0}
details.faq summary{cursor:pointer;font-weight:800;color:var(--navy)}
details.faq p{margin:10px 0 0}
/* footer */
.site-footer{background:var(--navy);color:#c4d0de;border-top:2px solid var(--gold);padding:44px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:34px}
.footer-title{font:800 .8rem var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--gold2);margin-bottom:10px}
.footer-links a{display:block;color:#dbe5ef;text-decoration:none;padding:4px 0}
.footer-links a:hover{color:var(--gold2)}
.footer-bottom{margin-top:30px;padding-top:18px;border-top:1px solid rgba(255,255,255,.12);font-size:.86rem;color:#93a3b6}
/* responsive */
@media(max-width:960px){.hero-grid,.book-hero-grid{grid-template-columns:1fr}.hero-covers{margin-top:10px}.book-hero .cover-frame{width:min(230px,64%)}.grid-3{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.12)}.footer-grid{grid-template-columns:1fr}}
@media(max-width:900px){.menu-btn{display:block}nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--navy);flex-direction:column;align-items:stretch;padding:10px 20px 18px;border-bottom:2px solid var(--gold)}.site-header.mobile-open nav{display:flex}nav a{padding:14px 10px}.site-header{position:sticky}}
@media(max-width:700px){body{font-size:17px}.grid-2,.gallery{grid-template-columns:1fr}.book-card{grid-template-columns:1fr}.book-card .cover-frame{width:min(190px,56%)}.buy-row .btn,.cta-row .btn{width:100%}.tile-list,.tile-list.wide{grid-template-columns:1fr}.book-tile{grid-template-columns:100px 1fr;gap:14px;padding:16px}.book-tile .cover-frame{width:100px}.edition-row{grid-template-columns:64px 1fr}.edition-row .cover-frame{width:64px}}
@media(max-width:420px){.book-tile{grid-template-columns:1fr}.book-tile .cover-frame{width:120px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.pill-list a{white-space:nowrap}

/* V9 language directory */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.dir-search{margin-top:24px;max-width:560px}
.dir-search input{width:100%;font:inherit;padding:16px 18px;border-radius:14px;border:2px solid rgba(255,255,255,.45);background:#fff;color:var(--ink)}
.dir-search input:focus{outline:3px solid var(--gold);border-color:var(--gold)}
.filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px}
.chip{font:800 .95rem var(--sans);padding:10px 16px;border-radius:999px;border:2px solid var(--line);background:#fff;color:var(--navy);cursor:pointer}
.chip:hover{border-color:var(--gold)}
.chip.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.cover-wall{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:28px 22px}
.cover-wall a{display:block;text-align:center;text-decoration:none;color:var(--navy)}
.cover-wall .wall-cover{display:block;aspect-ratio:2/3;border-radius:6px;overflow:hidden;box-shadow:0 14px 28px rgba(12,26,43,.25);border:1px solid rgba(200,160,74,.55);background:linear-gradient(160deg,var(--navy2),var(--emerald));transition:transform .15s}
.cover-wall a:hover .wall-cover{transform:translateY(-4px)}
.cover-wall img{width:100%;height:100%;object-fit:cover}
.cover-wall .name{display:block;margin-top:10px;font:700 1.08rem var(--serif)}
.cover-wall small{display:block;color:var(--muted);font-size:.8rem}
.cover-wall li[hidden]{display:none}
@media(max-width:700px){.cover-wall{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:22px 14px}.cover-wall .name{font-size:.98rem}}


/* ==============================================================
   SMART WORD BOOKS V10 — "GRAND TOUR LIBRARY"
   Editorial, cinematic, interactive, and deliberately less card-like.
   ============================================================== */

:root{
  --night:#06111d;
  --night2:#0a1b2c;
  --inkblue:#102b46;
  --emerald3:#0b4437;
  --emerald4:#12614f;
  --sapphire:#133d66;
  --gold3:#d8ae55;
  --gold4:#f0d38e;
  --paper:#f3efe5;
  --paper2:#e9e1d2;
  --red:#7c1e26;
}
body{background:var(--night);color:#1b2633;font-size:18px;overflow-x:hidden}
main{background:var(--paper)}
.wrap{width:min(100% - 48px,1240px)}
.site-header{
  background:rgba(6,17,29,.94);
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(216,174,85,.5);
}
.header-inner{min-height:88px}
.brand-mark{width:52px;height:52px;border-radius:50%;font-size:17px;box-shadow:0 0 0 5px rgba(216,174,85,.07)}
.brand-text strong{font-size:1.34rem;letter-spacing:.01em}
.brand-text span{font-size:.7rem;color:#b9c7d5}
nav{gap:10px}
nav a{font-size:1.06rem;padding:12px 14px;border-radius:0;border-bottom:2px solid transparent}
nav a:hover{border-bottom-color:var(--gold3)}
nav a.nav-pill{border:1px solid var(--gold3);background:transparent;color:var(--gold4);border-radius:999px;padding-inline:19px}
nav a.nav-pill:hover{background:var(--gold3);color:var(--night);border-bottom-color:var(--gold3)}
.btn{border-radius:999px;min-height:54px;padding:14px 24px;letter-spacing:.01em}
.btn-large{min-height:60px;padding:17px 28px;font-size:1.05rem}
.btn-gold{background:linear-gradient(180deg,var(--gold4),var(--gold3));color:#102033;box-shadow:0 14px 34px rgba(216,174,85,.14)}
.btn-gold:hover{background:#f4d998}
.btn-dark{background:var(--night2)}
.btn-outline{background:transparent}
.micro-label,.eyebrow,.kicker{font:800 .78rem var(--sans);letter-spacing:.19em;text-transform:uppercase}
.micro-label{color:var(--gold3)}
.story-link{font-weight:850;text-decoration:none;color:var(--emerald3);display:inline-block;border-bottom:1px solid currentColor;padding-bottom:2px}
.story-link-light{color:var(--gold4)}
.atlas-lines{
  position:absolute;inset:0;pointer-events:none;opacity:.18;
  background:
    radial-gradient(circle at 20% 30%,transparent 0 120px,rgba(240,211,142,.22) 121px 122px,transparent 123px),
    radial-gradient(circle at 80% 70%,transparent 0 210px,rgba(240,211,142,.16) 211px 212px,transparent 213px),
    repeating-linear-gradient(90deg,transparent 0 79px,rgba(255,255,255,.08) 80px 81px),
    repeating-linear-gradient(0deg,transparent 0 79px,rgba(255,255,255,.06) 80px 81px);
  mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent)
}

/* Cinematic hero */
.hero-cinematic{
  position:relative;isolation:isolate;overflow:hidden;
  background:
    radial-gradient(800px 520px at 78% 46%,rgba(216,174,85,.18),transparent 70%),
    radial-gradient(700px 480px at 18% 30%,rgba(18,97,79,.3),transparent 68%),
    linear-gradient(135deg,#04101c 0%,#081b2c 52%,#0a3b31 100%);
  color:#fff;padding:clamp(56px,7vw,104px) 0 64px;
}
.hero-cinematic:before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(115deg,rgba(255,255,255,.02),transparent 30%,rgba(255,255,255,.018) 65%,transparent)
}
.hero-cinematic-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(480px,1.1fr);gap:40px;align-items:center;position:relative;z-index:2}
.hero-copy h1{font-size:clamp(3rem,6.3vw,6.1rem);line-height:.92;color:#fff;letter-spacing:-.045em;margin-bottom:.34em}
.hero-copy h1 em{font-weight:500;color:var(--gold4);font-style:italic}
.hero-copy p{font-size:clamp(1.06rem,1.5vw,1.28rem);line-height:1.7;color:#d7e1eb;max-width:680px}
.hero-proof{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:25px;color:#b9cad7;font-weight:700;font-size:.9rem}
.hero-proof span{position:relative}
.hero-proof span+span:before{content:"◆";font-size:.48rem;color:var(--gold3);position:absolute;left:-14px;top:.45em}
.hero-orbit{position:absolute;border:1px solid rgba(216,174,85,.2);border-radius:50%;pointer-events:none}
.hero-orbit-one{width:560px;height:560px;right:-170px;top:-240px}
.hero-orbit-two{width:760px;height:760px;right:-260px;top:-320px}

/* Coverflow */
.coverflow{position:relative;min-height:610px;display:flex;align-items:center;justify-content:center}
.coverflow-stage{position:absolute;left:0;right:0;top:4px;height:430px;perspective:1400px}
.coverflow-slide{
  position:absolute;left:50%;top:50%;width:225px;aspect-ratio:2/3;
  transform:translate(-50%,-50%) scale(.66);opacity:0;pointer-events:none;
  transition:transform .72s cubic-bezier(.22,.7,.18,1),opacity .5s,filter .5s;
  border-radius:8px;filter:saturate(.7) brightness(.72);
}
.coverflow-slide img{width:100%;height:100%;object-fit:cover;border-radius:8px;box-shadow:0 35px 70px rgba(0,0,0,.52);border:1px solid rgba(240,211,142,.5)}
.coverflow-slide.is-active{transform:translate(-50%,-50%) translateZ(120px) scale(1.08);opacity:1;z-index:5;pointer-events:auto;filter:none}
.coverflow-slide.is-prev{transform:translate(-50%,-50%) translateX(-185px) rotateY(34deg) scale(.84);opacity:.82;z-index:4;pointer-events:auto}
.coverflow-slide.is-next{transform:translate(-50%,-50%) translateX(185px) rotateY(-34deg) scale(.84);opacity:.82;z-index:4;pointer-events:auto}
.coverflow-slide.is-far-prev{transform:translate(-50%,-50%) translateX(-330px) rotateY(48deg) scale(.62);opacity:.34;z-index:2}
.coverflow-slide.is-far-next{transform:translate(-50%,-50%) translateX(330px) rotateY(-48deg) scale(.62);opacity:.34;z-index:2}
.cover-glow{position:absolute;inset:12%;filter:blur(40px);background:rgba(216,174,85,.25);z-index:-1}
.coverflow-caption{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);width:min(520px,86%);text-align:center}
.coverflow-caption h2{color:#fff;font-size:2rem;margin:.15em 0 .25em}
.coverflow-caption p{color:#cbd8e4;font-size:.92rem;line-height:1.5;margin-bottom:.6em}
.coverflow-arrow{
  position:absolute;top:210px;z-index:8;width:52px;height:52px;border-radius:50%;
  border:1px solid rgba(240,211,142,.55);background:rgba(6,17,29,.7);color:var(--gold4);
  font-size:2rem;line-height:1;cursor:pointer;display:grid;place-items:center
}
.coverflow-prev{left:8px}.coverflow-next{right:8px}
.coverflow-arrow:hover{background:var(--gold3);color:var(--night)}
.coverflow-dots{position:absolute;bottom:0;display:flex;gap:8px;left:50%;transform:translateX(-50%)}
.coverflow-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#6f8190;cursor:pointer}
.coverflow-dot.is-active{width:28px;border-radius:99px;background:var(--gold3)}

/* Signature band */
.signature-band{background:#07131f;color:#fff;border-block:1px solid rgba(216,174,85,.45)}
.signature-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.signature-grid>div{padding:26px 20px;text-align:center;position:relative}
.signature-grid>div+div:before{content:"";position:absolute;left:0;top:25%;bottom:25%;width:1px;background:rgba(255,255,255,.14)}
.signature-grid strong{display:block;color:var(--gold4);font:700 2rem var(--serif)}
.signature-grid span{color:#aebdca;font-size:.9rem}

/* Editorial headings */
.editorial-heading{max-width:790px;margin-bottom:34px}
.editorial-heading h2{font-size:clamp(2.4rem,4.7vw,4.7rem);line-height:1;letter-spacing:-.035em;margin:.14em 0 .28em}
.editorial-heading p{font-size:1.08rem;color:#66717c}
.editorial-heading.center{text-align:center;margin-inline:auto}

/* Favorites */
.favorites-section{padding:clamp(70px,8vw,110px) 0;background:#f0eadf}
.favorite-spread{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:stretch}
.favorite-lead{
  position:relative;min-height:650px;display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;
  text-decoration:none;overflow:hidden;background:
  radial-gradient(500px 300px at 25% 30%,rgba(216,174,85,.18),transparent 65%),
  linear-gradient(140deg,#073b30,#08231f 70%);color:#fff;padding:48px;
}
.favorite-lead:after{content:"PORTUGAL";position:absolute;right:-10px;bottom:-30px;color:rgba(255,255,255,.035);font:700 8rem var(--serif);letter-spacing:.02em}
.favorite-lead-cover{transform:rotate(-4deg);filter:drop-shadow(0 28px 40px rgba(0,0,0,.42));z-index:2}
.favorite-lead-cover img{width:min(330px,100%);margin:auto;border:1px solid rgba(240,211,142,.55)}
.favorite-lead-copy{position:relative;z-index:3;padding-left:16px}
.favorite-lead-copy h3{font-size:clamp(3rem,5vw,5.6rem);color:#fff;margin:.08em 0 .18em}
.favorite-lead-copy p{color:#d6e3df;line-height:1.65}
.favorite-rail{display:grid;grid-template-rows:repeat(3,1fr);gap:0;border-block:1px solid #c8bda9}
.favorite-mini{display:grid;grid-template-columns:128px 1fr;gap:24px;align-items:center;text-decoration:none;color:inherit;padding:22px 4px;border-bottom:1px solid #c8bda9}
.favorite-mini:last-child{border-bottom:0}
.favorite-mini-cover img{width:112px;box-shadow:0 15px 28px rgba(0,0,0,.18);transition:transform .25s}
.favorite-mini:hover .favorite-mini-cover img{transform:translateY(-5px) rotate(-2deg)}
.favorite-mini h3{font-size:2rem;margin:.05em 0 .15em}
.favorite-mini p{font-size:.92rem;color:#69737b;margin-bottom:.35em}

/* World regions */
.world-intro{padding:95px 0 42px;background:#fff}
.region-story{position:relative;overflow:hidden;color:#fff;min-height:530px;display:flex;align-items:center}
.region-story-inner{position:relative;z-index:2;display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:center;padding-block:72px}
.region-copy{max-width:570px}
.region-copy h2{color:#fff;font-size:clamp(3.2rem,7vw,6.8rem);line-height:.9;letter-spacing:-.045em;margin:.1em 0 .22em}
.region-copy p{color:#d1dce5;font-size:1.08rem}
.region-number{display:block;color:rgba(240,211,142,.33);font:700 4.6rem/1 var(--serif)}
.region-europe{background:linear-gradient(110deg,#081828,#123b42)}
.region-asia{background:linear-gradient(110deg,#2e1133,#6d1c3c)}
.region-africa{background:linear-gradient(110deg,#112715,#4e4d12)}
.region-americas{background:linear-gradient(110deg,#351607,#8b4d1e)}
.cover-deck{position:relative;height:380px}
.cover-deck img{
  position:absolute;width:210px;box-shadow:0 26px 52px rgba(0,0,0,.42);border:1px solid rgba(240,211,142,.55);
  transition:transform .35s ease
}
.cover-deck:hover img{filter:saturate(1.08)}
.deck-a{left:7%;top:40px;transform:rotate(-10deg)}
.deck-b{left:29%;top:5px;transform:rotate(-2deg);z-index:3}
.deck-c{left:51%;top:28px;transform:rotate(5deg);z-index:2}
.deck-d{left:71%;top:65px;transform:rotate(11deg)}
.cover-deck:hover .deck-a{transform:translateX(-8px) rotate(-12deg)}
.cover-deck:hover .deck-b{transform:translateY(-10px) rotate(-2deg)}
.cover-deck:hover .deck-c{transform:translateY(-6px) rotate(6deg)}
.cover-deck:hover .deck-d{transform:translateX(8px) rotate(13deg)}

/* Inside editorial */
.inside-editorial{padding:100px 0;background:#f4efe5}
.inside-collage{display:grid;grid-template-columns:1.35fr .65fr;grid-template-rows:320px 280px;gap:16px}
.inside-collage button{border:0;padding:0;overflow:hidden;cursor:zoom-in;position:relative;background:#081523}
.inside-collage img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.inside-collage button:hover img{transform:scale(1.025)}
.inside-large{grid-row:1/3}.inside-tall{grid-column:2}.inside-small{grid-column:2;display:none}
.inside-collage span{position:absolute;left:18px;bottom:16px;background:rgba(6,17,29,.78);color:#fff;padding:8px 13px;font-weight:800}

/* Shelf */
.shelf-section{padding:90px 0 100px;background:#07131f;color:#fff}
.shelf-section .editorial-heading h2{color:#fff}.shelf-section .editorial-heading p{color:#aebdca}
.shelf-heading{display:flex;align-items:end;justify-content:space-between;gap:30px}
.shelf-controls{display:flex;gap:10px;margin-bottom:34px}
.shelf-controls button{width:50px;height:50px;border-radius:50%;border:1px solid #516477;background:transparent;color:#fff;font-size:1.4rem;cursor:pointer}
.shelf-controls button:hover{border-color:var(--gold3);color:var(--gold4)}
.book-shelf{display:flex;gap:26px;overflow-x:auto;scroll-snap-type:x mandatory;padding:10px 4px 32px;scrollbar-width:none}
.book-shelf::-webkit-scrollbar{display:none}
.shelf-book{flex:0 0 190px;scroll-snap-align:start;text-decoration:none;color:#fff;text-align:center}
.shelf-cover{display:block;aspect-ratio:2/3;margin-bottom:12px;perspective:1000px}
.shelf-cover img{width:100%;height:100%;object-fit:cover;box-shadow:0 22px 42px rgba(0,0,0,.48);border:1px solid rgba(240,211,142,.38);transition:transform .32s,box-shadow .32s}
.shelf-book:hover img{transform:translateY(-9px) rotateY(-5deg);box-shadow:12px 30px 55px rgba(0,0,0,.55)}
.shelf-book strong{font:700 1.1rem var(--serif)}
.center-cta{text-align:center;margin-top:28px}

/* Final series CTA */
.series-finale{position:relative;overflow:hidden;background:linear-gradient(135deg,#0b4437,#06111d 72%);color:#fff;padding:100px 0}
.finale-inner{position:relative;z-index:2;text-align:center;max-width:850px}
.finale-inner h2{font-size:clamp(3rem,6vw,6rem);line-height:.95;color:#fff;margin:.15em 0}
.finale-inner p{font-size:1.2rem;color:#c6d6d2}
.finale-inner .buy-row{justify-content:center}

/* Make existing internal pages more editorial / less boxed */
.section{padding:clamp(58px,7vw,92px) 0;background:#f3efe5}
.section.mist{background:#e8e1d4}
.section.dark{background:linear-gradient(140deg,#06111d,#102b46)}
.card{border:0;border-radius:0;box-shadow:none;background:transparent}
.book-card{border-top:1px solid #bfb3a0;padding:30px 0;background:transparent}
.tile-grid{gap:0;border-top:1px solid #bfb3a0}
.tile{border:0;border-bottom:1px solid rgba(255,255,255,.16);border-radius:0;min-height:210px;padding:32px}
.tile:hover{transform:none;filter:brightness(1.08)}
.theme-card{background:transparent;border:0;border-left:3px solid var(--gold3);border-radius:0;padding:8px 0 8px 18px}
.edition-row{background:transparent;border:0;border-bottom:1px solid #c8bda9;border-radius:0;padding:18px 0}
details.faq{background:transparent;border:0;border-bottom:1px solid #c8bda9;border-radius:0;padding:17px 0}
.table-wrap{border-radius:0}
.tile-list{gap:0 50px}
.book-tile{background:transparent;border:0;border-bottom:1px solid #c8bda9;border-radius:0;box-shadow:none;padding:26px 0}
.book-tile .cover-frame{box-shadow:0 14px 28px rgba(0,0,0,.2)}
.catalog-title-link{text-decoration:none;color:inherit}
.details-link{display:block;font-weight:800;margin:8px 0 12px;color:var(--emerald3);text-decoration:none}
.book-hero{position:relative;overflow:hidden;padding:70px 0}
.book-hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 89px,rgba(255,255,255,.04) 90px 91px)}
.book-hero-grid{position:relative;z-index:2}
.book-hero h1{font-size:clamp(2.8rem,5vw,5.2rem);letter-spacing:-.035em}
.cover-frame{border-radius:4px}
.pill-list a{background:transparent;border:1px solid #b7aa95;border-radius:999px}
.gallery{gap:12px}
.gallery figure{border-radius:0;border:0}
.footer-about{font-size:.95rem;max-width:390px;margin-top:14px}

/* Featured language pages */
.featured-book-hero{padding:76px 0 84px}
.featured-cover-wrap{display:flex;justify-content:center}
.featured-cover{width:min(300px,80%);transform:rotate(-2.5deg);box-shadow:0 32px 62px rgba(0,0,0,.48)}
.theme-hungarian .featured-book-hero{background:linear-gradient(130deg,#29120f,#691d23 55%,#15332b)}
.theme-serbian .featured-book-hero{background:linear-gradient(130deg,#071b3c,#1f4780 55%,#6f1f2a)}
.theme-bosnian .featured-book-hero{background:linear-gradient(130deg,#063b61,#0d5c8c 58%,#b39128)}
.theme-slovenian .featured-book-hero{background:linear-gradient(130deg,#0b2443,#315c8b 55%,#1d5b45)}
.theme-albanian .featured-book-hero{background:linear-gradient(130deg,#16090a,#511015 56%,#8b151d)}
.theme-vietnamese .featured-book-hero{background:linear-gradient(130deg,#46120e,#8b261c 58%,#9a6e18)}
.feature-detail{padding:88px 0;background:#f3efe5}
.feature-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.feature-intro h2{font-size:clamp(2.4rem,4vw,4rem)}
.feature-intro p{font-size:1.08rem;color:#5b6671}
.feature-facts{display:grid;grid-template-columns:1fr 1fr;border-block:1px solid #bcae97}
.feature-facts>div{padding:25px 18px;border-bottom:1px solid #c8bda9}
.feature-facts>div:nth-last-child(-n+2){border-bottom:0}
.feature-facts strong{display:block;font:700 2rem var(--serif);color:var(--night2)}
.feature-facts span{color:#69737c}
.feature-why{padding:92px 0;background:#e7dfd0}
.feature-lines{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #b8aa92}
.feature-lines>div{padding:30px 30px 15px 0;border-right:1px solid #b8aa92}
.feature-lines>div+div{padding-left:30px}
.feature-lines>div:last-child{border-right:0}
.feature-lines span{font:700 2.6rem var(--serif);color:#b59a61}
.feature-lines h3{font-size:1.45rem}
.related-section{padding:92px 0;background:#f3efe5}
.related-row{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.related-book{display:grid;grid-template-columns:90px 1fr;gap:18px;align-items:center;text-decoration:none;color:inherit;border-top:1px solid #bfb3a0;padding-top:18px}
.related-book img{width:90px;box-shadow:0 13px 25px rgba(0,0,0,.2)}
.related-book strong{display:block;font:700 1.25rem var(--serif)}
.related-book small{color:#6d767f}

/* Directory upgrade */
.directory-tools{
  position:sticky;top:88px;z-index:20;background:rgba(243,239,229,.94);backdrop-filter:blur(14px);
  padding:14px 0 10px;margin:4px 0 10px;border-bottom:1px solid #c7baa5
}
.cover-wall{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:34px 24px}
.cover-wall li{position:relative}
.cover-wall .wall-cover{border-radius:4px;border:0;box-shadow:0 18px 35px rgba(6,17,29,.25);transition:transform .25s,box-shadow .25s}
.cover-wall a:hover .wall-cover{transform:translateY(-8px) rotateY(-3deg);box-shadow:10px 24px 46px rgba(6,17,29,.33)}
.quick-view{
  border:0;background:transparent;color:var(--emerald3);font-weight:800;font-size:.86rem;cursor:pointer;
  margin:6px auto 0;display:block;text-decoration:underline;text-underline-offset:3px
}
.quick-dialog{width:min(820px,92vw);border:0;padding:0;background:#f3efe5;box-shadow:0 40px 100px rgba(0,0,0,.46)}
.quick-dialog::backdrop{background:rgba(3,10,17,.76);backdrop-filter:blur(5px)}
.dialog-close{position:absolute;right:14px;top:12px;width:42px;height:42px;border-radius:50%;border:0;background:#07131f;color:#fff;font-size:1.5rem;cursor:pointer;z-index:3}
.quick-dialog-grid{display:grid;grid-template-columns:280px 1fr;gap:34px;align-items:center;padding:42px}
.quick-dialog-cover img{width:100%;box-shadow:0 22px 42px rgba(0,0,0,.25)}
.quick-dialog-copy h2{font-size:2.5rem}
.quick-dialog-copy p{color:#626d76}

/* Lightbox */
.lightbox-dialog{width:min(1200px,94vw);max-height:92vh;padding:0;border:0;background:#07131f;box-shadow:0 40px 100px rgba(0,0,0,.6)}
.lightbox-dialog::backdrop{background:rgba(0,0,0,.82)}
.lightbox-dialog img{max-width:100%;max-height:88vh;margin:auto}
.lightbox-close{position:absolute;right:14px;top:14px;z-index:4;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(6,17,29,.78);color:#fff;font-size:1.5rem;cursor:pointer}

/* Reveal + back to top */
.reveal-ready{opacity:0;transform:translateY(24px);transition:opacity .65s ease,transform .65s ease}
.reveal-ready.is-visible{opacity:1;transform:none}
.back-top{position:fixed;right:18px;bottom:18px;width:50px;height:50px;border-radius:50%;border:1px solid var(--gold3);background:#07131f;color:var(--gold4);display:grid;place-items:center;z-index:40;opacity:0;pointer-events:none;transition:.25s;cursor:pointer}
.back-top.show{opacity:1;pointer-events:auto}

/* responsive */
@media(max-width:1080px){
  .hero-cinematic-grid{grid-template-columns:1fr}
  .hero-copy{text-align:center}.hero-copy p{margin-inline:auto}.hero-copy .cta-row,.hero-copy .hero-proof{justify-content:center}
  .coverflow{min-height:580px}
  .favorite-spread{grid-template-columns:1fr}
  .favorite-lead{min-height:560px}
  .region-story-inner{grid-template-columns:1fr 1fr}
  .cover-deck img{width:175px}
}
@media(max-width:820px){
  .wrap{width:min(100% - 32px,1240px)}
  .signature-grid{grid-template-columns:1fr 1fr}
  .signature-grid>div:nth-child(3):before{display:none}
  .favorite-lead{grid-template-columns:1fr;min-height:auto;text-align:center}
  .favorite-lead-cover img{max-width:250px}.favorite-lead-copy{padding:28px 0 0}
  .favorite-mini{grid-template-columns:95px 1fr}
  .region-story-inner{grid-template-columns:1fr}.cover-deck{height:300px}.region-copy{text-align:center;margin:auto}
  .cover-deck img{width:155px}.deck-a{left:8%}.deck-b{left:28%}.deck-c{left:48%}.deck-d{left:68%}
  .inside-collage{grid-template-columns:1fr;grid-template-rows:420px 330px}
  .inside-large{grid-row:auto}.inside-tall{grid-column:auto}.inside-small{display:none}
  .feature-detail-grid{grid-template-columns:1fr}.feature-lines{grid-template-columns:1fr}.feature-lines>div{border-right:0;border-bottom:1px solid #b8aa92;padding:24px 0!important}.feature-lines>div:last-child{border-bottom:0}
  .related-row{grid-template-columns:1fr}
  .quick-dialog-grid{grid-template-columns:190px 1fr;padding:34px}
}
@media(max-width:700px){
  .header-inner{min-height:74px}.directory-tools{top:74px}
  .hero-cinematic{padding-top:48px}.hero-copy h1{font-size:clamp(2.75rem,14vw,4.5rem)}
  .coverflow-stage{height:360px}.coverflow{min-height:535px}.coverflow-slide{width:178px}
  .coverflow-slide.is-prev{transform:translate(-50%,-50%) translateX(-125px) rotateY(32deg) scale(.72)}
  .coverflow-slide.is-next{transform:translate(-50%,-50%) translateX(125px) rotateY(-32deg) scale(.72)}
  .coverflow-slide.is-far-prev,.coverflow-slide.is-far-next{opacity:0}
  .coverflow-arrow{top:175px;width:44px;height:44px}
  .signature-grid{grid-template-columns:1fr 1fr}.signature-grid>div{padding:20px 8px}
  .editorial-heading h2{font-size:2.75rem}
  .favorite-lead{padding:32px 22px}.favorite-mini{padding:18px 0}
  .region-story{min-height:630px}.region-story-inner{padding-block:58px}.cover-deck{height:260px}
  .cover-deck img{width:128px}.deck-a{left:4%}.deck-b{left:25%}.deck-c{left:47%}.deck-d{left:68%}
  .shelf-heading{display:block}.shelf-controls{margin-top:-10px}.shelf-book{flex-basis:150px}
  .quick-dialog-grid{grid-template-columns:1fr;padding:30px}.quick-dialog-cover img{width:180px;margin:auto}.quick-dialog-copy{text-align:center}
}
@media(max-width:440px){
  .coverflow-slide{width:158px}.coverflow-slide.is-prev{transform:translate(-50%,-50%) translateX(-104px) rotateY(30deg) scale(.66)}.coverflow-slide.is-next{transform:translate(-50%,-50%) translateX(104px) rotateY(-30deg) scale(.66)}
  .favorite-mini{grid-template-columns:78px 1fr;gap:16px}.favorite-mini h3{font-size:1.55rem}.favorite-mini p{display:none}
  .cover-deck img{width:112px}.deck-a{left:0}.deck-b{left:23%}.deck-c{left:46%}.deck-d{left:69%}
}
@media(prefers-reduced-motion:reduce){
  .coverflow-slide,.shelf-cover img,.cover-deck img,.reveal-ready{transition:none!important}
  .reveal-ready{opacity:1!important;transform:none!important}
}


/* ============================================================
   V11 REFINEMENT
   - Moderate typography (not "large print everywhere")
   - Stronger Reader Favorites
   - Dark transition sections
   - Regional hero cover fans
   - Visual All Languages collections
   - Bigger catalog covers, less empty whitespace
   ============================================================ */

/* TYPOGRAPHY: still readable, but much less oversized than V10 */
body{font-size:17px;line-height:1.65}
nav a{font-size:1rem}
.brand-text strong{font-size:1.22rem}
.brand-text span{font-size:.67rem}
.hero-copy h1{font-size:clamp(2.7rem,5vw,4.9rem);line-height:.96}
.hero-copy p{font-size:clamp(1rem,1.25vw,1.14rem)}
.editorial-heading h2{font-size:clamp(2rem,3.7vw,3.65rem);line-height:1.04}
.favorite-spotlight-copy h3{font-size:clamp(2.5rem,4.2vw,4.2rem)}
.favorite-story h3{font-size:1.65rem}
.region-copy h2{font-size:clamp(2.7rem,5.3vw,5rem);line-height:.94}
.region-number{font-size:3.5rem}
.finale-inner h2{font-size:clamp(2.65rem,4.8vw,4.55rem)}
.book-hero h1{font-size:clamp(2.35rem,4vw,4rem);line-height:1.04}
.book-hero .lede{font-size:1.06rem;line-height:1.65}
.feature-intro h2{font-size:clamp(2rem,3.35vw,3.25rem)}
.quick-dialog-copy h2{font-size:2.1rem}
.section-head p,.editorial-heading p{font-size:1rem}
.breadcrumbs,.notice,.store-links{font-size:.92rem}
.btn{font-size:.96rem;min-height:50px;padding:12px 21px}
.btn-large{font-size:1rem;min-height:54px;padding:14px 25px}
.signature-grid strong{font-size:1.7rem}
.signature-grid span{font-size:.84rem}

/* READER FAVORITES — replace the flat green block with an editorial scene */
.favorites-section{background:#f0ece4;padding:78px 0 90px}
.favorites-heading{max-width:700px;margin-bottom:28px}
.favorites-editorial{display:grid;grid-template-columns:1.25fr .75fr;gap:28px;align-items:stretch}
.favorite-spotlight{
  min-height:550px;position:relative;overflow:hidden;text-decoration:none;color:#fff;
  display:grid;grid-template-columns:.78fr 1.22fr;align-items:end;padding:42px;
  background:#09281f
}
.favorite-spotlight-scene{position:absolute;inset:0}
.favorite-spotlight-scene img{width:100%;height:100%;object-fit:cover;object-position:center}
.favorite-scene-shade{
  position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(5,22,19,.94) 0%,rgba(5,22,19,.78) 43%,rgba(5,22,19,.28) 73%,rgba(5,22,19,.38) 100%)
}
.favorite-spotlight-cover{position:relative;z-index:2;align-self:center;transform:rotate(-3deg);padding-right:24px}
.favorite-spotlight-cover img{width:min(270px,100%);box-shadow:0 28px 55px rgba(0,0,0,.46);border:1px solid rgba(240,211,142,.55)}
.favorite-spotlight-copy{position:relative;z-index:2;align-self:end;padding-bottom:16px}
.favorite-spotlight-copy h3{color:#fff;margin:.08em 0 .18em}
.favorite-spotlight-copy p{color:#e3ece8;max-width:490px}
.favorites-side{display:grid;grid-template-rows:repeat(3,1fr);border-top:1px solid #c4b7a3;border-bottom:1px solid #c4b7a3}
.favorite-story{
  display:grid;grid-template-columns:132px 1fr;gap:22px;align-items:center;text-decoration:none;color:inherit;
  padding:19px 0;border-bottom:1px solid #c4b7a3
}
.favorite-story:last-child{border-bottom:0}
.favorite-story img{width:118px;box-shadow:0 14px 27px rgba(0,0,0,.2);transition:transform .25s}
.favorite-story:hover img{transform:translateY(-5px) rotate(-2deg)}
.favorite-story h3{margin:.05em 0 .12em}
.favorite-story p{font-size:.9rem;color:#66717b;margin:.15em 0 .4em}

/* Dark transition into the regional storytelling */
.world-intro-dark{position:relative;overflow:hidden;background:#07131f;color:#fff;padding:78px 0 56px}
.world-intro-dark .editorial-heading{position:relative;z-index:2}
.world-intro-dark .editorial-heading h2{color:#fff}
.world-intro-dark .editorial-heading p{color:#aebdca}

/* Region palette refinements */
.region-africa{background:linear-gradient(110deg,#10291d,#2f4d27 58%,#59611d)}
.region-americas{background:linear-gradient(110deg,#3b170d,#703319 56%,#a75d24)}
.theme-af .book-hero{background:linear-gradient(135deg,#10291d,#354b24 62%,#59611d)}
.theme-am .book-hero{background:linear-gradient(135deg,#3b170d,#7b381c 62%,#a75d24)}

/* Inside the Books — copy and visual gallery share the screen */
.inside-editorial{padding:0;background:#0a1825}
.inside-editorial .wrap{width:min(100%,1440px);max-width:none}
.inside-editorial-grid{display:grid;grid-template-columns:.72fr 1.28fr;min-height:650px}
.inside-editorial-copy{
  display:flex;align-items:center;padding:70px clamp(34px,5vw,76px);
  background:linear-gradient(155deg,#0a1825,#102a3f);color:#fff
}
.inside-editorial-copy .editorial-heading{margin:0}
.inside-editorial-copy .editorial-heading h2{color:#fff}
.inside-editorial-copy .editorial-heading p{color:#b8c7d4}
.inside-editorial .inside-collage{grid-template-rows:1fr 1fr;gap:0}
.inside-editorial .inside-collage button{border-left:1px solid rgba(255,255,255,.08)}
.inside-editorial .inside-collage img{min-height:100%}

/* ALL LANGUAGES — no generic rainbow box grid */
.collection-showcase{background:#eee8dd;padding:78px 0 94px}
.collection-showcase-head{max-width:680px}
.collection-specials{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#c7bba6;margin:34px 0 58px}
.collection-special{
  min-height:430px;position:relative;overflow:hidden;text-decoration:none;color:#fff;
  display:flex;flex-direction:column;justify-content:flex-end;padding:28px 26px;background:#0c2639
}
.special-portuguese{background:linear-gradient(155deg,#0c3b30,#071c19)}
.special-croatian{background:linear-gradient(155deg,#0a2340,#171b2d)}
.special-esl{background:linear-gradient(155deg,#2e356c,#1d2750)}
.special-covers{height:235px;position:relative;margin-bottom:18px}
.special-covers img{
  position:absolute;width:122px;box-shadow:0 18px 35px rgba(0,0,0,.42);border:1px solid rgba(240,211,142,.35)
}
.special-covers img:nth-child(1){left:6%;top:27px;transform:rotate(-9deg)}
.special-covers .special-main{left:50%;top:2px;transform:translateX(-50%);z-index:3;width:142px}
.special-covers img:nth-child(3){right:6%;top:27px;transform:rotate(9deg)}
.special-copy{position:relative;z-index:3}
.special-copy h3{font-size:2rem;color:#fff;margin:.08em 0 .16em}
.special-copy p{font-size:.92rem;color:#d5dfe8}
.regional-library{border-top:1px solid #bcae98}
.regional-library-row{
  display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:40px;min-height:300px;
  padding:32px 8px;text-decoration:none;color:inherit;border-bottom:1px solid #bcae98
}
.regional-row-copy{max-width:500px}
.regional-row-copy h3{font-size:2.35rem;margin:.08em 0 .14em}
.regional-row-copy p{color:#69737b}
.regional-row-covers{height:225px;position:relative;max-width:600px;margin-left:auto;width:100%}
.regional-row-covers img{
  position:absolute;width:145px;top:22px;box-shadow:0 17px 34px rgba(0,0,0,.23);transition:transform .25s
}
.regional-row-covers img:nth-child(1){left:5%;transform:rotate(-8deg)}
.regional-row-covers img:nth-child(2){left:28%;top:5px;z-index:3;transform:rotate(-2deg)}
.regional-row-covers img:nth-child(3){left:51%;top:12px;z-index:2;transform:rotate(4deg)}
.regional-row-covers img:nth-child(4){left:73%;transform:rotate(9deg)}
.regional-library-row:hover .regional-row-covers img:nth-child(2){transform:translateY(-7px) rotate(-2deg)}

/* REGIONAL PAGE HEROES — use the previously empty right side */
.region-hero{padding:60px 0 66px}
.region-hero-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:42px;align-items:center;position:relative;z-index:2}
.region-hero-copy{max-width:690px}
.region-hero-fan{height:360px;position:relative;perspective:1000px}
.region-hero-fan .fan-cover{
  position:absolute;width:190px;top:58px;box-shadow:0 25px 50px rgba(0,0,0,.38);border:1px solid rgba(255,255,255,.2)
}
.region-hero-fan .fan-1{left:1%;transform:rotate(-12deg)}
.region-hero-fan .fan-2{left:20%;top:25px;transform:rotate(-5deg);z-index:2}
.region-hero-fan .fan-3{left:41%;top:10px;transform:rotate(1deg);z-index:4}
.region-hero-fan .fan-4{left:62%;top:30px;transform:rotate(7deg);z-index:3}
.region-hero-fan .fan-5{left:80%;transform:rotate(12deg);z-index:1}

/* ESL hero gets the same visual proof */
.esl-collection-hero{padding:58px 0 62px}
.esl-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center;position:relative;z-index:2}
.esl-hero-fan{height:360px;position:relative}
.esl-fan-cover{
  position:absolute;width:170px;top:70px;box-shadow:0 24px 48px rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.22)
}
.esl-fan-1{left:2%;transform:rotate(-12deg)}
.esl-fan-2{left:19%;top:37px;transform:rotate(-6deg);z-index:2}
.esl-fan-3{left:39%;top:8px;transform:rotate(0deg);z-index:5;width:188px}
.esl-fan-4{left:61%;top:38px;transform:rotate(6deg);z-index:3}
.esl-fan-5{left:78%;transform:rotate(12deg);z-index:1}

/* REGIONAL CATALOG LISTINGS — larger covers, two-column editorial catalog */
.tile-list,.tile-list.wide{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 46px}
.book-tile{grid-template-columns:165px 1fr;gap:24px;padding:30px 0}
.book-tile .cover-frame{width:165px}
.book-tile h3{font-size:1.28rem}
.book-tile p{font-size:.96rem}
.store-links{line-height:1.55}
.section-head{max-width:720px}

/* A little less oversized throughout the dedicated language pages */
.feature-facts strong{font-size:1.7rem}
.feature-lines span{font-size:2rem}
.feature-lines h3{font-size:1.3rem}

/* RESPONSIVE */
@media(max-width:1050px){
  .favorites-editorial{grid-template-columns:1fr}
  .favorites-side{grid-template-columns:repeat(3,1fr);grid-template-rows:none;border-left:1px solid #c4b7a3}
  .favorite-story{grid-template-columns:90px 1fr;border-right:1px solid #c4b7a3;border-bottom:0;padding:18px}
  .favorite-story:last-child{border-right:0}
  .favorite-story img{width:82px}
  .favorite-story p{display:none}
  .inside-editorial-grid{grid-template-columns:1fr}
  .inside-editorial-copy{padding:55px 34px}
  .collection-specials{grid-template-columns:1fr 1fr}
  .collection-special:last-child{grid-column:1/-1}
  .region-hero-grid,.esl-hero-grid{grid-template-columns:1fr}
  .region-hero-copy,.esl-hero-copy{text-align:center;margin:auto}
  .region-hero-copy .breadcrumbs,.esl-hero-copy .breadcrumbs{text-align:left}
  .region-hero-fan,.esl-hero-fan{max-width:760px;width:100%;margin:auto;height:320px}
}
@media(max-width:820px){
  .favorites-side{grid-template-columns:1fr;border-left:0}
  .favorite-story{grid-template-columns:88px 1fr;border-right:0;border-bottom:1px solid #c4b7a3;padding:16px 0}
  .collection-specials{grid-template-columns:1fr}
  .collection-special:last-child{grid-column:auto}
  .regional-library-row{grid-template-columns:1fr}
  .regional-row-covers{margin:0;height:210px}
  .tile-list,.tile-list.wide{grid-template-columns:1fr}
  .book-tile{grid-template-columns:145px 1fr}
  .book-tile .cover-frame{width:145px}
}
@media(max-width:700px){
  body{font-size:16.5px}
  .hero-copy h1{font-size:clamp(2.55rem,12vw,3.8rem)}
  .editorial-heading h2{font-size:clamp(2rem,10vw,2.9rem)}
  .favorite-spotlight{grid-template-columns:1fr;padding:27px 22px;min-height:620px}
  .favorite-spotlight-cover{padding:0;align-self:start}
  .favorite-spotlight-cover img{max-width:205px}
  .favorite-scene-shade{background:linear-gradient(180deg,rgba(5,22,19,.38),rgba(5,22,19,.92) 58%)}
  .special-covers{height:210px}
  .regional-row-covers img{width:118px}
  .region-hero-fan .fan-cover{width:140px}
  .esl-fan-cover{width:128px}.esl-fan-3{width:142px}
  .region-hero-fan,.esl-hero-fan{height:260px}
}
@media(max-width:480px){
  .book-tile{grid-template-columns:105px 1fr;gap:15px}
  .book-tile .cover-frame{width:105px}
  .regional-row-covers img{width:98px}
  .region-hero-fan .fan-cover{width:112px}
  .region-hero-fan .fan-1{left:0}.region-hero-fan .fan-2{left:18%}.region-hero-fan .fan-3{left:38%}.region-hero-fan .fan-4{left:58%}.region-hero-fan .fan-5{left:76%}
  .esl-fan-cover{width:100px}.esl-fan-3{width:112px}
}


/* ============================================================
   V12 POLISH
   Focused repair of the three weakest areas:
   Reader Favorites, Inside the Books, and footer/finale.
   ============================================================ */

/* Reader Favorites */
.favorites-v12{
  background:linear-gradient(180deg,#f1ede4 0%,#ece5d9 100%);
  padding:72px 0 78px;
}
.favorites-v12-head{
  max-width:720px;
  margin-bottom:28px;
}
.favorites-v12-head h2{
  font-size:clamp(2.1rem,3.8vw,3.7rem);
  line-height:1.02;
  margin:.15em 0 .22em;
}
.favorites-v12-head p{
  color:#69727a;
  margin:0;
}
.favorites-duo{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.favorite-feature{
  position:relative;
  min-height:520px;
  overflow:hidden;
  text-decoration:none;
  color:#fff;
  background:#07131f;
  display:flex;
  align-items:flex-end;
}
.favorite-feature-art{
  position:absolute;
  inset:0;
}
.favorite-feature-bg{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:saturate(.9) brightness(.72);
  transform:scale(1.02);
  transition:transform .45s ease;
}
.favorite-feature:hover .favorite-feature-bg{
  transform:scale(1.045);
}
.favorite-feature-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(5,14,24,.08) 0%,rgba(5,14,24,.26) 38%,rgba(5,14,24,.9) 100%);
}
.favorite-feature-cover{
  position:absolute;
  width:190px;
  left:34px;
  top:38px;
  box-shadow:0 24px 46px rgba(0,0,0,.42);
  border:1px solid rgba(240,211,142,.46);
  transform:rotate(-3deg);
  transition:transform .35s ease;
}
.favorite-croatian .favorite-feature-cover{
  transform:rotate(3deg);
}
.favorite-feature:hover .favorite-feature-cover{
  transform:translateY(-6px) rotate(-2deg);
}
.favorite-croatian:hover .favorite-feature-cover{
  transform:translateY(-6px) rotate(2deg);
}
.favorite-feature-copy{
  position:relative;
  z-index:3;
  padding:34px 34px 32px;
  max-width:620px;
}
.favorite-feature-copy h3{
  color:#fff;
  font-size:clamp(2.1rem,3.4vw,3.3rem);
  margin:.08em 0 .16em;
}
.favorite-feature-copy p{
  color:#e5ebef;
  max-width:520px;
  font-size:.98rem;
  line-height:1.58;
  margin-bottom:.45em;
}
.favorites-secondary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid #bdb09c;
  border-bottom:1px solid #bdb09c;
  margin-top:26px;
}
.favorites-secondary a{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  padding:18px 20px;
  color:#182532;
  text-decoration:none;
  border-right:1px solid #bdb09c;
}
.favorites-secondary a:last-child{border-right:0}
.favorites-secondary strong{font-family:var(--serif);font-size:1.1rem}
.favorites-secondary span{font-size:.84rem;color:#6e757c}
.favorites-secondary a:hover{background:rgba(255,255,255,.45)}

/* Inside the Books */
.inside-v12{
  background:#07131f;
  color:#fff;
  padding:76px 0 84px;
}
.inside-v12-head{
  max-width:760px;
  margin-bottom:28px;
}
.inside-v12-head h2{
  color:#fff;
  font-size:clamp(2.1rem,3.8vw,3.65rem);
  margin:.12em 0 .2em;
}
.inside-v12-head p{
  margin:0;
  color:#aebdca;
}
.inside-v12-layout{
  display:grid;
  grid-template-columns:1.45fr .55fr;
  gap:14px;
  align-items:stretch;
}
.inside-v12 button{
  border:0;
  padding:0;
  background:#0b1c2d;
  color:#fff;
  cursor:zoom-in;
  position:relative;
  overflow:hidden;
  min-width:0;
}
.inside-v12-main{
  min-height:560px;
}
.inside-v12-main img,
.inside-v12-sideitem img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  background:#0b1c2d;
  transition:transform .35s ease;
}
.inside-v12 button:hover img{
  transform:scale(1.015);
}
.inside-v12-side{
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:14px;
}
.inside-v12-sideitem{
  min-height:273px;
}
.inside-v12-label{
  position:absolute;
  left:16px;
  bottom:14px;
  display:flex;
  flex-direction:column;
  gap:1px;
  background:rgba(6,17,29,.84);
  border:1px solid rgba(240,211,142,.25);
  padding:9px 12px;
  text-align:left;
}
.inside-v12-label strong{font-size:.92rem}
.inside-v12-label small{font-size:.73rem;color:#b7c4ce}

/* Finale */
.series-finale{
  padding:74px 0 70px;
}
.finale-inner{
  max-width:1180px;
}
.finale-one-line{
  white-space:nowrap;
  font-size:clamp(2.4rem,4.1vw,4.15rem)!important;
  letter-spacing:-.035em;
  margin:.12em 0 .18em!important;
}
.finale-inner p{
  font-size:1rem;
}
.finale-inner .buy-row{
  margin-top:18px;
}

/* Footer */
.footer-v12{
  background:linear-gradient(180deg,#091827,#07131f);
  border-top:1px solid rgba(216,174,85,.6);
  color:#fff;
  padding:0;
}
.footer-v12 .wrap{
  padding-top:40px;
  padding-bottom:22px;
}
.footer-v12-top{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:34px;
  align-items:center;
  padding-bottom:26px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-v12-top p{
  margin:0;
  color:#b4c1cc;
  max-width:620px;
  font-size:.92rem;
}
.footer-v12-brand .brand-mark{
  width:46px;
  height:46px;
}
.footer-v12-nav{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:54px;
  padding:28px 0 24px;
}
.footer-v12-nav>div{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
}
.footer-v12-label{
  font:800 .72rem var(--sans);
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gold4);
  margin-bottom:3px;
}
.footer-v12-nav a{
  color:#dce4ea;
  text-decoration:none;
  font-size:.9rem;
  line-height:1.4;
}
.footer-v12-nav a:hover{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:4px;
}
.footer-v12-bottom{
  border-top:1px solid rgba(255,255,255,.1);
  padding-top:16px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#8293a1;
  font-size:.75rem;
}

/* Remove obsolete V11 Reader Favorites / Inside layout influence */
.favorites-editorial,.favorite-spotlight,.favorites-side,.favorite-story,
.inside-editorial,.inside-editorial-grid,.inside-editorial-copy{
  /* intentionally left unused in V12 homepage */
}

/* Responsive */
@media(max-width:900px){
  .favorites-duo{grid-template-columns:1fr}
  .favorite-feature{min-height:500px}
  .favorites-secondary{grid-template-columns:1fr}
  .favorites-secondary a{border-right:0;border-bottom:1px solid #bdb09c}
  .favorites-secondary a:last-child{border-bottom:0}
  .inside-v12-layout{grid-template-columns:1fr}
  .inside-v12-main{min-height:420px}
  .inside-v12-side{grid-template-columns:1fr 1fr;grid-template-rows:none}
  .inside-v12-sideitem{min-height:250px}
  .finale-one-line{white-space:normal}
  .footer-v12-top{grid-template-columns:1fr}
}
@media(max-width:650px){
  .favorite-feature{min-height:560px}
  .favorite-feature-cover{width:150px;left:22px;top:24px}
  .favorite-feature-copy{padding:26px 22px 24px}
  .inside-v12-side{grid-template-columns:1fr}
  .inside-v12-sideitem{min-height:260px}
  .footer-v12-nav{grid-template-columns:1fr;gap:24px}
  .footer-v12-bottom{flex-direction:column;gap:4px}
}


/* ============================================================
   V13 VISUAL CORRECTIONS
   Requested desktop refinements:
   - Reader Favorites sharper and cleaner
   - Key headings/subheads stay on one line on desktop
   - All Languages hero shorter
   - Bestseller shelf removes ESL and adds Maltese
   ============================================================ */

/* Reader Favorites: cleaner, sharper, less "cardy" */
.favorites-v13{
  background:#f0ebe2;
  padding:62px 0 70px;
}
.favorites-v13-head{
  max-width:1040px;
  margin-bottom:26px;
}
.favorites-v13-head h2{
  font-size:clamp(2.15rem,3.25vw,3.25rem);
  line-height:1.04;
  margin:.13em 0 .18em;
  max-width:1040px;
}
.favorites-v13-head p{
  margin:0;
  color:#68727b;
}
.favorites-v13-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.favorite-v13-card{
  min-height:400px;
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:42% 58%;
  align-items:center;
  text-decoration:none;
  color:#fff;
  padding:34px 30px;
  border:1px solid rgba(216,174,85,.38);
  box-shadow:0 18px 38px rgba(7,19,31,.14);
}
.favorite-v13-portuguese{
  background:
    radial-gradient(420px 260px at 15% 18%,rgba(216,174,85,.14),transparent 65%),
    linear-gradient(135deg,#0b3b31 0%,#07241f 72%);
}
.favorite-v13-croatian{
  background:
    radial-gradient(420px 260px at 18% 20%,rgba(216,174,85,.12),transparent 65%),
    linear-gradient(135deg,#0b2948 0%,#111b2c 72%);
}
.favorite-v13-cover{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
}
.favorite-v13-cover img{
  width:min(215px,90%);
  display:block;
  box-shadow:0 26px 48px rgba(0,0,0,.38);
  border:1px solid rgba(240,211,142,.48);
  transition:transform .28s ease;
}
.favorite-v13-card:hover .favorite-v13-cover img{
  transform:translateY(-6px);
}
.favorite-v13-copy{
  position:relative;
  z-index:3;
  padding-left:12px;
}
.favorite-v13-copy h3{
  color:#fff;
  font-size:clamp(2.1rem,3vw,3rem);
  margin:.06em 0 .14em;
}
.favorite-v13-copy p{
  color:#dbe5e8;
  font-size:.95rem;
  line-height:1.58;
  max-width:430px;
}
.favorite-v13-watermark{
  position:absolute;
  right:-12px;
  bottom:-20px;
  font:700 5.7rem var(--serif);
  color:rgba(255,255,255,.028);
  letter-spacing:.02em;
  pointer-events:none;
}
.favorites-v13-links{
  margin-top:20px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid #bfb29f;
  border-bottom:1px solid #bfb29f;
}
.favorites-v13-links a{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  color:#182632;
  text-decoration:none;
  border-right:1px solid #bfb29f;
}
.favorites-v13-links a:last-child{border-right:0}
.favorites-v13-links strong{font-family:var(--serif);font-size:1.06rem}
.favorites-v13-links span{font-size:.82rem;color:#6c747b}

/* Keep key homepage statements on one line at normal desktop widths */
.world-intro-dark .editorial-heading{
  max-width:1180px;
}
.world-intro-dark .editorial-heading h2{
  white-space:nowrap;
  font-size:clamp(2.2rem,3vw,3.15rem);
}
.world-intro-dark .editorial-heading p{
  white-space:nowrap;
  max-width:none;
  font-size:.96rem;
}

.inside-v12-head{
  max-width:1100px;
}
.inside-v12-head h2{
  white-space:nowrap;
  font-size:clamp(2.2rem,3.2vw,3.25rem);
}

/* Compact All Languages hero so the book wall appears sooner */
.languages-hero-compact{
  padding:34px 0 36px!important;
  min-height:0!important;
}
.languages-hero-compact .wrap{
  max-width:1080px;
}
.languages-hero-compact h1{
  margin:.08em 0 .18em;
  font-size:clamp(2.35rem,3.8vw,3.75rem);
}
.languages-hero-compact .lede{
  max-width:760px;
  margin-bottom:14px;
}
.languages-hero-compact .dir-search{
  margin-top:14px;
}
.languages-hero-compact .dir-search input{
  min-height:48px;
  max-width:520px;
}
.languages-hero-compact + .section{
  padding-top:34px;
}

/* Shelf: consistent country/language covers only */
.book-shelf .shelf-book{
  flex-basis:182px;
}

/* Responsive: allow natural wrapping on smaller screens */
@media(max-width:1050px){
  .world-intro-dark .editorial-heading h2,
  .world-intro-dark .editorial-heading p,
  .inside-v12-head h2{
    white-space:normal;
  }
  .favorites-v13-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:760px){
  .favorites-v13-head h2{
    font-size:2.35rem;
  }
  .favorite-v13-card{
    grid-template-columns:150px 1fr;
    min-height:330px;
    padding:26px 22px;
  }
  .favorite-v13-cover img{
    width:130px;
  }
  .favorites-v13-links{
    grid-template-columns:1fr;
  }
  .favorites-v13-links a{
    border-right:0;
    border-bottom:1px solid #bfb29f;
  }
  .favorites-v13-links a:last-child{
    border-bottom:0;
  }
}
@media(max-width:520px){
  .favorite-v13-card{
    grid-template-columns:1fr;
    text-align:center;
  }
  .favorite-v13-copy{
    padding:18px 0 0;
  }
  .favorite-v13-cover img{
    width:150px;
  }
}


/* ============================================================
   V14 BRAND INTEGRATION + FINAL HOMEPAGE REFINEMENT
   ============================================================ */

/* Real Smart Word Books logo system */
.site-header .brand-image{
  display:flex;align-items:center;min-width:0;text-decoration:none;
}
.site-header .brand-logo-full{
  display:block;height:54px;width:auto;max-width:290px;object-fit:contain;
}
.site-header .brand-logo-icon{display:none;width:48px;height:48px;object-fit:contain}
.footer-brand-image img{display:block;height:62px;width:auto;max-width:330px;object-fit:contain}
.footer-v12-top{grid-template-columns:minmax(260px,340px) 1fr}

/* Hero: deliberate two-line statement, less bulky beside the carousel */
.hero-cinematic-grid{
  grid-template-columns:minmax(0,1.02fr) minmax(490px,.98fr);
  gap:30px;
}
.hero-copy h1{
  font-size:clamp(2.7rem,4.25vw,4.3rem);
  line-height:.98;
  letter-spacing:-.038em;
  margin-bottom:.36em;
}
.hero-title-line{display:block;white-space:nowrap}
.hero-title-accent{color:var(--gold4);font-style:italic;font-weight:500;margin-top:.05em}
.hero-copy p{max-width:610px}

/* Subtle continent marks: visual atmosphere, not decoration competing with covers */
.region-story{position:relative;overflow:hidden}
.region-map-mark{
  position:absolute;z-index:1;pointer-events:none;
  width:min(31vw,440px);height:auto;
  right:4%;top:50%;transform:translateY(-50%);
  fill:none;stroke:rgba(255,255,255,.105);stroke-width:2.4;
  stroke-linejoin:round;stroke-linecap:round;
  filter:drop-shadow(0 0 18px rgba(255,255,255,.018));
}
.region-story .region-story-inner{z-index:2}
.region-europe .region-map-mark{right:2%;width:min(30vw,430px)}
.region-asia .region-map-mark{left:48%;right:auto;width:min(34vw,470px)}
.region-africa .region-map-mark{right:5%;width:min(25vw,350px)}
.region-americas .region-map-mark{left:47%;right:auto;width:min(29vw,410px)}

@media(max-width:1120px){
  .hero-cinematic-grid{grid-template-columns:1fr;gap:34px}
  .hero-copy{max-width:760px;margin-inline:auto;text-align:center}
  .hero-copy p{margin-inline:auto}
  .hero-copy .cta-row{justify-content:center}
  .hero-copy .hero-proof{justify-content:center}
  .region-map-mark{opacity:.72}
}
@media(max-width:760px){
  .site-header .brand-logo-full{display:none}
  .site-header .brand-logo-icon{display:block}
  .footer-brand-image img{height:54px;max-width:280px}
  .hero-title-line{white-space:normal}
  .hero-copy h1{font-size:clamp(2.45rem,12vw,3.65rem)}
  .region-map-mark{width:62vw!important;left:auto!important;right:-12%!important;opacity:.55}
}


/* ============================================================
   V15 CLEANUP — desktop landing page correction
   ============================================================ */

/* Header: the real logo needs enough physical size to be legible. */
.site-header .wrap{
  width:min(100% - 56px,1360px);
}
.header-inner{
  min-height:108px;
  gap:34px;
}
.site-header .brand-image{
  flex:0 0 auto;
}
.site-header .brand-logo-full{
  height:88px;
  width:auto;
  max-width:340px;
  object-fit:contain;
}
.site-header nav{
  margin-left:auto;
  gap:28px;
}

/* Hero: use the available desktop width instead of crowding both columns together. */
.hero-cinematic{
  padding:72px 0 64px;
}
.hero-cinematic .wrap{
  width:min(100% - 64px,1380px);
}
.hero-cinematic-grid{
  grid-template-columns:minmax(440px,520px) minmax(650px,1fr);
  gap:104px;
  align-items:center;
}
.hero-copy{
  max-width:520px;
}
.hero-copy h1{
  font-size:clamp(2.75rem,3.85vw,3.95rem);
  line-height:.98;
  letter-spacing:-.035em;
  margin-bottom:.42em;
}
.hero-copy p{
  max-width:520px;
  font-size:1.04rem;
  line-height:1.66;
}
.hero-copy .cta-row{
  gap:14px;
}
.coverflow{
  min-height:610px;
}

/* The map experiment is removed completely. */
.region-map-mark{display:none!important}

/* Region storytelling: titles are enough; no redundant numbering/labels. */
.region-story-inner{
  grid-template-columns:.76fr 1.24fr;
  gap:62px;
  padding-block:70px;
}
.region-copy h2{
  margin:0 0 .22em;
}
.region-copy p{
  margin-top:0;
}

/* Africa: deep forest green, no lime/yellow-green cast. */
.region-africa{
  background:linear-gradient(110deg,#071b16 0%,#0d2c24 48%,#164337 100%)!important;
}

@media(max-width:1280px){
  .site-header .brand-logo-full{height:80px;max-width:310px}
  .header-inner{min-height:98px}
  .hero-cinematic .wrap{width:min(100% - 48px,1220px)}
  .hero-cinematic-grid{
    grid-template-columns:minmax(390px,.88fr) minmax(580px,1.12fr);
    gap:54px;
  }
  .hero-copy h1{font-size:clamp(2.65rem,4vw,3.7rem)}
  .region-story-inner{gap:42px}
}

@media(max-width:1120px){
  .site-header .wrap{width:min(100% - 40px,1040px)}
  .site-header .brand-logo-full{height:72px;max-width:280px}
  .header-inner{min-height:90px}
  .hero-cinematic-grid{grid-template-columns:1fr;gap:34px}
  .hero-copy{max-width:760px;margin-inline:auto;text-align:center}
  .hero-copy p{max-width:650px;margin-inline:auto}
  .hero-copy .cta-row,.hero-copy .hero-proof{justify-content:center}
}

@media(max-width:760px){
  .header-inner{min-height:74px}
  .site-header .brand-logo-full{display:none}
  .site-header .brand-logo-icon{display:block;width:52px;height:52px}
  .hero-cinematic{padding-top:48px}
  .hero-cinematic .wrap{width:min(100% - 34px,720px)}
  .hero-title-line{white-space:normal}
}


/* ===== V16 fixes and additions ===== */
html,body{overflow-x:clip}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* contrast: darker text where gold or light grey sat on cream */
.favorites-v13-head .micro-label,.section:not(.dark) .micro-label,.feature-detail .micro-label,.feature-why .micro-label,.related-section .micro-label,.quick-dialog-copy .micro-label{color:#7a5a0e}
.feature-facts span,.related-book small,.favorites-v13-links span{color:#4f5a66}
.skip:focus{color:#0c1a2b}
/* hero search */
.hero-search{display:flex;gap:10px;margin-top:22px;max-width:560px}
.hero-search input{flex:1;min-width:0;font:inherit;padding:14px 16px;border-radius:12px;border:2px solid rgba(255,255,255,.35);background:rgba(255,255,255,.96);color:#0c1a2b}
.hero-search input:focus{outline:3px solid var(--gold);border-color:var(--gold)}
.hero-search .btn{min-height:0;padding:12px 22px}
@media(max-width:520px){.hero-search{flex-direction:column}}
/* coverflow pause */
.coverflow-pause{position:absolute;right:6px;bottom:0;z-index:5;width:40px;height:40px;border-radius:50%;border:1px solid var(--gold3);background:rgba(6,17,29,.75);color:var(--gold4);cursor:pointer;font-size:.8rem;display:grid;place-items:center}
.coverflow-pause:hover{background:var(--gold);color:#0c1a2b}
/* playable puzzle */
.puzzle{background:#fff;border:1px solid var(--line);border-radius:22px;padding:clamp(16px,3vw,32px);box-shadow:0 18px 40px rgba(12,26,43,.10)}
.puzzle-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.puzzle-tab{font:800 .95rem var(--sans);padding:10px 16px;border-radius:999px;border:2px solid var(--line);background:#fff;color:var(--navy);cursor:pointer}
.puzzle-tab.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.puzzle-body{display:grid;grid-template-columns:minmax(0,520px) minmax(0,1fr);gap:clamp(20px,4vw,44px);align-items:start}
.pz-grid{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));max-width:520px;width:100%;border:2px solid var(--navy);border-radius:12px;overflow:hidden;background:#fffdf7;user-select:none;-webkit-user-select:none;touch-action:none;cursor:pointer}
.pz-cell{aspect-ratio:1;display:grid;place-items:center;font:800 clamp(.9rem,2.7vw,1.35rem) var(--sans);color:var(--navy);border:1px solid rgba(12,26,43,.08);transition:background .1s}
.pz-cell.pz-sel{background:var(--gold2)}
.pz-cell.pz-found{background:hsl(var(--h) 75% 78%)}
.pz-cell.pz-ans{background:hsl(var(--h) 55% 86%);box-shadow:inset 0 0 0 2px hsl(var(--h) 60% 55%)}
.pz-cell.pz-miss{background:#f5c9c4}
.pz-title{margin:0 0 6px;font-size:1.5rem}
.pz-intro{color:var(--muted);margin-bottom:10px}
.pz-status{font:800 1.15rem var(--serif);color:var(--emerald);margin-bottom:12px}
.pz-words{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pz-words li{padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fbf8f1}
.pz-words li b{font-size:.98rem;letter-spacing:.03em}
.pz-words li small{display:block;color:#4f5a66;font-size:.8rem;line-height:1.3}
.pz-words li.pz-done{background:var(--navy);border-color:var(--navy);color:#fff}
.pz-words li.pz-done b{text-decoration:line-through;text-decoration-color:var(--gold)}
.pz-words li.pz-done small{color:#c4d0de}
.pz-type{display:flex;gap:8px;margin-top:16px}
.pz-type input{flex:1;min-width:0;font:inherit;padding:11px 14px;border-radius:10px;border:2px solid var(--line);background:#fff}
.pz-type input:focus{outline:3px solid var(--gold);border-color:var(--gold)}
.pz-msg{min-height:1.4em;margin:8px 0 0;font-size:.92rem;color:#4f5a66}
.pz-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.pz-win{margin-top:18px;padding:18px;border-radius:14px;background:var(--navy);color:#dbe5ef}
.pz-win strong{display:block;color:#fff;font:700 1.25rem var(--serif);margin-bottom:6px}
.pz-win p{margin:0 0 12px;font-size:.95rem}
.pz-cta{display:flex;flex-wrap:wrap;gap:10px}
.pz-win[hidden]{display:none}
@media(max-width:860px){.puzzle-body{grid-template-columns:1fr}.pz-grid{margin:0 auto}}


/* ============================================================
   V17 DESKTOP POLISH — routing, consistency, header branding
   ============================================================ */

/* Approved simplified cream header mark: make the wordmark readable. */
@media(min-width:1121px){
  .site-header .brand-logo-full{height:82px;max-width:420px}
  .site-header .brand-image{min-width:350px}
}
@media(min-width:761px) and (max-width:1120px){
  .site-header .brand-logo-full{height:74px;max-width:360px}
}

/* Country detail pages should use the same cover scale as Portuguese/Croatian. */
.featured-cover{width:100%;max-width:280px;transform:none!important}
.featured-cover-wrap{align-items:center}
.featured-book-hero .book-hero-grid{grid-template-columns:280px minmax(0,1fr);gap:44px}
.theme-ukrainian .featured-book-hero{background:linear-gradient(130deg,#071b3d,#154b8a 55%,#d7a91d)}

/* Search/filter results: no giant empty landing area when only one or two matches remain. */
.directory-filtered .language-directory-section{padding-top:26px;padding-bottom:28px}
.directory-filtered .language-directory-section .wrap{min-height:0}
.directory-filtered #cover-wall{grid-template-columns:repeat(auto-fit,minmax(170px,210px));justify-content:start;align-items:start;gap:24px}
.directory-filtered #cover-wall li:not([hidden]){max-width:210px}
.directory-filtered .collection-showcase{padding-top:42px}

/* Desktop typography cleanup requested after visual QA. */
@media(min-width:1060px){
  .series-shop-title{white-space:nowrap;font-size:clamp(2.2rem,3vw,3.15rem)}
  .footer-v12-top{grid-template-columns:280px minmax(0,1fr);gap:38px;align-items:center}
  .footer-v12-top p{max-width:none;white-space:nowrap;font-size:.94rem}
}

/* Puzzle sample images visibly invite enlargement. */
.marketing-zoom{cursor:zoom-in}

@media(max-width:960px){
  .featured-book-hero .book-hero-grid{grid-template-columns:1fr}
  .series-shop-title,.footer-v12-top p{white-space:normal}
}


/* ============================================================
   V18 MOBILE + CONTACT
   - portable contact form, no public receiving email
   - dedicated mobile regional storytelling layout
   - rebuilt mobile footer
   ============================================================ */

/* Contact page */
.contact-hero{
  background:
    radial-gradient(700px 360px at 82% 18%,rgba(34,160,122,.22),transparent 68%),
    linear-gradient(120deg,#07131f 0%,#0b2740 56%,#0b4438 100%);
  color:#fff;
  padding:82px 0 76px;
  border-bottom:1px solid rgba(216,174,85,.5);
}
.contact-hero-inner{max-width:900px}
.contact-hero .breadcrumbs,.contact-hero .breadcrumbs a{color:#f0d38e}
.contact-hero .micro-label{color:#f0d38e}
.contact-hero h1{color:#fff;font-size:clamp(3rem,6vw,5.7rem);line-height:.95;margin:.13em 0 .22em;letter-spacing:-.04em}
.contact-hero p{max-width:760px;color:#d9e3ea;font-size:1.12rem;line-height:1.7;margin:0}
.contact-section{background:#f4efe5;padding:76px 0 88px}
.contact-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(520px,1.18fr);gap:72px;align-items:start}
.contact-info{padding-top:12px}
.contact-info h2{font-size:clamp(2.2rem,3.5vw,3.45rem);line-height:1.02;margin:.15em 0 .28em}
.contact-info>p{color:#56616b;font-size:1.02rem;line-height:1.7;max-width:48ch}
.contact-note,.contact-privacy-note{margin-top:30px;padding:22px 24px;border-left:4px solid var(--gold);background:#fff;box-shadow:0 12px 30px rgba(12,26,43,.06)}
.contact-note strong,.contact-privacy-note strong{font-family:var(--serif);font-size:1.13rem;color:var(--navy)}
.contact-note p,.contact-privacy-note p{margin:.4em 0 0;color:#5b6570;line-height:1.6}
.contact-card{background:#fff;border:1px solid #d7cdbd;border-radius:22px;box-shadow:0 24px 60px rgba(7,19,31,.13);padding:34px}
.contact-form{display:flex;flex-direction:column;gap:20px}
.contact-field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.contact-field{display:flex;flex-direction:column;gap:8px}
.contact-field label{font:800 .92rem var(--sans);color:#132334}
.contact-field label span{color:#8a5f00}
.contact-field :is(input,select,textarea){width:100%;font:inherit;color:#0c1a2b;background:#fffdf8;border:1.5px solid #b8aa96;border-radius:11px;padding:13px 14px;transition:border-color .18s,box-shadow .18s}
.contact-field textarea{resize:vertical;min-height:170px;line-height:1.55}
.contact-field :is(input,select,textarea):focus{outline:none;border-color:#9b6f12;box-shadow:0 0 0 3px rgba(216,174,85,.22)}
.contact-field small{color:#68737d;font-size:.8rem}
.contact-submit{align-self:flex-start;min-width:180px;border:0;cursor:pointer}
.contact-submit:disabled{opacity:.62;cursor:not-allowed}
.contact-status{min-height:1.5em;margin:0;font-weight:700;color:#164337}
.contact-status strong{color:#0b3b31}
.contact-security{margin:-8px 0 0;color:#6a747c;font-size:.8rem;line-height:1.5}
.contact-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.contact-form-sent .contact-submit{background:#164337;color:#fff}

/* Homepage regional storytelling grid areas: desktop unchanged visually, mobile can reorder. */
.region-story-inner{grid-template-areas:"copy deck" "cta deck";grid-template-rows:auto auto;column-gap:62px;row-gap:16px;align-content:center}
.region-copy{grid-area:copy}
.cover-deck{grid-area:deck}
.region-cta{grid-area:cta;justify-self:start;align-self:start}


@media(min-width:761px) and (max-width:1280px){
  .region-story-inner{column-gap:42px;row-gap:16px}
}

/* MOBILE: deliberately different composition from desktop. */
@media(max-width:760px){
  .site-header .wrap{width:calc(100% - 30px)}
  .header-inner{min-height:82px}
  .site-header .brand-logo-icon{width:58px;height:58px}

  .region-story{min-height:0!important;display:block;align-items:initial}
  .region-story-inner{
    width:100%;
    display:grid!important;
    grid-template-columns:1fr!important;
    grid-template-areas:"copy" "deck" "cta"!important;
    grid-template-rows:auto!important;
    gap:24px!important;
    padding:46px 22px 48px!important;
  }
  .region-copy{width:100%;max-width:none!important;text-align:left!important;margin:0!important}
  .region-copy h2{font-size:clamp(2.65rem,13vw,3.65rem)!important;line-height:.98!important;letter-spacing:-.035em;margin:0 0 14px!important}
  .region-copy p{font-size:1.05rem!important;line-height:1.58!important;max-width:34ch;margin:0!important;color:#e0e7ec!important}
  .cover-deck{
    width:min(100%,430px)!important;
    height:285px!important;
    margin:0 auto!important;
    position:relative!important;
    overflow:visible!important;
  }
  .cover-deck img{width:128px!important;top:18px!important}
  .cover-deck .deck-a{left:2%!important;transform:rotate(-8deg)!important}
  .cover-deck .deck-b{left:25%!important;top:0!important;transform:rotate(-2deg)!important;z-index:4!important}
  .cover-deck .deck-c{left:49%!important;top:10px!important;transform:rotate(4deg)!important;z-index:3!important}
  .cover-deck .deck-d{left:70%!important;top:30px!important;transform:rotate(9deg)!important;z-index:2!important}
  .region-cta{justify-self:start!important;font-size:1.04rem;padding-bottom:5px;margin-top:-2px}

  /* Footer: no desktop columns squeezed into a phone. */
  .footer-v12 .wrap{padding:34px 22px 24px!important}
  .footer-v12-top{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:18px!important;padding-bottom:24px!important}
  .footer-v12-brand{width:100%;display:block}
  .footer-v12-brand img{width:min(100%,310px)!important;height:auto!important;max-width:310px!important}
  .footer-v12-top p{width:100%!important;max-width:34ch!important;white-space:normal!important;font-size:.98rem!important;line-height:1.6!important;margin:0!important}
  .footer-v12-nav{grid-template-columns:1fr!important;gap:26px!important;padding:26px 0 22px!important}
  .footer-v12-nav>div{gap:10px!important}
  .footer-v12-label{font-size:.75rem!important}
  .footer-v12-nav a{font-size:1rem!important;line-height:1.45!important}
  .footer-v12-bottom{flex-direction:column!important;align-items:flex-start!important;gap:5px!important;font-size:.78rem!important}

  .contact-hero{padding:54px 0 50px}
  .contact-hero .wrap{width:calc(100% - 36px)}
  .contact-hero h1{font-size:clamp(2.7rem,13vw,4rem)}
  .contact-hero p{font-size:1.02rem;line-height:1.6}
  .contact-section{padding:46px 0 58px}
  .contact-layout{grid-template-columns:1fr;gap:34px}
  .contact-card{padding:24px 20px;border-radius:18px}
  .contact-field-row{grid-template-columns:1fr}
  .contact-submit{width:100%;align-self:stretch}
}

@media(max-width:430px){
  .cover-deck{height:260px!important}
  .cover-deck img{width:112px!important}
  .cover-deck .deck-a{left:0!important}
  .cover-deck .deck-b{left:23%!important}
  .cover-deck .deck-c{left:46%!important}
  .cover-deck .deck-d{left:68%!important}
  .region-story-inner{padding-inline:18px!important}
}

/* ===== V20 contact page ===== */
.contact-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:clamp(24px,4vw,48px);align-items:start}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:clamp(20px,3.5vw,36px);box-shadow:0 18px 40px rgba(12,26,43,.08)}
.cf-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cf-field{margin-bottom:18px}
.cf-field label{display:block;font-weight:800;color:var(--navy);margin-bottom:6px}
.cf-field input,.cf-field select,.cf-field textarea{width:100%;font:inherit;color:var(--ink);padding:13px 15px;border-radius:12px;border:2px solid var(--line);background:#fffdf9}
.cf-field textarea{resize:vertical;min-height:150px}
.cf-field input:focus,.cf-field select:focus,.cf-field textarea:focus{outline:3px solid var(--gold);border-color:var(--gold)}
.cf-count{display:block;text-align:right;color:#4f5a66;font-size:.85rem;margin-top:4px}
.cf-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.cf-turnstile{min-height:0;margin:4px 0 14px}
.cf-note{font-size:.92rem;color:#4f5a66;margin:0 0 16px}
.cf-status{margin:14px 0 0;font-weight:700;min-height:1.4em}
.cf-status.error{color:#a3271b}
.cf-status.info{color:#0e5a48}
.cf-preview{background:#fff7e0;border:1px solid var(--gold);border-radius:12px;padding:12px 14px;font-size:.92rem;margin:0 0 20px}
.cf-success{text-align:center;padding:24px 8px}
.cf-success[hidden]{display:none}
.contact-side{background:var(--mist);border-radius:22px;padding:clamp(20px,3vw,30px)}
.contact-side h2{font-size:1.4rem;margin-top:0}
.contact-side ul{padding-left:1.1em;margin:0}
.contact-side li{margin-bottom:12px}
@media(max-width:860px){.contact-grid{grid-template-columns:1fr}}
@media(max-width:560px){.cf-row{grid-template-columns:1fr}.contact-card .btn{width:100%}}


/* ===== V22 contact above-the-fold polish =====
   Keep the contact form substantially visible on desktop landing without
   changing the shared book hero or other page layouts. */
.contact-page .book-hero{
  padding:30px 0 28px;
}
.contact-page .book-hero h1{
  font-size:clamp(2.45rem,4vw,3.8rem);
  line-height:1;
  margin:.12em 0 .18em;
}
.contact-page .book-hero .lede{
  font-size:1rem;
  line-height:1.5;
  margin:0;
  max-width:760px;
}
.contact-page .book-hero .breadcrumbs{
  margin-bottom:8px;
}
.contact-page .book-hero .kicker{
  margin-bottom:5px;
}
.contact-page .contact-section{
  padding:24px 0 48px;
}
.contact-page .contact-grid{
  gap:30px;
  grid-template-columns:minmax(0,1.6fr) minmax(300px,.9fr);
}
.contact-page .contact-card{
  padding:22px 24px;
  border-radius:18px;
}
.contact-page .cf-field{
  margin-bottom:12px;
}
.contact-page .cf-field label{
  margin-bottom:5px;
}
.contact-page .cf-field input,
.contact-page .cf-field select,
.contact-page .cf-field textarea{
  padding:10px 12px;
  border-radius:10px;
}
.contact-page .cf-field textarea{
  min-height:104px;
}
.contact-page .cf-count{
  margin-top:2px;
  font-size:.78rem;
}
.contact-page .cf-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:2px 0 10px;
}
.contact-page .cf-turnstile{
  margin:0;
  min-height:0;
}
.contact-page .cf-actions .btn{
  flex:0 0 auto;
  min-width:160px;
}
.contact-page .cf-note{
  margin:0;
  font-size:.82rem;
  line-height:1.45;
}
.contact-page .cf-status{
  margin:7px 0 0;
  min-height:1.1em;
}
.contact-page .contact-side{
  padding:20px 22px;
  border-radius:18px;
}
.contact-page .contact-side h2{
  margin-bottom:10px;
}
.contact-page .contact-side li{
  margin-bottom:9px;
  line-height:1.48;
}
@media(max-width:860px){
  .contact-page .contact-grid{grid-template-columns:1fr;gap:24px}
  .contact-page .contact-section{padding-top:28px}
}
@media(max-width:640px){
  .contact-page .book-hero{padding:28px 0 26px}
  .contact-page .book-hero h1{font-size:clamp(2.35rem,11vw,3.35rem)}
  .contact-page .contact-card{padding:20px 18px}
  .contact-page .cf-actions{display:block}
  .contact-page .cf-actions .btn{width:100%;margin-top:12px}
}


/* ============================================================
   V23 FULL CATALOG + MOBILE CLEANUP
   ============================================================ */
.book-tile h3 a{color:inherit;text-decoration:none}.book-tile h3 a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}.book-cover-link{display:block;text-decoration:none}.book-cover-link .cover-frame{transition:transform .18s ease,box-shadow .18s ease}.book-cover-link:hover .cover-frame{transform:translateY(-3px);box-shadow:0 18px 34px rgba(0,0,0,.24)}
.inside-v12 button:after{content:"↗";position:absolute;right:14px;bottom:14px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(6,17,29,.72);border:1px solid rgba(240,211,142,.7);color:#f0d38e;font-weight:900;pointer-events:none}.inside-v12-label{display:none!important}
.featured-book-hero .book-hero-grid{grid-template-columns:minmax(210px,300px) minmax(0,1fr);gap:clamp(34px,5vw,72px);align-items:center}.featured-book-hero .cover-frame{width:min(300px,100%);margin:0 auto}.featured-book-hero .cover-frame img{aspect-ratio:2/3;object-fit:cover}
.footer-v12-top p{overflow-wrap:normal;word-break:normal}
@media(max-width:760px){
  .site-header .brand-logo-icon{display:none!important}.site-header .brand-logo-full{display:block!important;height:48px!important;width:auto!important;max-width:235px!important}.header-inner{min-height:78px!important;gap:12px!important}.menu-btn{flex:0 0 auto}
  .hero-cinematic{padding:30px 0 26px!important}.hero-cinematic .wrap{width:calc(100% - 34px)!important}.hero-cinematic-grid{gap:20px!important}.hero-copy h1{font-size:clamp(2.45rem,11.3vw,3.2rem)!important;line-height:.96!important}.hero-copy p{font-size:1rem!important;line-height:1.52!important;margin-bottom:20px!important}.hero-copy .cta-row{margin-top:0!important}.hero-copy .cta-row .btn-ghost{display:none!important}.hero-search,.hero-proof{display:none!important}.coverflow{min-height:560px!important;margin-top:2px!important}
  .favorites-v13-head h2{font-size:clamp(2.2rem,9.2vw,2.6rem)!important;line-height:1.02!important;letter-spacing:-.025em!important;max-width:100%!important}.favorites-v13-head{max-width:100%!important}.favorites-v13-head p{font-size:1rem!important;line-height:1.55!important}
  .featured-book-hero .book-hero-grid{grid-template-columns:118px minmax(0,1fr)!important;gap:18px!important;align-items:start!important}.featured-book-hero .cover-frame{width:118px!important}.featured-book-hero h1{font-size:clamp(2rem,8vw,2.6rem)!important}.featured-book-hero .lede{font-size:1rem!important;line-height:1.5!important}.featured-book-hero .chips{display:none!important}.featured-book-hero .buy-row .btn{width:100%!important}.featured-book-hero .buy-row .btn-ghost{display:none!important}
  .footer-v12-top p{max-width:100%!important;width:100%!important;font-size:.97rem!important;line-height:1.55!important}.footer-v12-brand img{max-width:260px!important}
}
@media(max-width:430px){.site-header .brand-logo-full{max-width:205px!important;height:44px!important}.featured-book-hero .book-hero-grid{grid-template-columns:105px minmax(0,1fr)!important}.featured-book-hero .cover-frame{width:105px!important}}

@media(max-width:760px){.favorites-v13-head h2 .fav-line{display:block}.favorites-v13-head h2{font-size:clamp(2rem,8.6vw,2.35rem)!important}}


/* ============================================================
   V24 ESL DETAIL PAGES + MOBILE DENSITY POLISH
   ============================================================ */
.esl-fan-link{position:absolute;display:block;top:0;height:100%;z-index:1}
.esl-fan-link .esl-fan-cover{position:relative!important;left:auto!important;top:auto!important;height:auto}
.esl-hero-fan .esl-fan-link:nth-child(1){left:2%;transform:rotate(-12deg)}
.esl-hero-fan .esl-fan-link:nth-child(2){left:19%;top:37px;transform:rotate(-6deg);z-index:2}
.esl-hero-fan .esl-fan-link:nth-child(3){left:39%;top:8px;z-index:5}
.esl-hero-fan .esl-fan-link:nth-child(4){left:61%;top:38px;transform:rotate(6deg);z-index:3}
.esl-hero-fan .esl-fan-link:nth-child(5){left:78%;transform:rotate(12deg);z-index:1}
.esl-hero-fan .esl-fan-link:hover{z-index:8;filter:brightness(1.06)}
.esl-detail-page .featured-book-hero{background:linear-gradient(135deg,#182642,#4b4285 66%,#173d57)}
.esl-detail-page .featured-cover{box-shadow:0 28px 58px rgba(0,0,0,.42)}
.esl-detail-page .puzzle-section{background:#f4efe5}

@media(max-width:760px){
  /* Homepage: get the product into the first screen sooner without redesigning it. */
  .hero-cinematic{padding:20px 0 14px!important}
  .hero-cinematic .wrap{width:calc(100% - 30px)!important}
  .hero-cinematic-grid{gap:8px!important}
  .hero-copy .eyebrow{font-size:.72rem!important;line-height:1.35!important;margin-bottom:12px!important;letter-spacing:.16em!important}
  .hero-copy h1{font-size:clamp(2.15rem,9.1vw,2.55rem)!important;line-height:.94!important;margin-bottom:.28em!important}
  .hero-copy h1 .hero-title-line:first-child{white-space:nowrap!important}
  .hero-copy p{font-size:.94rem!important;line-height:1.45!important;margin:0 auto 14px!important;max-width:34ch!important}
  .hero-copy .cta-row .btn{padding:12px 16px!important;min-height:48px!important;font-size:.98rem!important}
  .coverflow{min-height:490px!important;margin-top:-2px!important}
  .coverflow-stage{height:350px!important;top:0!important}
  .coverflow-slide{width:190px!important}
  .coverflow-slide.is-prev{transform:translate(-50%,-50%) translateX(-140px) rotateY(34deg) scale(.80)!important}
  .coverflow-slide.is-next{transform:translate(-50%,-50%) translateX(140px) rotateY(-34deg) scale(.80)!important}
  .coverflow-slide.is-far-prev{transform:translate(-50%,-50%) translateX(-245px) rotateY(48deg) scale(.57)!important}
  .coverflow-slide.is-far-next{transform:translate(-50%,-50%) translateX(245px) rotateY(-48deg) scale(.57)!important}
  .coverflow-arrow{top:170px!important;width:44px!important;height:44px!important;font-size:1.7rem!important}
  .coverflow-caption{bottom:20px!important}
  .coverflow-caption h2{font-size:1.65rem!important}

  /* All Languages: shorten hero, search and filters so covers arrive sooner. */
  .languages-hero-compact{padding:22px 0 24px!important}
  .languages-hero-compact .wrap{width:calc(100% - 30px)!important}
  .languages-hero-compact .breadcrumbs{font-size:.88rem!important;margin-bottom:10px!important}
  .languages-hero-compact .kicker{font-size:.72rem!important;margin-bottom:7px!important}
  .languages-hero-compact h1{font-size:clamp(2.25rem,10.5vw,2.75rem)!important;line-height:1!important;margin:.05em 0 .16em!important}
  .languages-hero-compact .lede{font-size:.94rem!important;line-height:1.46!important;margin-bottom:10px!important}
  .languages-hero-compact .dir-search{margin-top:10px!important}
  .languages-hero-compact .dir-search input{padding:11px 13px!important;min-height:46px!important;border-radius:12px!important;font-size:.96rem!important}
  .languages-hero-compact + .section{padding-top:14px!important}
  .language-directory-section{padding-bottom:42px!important}
  .directory-tools{top:78px!important;padding:6px 0 7px!important;margin:0 0 8px!important}
  .filter-bar{gap:7px!important;margin-bottom:0!important}
  .chip{font-size:.82rem!important;padding:7px 11px!important;border-width:1.5px!important}
  .cover-wall{margin-top:12px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px 14px!important}

  /* ESL landing: same content, much less empty travel before the books. */
  .esl-collection-hero{padding:26px 0 18px!important}
  .esl-collection-hero .wrap{width:calc(100% - 30px)!important}
  .esl-hero-grid{gap:14px!important}
  .esl-hero-copy .breadcrumbs{font-size:.84rem!important;margin-bottom:10px!important;white-space:normal!important}
  .esl-hero-copy .kicker{font-size:.72rem!important;margin-bottom:7px!important}
  .esl-hero-copy h1{font-size:clamp(2.3rem,10.5vw,2.85rem)!important;line-height:.96!important;margin:.08em 0 .22em!important}
  .esl-hero-copy .lede{font-size:.94rem!important;line-height:1.48!important;margin-bottom:13px!important}
  .esl-hero-copy .cta-row{gap:8px!important;margin-top:0!important}
  .esl-hero-copy .cta-row .btn{padding:11px 14px!important;min-height:46px!important;font-size:.94rem!important}
  .esl-hero-fan{height:205px!important;max-width:390px!important;margin-top:0!important}
  .esl-fan-cover{width:92px!important}.esl-fan-3{width:102px!important}
  .esl-hero-fan .esl-fan-link:nth-child(1){left:1%!important}
  .esl-hero-fan .esl-fan-link:nth-child(2){left:18%!important;top:26px!important}
  .esl-hero-fan .esl-fan-link:nth-child(3){left:38%!important;top:2px!important}
  .esl-hero-fan .esl-fan-link:nth-child(4){left:59%!important;top:27px!important}
  .esl-hero-fan .esl-fan-link:nth-child(5){left:76%!important}
  .esl-catalog-page .statband .stat-grid{grid-template-columns:repeat(2,1fr)!important}
  .esl-catalog-page .section{padding-top:42px;padding-bottom:42px}
  .esl-catalog-page .book-tile{grid-template-columns:92px minmax(0,1fr)!important;gap:13px!important;padding:18px 0!important}
  .esl-catalog-page .book-tile .cover-frame{width:92px!important}
  .esl-catalog-page .book-tile h3{font-size:1.08rem!important;line-height:1.18!important}
  .esl-catalog-page .book-tile p{font-size:.9rem!important;line-height:1.45!important}
  .esl-catalog-page .details-link{margin:5px 0 9px!important;font-size:.9rem!important}
  .esl-catalog-page .book-tile .btn-sm{padding:9px 12px!important;font-size:.86rem!important;width:auto!important}
  .esl-catalog-page .store-links{font-size:.82rem!important}

  /* ESL detail pages: keep the hero compact and readable on phones. */
  .esl-detail-page .featured-book-hero{padding:30px 0 32px!important}
  .esl-detail-page .featured-book-hero .book-hero-grid{grid-template-columns:100px minmax(0,1fr)!important;gap:15px!important}
  .esl-detail-page .featured-book-hero .cover-frame{width:100px!important}
  .esl-detail-page .featured-book-hero .breadcrumbs{font-size:.78rem!important;line-height:1.35!important;margin-bottom:8px!important}
  .esl-detail-page .featured-book-hero .eyebrow{font-size:.7rem!important;line-height:1.3!important}
  .esl-detail-page .featured-book-hero h1{font-size:clamp(1.75rem,7.6vw,2.15rem)!important;line-height:1!important;margin:.12em 0 .22em!important}
  .esl-detail-page .featured-book-hero .lede{font-size:.9rem!important;line-height:1.42!important}
  .esl-detail-page .featured-book-hero .hero-proof{display:none!important}
  .esl-detail-page .featured-book-hero .buy-row .btn{padding:9px 11px!important;font-size:.84rem!important}
  .esl-detail-page .feature-detail,.esl-detail-page .feature-why,.esl-detail-page .related-section{padding:52px 0!important}
  .esl-detail-page .feature-detail-grid{grid-template-columns:1fr!important;gap:28px!important}
  .esl-detail-page .feature-lines{grid-template-columns:1fr!important}
  .esl-detail-page .feature-lines>div{border-right:0!important;border-bottom:1px solid #b8aa92!important;padding:22px 0!important}
  .esl-detail-page .feature-lines>div:last-child{border-bottom:0!important}
  .esl-detail-page .related-row{grid-template-columns:1fr!important;gap:20px!important}
}
@media(max-width:430px){
  .hero-copy h1{font-size:2.12rem!important}
  .esl-catalog-page .book-tile{grid-template-columns:86px minmax(0,1fr)!important}
  .esl-catalog-page .book-tile .cover-frame{width:86px!important}
}

/* ============================================================
   V25 MOBILE FINAL POLISH
   Registered after V24 phone QA. Desktop intentionally unchanged.
   ============================================================ */
@media (max-width:760px){
  /* Better mobile wrapping: avoid stranded final words wherever supported. */
  h1,h2,h3,.section-head h2,.hero-copy h1,.languages-hero-compact h1,.esl-hero-copy h1{
    text-wrap:balance;
  }
  p,.lede,.hero-copy p,.languages-hero-compact .lede,.esl-hero-copy .lede{
    text-wrap:pretty;
  }

  /* Homepage: slightly tighter first screen and cleaner carousel caption. */
  .hero-cinematic{padding:16px 0 10px!important}
  .hero-cinematic-grid{gap:4px!important}
  .hero-copy .eyebrow{margin-bottom:9px!important}
  .hero-copy h1{font-size:clamp(2.08rem,8.8vw,2.45rem)!important;line-height:.94!important;margin-bottom:.22em!important}
  .hero-copy p{font-size:.92rem!important;line-height:1.4!important;max-width:40ch!important;margin-bottom:11px!important}
  .hero-copy .cta-row .btn{padding:10px 15px!important;min-height:44px!important}
  .coverflow{min-height:430px!important;margin-top:-4px!important}
  .coverflow-stage{height:335px!important}
  .coverflow-slide{width:182px!important}
  .coverflow-slide.is-prev{transform:translate(-50%,-50%) translateX(-136px) rotateY(34deg) scale(.79)!important}
  .coverflow-slide.is-next{transform:translate(-50%,-50%) translateX(136px) rotateY(-34deg) scale(.79)!important}
  .coverflow-slide.is-far-prev{transform:translate(-50%,-50%) translateX(-232px) rotateY(48deg) scale(.55)!important}
  .coverflow-slide.is-far-next{transform:translate(-50%,-50%) translateX(232px) rotateY(-48deg) scale(.55)!important}
  .coverflow-arrow{top:164px!important;width:42px!important;height:42px!important}
  .coverflow-caption{bottom:21px!important;width:90%!important}
  .coverflow-caption .micro-label,
  .coverflow-caption h2,
  .coverflow-caption p{display:none!important}
  .coverflow-caption .story-link{display:inline-block!important;font-size:.92rem!important;line-height:1.2!important;margin:0!important;padding:2px 0 4px!important}
  .coverflow-dots{bottom:0!important;gap:7px!important}

  /* All Languages: one more density pass so the first row is more visible. */
  .languages-hero-compact{padding:17px 0 18px!important}
  .languages-hero-compact .breadcrumbs{font-size:.84rem!important;margin-bottom:7px!important}
  .languages-hero-compact .kicker{font-size:.68rem!important;margin-bottom:5px!important}
  .languages-hero-compact h1{font-size:clamp(2.1rem,9.7vw,2.55rem)!important;margin:.02em 0 .12em!important}
  .languages-hero-compact .lede{font-size:.9rem!important;line-height:1.4!important;margin-bottom:7px!important}
  .languages-hero-compact .dir-search{margin-top:7px!important}
  .languages-hero-compact .dir-search input{padding:9px 12px!important;min-height:42px!important;font-size:.92rem!important}
  .languages-hero-compact + .section{padding-top:9px!important}
  .directory-tools{padding:4px 0 5px!important;margin-bottom:5px!important}
  .filter-bar{gap:6px!important}
  .chip{font-size:.78rem!important;padding:6px 9px!important}
  .cover-wall{margin-top:8px!important;gap:16px 12px!important}

  /* ESL landing: reduce text travel, put the two choices on one row, shrink fan. */
  .esl-collection-hero{padding:18px 0 10px!important}
  .esl-hero-grid{gap:7px!important}
  .esl-hero-copy .breadcrumbs{font-size:.8rem!important;margin-bottom:7px!important}
  .esl-hero-copy .kicker{font-size:.68rem!important;margin-bottom:5px!important}
  .esl-hero-copy h1{font-size:clamp(2.02rem,9.3vw,2.5rem)!important;line-height:.94!important;margin:.04em auto .16em!important;max-width:13ch!important}
  .esl-hero-copy .lede{font-size:.88rem!important;line-height:1.38!important;margin:0 auto 9px!important;max-width:43ch!important}
  .esl-hero-copy .cta-row{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;width:100%!important;margin-top:0!important}
  .esl-hero-copy .cta-row .btn{padding:9px 8px!important;min-height:42px!important;font-size:.86rem!important;width:100%!important;white-space:nowrap!important}
  .esl-hero-fan{height:180px!important;max-width:355px!important}
  .esl-fan-cover{width:82px!important}.esl-fan-3{width:92px!important}
  .esl-hero-fan .esl-fan-link:nth-child(1){left:2%!important}
  .esl-hero-fan .esl-fan-link:nth-child(2){left:19%!important;top:22px!important}
  .esl-hero-fan .esl-fan-link:nth-child(3){left:39%!important;top:1px!important}
  .esl-hero-fan .esl-fan-link:nth-child(4){left:60%!important;top:22px!important}
  .esl-hero-fan .esl-fan-link:nth-child(5){left:77%!important}
}

@media (max-width:390px){
  .esl-hero-copy .cta-row{gap:5px!important}
  .esl-hero-copy .cta-row .btn{font-size:.8rem!important;padding-inline:6px!important}
  .coverflow-slide{width:174px!important}
}


/* ============================================================
   V26 COPY + RESPONSIVE POLISH
   Customer-facing copy cleanup and grammar fixes registered after V25 QA.
   ============================================================ */

/* Homepage sample instructions: keep the full explanation together on desktop. */
@media (min-width: 980px){
  #play .section-head{max-width:none}
  #play .section-head > p{white-space:nowrap;font-size:1rem}
}

/* ESL related-book heading: no slash and no awkward mobile line break. */
@media (max-width: 760px){
  .esl-detail-page .related-section .editorial-heading{max-width:none;margin-bottom:24px}
  .esl-detail-page .related-section .editorial-heading h2{
    font-size:clamp(1.3rem,5.8vw,1.85rem)!important;
    line-height:1.05!important;
    letter-spacing:-.03em!important;
    white-space:nowrap;
    text-wrap:nowrap;
  }
}

.cover-frame.cover-wide img{object-fit:contain;background:#0c1a2b}
.editions-section .edition-small{display:block}

/* Region pages: book carousel (replaces the static cover fan) */
.region-hero .coverflow-region{width:100%}
.coverflow-region.coverflow-many .coverflow-dots{display:none}
.region-hero .coverflow-region{overflow:hidden;border-radius:18px}

/* V31: clickable editions, size switcher */
a.cover-frame{display:grid;text-decoration:none}
.edition-title-link{color:inherit;text-decoration:none}
.edition-title-link:hover{text-decoration:underline;text-decoration-color:var(--gold)}
.format-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.format-row>span{font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--gold3,#e3c27a);font-weight:700;margin-right:4px}
.format-pill{display:inline-block;padding:7px 14px;border-radius:999px;border:1px solid rgba(227,194,122,.65);color:#fff;text-decoration:none;font-weight:700;font-size:.9rem;background:rgba(255,255,255,.06)}
.format-pill:hover{background:rgba(227,194,122,.2)}
.format-pill.is-current{background:var(--gold3,#e3c27a);color:#0c1a2b;border-color:transparent}
@media (min-width:901px){body .book-hero.featured-book-hero h1{font-size:clamp(2.2rem,3.3vw,3.2rem)!important;line-height:1.06!important}}
/* V31: carousel captions stay clean */
.coverflow-caption .micro-label{display:none!important}
.coverflow-caption h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}

/* V31: homepage region cards — gently scrolling cover strip */
.cover-marquee{grid-area:deck;overflow:hidden;position:relative;padding:14px 0 6px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
.cover-track{display:flex;gap:22px;width:max-content;animation:swb-marquee 90s linear infinite}
.cover-marquee:hover .cover-track,.cover-marquee:focus-within .cover-track{animation-play-state:paused}
.marquee-book{flex:0 0 auto;width:150px;text-decoration:none;text-align:center}
.marquee-book img{display:block;width:150px;height:225px;object-fit:cover;border-radius:6px;box-shadow:0 18px 36px rgba(0,0,0,.42);border:1px solid rgba(240,211,142,.45);transition:transform .3s ease}
.marquee-book:hover img,.marquee-book:focus img{transform:translateY(-6px)}
.marquee-book span{display:block;margin-top:10px;color:#f3e7c5;font-weight:700;font-size:.9rem;letter-spacing:.02em}
@keyframes swb-marquee{to{transform:translateX(-50%)}}
@media (max-width:700px){.marquee-book{width:118px}.marquee-book img{width:118px;height:177px}.cover-track{gap:16px}}
@media (prefers-reduced-motion:reduce){.cover-track{animation:none}.cover-marquee{overflow-x:auto}}
.esl-collection-hero .coverflow{overflow:hidden;border-radius:18px}
/* V34: region strips are scrollable with arrows (works with or without motion) */
.marquee-wrap{grid-area:deck;position:relative;min-width:0}
.marquee-wrap .cover-marquee{grid-area:auto;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.marquee-wrap .cover-marquee::-webkit-scrollbar{display:none}
.marquee-wrap .cover-track{animation:none!important;padding:0 24px}
.marquee-controls{display:flex;justify-content:flex-end;gap:10px;margin-bottom:12px}
.marquee-controls button{width:46px;height:46px;border-radius:50%;border:1px solid rgba(240,211,142,.7);background:rgba(6,17,29,.55);color:#f3e7c5;font-size:1.2rem;cursor:pointer}
.marquee-controls button:hover,.marquee-controls button:focus-visible{background:var(--gold3,#e3c27a);color:#0c1a2b}
/* 8.5 x 11 and 8.25 x 11 covers keep their real shape */
.cover-frame.cover-wide{aspect-ratio:17/22}
.cover-frame.cover-wide.cover-825{aspect-ratio:3/4}
.cover-frame.cover-wide img{object-fit:cover!important;background:none!important}
/* V35: "Inside the book" gets an At-a-glance card instead of empty space */
.inside-section{padding-bottom:28px!important}
.inside-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:56px;align-items:start}
.glance-card{background:linear-gradient(160deg,#0c1a2b,#12324a);color:#e8eef3;border:1px solid rgba(227,194,122,.45);border-radius:18px;padding:26px 26px 22px;box-shadow:0 22px 44px rgba(12,26,43,.22)}
.glance-card .kicker{color:var(--gold3,#e3c27a)}
.glance-card h3{color:#fff;font-size:1.25rem;margin:.35em 0 .6em}
.glance-themes{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px}
.glance-themes li{padding:6px 12px;border-radius:999px;background:rgba(227,194,122,.14);border:1px solid rgba(227,194,122,.45);color:#f3e7c5;font-weight:600;font-size:.88rem}
.glance-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px 18px;margin:0 0 20px;padding:16px 0 0;border-top:1px solid rgba(227,194,122,.25)}
.glance-facts div{min-width:0}
.glance-facts dt{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:#9fb3c4;margin:0}
.glance-facts dd{margin:2px 0 0;font-weight:700;color:#fff}
.glance-more{margin-top:18px;padding-top:14px;border-top:1px solid rgba(227,194,122,.25);display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}
.glance-more span{width:100%;font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:#9fb3c4}
.glance-more a{color:var(--gold3,#e3c27a);font-weight:700;font-size:.92rem}
@media (max-width:900px){.inside-grid{grid-template-columns:1fr;gap:28px}}
/* V36: tighter spacing around "Inside the book" and the sample puzzle */
.inside-section{padding-top:56px!important;padding-bottom:12px!important}
.inside-section .prose h2{margin-top:.25em!important;margin-bottom:.45em!important}
.inside-section .prose p{margin-bottom:.8em}
.inside-grid{align-items:center}
.inside-section + .puzzle-section{padding-top:36px!important}
@media (max-width:900px){.inside-section{padding-top:36px!important}}
.feature-detail-grid .glance-card{align-self:center}
/* V37: professional line breaks everywhere */
h1,h2,h3,.coverflow-caption h2,.edition-row strong,.glance-card h3{text-wrap:balance}
p,li,small,figcaption,.lede{text-wrap:pretty}
.book-hero h1{overflow-wrap:normal;word-break:normal;hyphens:none}
/* V38: "Choose your edition" strip under the hero */
.edition-strip{background:#0c1a2b;border-top:1px solid rgba(227,194,122,.35);border-bottom:1px solid rgba(227,194,122,.35);padding:14px 0}
.edition-strip .wrap{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.edition-strip-label{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold3,#e3c27a);font-weight:700;white-space:nowrap}
.edition-strip-list{display:flex;gap:10px;flex-wrap:wrap}
.edition-chip{display:flex;align-items:center;gap:10px;padding:6px 14px 6px 6px;border-radius:12px;border:1px solid rgba(227,194,122,.35);background:rgba(255,255,255,.04);color:#f3e7c5;text-decoration:none;font-weight:700;font-size:.9rem}
.edition-chip img{width:30px;height:45px;object-fit:cover;border-radius:3px;box-shadow:0 4px 10px rgba(0,0,0,.4)}
.edition-chip:hover,.edition-chip:focus-visible{background:rgba(227,194,122,.18);border-color:var(--gold3,#e3c27a)}
.edition-chip.is-current{background:var(--gold3,#e3c27a);color:#0c1a2b;border-color:transparent}
/* V38: editions list as a grid of cards (no empty space on the right) */
.editions-section .prose{max-width:none}
[data-cover-section]{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px}
[data-cover-section]>h2,[data-cover-section]>p{grid-column:1/-1;margin-bottom:0}
[data-cover-section] .edition-row{margin:0!important;background:#fff!important;border:1px solid var(--line,#e2d9c8)!important;border-radius:16px!important;padding:14px 16px!important;grid-template-columns:72px 1fr!important;align-items:center}
[data-cover-section] .edition-row .cover-frame{width:72px!important}
[data-cover-section] .edition-row small{font-size:.86rem}
[data-cover-section] .edition-links{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.86rem}
/* catalog edition tags */
.cover-wall .ed-tag{color:var(--gold,#b8913c)!important;font-weight:700;letter-spacing:.02em}
.type-bar{margin-top:10px}
.row-beginners .regional-row-copy h3{color:inherit}
.prose [data-cover-section]{width:min(100vw - 48px,1240px);max-width:none}
@media (max-width:700px){.prose [data-cover-section]{width:auto}}

/* V39 — phone book pages: big cover first, details stacked underneath */
@media(max-width:760px){
  .book-hero.featured-book-hero,.esl-detail-page .book-hero.featured-book-hero{padding:18px 0 36px!important}
  .featured-book-hero .breadcrumbs{font-size:.85rem!important;line-height:1.4!important;margin-bottom:16px!important}
  .featured-book-hero .book-hero-grid,.esl-detail-page .featured-book-hero .book-hero-grid{grid-template-columns:1fr!important;gap:24px!important;align-items:start!important;justify-items:center!important}
  .featured-book-hero .cover-frame,.esl-detail-page .featured-book-hero .cover-frame{width:min(76vw,330px)!important;margin:0 auto!important;box-shadow:0 22px 50px rgba(0,0,0,.5)!important}
  .featured-book-hero .cover-frame.cover-wide{width:min(86vw,370px)!important}
  .featured-book-hero .book-hero-grid>div:last-child{width:100%;text-align:center}
  .featured-book-hero .kicker,.featured-book-hero .eyebrow{font-size:.74rem!important;letter-spacing:.2em!important;margin-bottom:6px!important}
  .featured-book-hero h1,.esl-detail-page .featured-book-hero h1{font-size:clamp(2rem,8.4vw,2.5rem)!important;line-height:1.05!important;margin:.1em auto .35em!important;max-width:15em}
  .featured-book-hero .lede,.esl-detail-page .featured-book-hero .lede{font-size:1rem!important;line-height:1.55!important;max-width:34em;margin-left:auto!important;margin-right:auto!important}
  .featured-book-hero .chips{display:flex!important;flex-wrap:wrap;justify-content:center;gap:6px!important;margin:14px 0 4px!important;padding:0!important}
  .featured-book-hero .chips li{font-size:.78rem!important;padding:5px 11px!important}
  .featured-book-hero .buy-row{justify-content:center!important;margin-top:16px!important}
  .featured-book-hero .buy-row .btn-gold{width:100%!important;max-width:400px}
  .featured-book-hero .format-row{justify-content:center!important;gap:8px!important;margin-top:16px!important}
  .featured-book-hero .format-row>span{flex-basis:100%;text-align:center;font-size:.74rem!important;letter-spacing:.18em!important;margin:0 0 2px!important}
  .featured-book-hero .format-pill{font-size:.86rem!important;padding:8px 14px!important}
  .featured-book-hero .notice{text-align:center;font-size:.86rem!important;margin-left:auto;margin-right:auto}
}
@media(max-width:760px){
  .edition-strip-list{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .edition-chip{min-width:0!important;padding:6px 10px 6px 6px!important}
  .edition-chip span{font-size:.86rem!important;line-height:1.2!important;white-space:normal!important}
}
@media(max-width:760px){.edition-strip .wrap{display:block!important}.edition-strip-list{width:100%!important;max-width:none!important}.edition-strip-label{display:block;margin-bottom:12px}}
.tile-ed-tag{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8a6a1f;background:#f6ecd4;border:1px solid #e6d2a4;border-radius:999px;padding:3px 10px;margin-bottom:6px}
.marquee-book span small{display:block;font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#d8b86a;margin-top:2px}
.marquee-book.marquee-wide{width:auto}
.marquee-book.marquee-wide img{width:auto;aspect-ratio:17/22}
.marquee-book.marquee-825 img{aspect-ratio:3/4}
.marquee-book.marquee-wide span{max-width:150px;margin-left:auto;margin-right:auto}@media(max-width:760px){.marquee-book.marquee-wide span{max-width:118px}}
@media(max-width:760px){
  .book-hero.region-hero{padding:18px 0 24px!important}
  .region-hero .breadcrumbs{font-size:.85rem!important;margin-bottom:10px!important}
  .region-hero .kicker{font-size:.72rem!important;margin-bottom:4px!important}
  .region-hero h1{font-size:clamp(2rem,8.6vw,2.5rem)!important;line-height:1.04!important;margin:.05em 0 .3em!important}
  .region-hero .lede{font-size:1rem!important;line-height:1.5!important;margin-bottom:0!important}
  .region-hero .region-hero-grid{gap:14px!important}
}

/* ===== V43 design polish: consistency and restraint ===== */
/* Book pages: one place for editions, no repeated fact band */
main:has(.edition-strip) .featured-book-hero .format-row{display:none}
main:has(.featured-book-hero) .statband{display:none}
.featured-book-hero .buy-row{gap:10px}
/* Content column and glance card line up at the top */
.inside-grid{align-items:start!important}
.feature-detail-grid .glance-card,.inside-grid .glance-card{align-self:start!important}
/* Questions: clean accordion instead of browser triangles */
details.faq{border-bottom:1px solid var(--line);padding:0}
details.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 2px;font-weight:700}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{content:"+";font-size:1.4rem;line-height:1;color:var(--emerald);font-weight:400;flex:0 0 auto}
details.faq[open] summary::after{content:"\2212"}
details.faq p{margin:0 0 16px;padding:0 2px;color:var(--muted)}
/* Edition cards: quieter store links */
[data-cover-section] .edition-links{gap:4px 14px;font-weight:600}
[data-cover-section] .edition-links a{color:var(--emerald);text-decoration:none;border-bottom:1px solid rgba(14,90,72,.25)}
[data-cover-section] .edition-links a:hover{border-bottom-color:currentColor}
/* One card radius */
.book-tile,.edition-row,.glance-card,.puzzle{border-radius:14px}
/* Homepage hero: buttons side by side */
@media(min-width:761px){.hero-copy .cta-row{flex-wrap:nowrap}.hero-copy .cta-row .btn{width:auto!important;flex:0 0 auto}}
/* Homepage quick links: even grid, no orphan */
.favorites-v13-links{display:grid!important;grid-template-columns:repeat(4,1fr)!important}
.favorites-v13-links a{border-right:1px solid var(--line)}
.favorites-v13-links a:last-child{border-right:0}
@media(max-width:760px){.favorites-v13-links{grid-template-columns:1fr 1fr!important}.favorites-v13-links a:nth-child(2n){border-right:0}}
/* Region and collection pages: three books per row on desktop */
@media(min-width:1100px){main:has(.region-hero) .tile-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0 36px!important}}
@media(min-width:941px) and (max-width:1099px){main:has(.region-hero) .tile-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* Catalog filters on phones: two swipeable rows instead of six wrapped lines */
@media(max-width:760px){
  .filter-bar{flex-wrap:nowrap!important;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin-left:-16px;margin-right:-16px;padding:2px 16px 4px}
  .filter-bar::-webkit-scrollbar{display:none}
  .filter-bar .chip{flex:0 0 auto;white-space:nowrap}
}
@media(min-width:1100px){
  main:has(.region-hero) .tile-list .book-tile{grid-template-columns:104px minmax(0,1fr)!important;gap:18px!important}
  main:has(.region-hero) .tile-list .book-tile .cover-frame,main:has(.region-hero) .tile-list .book-cover-link{width:104px!important;max-width:104px!important}
  main:has(.region-hero) .tile-list .book-tile h3{font-size:1.12rem!important;line-height:1.2!important}
  main:has(.region-hero) .tile-list .book-tile p{font-size:.95rem!important;line-height:1.5!important}
}
main:has(.region-hero) .tile-list .book-tile .btn{white-space:nowrap}
@media(max-width:760px){.directory-tools{background:#f3efe5!important;backdrop-filter:none!important;box-shadow:0 8px 14px -10px rgba(12,26,43,.35)}}
.favorites-v13-links a{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:4px!important;padding:16px 18px!important}
.favorites-v13-links strong{white-space:nowrap}

/* ===== V44 fix 1: regional grids (941-1099: compact 2 columns; 761-940: 1 column) ===== */
@media(min-width:941px) and (max-width:1099px){
  main:has(.region-hero) .tile-list{gap:0 28px!important}
  main:has(.region-hero) .tile-list .book-tile{grid-template-columns:96px minmax(0,1fr)!important;gap:16px!important;padding:16px 0!important}
  main:has(.region-hero) .tile-list .book-tile .cover-frame,main:has(.region-hero) .tile-list .book-cover-link{width:96px!important;max-width:96px!important}
  main:has(.region-hero) .tile-list .book-tile h3{font-size:1.08rem!important;line-height:1.22!important}
  main:has(.region-hero) .tile-list .book-tile p{font-size:.94rem!important;line-height:1.5!important}
  main:has(.region-hero) .tile-list .book-tile .btn{font-size:.9rem!important;padding-left:18px!important;padding-right:18px!important}
}
@media(min-width:761px) and (max-width:940px){
  main:has(.region-hero) .tile-list{grid-template-columns:minmax(0,1fr)!important}
}
/* ===== V44 fix 2: compact desktop header so nav labels stay on one line ===== */
@media(min-width:941px) and (max-width:1279px){
  nav[aria-label="Main"] a{white-space:nowrap}
}
@media(min-width:1100px) and (max-width:1279px){
  .site-header .brand-logo-full{height:70px!important;max-width:276px!important}
  .header-inner{gap:16px!important}
  nav[aria-label="Main"]{gap:12px!important}
  nav[aria-label="Main"] a{padding:10px 11px!important;font-size:15px!important}
  nav[aria-label="Main"] a.nav-pill{padding-inline:15px!important}
}
@media(min-width:941px) and (max-width:1099px){
  .site-header .brand-logo-full{height:58px!important;max-width:228px!important}
  .header-inner{gap:12px!important}
  nav[aria-label="Main"]{gap:4px!important}
  nav[aria-label="Main"] a{padding:9px 9px!important;font-size:14.5px!important}
  nav[aria-label="Main"] a.nav-pill{padding-inline:13px!important}
}
/* 901-940: the full menu cannot fit without crowding the logo, so use the same menu button as 900px and below */
@media(min-width:901px) and (max-width:940px){.menu-btn{display:block}nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--navy);flex-direction:column;align-items:stretch;padding:10px 20px 18px;border-bottom:2px solid var(--gold)}.site-header.mobile-open nav{display:flex}nav a{padding:14px 10px}.site-header{position:sticky}}
/* 1100-1199: keep 3 columns, but use the compact tile sizing so the Amazon button fits (pre-existing V43 clipping at 1100-1181) */
@media(min-width:1100px) and (max-width:1199px){
  main:has(.region-hero) .tile-list .book-tile{grid-template-columns:96px minmax(0,1fr)!important;gap:16px!important}
  main:has(.region-hero) .tile-list .book-tile .cover-frame,main:has(.region-hero) .tile-list .book-cover-link{width:96px!important;max-width:96px!important}
  main:has(.region-hero) .tile-list .book-tile .btn{font-size:.9rem!important;padding-left:16px!important;padding-right:16px!important}
}

/* ===== V46 accessibility and alignment fixes ===== */
/* Fix 1: edition labels readable (WCAG AA 4.5:1) */
.cover-wall .ed-tag{color:#7a5b12!important}
.tile-ed-tag{color:#74560f}
/* Fix 2: ESL "Built for English practice" section text readable */
.feature-why .editorial-heading p{color:#4a5561}
.feature-lines span{color:#8a6a1f}
/* Fix 3: region pages, Amazon buttons line up across each row */
main:has(.region-hero) .tile-list .book-tile{align-items:stretch!important}
main:has(.region-hero) .tile-list .book-tile>div{display:flex;flex-direction:column;align-items:flex-start}
main:has(.region-hero) .tile-list .book-tile .details-link{margin-top:auto}
/* Fix 4: search box on the 404 page */
.nf-search{display:flex;gap:10px;max-width:560px;margin:8px 0 28px}
.nf-search input{flex:1;min-width:0;font:inherit;padding:13px 16px;border-radius:12px;border:2px solid #c9bfae;background:#fff;color:var(--ink)}
.nf-search input:focus{outline:3px solid var(--gold);border-color:var(--gold)}
.nf-search .btn{min-height:0;padding:12px 22px}
