/* Compact entry page and dedicated reading pages, using the established brand. */
.home-page main .home-teaser{border-top:1px solid var(--line);padding-block:57px;background:#000}
.teaser-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,5vw,72px);align-items:center}
.teaser-image{position:relative;width:100%;aspect-ratio:4/3;max-height:365px;overflow:hidden;background:#000}
.teaser-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.teaser-image::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#000,transparent 7%,transparent 94%,#000),linear-gradient(0deg,#000,transparent 8%,transparent 95%,#000)}
.teaser-copy{min-width:0}
.teaser-copy .eyebrow,.home-author-preview .eyebrow,.home-start .eyebrow{font-size:11px;color:var(--gold);margin-bottom:21px}
.home-page main .home-teaser h2{font-size:clamp(29px,3vw,41px);line-height:1.17;max-width:600px}
.teaser-copy>p:not(.eyebrow):not(.teaser-status){font-size:19px;line-height:1.65;color:var(--muted);margin-top:23px}
.teaser-copy .button{margin-top:26px;min-height:54px;font-size:15px;padding:16px 20px}
.teaser-copy p.teaser-status{font-size:13px;line-height:1.65;color:var(--muted);margin-top:19px;max-width:490px}
.teaser-grid-reverse .teaser-image{grid-column:2;grid-row:1}
.teaser-grid-reverse .teaser-copy{grid-column:1;grid-row:1}
.home-page main .home-book-preview{padding-block:60px}
.home-page main .home-book-preview .book-feature-grid{gap:clamp(36px,5vw,72px);grid-template-columns:1fr 1fr}
.home-page main .home-book-preview .book-cover-wrap.has-author{width:100%;margin:0}
.home-page main .home-book-preview .book-feature-copy h2{font-size:clamp(29px,3vw,41px)}
.home-page main .home-book-preview .book-description{font-size:19px;line-height:1.6;margin-block:19px 23px}
.home-page main .home-book-preview .book-author{font-size:18px;margin-top:19px}
.home-page main .home-book-preview .eyebrow{font-size:11px;margin-bottom:21px}
.home-page main .home-book-preview .button{font-size:15px;min-height:54px;padding:16px 20px}
.home-page main .home-author-preview{padding-block:43px;border-top:1px solid var(--line)}
.home-author-preview-grid,.home-start-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(36px,5vw,72px);align-items:center}
.home-page main .home-author-preview h2{font-size:clamp(31px,3.4vw,44px);line-height:1.1}
.home-author-preview-grid>div>p:not(.eyebrow){font-size:20px;line-height:1.6;max-width:490px}
.home-text-link{display:inline-flex;align-items:center;gap:27px;color:var(--gold);border-bottom:1px solid #79623b;font-size:15px;line-height:1.5;padding:11px 0;margin-top:13px}
.home-text-link span{font-size:23px}.home-text-link:hover{border-color:var(--gold)}
.home-page main .home-start{padding-block:57px;border-top:1px solid var(--line)}
.home-page main .home-start h2{font-size:clamp(29px,3vw,40px)}
.home-start-grid>div>p:not(.eyebrow){font-size:19px;line-height:1.65;color:var(--muted)}
.home-start .button{margin-top:24px;font-size:15px;min-height:54px;padding:16px 20px}
.home-page nav [aria-current="page"]{color:var(--gold)}
.interior-page .detail-first{padding-top:51px;border-top:0}
.detail-opening{display:grid;grid-template-columns:1.12fr .88fr;gap:55px;align-items:center;margin-bottom:39px}
.detail-opening .detail-label{font-size:11px;color:var(--gold);margin-bottom:24px}
.detail-opening .section-marker{display:none}
.detail-opening h1{font-size:clamp(39px,4.4vw,62px);line-height:1.13;letter-spacing:-.035em;max-width:720px}
.detail-opening-image{width:100%;aspect-ratio:4/3;max-height:375px;overflow:hidden;background:#000}
.detail-opening-image img{width:100%;height:100%;object-fit:cover}
.interior-page .detail-first .perspective-scene{margin-top:31px}
.interior-page .author-detail{padding-top:51px}
.interior-page .author-detail .section-topline{margin-bottom:17px}
.interior-page .author-detail .section-marker{display:none}
.interior-page .author-detail .author-portrait{max-width:430px;justify-self:center}
.interior-page .author-detail h1{font-size:clamp(57px,6.2vw,85px);line-height:1.02;letter-spacing:-.045em;margin:0}
.interior-page .author-detail .author-role{font-size:17px;line-height:1.6;max-width:510px}
.interior-page .author-detail .author-bio{font-size:22px;line-height:1.6;max-width:610px}
@media(max-width:900px){.teaser-grid,.home-author-preview-grid,.home-start-grid{gap:33px}.home-page main .home-teaser{padding-block:45px}.teaser-copy>p:not(.eyebrow):not(.teaser-status){font-size:18px;margin-top:20px}.teaser-copy .button{font-size:14px;padding:15px 16px;gap:20px}.home-page main .home-book-preview .book-description{font-size:18px}.home-page main .home-book-preview .button{font-size:14px;gap:19px}.detail-opening{gap:34px;grid-template-columns:1fr 1fr}.detail-opening h1{font-size:38px}.interior-page .author-detail .author-bio{font-size:20px}.home-start .button{font-size:14px;gap:18px;padding:15px 16px}}
@media(max-width:640px){.home-page main .home-teaser{padding-block:39px}.teaser-grid{grid-template-columns:1fr;gap:22px}.teaser-grid-reverse .teaser-image,.teaser-grid-reverse .teaser-copy{grid-column:auto;grid-row:auto}.teaser-image{aspect-ratio:4/3;max-height:295px;width:100%}.teaser-copy .eyebrow,.home-author-preview .eyebrow,.home-start .eyebrow{font-size:10px;margin-bottom:18px}.home-page main .home-teaser h2{font-size:clamp(29px,8.1vw,40px);line-height:1.17}.teaser-copy>p:not(.eyebrow):not(.teaser-status){font-size:18px;line-height:1.65;margin-top:20px}.teaser-copy .button{width:100%;font-size:15px;margin-top:23px}.teaser-copy p.teaser-status{font-size:13px;margin-top:17px}.home-page main .home-book-preview{padding-block:44px}.home-page main .home-book-preview .book-feature-grid{grid-template-columns:1fr;gap:25px}.home-page main .home-book-preview .book-cover-wrap.has-author{width:calc(100% + 40px);margin:0 -20px}.home-page main .home-book-preview .book-feature-copy h2{font-size:clamp(30px,8.2vw,40px)}.home-page main .home-book-preview .book-description{font-size:18px}.home-page main .home-book-preview .button{width:100%;font-size:15px}.home-author-preview-grid,.home-start-grid{grid-template-columns:1fr;gap:21px}.home-page main .home-author-preview{padding-block:37px}.home-page main .home-author-preview h2{font-size:36px}.home-author-preview-grid>div>p:not(.eyebrow){font-size:19px}.home-text-link{margin-top:10px}.home-page main .home-start{padding-block:42px}.home-page main .home-start h2{font-size:32px}.home-start-grid>div>p:not(.eyebrow){font-size:18px}.home-start .button{width:100%;font-size:14px;margin-top:23px}.interior-page .detail-first{padding-top:35px}.detail-opening{grid-template-columns:1fr;gap:27px;margin-bottom:27px}.detail-opening h1{font-size:clamp(34px,9vw,46px)}.detail-opening-image{max-height:290px}.interior-page .detail-first .perspective-scene{margin-top:27px}.interior-page .author-detail{padding-top:31px}.interior-page .author-detail .author-portrait{max-width:340px;max-height:425px;width:100%;margin:0 auto}.interior-page .author-detail h1{font-size:60px}.interior-page .author-detail .author-role{font-size:17px;margin-top:23px}.interior-page .author-detail .author-bio{font-size:20px}}
/* The same compact site header is shared by the course page. */
.lab-page .header-inner{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:0}
.lab-page .home-header-brand{position:relative;display:flex;flex:none;gap:0}
.lab-page .home-header-brand .logo-window{width:220px}
.lab-page .home-header-brand .brand-tagline{position:absolute;left:26.45%;top:calc(100% + 4px);margin-left:0;font-size:9px;line-height:1.4;letter-spacing:.1em}
@media(max-width:900px){.lab-page .header-inner{min-height:86px;gap:20px}.lab-page .site-header nav{top:86px}}
@media(max-width:640px){.lab-page .header-inner{min-height:82px;gap:12px}.lab-page .home-header-brand .logo-window{width:clamp(180px,55vw,210px)}.lab-page .home-header-brand .brand-tagline{font-size:8px}.lab-page .site-header nav{top:82px}}

/* Compact, shared social footer. All destinations are verified profile links. */
.social-footer{background:#000}
.social-footer .footer-inner{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:22px 38px;min-height:122px;padding-block:27px;border-top:1px solid #6d542e}
.social-footer .footer-brand{display:flex;flex:none}
.social-footer .footer-brand .logo-window{width:220px}
.social-footer .footer-socials{position:static;inset:auto;display:flex;flex-direction:row;flex-wrap:wrap;box-shadow:none;align-items:center;justify-content:flex-end;gap:8px 28px;width:auto;padding:0;border:0;background:#000}
.footer-socials .social-link{display:inline-flex;padding:6px 0;border:0;align-items:center;gap:10px;min-height:44px;font-size:14px;font-weight:400;line-height:1.4;color:var(--muted);text-decoration:none}
.footer-socials .social-link svg{flex:none;color:var(--gold)}
.footer-socials .social-link:hover,.footer-socials .social-link:focus-visible{color:var(--gold)}
.footer-socials .social-link:focus-visible{outline:2px solid var(--gold);outline-offset:5px}
@media(max-width:900px){.social-footer .footer-inner{gap:17px 30px}.social-footer .footer-socials{gap:5px 22px}.social-footer .footer-brand .logo-window{width:200px}}
@media(max-width:640px){.social-footer .footer-inner{align-items:flex-start;flex-direction:column;padding-block:29px;gap:23px}.social-footer .footer-socials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 23px;justify-content:start;width:100%}.footer-socials .social-link{font-size:14px;gap:11px}}

/* Persistent contact action; footer clearance keeps the final links accessible. */
html{scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
.social-footer{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}
.whatsapp-floating{position:fixed;z-index:100;right:max(24px,env(safe-area-inset-right,0px));bottom:max(24px,env(safe-area-inset-bottom,0px));display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;min-width:132px;max-width:calc(100vw - 32px);padding:12px 18px;border:1px solid var(--gold);border-radius:28px;background:#000;color:var(--gold);box-shadow:0 6px 24px #000c;font-size:15px;font-weight:600;line-height:1.5;text-decoration:none}
.whatsapp-floating svg{flex:none;width:24px;height:24px}
.whatsapp-floating:hover{border-color:var(--ivory);color:var(--ivory)}
.whatsapp-floating:focus-visible{outline:2px solid var(--ivory);outline-offset:4px}
@media(max-width:640px){.whatsapp-floating{right:max(14px,env(safe-area-inset-right,0px));bottom:max(14px,env(safe-area-inset-bottom,0px));min-height:50px;min-width:124px;padding:11px 15px;font-size:14px}}

/* Persistent horizontal navigation: only the link strip scrolls on narrow screens. */
.site-header .header-inner{flex-wrap:nowrap;min-width:0}
.site-header #main-nav{position:static;inset:auto;display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;width:max-content;min-width:0;max-width:100%;margin-left:auto;gap:clamp(18px,2vw,30px);padding:8px 5px;border:0;background:#000;box-shadow:none;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#6d542e #000}
.site-header #main-nav>a{display:inline-flex;flex:0 0 auto;align-items:center;min-height:44px;padding:8px 0;border-bottom:0;white-space:nowrap;font-size:clamp(14px,1.1vw,16px);line-height:1.45}
.site-header #main-nav>.nav-start{justify-content:flex-start;gap:10px;border-bottom:1px solid #75603a}
.site-header #main-nav .nav-start span{font-size:20px}
.site-header .menu-toggle{display:none}
@media(max-width:900px){.home-page .site-header .header-inner,.lab-page .site-header .header-inner{gap:18px}.home-page .site-header .home-header-brand .logo-window,.lab-page .site-header .home-header-brand .logo-window{width:200px}.site-header #main-nav{gap:20px}}
@media(max-width:640px){.home-page .site-header .header-inner,.lab-page .site-header .header-inner{width:calc(100% - 32px);gap:12px}.home-page .site-header .home-header-brand .logo-window,.lab-page .site-header .home-header-brand .logo-window{width:180px}.site-header #main-nav{gap:18px}}

/* Dedicated book and orientation pages, with the same restrained editorial grid. */
.home-page main .book-detail{padding-block:53px 64px}
.book-detail .book-feature-grid{grid-template-columns:1fr 1fr;gap:clamp(34px,5vw,72px)}
.book-detail .book-cover-wrap.has-author{width:100%;margin:0}
.book-detail h1{font-size:clamp(38px,4.4vw,62px);line-height:1.13;letter-spacing:-.035em}
.book-detail .book-description{font-size:21px;line-height:1.65;margin-block:23px 28px}
.home-page main .detail-reading{padding-block:57px;border-top:1px solid var(--line)}
.detail-reading-grid,.start-reading{display:grid;grid-template-columns:1fr 1fr;gap:clamp(34px,5vw,72px);align-items:start}
.detail-reading .eyebrow{color:var(--gold);font-size:11px;margin-bottom:22px}
.detail-reading-copy>p,.start-reading p{font-size:20px;line-height:1.65;color:var(--muted)}
.home-page main .start-detail{padding-block:51px 65px}
.start-intro{font-size:21px;line-height:1.65;color:var(--muted);max-width:790px}
.start-options{margin-top:43px}
.start-option{display:grid;grid-template-columns:90px minmax(0,1fr);gap:24px;padding-block:33px;border-top:1px solid var(--line)}
.start-number{font-size:26px;line-height:1.4;color:var(--gold);font-weight:600;padding-top:5px}
.home-page main .start-option h2{font-size:clamp(28px,3vw,39px);line-height:1.2}
.start-option p{font-size:20px;line-height:1.65;color:var(--muted);max-width:790px;margin-top:18px}
.start-option .start-availability{font-size:15px;line-height:1.65;margin-top:15px}
.start-reading{border-top:1px solid #6d542e;margin-top:19px;padding-top:40px}
@media(max-width:900px){.book-detail .book-description{font-size:19px}.book-detail .button{font-size:14px;padding-inline:17px;gap:18px}.detail-reading-copy>p,.start-reading p,.start-option p{font-size:19px}.start-option{grid-template-columns:60px minmax(0,1fr)}}
@media(max-width:640px){.home-page main .book-detail{padding-block:32px 42px}.book-detail .book-feature-grid,.detail-reading-grid,.start-reading{grid-template-columns:1fr;gap:26px}.book-detail h1{font-size:clamp(36px,9.5vw,49px)}.book-detail .book-description{font-size:19px}.book-detail .button{width:100%;font-size:14px}.home-page main .detail-reading{padding-block:39px}.home-page main .start-detail{padding-block:35px 45px}.start-intro{font-size:19px}.start-options{margin-top:32px}.start-option{grid-template-columns:30px minmax(0,1fr);gap:14px;padding-block:27px}.start-number{font-size:21px}.home-page main .start-option h2{font-size:28px}.start-option p{font-size:18px}.start-option .start-availability{font-size:14px}.start-reading{padding-top:32px;margin-top:9px}.detail-reading-copy>p,.start-reading p{font-size:19px}}
