/* BookHunt overrides only; original styles and vendor versions stay intact. */
body.dark-theme {
 --book-navy:#030d20;
 --book-secondary:#06172d;
 --book-card:#101e3d;
 --book-card-raised:#142342;
 --book-ivory:#F2EEE6;
 --book-muted:#bbc3d0;
 --book-copper:#C98262;
 --book-highlight:#D99A72;
 --book-border:rgba(242,239,233,.10);
 --book-border-accent:rgba(201,130,98,.25);
 --theme-primary-color:var(--book-copper);
 --theme-secondary-color:var(--book-highlight);
 --theme-heading-color:var(--book-ivory);
 --theme-text-color:var(--book-ivory);
 --theme-text-white:var(--book-ivory);
 --theme-bg-white:var(--book-ivory);
 --color-dark-bg:var(--book-navy);
 --color-dark-bg-light:var(--book-secondary);
 --color-dark-bg-secondary:var(--book-card);
 --color-dark-text:var(--book-ivory);
 --color-dark-text-gray:var(--book-muted);
 --color-dark-text-light:var(--book-border);
 --color-dark-border:var(--book-border);
 --theme-primary-font:"Manrope", Arial, sans-serif;
 --theme-body-font:"Manrope", Arial, sans-serif;
 --book-editorial-font:"Bodoni Moda", Georgia, serif;
 --book-heading-ivory:var(--book-ivory);
 background:var(--book-navy);
 font-weight:400;
 line-height:1.65;
}
.dark-theme p { font-weight:400; line-height:1.65; }
.dark-theme h2 { font-family:var(--theme-body-font); font-weight:600; }
.dark-theme h1,#why-title,#story-title,
.dark-theme #themes h2,.dark-theme #about h2,.dark-theme #extract h2 {
 font-family:var(--book-editorial-font);
 font-weight:500;
 color:var(--book-heading-ivory);
}
.dark-theme h1 { font-weight:600; }
.dark-theme h3,.dark-theme h4,.dark-theme h5,.dark-theme h6 { font-family:var(--theme-body-font); font-weight:600; }
.dark-theme nav,.dark-theme .mobile-navigation summary,.dark-theme .language-selector { font-family:var(--theme-body-font); font-weight:500; }
.dark-theme .btn { font-family:var(--theme-body-font); font-size:14px; font-weight:600; letter-spacing:.3px; }
.dark-theme .secondary-link { font-family:var(--theme-body-font); font-weight:600; }
[id] { scroll-margin-top:110px; }
.dark-theme main h2 { font-size:42px; line-height:1.1; letter-spacing:-.025em; }
main h3 { font-size:20px; line-height:1.35; }
.dark-theme main .subheading { font-family:var(--theme-body-font); font-size:12px; font-weight:600; line-height:1.6; letter-spacing:.10em; text-transform:uppercase; }
.dark-theme main .section-heading > .subheading { display:block; color:var(--book-copper); margin-bottom:16px; }
.section-padding { padding:76px 0; }
.section-heading { margin-bottom:0; }
.section-heading p { margin-top:20px; }
.section-intro { max-width:960px; margin:0 auto 36px; }
/* Approved reference: editorial header, hero and photographic cards. */
header, .banner { background:transparent; }
body.dark-theme { background:radial-gradient(ellipse 70% 750px at 24% 180px,rgba(19,55,88,.34),transparent 72%),radial-gradient(ellipse 55% 650px at 86% 210px,rgba(48,67,84,.30),transparent 70%),var(--book-navy); }
.site-navigation.main-menu-area { padding:0; border-bottom:1px solid rgba(255,255,255,.08); }
.site-navigation > .container,.banner > .container { width:calc(100% - 120px); max-width:1280px; padding:0; }
.site-navigation > .container > .row { display:grid; grid-template-columns:minmax(200px,1fr) auto auto; column-gap:24px; min-height:80px; }
.site-navigation .row > div { width:auto; }
.main-logo { width:auto; }
.main-logo .book-brand { color:var(--book-ivory); font-family:var(--theme-body-font); font-size:21px; font-weight:400; letter-spacing:.14em; text-transform:uppercase; line-height:1.15; display:inline-block; padding:14px 0; }
.main-menu { padding:0; }
.main-menu ul { display:flex; gap:38px; margin:0; padding:0; }
.main-menu ul li a,.book-brand,.mobile-navigation a { transition:color 250ms ease; }
.main-menu ul > li { margin:0; }
.main-menu ul > li > a { font-size:16px; letter-spacing:0; font-weight:400; }
.language-selector nav { white-space:nowrap; color:var(--book-muted); }
.language-selector a { transition:color 250ms ease; display:inline-flex; align-items:center; justify-content:center; min-width:36px; min-height:44px; color:var(--book-ivory); }
.language-selector [aria-current] { color:var(--book-copper); text-decoration:underline; text-underline-offset:6px; }
.banner { padding:26px 0 28px; position:relative; }
.banner > .container > .row { display:grid; grid-template-columns:62% 38%; margin:0; }
.banner .row > div { width:auto; padding:0; min-width:0; }
.banner .banner-content h1 { max-width:6.1em; font-size:clamp(70px,6.2vw,100px); font-weight:600; line-height:calc(.86em + clamp(8px,.7vw,10px)); letter-spacing:-.015em; text-transform:uppercase; margin:12px 0 10px; }
.banner .banner-content .subheading { display:block; color:var(--book-copper); font-size:12px; letter-spacing:.14em; line-height:1.6; }
.banner .banner-content .book-subtitle { position:relative; font-size:clamp(28px,2vw,30px); font-weight:500; line-height:1.25; margin:20px 0 24px; letter-spacing:.015em; color:var(--book-ivory); }
.banner .banner-content .book-subtitle span { padding:0; background:none; }
.banner .banner-content .book-subtitle::after { content:''; display:block; width:80px; height:2px; margin-top:11px; background:var(--book-copper); }
.banner .banner-content .hero-intro { font-size:18px; font-weight:400; line-height:1.5; margin:0 0 14px; max-width:565px; color:var(--book-ivory); }
.banner .banner-content .hero-checks { padding:0; margin:0 0 20px; list-style:none; }
.banner .banner-content .hero-checks li { display:flex; gap:22px; font-size:15px; line-height:1.5; font-weight:400; color:#d5dbe5; margin:0 0 5px; }
.banner .banner-content .hero-checks li i { margin:4px 2px 0; width:15px; height:9px; border-left:2px solid var(--book-copper); border-bottom:2px solid var(--book-copper); transform:rotate(-45deg); flex-shrink:0; }
.hero-checks i::before { content:none; }
.hero-actions { display:flex; flex-wrap:wrap; gap:17px; }
.hero-actions .btn { padding:14px 26px; min-width:200px; border-radius:4px; font-size:15px; font-weight:400; line-height:1.5; letter-spacing:0; }
.banner .banner-content .hero-actions .btn { margin:0; }
.hero-actions .btn-main::after { content:' \2192'; }
.dark-theme .hero-actions .btn-main { background:linear-gradient(135deg,var(--book-copper) 0%,var(--book-highlight) 100%); color:#fff; border-color:transparent; }
.dark-theme .hero-actions .btn-main-tp { color:var(--book-ivory); border:1px solid rgba(201,130,98,.5); background:transparent; }
.book-cover { position:relative; isolation:isolate; margin:0; text-align:center; }
.book-cover::before { content:''; position:absolute; z-index:-1; inset:-8% -10% -4%; background:radial-gradient(ellipse at 50% 42%,rgba(37,76,104,.24),transparent 65%); }
.book-cover::after { content:''; position:absolute; z-index:-1; left:-18%; right:-18%; bottom:-12px; height:52px; background:radial-gradient(ellipse,rgba(204,147,101,.22),rgba(53,73,91,.1) 48%,transparent 72%); }
.book-cover img { width:100%; max-width:330px; height:auto; object-fit:contain; box-shadow:none; }
.book-cover figcaption { color:var(--book-muted); font-size:13px; margin-top:12px; }
.center-about { padding:18px 0 48px; background:linear-gradient(180deg,transparent,rgba(3,13,32,.55) 50%,var(--book-navy)),radial-gradient(ellipse at 75% 30%,rgba(20,52,80,.15),transparent 65%); }
.center-about > .container { width:calc(100% - 120px); max-width:1408px; padding:0; }
.center-about .section-intro { max-width:1050px; margin:0 auto 20px; }
.dark-theme .center-about .subheading { font-weight:400; letter-spacing:.15em; margin-bottom:10px; }
.dark-theme #why-title { font-size:clamp(38px,3.3vw,52px); font-weight:400; line-height:1.12; letter-spacing:-.025em; margin:0; }
#why-title span { display:block; color:var(--book-heading-ivory); }
.feature-style-2 { height:calc(100% - 24px); padding:28px 24px; }
.feature-text h3 { margin-bottom:12px; }
.feature-style-2 p { line-height:1.65; }
.why-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin:0; }
.why-cards > div { width:auto; padding:0; }
.dark-theme .why-cards .feature-style-2 { position:relative; isolation:isolate; height:100%; min-height:250px; padding:20px 32px; overflow:hidden; border:1px solid rgba(205,215,230,.22); border-radius:10px; background:transparent; box-shadow:none; text-align:left; transition:border-color 260ms ease; }
.why-cards .feature-style-2::after { content:''; position:absolute; z-index:-2; inset:0; background:var(--card-image) center / cover; filter:saturate(.82) contrast(1.04); transition:transform 650ms ease; }
.why-cards > div:nth-child(1) { --card-image:url('../images/book/back1.png'); }
.why-cards > div:nth-child(2) { --card-image:url('../images/book/back2.png'); }
.why-cards > div:nth-child(3) { --card-image:url('../images/book/back3.png'); }
.why-cards .feature-style-2::before { content:''; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,rgba(3,13,32,.90),rgba(3,13,32,.67) 45%,rgba(3,13,32,.08)),linear-gradient(0deg,rgba(3,13,32,.8),transparent 65%); }
.why-cards .feature-style-2 > i { display:flex; align-items:center; justify-content:center; width:70px; height:70px; margin-bottom:16px; color:var(--book-copper); border:1px solid rgba(201,130,98,.75); border-radius:50%; background:rgba(3,13,32,.45); }
.why-cards .feature-style-2 > i::before { content:''; width:38px; height:38px; background:currentColor; mask:var(--card-icon) center / contain no-repeat; }
.dark-theme .why-cards h3 { font-family:var(--book-editorial-font); font-size:clamp(22px,1.75vw,27px); font-weight:400; line-height:1.1; letter-spacing:-.035em; color:var(--book-ivory); margin:0; }
.why-cards h3::after { content:''; display:block; width:34px; height:1px; background:var(--book-copper); margin:12px 0 14px; }
.dark-theme .why-cards p { max-width:300px; font-size:16px; font-weight:400; line-height:1.45; color:rgba(240,242,246,.90); margin:0; }
@media(hover:hover) and (pointer:fine) { .why-cards .feature-style-2:hover::after { transform:scale(1.025); } .dark-theme .why-cards .feature-style-2:hover { transform:none; border-color:rgba(205,215,230,.46); } .why-cards .feature-style-2:hover > i { color:var(--book-highlight); border-color:var(--book-highlight); } }
.story-section { background:radial-gradient(ellipse at 78% 45%,rgba(22,49,72,.18),transparent 62%),var(--book-navy); }
.story-section > .container { width:calc(100% - 120px); max-width:1280px; padding:0; }
.story-layout { display:grid; grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr); gap:48px; align-items:center; }
.story-copy { min-width:0; }
.dark-theme .story-section .subheading { font-size:12px; font-weight:500; letter-spacing:.14em; }
.dark-theme #story-title { font-family:var(--book-editorial-font); font-size:clamp(32px,2.55vw,38px); font-weight:400; line-height:1.12; letter-spacing:-.025em; margin:0; }
.story-caption { margin-top:32px; }
.story-caption::before { content:''; display:block; width:34px; height:1px; background:var(--book-copper); margin-bottom:24px; }
.story-context { display:block; font-size:12px; color:var(--book-muted); margin-bottom:10px; letter-spacing:.04em; }
.dark-theme .story-caption h3 { font-family:var(--book-editorial-font); font-size:30px; font-weight:400; line-height:1.1; margin:0 0 16px; color:var(--book-ivory); }
.dark-theme .story-caption p { font-size:16px; line-height:1.75; color:#e7e9ee; margin:0 0 18px; }
.story-caption .secondary-link { font-size:15px; font-weight:400; text-decoration:none; }
.story-caption .secondary-link span { color:var(--book-copper); }
.story-visual { position:relative; isolation:isolate; margin:0; min-width:0; }
.story-visual::before { content:''; position:absolute; z-index:-1; inset:12% -3% 4%; background:radial-gradient(ellipse at 55% 35%,rgba(180,123,67,.08),transparent 64%); filter:blur(28px); pointer-events:none; }
.story-photo { display:block; width:100%; height:clamp(520px,40vw,580px); object-fit:cover; object-position:40% center; border-radius:6px; }
@media(max-width:1199px) {
 .story-section > .container { width:calc(100% - 64px); }
 .story-layout { gap:32px; }
}
@media(max-width:1024px) {
 .story-layout { grid-template-columns:minmax(0,1fr); gap:40px; }
 .story-photo { height:auto; aspect-ratio:3/2; object-fit:contain; }
}
@media(max-width:767px) {
 .story-section > .container { width:calc(100% - 40px); }
 .story-layout { gap:32px; }
 .dark-theme #story-title { font-size:32px; }
 .story-caption { margin-top:28px; }
}
.secondary-link { transition:color 250ms ease; display:inline-flex; align-items:center; gap:14px; min-height:44px; color:var(--book-ivory); text-decoration:underline; text-underline-offset:5px; }
.secondary-link:hover { color:var(--book-copper); }
.theme-cards .feature-style-2 { text-align:left; padding:24px; }
.theme-cards .feature-text h3 { font-family:var(--book-editorial-font); font-size:clamp(24px,1.8vw,27px); font-weight:400; line-height:1.17; color:var(--book-ivory); margin-bottom:12px; }
.theme-cards .feature-text p { font-size:15px; }
.about-section .heading-title { font-size:42px; }
.about-copy > p { margin:0 0 16px; }
.method-note { border-left:2px solid var(--book-border-accent); padding:14px 18px; background:var(--book-secondary); margin-top:24px; }
.method-note p { font-size:13px; line-height:1.65; margin:0; color:var(--book-muted); }
/* Editorial author page */
.section-author.section-padding { padding:88px 0; }
.author-layout { display:grid; grid-template-columns:minmax(250px,.82fr) minmax(300px,1fr) minmax(0,1.45fr); gap:52px; align-items:center; }
.author-portrait { position:relative; margin:0; width:100%; max-width:320px; aspect-ratio:4/5; overflow:hidden; border:1px solid var(--book-border-accent); border-radius:8px; }
.author-portrait img { display:block; width:100%; height:100%; object-fit:cover; object-position:center top; filter:saturate(.82) contrast(1.04) brightness(.92); }
.author-eyebrow { display:inline-block; color:var(--book-copper); font-family:var(--theme-body-font); font-size:12px; font-weight:500; letter-spacing:.12em; line-height:1.5; text-transform:uppercase; }
.author-eyebrow::after { content:''; display:block; width:40px; height:2px; margin-top:10px; background:var(--book-copper); }
.dark-theme .author-identity h2 { margin:22px 0 16px; color:var(--book-ivory); font-family:var(--book-editorial-font); font-size:clamp(48px,3.7vw,56px); font-weight:400; line-height:1.04; letter-spacing:-.025em; }
.author-role { max-width:340px; margin:0; color:var(--book-muted); font-family:var(--theme-body-font); font-size:20px; font-weight:400; line-height:1.55; }
.author-desc { max-width:570px; }
.author-desc > p { margin:0 0 22px; color:rgba(235,238,244,.88); font-size:17px; line-height:1.7; }
.author-desc > p:last-child { margin-bottom:0; }
.author-affiliations { border-top:1px solid var(--book-border); padding-top:22px; margin-top:42px; }
.author-affiliations > p { font-size:12px; margin:0 0 14px; color:var(--book-muted); }
.author-affiliations ul { display:flex; flex-wrap:wrap; gap:10px 28px; padding:0; margin:0; list-style:none; color:var(--book-muted); font-size:13px; line-height:1.6; }
.author-affiliations a { color:inherit; text-decoration:none; cursor:pointer; transition:color 200ms ease,text-decoration-color 200ms ease; text-decoration-color:transparent; text-underline-offset:4px; }
.author-affiliations a:hover { color:var(--book-copper); text-decoration:underline; text-decoration-color:var(--book-copper); text-decoration-thickness:1px; }
.author-affiliations a:focus-visible { color:var(--book-copper); text-decoration:underline; text-decoration-color:var(--book-copper); text-decoration-thickness:1px; outline:1px solid var(--book-copper); outline-offset:4px; }
.author-affiliations li + li::before { content:'|'; color:var(--book-copper); margin-right:28px; }
@media(max-width:1199px) {
 .author-layout { grid-template-columns:minmax(220px,.75fr) minmax(260px,1fr); gap:36px; }
 .author-desc { grid-column:1 / -1; max-width:850px; }
 .author-portrait { max-width:300px; }
 .author-affiliations ul { gap:10px 20px; }
 .author-affiliations li + li::before { margin-right:20px; }
}
@media(max-width:767px) {
 .section-author.section-padding { padding:72px 0; }
 .author-layout { grid-template-columns:minmax(0,1fr); gap:28px; }
 .author-portrait { width:78%; max-width:290px; justify-self:center; }
 .dark-theme .author-identity h2 { margin:16px 0 12px; font-size:46px; }
 .author-role { font-size:18px; }
 .author-desc > p { font-size:16px; line-height:1.7; }
 .author-affiliations { margin-top:32px; }
 .author-affiliations ul { display:grid; gap:8px; }
 .author-affiliations li + li::before { margin-right:12px; }
}
.extract-section.section-padding { padding:112px 0 120px; }
.extract-container { width:calc(100% - 48px); max-width:800px; margin:0 auto; }
.extract-heading { max-width:720px; margin:0 auto 48px; text-align:center; }
.extract-heading > .subheading { display:block; margin-bottom:14px; color:var(--book-copper); font-size:12px; font-weight:500; letter-spacing:.14em; line-height:1.5; text-transform:uppercase; }
.dark-theme .extract-heading h2 { margin:0; color:var(--book-ivory); font-family:var(--book-editorial-font); font-size:clamp(42px,5vw,58px); font-weight:500; line-height:1.08; letter-spacing:-.025em; }
.extract-signature { display:flex; flex-direction:column; align-items:center; gap:15px; margin-top:20px; color:rgba(217,154,114,.88); font-family:var(--theme-body-font); font-size:11px; font-weight:500; letter-spacing:.14em; line-height:1.5; text-transform:uppercase; }
.extract-signature-rule { display:block; width:46px; height:1px; background:var(--book-copper); }
.extract-translation-note { margin:12px 0 0; color:rgba(187,195,208,.68); font-family:var(--theme-body-font); font-size:11px; font-style:italic; line-height:1.5; }
.extract-reading { max-width:740px; margin:0 auto; }
.extract-introduction { max-width:680px; margin:0 0 48px; color:rgba(187,195,208,.88); font-family:var(--theme-body-font); font-size:18px; font-style:italic; line-height:1.75; }
.extract-visible,.extract-more { color:var(--book-ivory); font-family:var(--book-editorial-font); font-size:21px; font-weight:400; line-height:1.76; }
.extract-visible p,.extract-more p { margin:0 0 24px; }
.dark-theme #extract .extract-visible > p,.dark-theme #extract .extract-more > p { color:var(--book-ivory); font-family:var(--book-editorial-font); font-size:21px; font-weight:400; line-height:1.76; }
.extract-book-opening::first-letter { float:left; margin:7px 11px 0 0; color:var(--book-copper); font-family:var(--book-editorial-font); font-size:4.5rem; font-weight:400; line-height:.8; }
.extract-fade { height:108px; margin-top:0; margin-bottom:-84px; background:linear-gradient(180deg,transparent 0%,rgba(3,13,32,.38) 38%,var(--book-navy) 100%); pointer-events:none; opacity:1; transition:height 520ms ease,margin-bottom 520ms ease,opacity 520ms ease; }
.extract-section.is-expanded .extract-fade { height:0; margin-bottom:0; opacity:0; }
.extract-more { max-height:0; overflow:hidden; opacity:0; transition:max-height 520ms cubic-bezier(.2,.7,.2,1),opacity 360ms ease; }
.extract-section.is-expanded .extract-more { opacity:1; }
.extract-ending { margin:76px 0 0; text-align:center; }
.extract-ending p { font-family:var(--theme-body-font); }
.extract-ending .extract-ellipsis { margin:0 0 30px; color:var(--book-ivory); font-family:var(--book-editorial-font); font-size:25px; letter-spacing:.22em; line-height:1; }
.extract-ending .extract-story-continuation { margin:0 0 8px; color:var(--book-muted); font-size:15px; line-height:1.6; }
.extract-ending .extract-book-title { margin:0; color:var(--book-ivory); font-family:var(--book-editorial-font); font-size:27px; letter-spacing:.11em; line-height:1.3; }
.extract-ending .btn,.extract-unavailable .btn { margin-top:24px; }
.extract-toggle { display:inline-flex; align-items:center; gap:11px; margin:30px 0 0; padding:8px 0; border:0; background:transparent; color:var(--book-copper); font-family:var(--theme-body-font); font-size:13px; font-weight:500; letter-spacing:.13em; line-height:1.5; text-transform:uppercase; cursor:pointer; transition:color 240ms ease; }
body[data-language="es"] .extract-section.is-expanded .extract-toggle { display:none; }
.extract-toggle::before { content:''; width:38px; height:1px; background:currentColor; transition:background-color 240ms ease; }
.extract-toggle-arrow { color:var(--book-highlight); letter-spacing:0; transition:transform 240ms ease; }
.extract-section.is-expanded .extract-toggle-arrow { transform:translateY(-1px); }
.extract-toggle:hover,.extract-toggle:focus-visible { color:var(--book-highlight); }
.extract-toggle:focus-visible { outline:2px solid var(--book-highlight); outline-offset:5px; }
.extract-unavailable { max-width:760px; margin:0 auto; padding-top:4px; text-align:center; }
.extract-unavailable > p { margin:0; color:var(--book-muted); font-family:var(--theme-body-font); font-size:16px; line-height:1.7; }
body.extract-in-view #progress { opacity:0; visibility:hidden; pointer-events:none; transition:opacity 180ms ease,visibility 180ms ease; }
.buy-section .pricing-item { height:calc(100% - 24px); margin-bottom:24px; padding:28px; border-top:2px solid var(--book-border-accent); background:var(--book-card); }
.buy-section .pricing-footer { margin-top:24px; }
.buy-section .btn { display:block; }
.footer-affiliation { color:var(--book-muted); text-align:right; }
.footer-btm p { margin:0; }
.mobile-navigation { display:none; }
.skip-link { position:absolute; left:16px; top:-100px; z-index:10000; background:var(--book-ivory); color:var(--book-navy); padding:12px; }
.skip-link:focus { top:10px; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:3px solid var(--book-highlight); outline-offset:5px; }
#progress { border:0; }
/* Colour-only states: keep component dimensions and typography unchanged. */
.dark-theme .site-navigation { border-color:rgba(255,255,255,.08); background:transparent; }
.dark-theme .site-navigation.header-sticky { background:rgba(3,13,32,.97); }
.dark-theme .header-sticky { box-shadow:0 2px 12px rgba(5,17,39,.3); }
.dark-theme .footer { background:var(--book-secondary); }
.dark-theme .footer-btm { border-color:var(--book-border); }
.dark-theme .hero-checks li span { color:inherit; }
.dark-theme .feature-style-2 {
 background:var(--book-card);
 box-shadow:inset 0 0 0 1px var(--book-border);
}
.dark-theme .feature-style-2:hover { background:var(--book-card-raised); }
#themes .section-intro { margin-bottom:44px; }
#themes .theme-cards .feature-style-2 { background:rgba(16,30,61,.62); box-shadow:inset 0 0 0 1px rgba(205,215,230,.10); }
#themes .theme-cards .feature-style-2:hover { background:rgba(16,30,61,.62); box-shadow:inset 0 0 0 1px rgba(205,215,230,.10); }
#themes .theme-cards .feature-text h3 { font-size:24px; margin-bottom:0; }
#themes .theme-cards .feature-text h3::after { content:''; display:block; width:33px; height:2px; margin:13px 0 14px; background:var(--book-copper); }
.dark-theme .pricing-item { box-shadow:inset 0 0 0 1px var(--book-border); }
.dark-theme .main-menu ul li a:hover,
.dark-theme .main-menu ul li a:focus-visible,
.dark-theme .main-menu ul li a[aria-current],
.dark-theme .mobile-navigation a:hover,
.dark-theme .mobile-navigation a:focus-visible,
.dark-theme .language-selector a:hover,
.dark-theme .language-selector [aria-current],
.dark-theme .book-brand:hover { color:var(--book-highlight); }
 .dark-theme .btn-main,.dark-theme .section-heading .btn-main,.dark-theme .btn-main:active {
 transition:background 260ms ease,border-color 260ms ease,color 260ms ease;
 background:linear-gradient(135deg,var(--book-copper) 0%,var(--book-highlight) 100%);
 border-color:var(--book-copper);
 color:var(--book-ivory);
}
.dark-theme .btn-main:hover,.dark-theme .btn-main:focus-visible,
.dark-theme .section-heading .btn-main:hover,.dark-theme .section-heading .btn-main:focus-visible {
 background:linear-gradient(135deg,var(--book-highlight) 0%,var(--book-highlight) 100%);
 border-color:var(--book-highlight);
 color:var(--book-ivory);
}
.dark-theme .hero-actions .btn-main-tp:hover,
.dark-theme .hero-actions .btn-main-tp:focus-visible {
 background:var(--book-card-raised);
 border-color:var(--book-copper);
 color:var(--book-highlight);
}
.dark-theme .secondary-link:hover { color:var(--book-highlight); }
.dark-theme #progress-value { background:var(--book-card); color:var(--book-ivory); }
.dark-theme #progress { box-shadow:0 0 10px rgba(5,17,39,.3); }
.dark-theme #progress:hover #progress-value { background:var(--book-card-raised); color:var(--book-highlight); }
.dark-theme .owl-theme .owl-dots .owl-dot span { background:var(--book-muted); }
.dark-theme .owl-theme .owl-dots .owl-dot.active span,
.dark-theme .owl-theme .owl-dots .owl-dot:hover span { background:var(--book-copper); }
.dark-theme ::selection { background:var(--book-copper); color:var(--book-secondary); }
@media(max-width:767px) {
 .desktop-navigation { display:none; }
 .mobile-navigation { display:block; color:var(--book-ivory); }
 .mobile-navigation summary { cursor:pointer; padding:10px 0; min-height:44px; }
 .mobile-navigation ul { list-style:none; padding:4px 0 12px; margin:0; }
 .mobile-navigation a { display:block; padding:7px 0; min-height:44px; color:var(--book-ivory); }

}

@media(max-width:991px) {
 .section-padding { padding:56px 0; }
 .about-section .section-heading,.section-author .section-heading { margin-bottom:26px; }

}
@media(max-width:767px) {
 .banner { padding:30px 0 44px; }
 .banner .banner-content h1 { font-size:54px; }
 .book-cover { margin-top:36px; }
 .book-cover img { max-width:300px; }
 .dark-theme main h2,.about-section .heading-title,#why-title { font-size:36px; }
 #why-title span { display:inline; }
 #why-title span + span::before { content:' '; }
 .hero-actions .btn { min-height:48px; }
 .footer-affiliation { text-align:left; margin-top:12px; }
}
@media(max-width:575px) {
 .main-logo .book-brand { font-size:18px; }
 .banner .banner-content .book-subtitle { font-size:24px; }
 .banner .banner-content .hero-checks li { font-size:15px; }
 .hero-actions { gap:12px; }
 .hero-actions .btn { min-width:0; padding:13px 16px; font-size:14px; }
 .feature-style-2 { padding:26px; }
 .book-cover img { max-width:280px; }
}

@media(max-width:767px) {
 .extract-section.section-padding { padding:76px 0 84px; }
 .extract-heading { margin-bottom:34px; }
 .dark-theme .extract-heading h2 { font-size:40px; }
 .extract-signature { gap:12px; margin-top:16px; font-size:10px; }
 .extract-reading { max-width:100%; }
 .extract-introduction { margin-bottom:36px; font-size:17px; line-height:1.7; }
 .dark-theme #extract .extract-visible > p,.dark-theme #extract .extract-more > p { font-size:18px; line-height:1.75; }
 .extract-visible p,.extract-more p { margin-bottom:20px; }
 .extract-book-opening::first-letter { margin:6px 8px 0 0; font-size:3.5rem; }
 .extract-fade { height:96px; margin-bottom:-72px; }
 .extract-toggle { gap:9px; margin-top:24px; font-size:12px; letter-spacing:.11em; }
 .extract-ending { margin-top:58px; }
 .extract-ending .extract-book-title { font-size:23px; }
}
@media(prefers-reduced-motion:reduce) {
 .extract-more,.extract-fade,.extract-toggle,.extract-toggle-arrow { transition:none; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }
 *,*::before,*::after { animation:none!important; transition:none!important; }
}

/* Line icons remain decorative; card headings supply accessible names. */
.why-cards > div:nth-child(1) { --card-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2217%22%20r%3D%2212%22%2F%3E%3Cpath%20d%3D%22m26%2026%2010%2010%203-3-10-10M8%2017l9-8%209%208M11%2015v11h5v-8h4v8h4V15%22%2F%3E%3C%2Fsvg%3E"); }
.why-cards > div:nth-child(2) { --card-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2212%22%20r%3D%226%22%2F%3E%3Cpath%20d%3D%22M9%2034v-6c0-9%2022-9%2022%200v6zM8%2010a5%205%200%201%200%200%2010M32%2010a5%205%200%201%201%200%2010M6%2023c-4%201-5%204-5%208h5M34%2023c4%201%205%204%205%208h-5%22%2F%3E%3C%2Fsvg%3E"); }
.why-cards > div:nth-child(3) { --card-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2040%2040%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2036h27M12%2035V5l17-3v36l-17-3M29%205h5v30M23%2020v2%22%2F%3E%3C%2Fsvg%3E"); }

.final-book-section { position:relative; isolation:isolate; overflow:hidden; padding:124px 0 118px; background:linear-gradient(180deg,var(--book-secondary),var(--book-navy)); }
.final-book-section::before { content:''; position:absolute; z-index:-1; top:0; right:2%; width:min(58vw,780px); height:100%; background:radial-gradient(ellipse at 68% 48%,rgba(52,86,112,.18),transparent 68%); pointer-events:none; }
.final-book-layout { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr); align-items:center; gap:clamp(48px,7vw,108px); }
.final-book-copy { max-width:760px; }
.final-book-eyebrow { display:inline-block; margin-bottom:22px; color:var(--book-copper); font-family:var(--theme-body-font); font-size:12px; font-weight:600; letter-spacing:.2em; line-height:1.4; text-transform:uppercase; }
.final-book-eyebrow::after { content:''; display:block; width:34px; height:1px; margin-top:12px; background:var(--book-copper); }
.final-book-copy h2 { margin:0 0 22px; color:var(--book-ivory); font-family:var(--book-editorial-font); font-size:clamp(48px,5vw,64px); font-weight:500; line-height:1.04; letter-spacing:-.025em; }
.final-book-description { max-width:600px; margin:0 0 28px; color:var(--book-muted); font-family:var(--theme-body-font); font-size:19px; line-height:1.7; }
.final-book-actions { margin:0; }
.final-book-microcopy { margin:12px 0 0; color:var(--book-muted); font-size:13px; letter-spacing:.02em; }
.final-book-cover { justify-self:center; margin:0; }
.final-book-cover img { display:block; width:100%; max-width:290px; height:auto; box-shadow:0 22px 52px rgba(0,0,0,.28); }

@media(max-width:991px) {
 .final-book-section { padding:96px 0; }
 .final-book-layout { grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr); gap:38px; }
 .final-book-copy h2 { font-size:clamp(42px,5.4vw,54px); }
 .final-book-description { font-size:17px; }
 .final-book-cover img { max-width:250px; }
}
@media(max-width:767px) {
 .final-book-section { padding:76px 0 82px; }
 .final-book-layout { grid-template-columns:1fr; gap:42px; }
 .final-book-eyebrow { margin-bottom:17px; font-size:11px; }
 .final-book-copy h2 { max-width:620px; margin-bottom:18px; font-size:clamp(42px,9.4vw,48px); line-height:1.08; }
 .final-book-description { margin-bottom:22px; font-size:16px; line-height:1.65; }
 .final-book-cover img { max-width:220px; }
}

@media(min-width:768px) and (max-width:1199px) {
 .site-navigation > .container,.banner > .container,.center-about > .container { width:calc(100% - 64px); }
 .site-navigation > .container > .row { grid-template-columns:minmax(200px,1fr) auto auto; }
 .main-menu ul { gap:24px; }
 .banner .banner-content h1 { font-size:clamp(58px,6.2vw,74px); }
 .banner .banner-content .subheading { font-size:10px; }
 .banner .banner-content .book-subtitle { font-size:clamp(24px,2.5vw,27px); }
 .banner .banner-content .hero-intro { font-size:16px; max-width:95%; }
 .banner .banner-content .hero-checks li { font-size:14px; gap:14px; }
 .book-cover img { max-width:285px; }
 .hero-actions .btn { min-width:0; padding:13px 19px; }
 .why-cards { gap:18px; }
 .dark-theme .why-cards .feature-style-2 { padding:22px; }
 .dark-theme .why-cards h3 { font-size:24px; }
 .dark-theme .why-cards p { font-size:15px; }
}
@media(min-width:768px) and (max-width:900px) {
 .main-logo .book-brand { font-size:17px; }
 .main-menu ul { gap:18px; }
 .main-menu ul > li > a { font-size:14px; }
 .why-cards { grid-template-columns:1fr; }
 .dark-theme .why-cards .feature-style-2 { min-height:250px; padding:26px 32px; }
 .why-cards .feature-style-2::after { background-position:center 45%; }
 .dark-theme .why-cards p { max-width:340px; }
}
@media(max-width:767px) {
 .site-navigation > .container,.banner > .container,.center-about > .container { width:calc(100% - 40px); }
 .site-navigation > .container > .row { grid-template-columns:1fr 95px; min-height:76px; }
 .banner > .container > .row { grid-template-columns:1fr; }
 .banner .banner-content .subheading { font-size:10px; letter-spacing:.12em; }
 .banner .banner-content .hero-intro { font-size:17px; }
 .book-cover::before { inset:0; }
 .book-cover::after { left:0; right:0; }
 .center-about { padding-top:24px; }
 .center-about .section-intro { margin-bottom:26px; }
 .dark-theme #why-title { font-size:34px; line-height:1.08; }
 .why-cards { grid-template-columns:1fr; gap:20px; }
 .dark-theme .why-cards .feature-style-2 { min-height:260px; padding:24px; }
 .dark-theme .why-cards h3 { font-size:25px; }
 .dark-theme .why-cards p { font-size:15px; max-width:280px; }
}

/* New editorial chapter; all layout rules are scoped to this section. */
.door-chapter {
 padding:136px 0;
 background:linear-gradient(180deg,var(--book-secondary),transparent 15%,transparent 85%,var(--book-navy)),radial-gradient(ellipse at 50% 45%,rgba(25,60,83,.40),transparent 60%),radial-gradient(ellipse at 80% 72%,rgba(195,125,78,.07),transparent 46%),#06142b;
}
.door-chapter-inner { width:calc(100% - 120px); max-width:1280px; margin:auto; }
.door-chapter-heading { text-align:center; }
.door-chapter-eyebrow { display:block; margin-bottom:20px; font-size:12px; font-weight:500; line-height:1.6; letter-spacing:.14em; color:var(--book-copper); }
.dark-theme .door-chapter h2 { max-width:900px; margin:0 auto 28px; font-family:var(--book-editorial-font); font-size:clamp(48px,4.5vw,68px); font-weight:400; line-height:1; letter-spacing:-.02em; color:var(--book-ivory); }
.dark-theme .door-chapter-heading p { max-width:760px; margin:0 auto; font-size:18px; line-height:1.6; color:rgba(235,238,244,.82); }
.door-chapter-composition { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:64px; align-items:center; margin-top:80px; }
.door-chapter-ideas { list-style:none; padding:0; margin:0; }
.door-chapter-ideas li { display:grid; grid-template-columns:44px minmax(0,1fr); gap:22px; padding:30px 0; border-bottom:1px solid rgba(255,255,255,.10); }
.door-chapter-ideas li:first-child { padding-top:0; }
.door-chapter-ideas li:last-child { border-bottom:0; padding-bottom:0; }
.door-chapter-number { font-family:var(--book-editorial-font); font-size:32px; line-height:1.15; color:var(--book-highlight); }
.dark-theme .door-chapter-ideas h3 { font-family:var(--book-editorial-font); font-size:30px; font-weight:400; line-height:1.15; color:var(--book-ivory); margin:0 0 12px; }
.dark-theme .door-chapter-ideas p { max-width:440px; margin:0; font-size:16px; line-height:1.6; color:var(--book-muted); }
.door-chapter-photo { position:relative; isolation:isolate; margin:0; }
.door-chapter-photo::before { content:''; position:absolute; z-index:-1; inset:-40px; background:radial-gradient(ellipse,rgba(195,125,78,.12),transparent 65%); pointer-events:none; }
.door-chapter-photo img { display:block; width:100%; height:560px; object-fit:cover; object-position:70% center; border:1px solid rgba(255,255,255,.12); border-radius:10px; }
.door-chapter-photo::after { content:''; position:absolute; inset:0; border-radius:10px; background:linear-gradient(90deg,rgba(6,20,43,.35),transparent 42%); pointer-events:none; }
.door-chapter-closing { margin-top:100px; text-align:center; }
.dark-theme .door-chapter-statement { margin:0 0 20px; font-family:var(--book-editorial-font); font-size:clamp(38px,3.2vw,46px); font-weight:400; line-height:1.1; letter-spacing:-.02em; color:var(--book-ivory); }
.door-chapter-closing > p + p { margin:0; font-size:17px; color:var(--book-muted); }
.door-chapter-closing .hero-actions { justify-content:center; margin-top:30px; }
@media(max-width:1199px) {
 .door-chapter-inner { width:calc(100% - 64px); }
 .door-chapter-composition { gap:40px; }
 .door-chapter-photo img { height:540px; }
}
@media(max-width:991px) {
 .door-chapter { padding:104px 0; }
 .door-chapter-composition { gap:28px; margin-top:64px; }
 .door-chapter-ideas li { grid-template-columns:32px minmax(0,1fr); gap:14px; padding:24px 0; }
 .dark-theme .door-chapter-ideas h3 { font-size:26px; }
 .door-chapter-number { font-size:27px; }
 .door-chapter-photo img { height:520px; }
 .door-chapter-closing { margin-top:80px; }
}
@media(max-width:767px) {
 .door-chapter { padding:80px 0; }
 .door-chapter-inner { width:calc(100% - 40px); }
 .door-chapter-eyebrow { font-size:11px; }
 .dark-theme .door-chapter h2 { font-size:42px; line-height:1.05; }
 .dark-theme .door-chapter-heading p { font-size:17px; }
 .door-chapter-composition { grid-template-columns:minmax(0,1fr); gap:44px; margin-top:48px; }
 .door-chapter-photo { grid-row:1; }
 .door-chapter-photo img { height:390px; }
 .door-chapter-photo::before { inset:-20px; }
 .door-chapter-closing { margin-top:64px; }
 .dark-theme .door-chapter-statement { font-size:34px; }
 .door-chapter-closing > p + p { font-size:16px; }
}

/* Ambient light only: broad, feathered beams above the existing navy/halos
   and below all content. The mask also contains the blur within each section. */
.banner,.center-about,.door-chapter,.final-book-section {
 position:relative;
 isolation:isolate;
}
.banner::before,.center-about::before,.door-chapter::before {
 content:'';
 position:absolute;
 inset:0;
 z-index:-1;
 pointer-events:none;
 opacity:.72;
 background-repeat:no-repeat;
 filter:blur(32px);
 -webkit-mask-image:radial-gradient(ellipse at 55% 43%,#000 18%,rgba(0,0,0,.8) 48%,transparent 76%);
 mask-image:radial-gradient(ellipse at 55% 43%,#000 18%,rgba(0,0,0,.8) 48%,transparent 76%);
}
.banner::before {
 background-image:
  linear-gradient(125deg,transparent 16%,rgba(92,132,166,.025) 28%,rgba(105,145,178,.14) 41%,rgba(86,128,165,.06) 51%,transparent 66%),
  linear-gradient(125deg,transparent 55%,rgba(110,145,174,.025) 65%,rgba(127,155,179,.09) 76%,rgba(104,141,174,.025) 86%,transparent 100%),
  radial-gradient(ellipse at 81% 40%,rgba(82,128,165,.13),transparent 49%),
  radial-gradient(ellipse at 85% 88%,rgba(180,150,119,.055),transparent 38%);
}
.center-about::before {
 background-image:
  linear-gradient(125deg,transparent 30%,rgba(85,128,166,.025) 43%,rgba(103,145,179,.09) 57%,rgba(85,128,166,.025) 69%,transparent 85%);
}
.door-chapter::before {
 background-image:
  linear-gradient(125deg,transparent 24%,rgba(88,132,169,.025) 40%,rgba(109,148,180,.095) 54%,rgba(88,132,169,.03) 65%,transparent 83%),
  radial-gradient(ellipse at 78% 65%,rgba(180,150,119,.04),transparent 43%);
}
.final-book-section::before {
 background-image:
  linear-gradient(125deg,transparent 12%,rgba(92,132,166,.018) 27%,rgba(105,145,178,.072) 43%,rgba(86,128,165,.025) 55%,transparent 70%),
  linear-gradient(125deg,transparent 52%,rgba(110,145,174,.015) 65%,rgba(127,155,179,.05) 77%,rgba(104,141,174,.016) 88%,transparent 100%),
  radial-gradient(ellipse at 78% 42%,rgba(82,128,165,.07),transparent 52%);
 opacity:.48;
}
@media(max-width:767px) {
 .banner::before,.center-about::before,.door-chapter::before { opacity:.48; filter:blur(24px); }
 .final-book-section::before { opacity:.3; filter:blur(26px); }
}

/* Tighten only the transition from the themes cards into the solutions chapter. */
.center-about { padding-bottom:16px; }
.door-chapter { padding-top:30px; }

/* Compact purchase action, scoped to the shared header. */
.site-navigation .header-actions { display:flex; align-items:center; justify-content:flex-end; gap:24px; }
.dark-theme .site-navigation .header-buy { display:inline-flex; align-items:center; justify-content:center; gap:8px; flex-shrink:0; height:40px; min-height:40px; padding:0 20px; border:1px solid var(--book-copper); border-radius:5px; background:transparent; color:var(--book-ivory); font-family:var(--theme-body-font); font-size:13px; font-weight:500; line-height:1; white-space:nowrap; text-decoration:none; transition:background-color 200ms ease,color 200ms ease; }
.dark-theme .site-navigation .header-buy:hover,.dark-theme .site-navigation .header-buy:focus-visible { background:var(--book-copper); color:var(--book-navy); }
.dark-theme .site-navigation .header-buy:focus-visible { outline:2px solid var(--book-highlight); outline-offset:3px; }
@media(max-width:991px) {
 .site-navigation > .container > .row { grid-template-columns:minmax(0,1fr) auto; }
 .site-navigation .desktop-navigation,.dark-theme .site-navigation .header-buy-desktop { display:none; }
 .site-navigation .mobile-navigation { display:block; color:var(--book-ivory); }
 .site-navigation .mobile-navigation summary { cursor:pointer; padding:10px 0; min-height:44px; }
 .site-navigation .mobile-navigation ul { list-style:none; padding:4px 0 12px; margin:0; }
 .site-navigation .mobile-navigation a { display:block; padding:7px 0; min-height:44px; color:var(--book-ivory); }
 .site-navigation .mobile-header-buy { padding:8px 0 4px; }
 .dark-theme .site-navigation .mobile-header-buy .header-buy { display:inline-flex; min-height:44px; padding:0 20px; }
}
@media(prefers-reduced-motion:reduce) { .dark-theme .site-navigation .header-buy { transition:none; } }
