/* Readable hero typography and cinematic, reduced-motion-aware entrances. */
:root,html[data-theme="light"]{--bg-page:#FAF7F2;--bg-primary:#FAF7F2;--kg-paper:#FAF7F2}
.kg-reference-hero{min-height:825px;padding-top:56px;padding-bottom:46px}.kg-reference-eyebrow{font-size:13px;letter-spacing:2px;line-height:1.6;margin-bottom:18px}.kg-reference-hero #heroHeadlineEl{font-size:48px!important}.kg-reference-hero #heroLine1El{font-size:clamp(34px,4vw,52px);line-height:1.25;letter-spacing:-1.7px;animation:kg-text-reveal 1.1s cubic-bezier(.16,1,.3,1) .65s both}.kg-reference-hero #heroLine2El{font-size:clamp(60px,7.6vw,102px);line-height:1.13!important;letter-spacing:5px!important;margin-top:5px;animation:kg-text-reveal 1.25s cubic-bezier(.16,1,.3,1) .8s both}.kg-reference-eyebrow{animation:kg-text-reveal 1s cubic-bezier(.16,1,.3,1) .5s both}.kg-reference-stage{margin-top:25px}.kg-live-cover-row{min-height:335px}.kg-reference-hero .kg-shelf-book{animation-name:kg-cinematic-book;animation-duration:1.1s;animation-delay:calc(.9s + var(--delay,0ms))}.kg-label-left{top:242px}.kg-label-right{top:225px}.kg-hero-touch-hint{font-size:12px;line-height:1.5;gap:9px;margin-top:11px}.kg-hint-dot{width:5px;height:5px}.kg-reference-description{max-width:700px;margin-top:22px;animation:kg-text-reveal 1s cubic-bezier(.16,1,.3,1) 1.25s both}.kg-reference-description p{font-size:17px;line-height:1.75;margin-bottom:27px}.kg-reference-actions{gap:16px}.kg-reference-hero #heroCtaLink{font-size:13px;letter-spacing:.7px;min-height:49px;padding:16px 32px;min-width:205px}.kg-reference-text-link{font-size:14px;gap:9px}.kg-reference-text-link span{font-size:18px}.kg-reference-hero[data-motion="off"] #heroLine1El,.kg-reference-hero[data-motion="off"] #heroLine2El,.kg-reference-hero[data-motion="off"] .kg-reference-eyebrow,.kg-reference-hero[data-motion="off"] .kg-reference-description{animation:none!important}
@keyframes kg-text-reveal{from{opacity:0;translate:0 25px;filter:blur(8px)}to{opacity:1;translate:0 0;filter:blur(0)}}@keyframes kg-cinematic-book{from{opacity:0;translate:0 55px;scale:.91;filter:blur(5px)}to{opacity:1;translate:0 0;scale:1;filter:blur(0)}}
/* Ten quotes per page in a compact reading grid. */
#quoteFeedGrid.quote-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;columns:unset;align-items:start}#quoteFeedGrid.quote-page-grid>.masonry-item{margin:0!important;min-width:0;width:100%;break-inside:unset}#quoteFeedGrid .reveal-card{opacity:1!important;transform:none!important;animation:none!important;transition:opacity .7s ease,transform .85s cubic-bezier(.16,1,.3,1)!important;transition-delay:var(--reveal-delay,0ms)!important}#quoteFeedGrid .reveal-card.kg-reveal-ready:not(.is-visible){opacity:0!important;transform:translate3d(0,32px,0) scale(.985)!important}.kg-feed-pagination{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 0;padding:22px 0;border-top:1px solid var(--border-subtle)}.kg-feed-pagination>p{font-size:12px;line-height:1.6;color:var(--text-muted);margin:0}.kg-page-buttons{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px}.kg-page-buttons button{font-size:12px;font-weight:600;min-width:38px;min-height:38px;padding:8px 12px;border:1px solid var(--border-subtle);border-radius:9px;background:var(--bg-card);color:var(--text-primary)}.kg-page-buttons button[aria-current="page"]{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.kg-page-buttons button:disabled{opacity:.4;cursor:default}.kg-page-buttons button:hover:not(:disabled){border-color:var(--text-primary)}.kg-page-ellipsis{font-size:12px;padding:0 3px}.kg-feed-heading-focus:focus{outline:0}.kg-feed-heading-focus{scroll-margin-top:125px}
@media(max-width:1199px){#quoteFeedGrid.quote-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kg-reference-hero #heroLine2El{font-size:clamp(60px,8.5vw,86px)}.kg-reference-description p{font-size:16px}.kg-reference-eyebrow{font-size:11px}}
@media(max-width:767px){.kg-reference-hero{min-height:815px;padding:38px 0 33px}.kg-reference-eyebrow{font-size:10px;letter-spacing:1px;line-height:1.7;margin:0 18px 15px}.kg-reference-hero #heroLine1El{font-size:33px;line-height:1.2;letter-spacing:-1.3px}.kg-reference-hero #heroLine2El{font-size:clamp(48px,13vw,72px);letter-spacing:2px!important;line-height:1.17!important;margin-top:7px}.kg-reference-stage{margin-top:51px}.kg-live-cover-row{min-height:322px}.kg-label-left{top:216px;font-size:7px}.kg-label-right{top:210px;font-size:7px}.kg-hero-touch-hint{font-size:11px;margin-top:4px}.kg-reference-description{margin:22px 20px 0}.kg-reference-description p{font-size:14px;line-height:1.8;margin-bottom:24px}.kg-reference-description p br{display:none}.kg-reference-hero #heroCtaLink{font-size:12px;min-width:184px;min-height:47px;padding:14px 25px}.kg-reference-text-link{font-size:13px}.kg-reference-actions{gap:16px}#quoteFeedGrid.quote-page-grid{grid-template-columns:1fr;gap:17px}.kg-feed-pagination{flex-direction:column;align-items:center;gap:14px;padding:20px 0;margin-top:24px}.kg-feed-pagination>p{font-size:11px}.kg-page-buttons{gap:5px}.kg-page-buttons button{font-size:11px;min-height:38px;min-width:35px;padding:8px 10px}}
@media(max-width:359px){.kg-reference-hero #heroLine1El{font-size:29px}.kg-reference-hero #heroLine2El{font-size:43px}.kg-reference-eyebrow{font-size:9px}.kg-reference-description p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.kg-reference-hero #heroLine1El,.kg-reference-hero #heroLine2El,.kg-reference-eyebrow,.kg-reference-description,.kg-reference-hero .kg-shelf-book{animation:none!important}#quoteFeedGrid .reveal-card.kg-reveal-ready:not(.is-visible){opacity:1!important;transform:none!important}#quoteFeedGrid .reveal-card{transition:none!important}}
