/* Shared palette and reading sizes, based on the accepted sunlit foliage proposal. */
body.leaf-theme{--paper:#e4ebd8;--ink:#27351b;--muted:#435138;--rust:#566c32;--line:#bdcba5;--cream:#d5dfc3;background:var(--paper);color:var(--ink);font:400 19px/1.8 'Nunito Sans',Arial,sans-serif}
.leaf-theme .top{background:#9eaf70;border:0;backdrop-filter:none}
.leaf-theme .nav .brand,.leaf-theme .nav nav a,.leaf-theme .nav summary{color:#27351b}
.leaf-theme .nav nav{gap:23px;align-items:center}
.leaf-theme .nav nav a,.leaf-theme .nav summary{font:500 15px/1.5 'Nunito Sans',Arial,sans-serif}
.leaf-theme .language{border-color:#74854f}
.leaf-theme .menu-toggle{background:transparent;color:#27351b;border-color:#74854f;font-size:17px}
.leaf-theme .nav-group{position:relative;margin:0;padding:0;border:0}
.leaf-theme .nav-group>summary{cursor:pointer;list-style:none;white-space:nowrap;display:flex;gap:8px;align-items:center;padding:8px 0}
.leaf-theme .nav-group>summary::-webkit-details-marker{display:none}
.leaf-theme .nav-group>summary::after{content:'⌄';font-family:Arial,sans-serif;font-size:15px}
.leaf-theme .nav-group[open]>summary::after{transform:rotate(180deg)}
.leaf-theme .nav-submenu{position:absolute;top:100%;left:-18px;min-width:210px;background:#eef3e5;border:1px solid #b1c093;box-shadow:0 12px 28px #26341e24;padding:10px;z-index:20;border-radius:4px}
.leaf-theme .nav .nav-submenu a{display:block;padding:10px 12px;white-space:nowrap;text-decoration:none;border-radius:2px}
.leaf-theme .nav .nav-submenu a:hover,.leaf-theme .nav .nav-submenu a:focus-visible{background:#d4dfc1}
.leaf-theme a:focus-visible,.leaf-theme button:focus-visible,.leaf-theme summary:focus-visible{outline:3px solid #566c32;outline-offset:5px}
.leaf-theme .button,.leaf-theme section .button,.leaf-theme .button:hover{background:#566c32;color:#fff;border-radius:3px;font-size:17px;padding:13px 22px}
.leaf-theme .link,.leaf-theme .purpose-more,.leaf-theme .purpose-help{color:#304723;font-size:18px;line-height:1.7}
.leaf-theme .purpose-more{display:inline-block;margin:18px 0 0 25px;text-underline-offset:5px}
.leaf-theme .purpose-help{display:block;margin-top:20px}
.leaf-theme main h2,.leaf-theme main h3{color:#2f4428}
.leaf-theme main .eyebrow{color:#475d3e}
.leaf-theme footer{background:#9eaf70;color:#27351b;border:0}
.leaf-theme footer .footer{display:flex;flex-wrap:wrap;gap:20px 30px;justify-content:space-between;align-items:flex-start;color:#27351b;font-size:17px;line-height:1.75}
.leaf-theme footer .footer>span,.leaf-theme footer .footer-meta a{font:400 17px/1.75 'Nunito Sans',Arial,sans-serif;color:#27351b}
.leaf-theme footer .brand{font:500 32px/1.3 'Cormorant Garamond',Georgia,serif;color:#27351b}
.leaf-theme footer .footer-meta{display:flex;flex-wrap:wrap;flex-basis:100%;gap:12px 26px}
/* Tighter transitions without reducing readable type or turning sections into cards. */
.leaf-theme.home-page .home-friendship,.leaf-theme.home-page .home-friends,.leaf-theme.home-page .book-showcase,.leaf-theme.home-page .home-final-links{padding:24px 0}
.leaf-theme.home-page .home-gallery-reference,.leaf-theme.home-page .home-music{padding:21px 0}
.leaf-theme.home-page .personal-support{margin-top:20px}
.leaf-theme.home-page .friendship-links{margin-top:22px}
.leaf-theme.home-page .friendship-links a,.leaf-theme.home-page .final-link-list a{margin-top:20px}
.leaf-theme.home-page .book-showcase-heading{margin-bottom:25px}
/* Subpages keep their content and media layout, with the same palette and typography. */
.leaf-subpage main>section,.leaf-subpage .subpage-intro,.leaf-subpage .gallery-intro{background:#e4ebd8}
.leaf-subpage main>section{padding-top:27px;padding-bottom:27px}
.leaf-subpage .subpage-intro{padding-top:38px;padding-bottom:8px}
.leaf-subpage .subpage-intro h1,.leaf-subpage .gallery-intro h1,.leaf-subpage .song-intro h1{font:500 48px/1.15 'Cormorant Garamond',Georgia,serif;letter-spacing:0;color:#27351b}
.leaf-subpage main h2{font:500 40px/1.2 'Cormorant Garamond',Georgia,serif;letter-spacing:0;color:#2f4428}
.leaf-subpage main h3{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500;line-height:1.3;color:#2f4428}
.leaf-subpage main p:not(.eyebrow):not(.handwritten){font-family:'Nunito Sans',Arial,sans-serif!important;font-size:19px!important;line-height:1.8!important;color:#435138!important}
.leaf-subpage main .eyebrow,.leaf-subpage .help-label{font-family:'Nunito Sans',Arial,sans-serif;font-size:13px;color:#475d3e}
.leaf-subpage .date,.leaf-subpage .memorial-dates,.leaf-subpage .note,.leaf-subpage .photo-hint{font-size:17px;color:#475d3e}
.leaf-subpage .petition,.leaf-subpage .check-section,.leaf-subpage .memorial-section{background:#d5dfc3}
.leaf-subpage .help-card,.leaf-subpage .emergency,.leaf-subpage .guestbook-form,.leaf-subpage .companion-grid article{background:#eef2e7;border-color:#bdcba5}
.leaf-subpage .sectiontop p,.leaf-subpage .press-topics ul,.leaf-subpage .check-items label,.leaf-subpage .resources,.leaf-subpage details p{font-family:'Nunito Sans',Arial,sans-serif;font-size:19px;line-height:1.8;color:#435138}
.leaf-subpage .press-facts dd,.leaf-subpage .press-sources a,.leaf-subpage .help-card a,.leaf-subpage .companion-grid a,.leaf-subpage .guestbook-consent,.leaf-subpage .guestbook-status,.leaf-subpage .guestbook-reload{font-size:17px;color:#304723}
.leaf-subpage .press-facts dt{font-size:14px;color:#475d3e}
.leaf-subpage .press-sources a span{font-size:17px;line-height:1.7}
.leaf-subpage .bodytext{font-family:'Nunito Sans',Arial,sans-serif;font-size:19px;line-height:1.8}
.leaf-subpage .memory{color:#435138;border-color:#a4b984;font-size:26px;line-height:1.6}
.leaf-subpage .song-intro{padding:28px 0 16px}
.leaf-subpage .song-library{padding-top:0;padding-bottom:27px}
.leaf-subpage .song-track h3{font-size:23px}
.leaf-subpage .song-group-heading h2{font-size:32px}
.leaf-subpage .song-intro .handwritten{font-family:'Dancing Script',cursive;font-size:30px;color:#3d5432}
.leaf-subpage .gallery-collection{padding-top:0}
.leaf-subpage .dedicated-gallery figcaption{font-size:17px;color:#435138}
.leaf-subpage .photo-modal p{font-size:17px!important}
@media(max-width:1100px){
 .leaf-theme .nav nav{background:#9eaf70;align-items:flex-start;gap:12px 24px}
 .leaf-theme .nav nav a,.leaf-theme .nav summary{font-size:17px}
 .leaf-theme .nav-submenu{position:static;box-shadow:none;margin-top:6px;min-width:195px}
}
@media(max-width:700px){
 body.leaf-theme{font-size:18px}
 .leaf-theme.home-page .home-friendship,.leaf-theme.home-page .home-friends,.leaf-theme.home-page .book-showcase,.leaf-theme.home-page .home-final-links{padding:18px 0}
 .leaf-theme.home-page .home-gallery-reference,.leaf-theme.home-page .home-music{padding:16px 0}
 .leaf-theme .purpose-more{display:block;margin:16px 0 0}
 .leaf-theme .purpose-help{margin-top:16px}
 .leaf-theme footer .footer{flex-direction:column;gap:18px}
 .leaf-theme footer .footer-meta{gap:12px 22px}
 .leaf-subpage main>section{padding-top:18px;padding-bottom:18px}
 .leaf-subpage .subpage-intro{padding-top:28px}
 .leaf-subpage .subpage-intro h1,.leaf-subpage .gallery-intro h1,.leaf-subpage .song-intro h1{font-size:39px}
 .leaf-subpage main h2{font-size:35px}
 .leaf-subpage main p:not(.eyebrow):not(.handwritten),.leaf-subpage .sectiontop p,.leaf-subpage .press-topics ul,.leaf-subpage .check-items label,.leaf-subpage .resources{font-size:18px!important}
 .leaf-subpage .song-intro{padding:22px 0 14px}
 .leaf-subpage .song-library,.leaf-subpage .gallery-collection{padding-top:0}
 .leaf-subpage .song-track h3{font-size:19px}
 .leaf-subpage .song-group-heading h2{font-size:27px}
 .leaf-subpage .song-intro .handwritten{font-size:26px}
 .leaf-subpage .dedicated-gallery figcaption{font-size:15px}
}
/* Original reading samples, opened only when the visitor chooses to read. */
.leaf-theme .reading-excerpt{margin:22px 0 0;border:0;padding:0;max-width:740px}
.leaf-theme .reading-excerpt>summary{cursor:pointer;color:#304723;font:600 17px/1.6 'Nunito Sans',Arial,sans-serif;text-decoration:underline;text-underline-offset:5px;padding:6px 0}
.leaf-theme .reading-excerpt[open]>summary{margin-bottom:14px}
.leaf-theme .reading-excerpt .excerpt-content{background:#eef2e7;padding:22px;border-radius:3px}
.leaf-theme .reading-excerpt blockquote{margin:18px 0 0;padding:0;border:0}
.leaf-theme .reading-excerpt blockquote p{font:400 19px/1.8 'Nunito Sans',Arial,sans-serif!important;color:#334329!important;margin:0}
.leaf-theme .reading-excerpt blockquote p+p{margin-top:17px}
.leaf-theme .reading-excerpt .excerpt-chapter,.leaf-theme .reading-excerpt .excerpt-translation,.leaf-theme .reading-excerpt .excerpt-credit{font:400 16px/1.6 'Nunito Sans',Arial,sans-serif!important;color:#475d3e!important;margin:0}
.leaf-theme .reading-excerpt .excerpt-translation{margin-top:7px}
.leaf-theme .reading-excerpt .excerpt-credit{margin-top:20px}
@media(max-width:700px){.leaf-theme .reading-excerpt .excerpt-content{padding:18px}.leaf-theme .reading-excerpt blockquote p{font-size:18px!important}.leaf-theme .reading-excerpt>summary{font-size:17px}}
.leaf-theme .book-pair-layout{align-items:start}
.leaf-theme .reading-excerpt .excerpt-content .excerpt-chapter,.leaf-theme .reading-excerpt .excerpt-content .excerpt-translation,.leaf-theme .reading-excerpt .excerpt-content .excerpt-credit{font-size:16px!important;line-height:1.6!important}
/* Legal information stays readable and clearly marked while awaiting confirmation. */
.leaf-theme .legal-copy{max-width:900px}
.leaf-theme .legal-copy h2{font-size:32px;margin:24px 0 10px}
.leaf-theme .legal-copy p+p{margin-top:9px}
.leaf-theme .legal-copy .link{display:inline-block;margin-top:12px}
.leaf-theme .legal-draft-note{background:#d5dfc3;padding:22px 25px;border-radius:3px;margin:0 0 30px;color:#27351b}
.leaf-theme .legal-draft-note strong{font-size:19px}
.leaf-theme .legal-draft-note p{margin-top:10px}
.leaf-theme .legal-pending{font-weight:600}
.leaf-theme .legal-copy .legal-status{font-size:16px!important;margin-top:38px;color:#475d3e!important}
.leaf-theme .guestbook-privacy-note a{font-size:17px;line-height:1.7;color:#304723}
@media(max-width:700px){.leaf-theme .legal-copy h2{font-size:29px;margin-top:28px}.leaf-theme .legal-draft-note{padding:19px}}
