/* Scoped reusable subject selector. The plank stays outside the scrolling track. */
.subject-shelf{position:relative;isolation:isolate;padding:44px 0 28px;color:#ead6b0;background:linear-gradient(180deg,rgba(8,7,5,.88),rgba(8,7,5,.36)),url('/assets/veiled-refinement/cenario-1672.webp') center 72%/cover;box-shadow:inset 0 1px #695032,inset 0 -1px #37291a}.subject-shelf *{box-sizing:border-box}.shelf-heading{max-width:860px;text-align:center;margin:0 auto 18px;padding:0 22px}.shelf-heading h2{font:400 clamp(1.8rem,3vw,2.8rem)/1.2 Georgia,serif;margin:8px 0 12px}.shelf-heading p{font-size:1rem;line-height:1.6}.shelf-heading .eyebrow{color:#c9a46b;font-size:.75rem;letter-spacing:.2em}.shelf-stage{max-width:1280px;margin:auto;position:relative;padding:0 20px}.shelf-track{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#8d6737 #17120d;padding:12px 10px 18px;position:relative;z-index:1}.shelf-books{display:flex;align-items:flex-end;justify-content:space-evenly;gap:20px;list-style:none;margin:0;padding:0;min-width:max-content}.shelf-volume{flex:0 0 226px;width:226px;text-align:center;scroll-snap-align:center;position:relative}.book-control{display:block;position:relative;height:326px;color:#f3d39b;text-decoration:none;transition:transform .22s ease,filter .22s ease;border-radius:8px}.book-art{position:absolute;inset:0;background:url('/assets/study-shelf/livro.webp') center bottom/contain no-repeat;filter:drop-shadow(8px 8px 7px #0009)}.book-label{position:absolute;inset:36% 12% 22% 23%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;font:400 1.4rem/1.2 Georgia,serif;text-shadow:0 2px 4px #000}.book-mark{font-size:2.3rem;color:#bf9251;filter:grayscale(1) sepia(1)}.volume-1 .book-control{height:304px}.volume-2 .book-control{height:315px}.volume-3 .book-control{height:337px}.volume-1 .book-art{filter:saturate(.45) brightness(.8) drop-shadow(8px 8px 7px #0009)}.volume-2 .book-art{filter:saturate(.55) brightness(.9) drop-shadow(8px 8px 7px #0009)}.is-silhouette .book-art{filter:saturate(.3) brightness(.32) drop-shadow(6px 6px 6px #000)}.is-silhouette .book-label{color:#b6a58a;font-size:1.2rem}.is-silhouette .book-mark{color:#776145}.book-count{display:block;min-height:44px;margin:9px 0 0;font-size:.85rem;color:#c6b28e;line-height:1.5}.is-active .book-count{color:#e8c386}.is-active .book-control:hover{transform:translateY(-6px);filter:brightness(1.1)}.subject-shelf a:focus-visible,.shelf-track:focus-visible,.shelf-controls button:focus-visible{outline:2px solid #f2cf8d;outline-offset:4px}.shelf-plank{position:absolute;z-index:0;left:8px;right:8px;bottom:78px;height:27px;border-top:3px solid #bc8e50;border-bottom:5px solid #171009;background:repeating-linear-gradient(2deg,#382212 0,#352010 2px,#56391c 3px,#2a1a0e 6px);box-shadow:0 13px 22px #000,inset 0 3px 4px #ce96572e}.shelf-controls{display:flex;gap:12px;justify-content:flex-end;max-width:1220px;margin:auto;padding:0 22px}.shelf-controls[hidden]{display:none}.shelf-controls button{font:inherit;font-size:.875rem;background:#15110d;border:1px solid #846238;color:#ead6b0;padding:8px 13px;border-radius:3px;min-height:44px;cursor:pointer}.shelf-controls button:disabled{opacity:.35;cursor:default}.shelf-note{text-align:center;max-width:820px;padding:0 24px;margin:18px auto 0;color:#baa78a;font-size:.875rem;line-height:1.5}.study-publications{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.study-publication{display:flex;gap:20px;align-items:center;border:1px solid #574128;background:#100e0bd9;padding:18px;border-radius:5px}.study-publication img{width:34%;height:140px;object-fit:cover;border-radius:3px}.study-publication h3{font:400 1.4rem/1.3 Georgia,serif;margin:0 0 10px}.study-publication p{color:#cfc1a8;line-height:1.6}.study-publication a,.study-reading a,.study-breadcrumb a{color:#e5ba77;text-underline-offset:4px}.study-publication a:focus-visible,.study-reading a:focus-visible,.study-breadcrumb a:focus-visible{outline:2px solid #f2cf8d;outline-offset:4px}.study-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;padding:112px max(22px,calc((100vw - 1200px)/2)) 22px;font-size:.9rem;color:#b5a58a}.study-subject-hero{position:relative;min-height:380px;display:flex;align-items:center;isolation:isolate;background:#100e0b}.study-subject-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.study-subject-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#060605e8,#06060565);z-index:-1}.study-subject-hero>div{width:min(1200px,100%);padding:48px 28px;margin:auto}.study-subject-hero h1{font:400 clamp(2.3rem,5vw,4.2rem)/1.1 Georgia,serif;color:#edc891;max-width:900px;overflow-wrap:anywhere}.study-subject-hero p{max-width:680px;font-size:1.15rem;line-height:1.7;color:#f0e2cb}.subject-publications{max-width:1256px;margin:auto;padding:44px 28px}.subject-publications h2{font:400 2rem/1.3 Georgia,serif;color:#e9c38c}.study-reading{max-width:780px;margin:0 auto;padding:48px 24px;font:400 1.12rem/1.9 Georgia,serif;color:#e7dcc8;overflow-wrap:anywhere}.study-reading h2,.study-reading h3{color:#edc891;line-height:1.3;margin-top:2em}.study-reading-cover{max-width:100%;height:auto;display:block;margin:0 auto 32px;border-radius:4px}.study-reading li{margin:10px 0}.study-reading p{margin:0 0 1.4em}
@media(max-width:700px){.subject-shelf{padding-top:30px}.shelf-stage{padding:0 12px}.shelf-track{padding-left:5px;padding-right:5px}.shelf-books{justify-content:flex-start;gap:12px}.shelf-volume{flex-basis:190px;width:190px}.book-control{height:280px}.volume-1 .book-control{height:264px}.volume-2 .book-control{height:274px}.volume-3 .book-control{height:288px}.book-label{font-size:1.25rem}.is-silhouette .book-label{font-size:1.1rem}.shelf-plank{bottom:78px}.study-publications{grid-template-columns:minmax(0,1fr)}.study-publication{gap:14px;padding:14px}.study-publication h3{font-size:1.2rem}.study-subject-hero{min-height:340px}.study-subject-hero>div{padding:32px 22px}.study-subject-hero:after{background:#060605b3}.subject-publications{padding:30px 22px}}
@media(prefers-reduced-motion:reduce){.subject-shelf *{scroll-behavior:auto!important;transition:none!important}}
/* Miniature volumes: unnamed decorative silhouettes when the collection is empty. */
.subject-shelf{padding-top:24px;padding-bottom:18px}.shelf-heading{margin-bottom:8px}.shelf-heading h2{font-size:clamp(1.65rem,2.5vw,2.2rem)}.shelf-stage{max-width:1120px}.shelf-books{gap:12px;justify-content:center}.shelf-volume{flex-basis:112px;width:112px}.book-control{height:172px}.volume-1 .book-control{height:157px}.volume-2 .book-control{height:165px}.volume-3 .book-control{height:181px}.book-label{inset:23% 17% 17% 27%;font-size:1rem;line-height:1.15;overflow-wrap:anywhere}.book-label>span{writing-mode:vertical-rl;transform:rotate(180deg);max-height:118px}.book-count{font-size:.8125rem;min-height:24px;margin-top:8px}.shelf-plank{bottom:52px;height:19px}.shelf-note{margin-top:8px}.is-silhouette .book-control{pointer-events:none}.is-silhouette .book-art{filter:saturate(.3) brightness(.23) drop-shadow(4px 4px 4px #000)}.subject-shelf[data-empty="true"] .shelf-plank{bottom:21px}.subject-shelf[data-empty="true"] .shelf-track{padding-bottom:18px}
@media(max-width:700px){.shelf-stage{padding:0 12px}.shelf-books{justify-content:flex-start;gap:10px}.shelf-volume{flex-basis:96px;width:96px}.book-control{height:151px}.volume-1 .book-control{height:139px}.volume-2 .book-control{height:146px}.volume-3 .book-control{height:158px}.book-label{font-size:.9375rem}.book-label>span{max-height:104px}.shelf-plank{bottom:52px}.subject-shelf[data-empty="true"] .shelf-plank{bottom:21px}}

.book-label{overflow:hidden}
