/* Shared header for home, projects, galleries and tag feeds. */
body .site-header.rpm-unified-header{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:24px!important;position:relative;min-height:148px!important;height:auto!important;padding:24px 0!important;border:0!important;box-sizing:border-box}
body .rpm-unified-header .rpm-unified-brand{display:flex!important;align-items:flex-end;gap:0;flex:none;text-decoration:none;border:0;color:var(--muted,#929aa1);width:auto;height:auto}
body .rpm-unified-brand>img{display:block;width:300px;height:auto;flex:none}
body .rpm-unified-descriptor{display:block;margin:0 0 14px -10px;max-width:280px;font-size:13px!important;line-height:1.2;font-weight:400;color:var(--muted,#929aa1);white-space:nowrap}
body .rpm-unified-actions{display:flex;align-items:center;gap:20px;margin-bottom:14px;transform:none!important}
body .rpm-unified-header .rpm-unified-nav,body .rpm-unified-header .work-nav{display:flex!important;align-items:center;gap:8px!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:0;transform:none!important}
body .rpm-unified-header .work-filters{display:flex;align-items:center;gap:8px!important}
body .rpm-unified-header .rpm-unified-nav a,body .rpm-unified-header .work-nav button,body .rpm-unified-header .tag-search-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #292e32;border-radius:999px;background:transparent;color:#c2c8cc;text-decoration:none;padding:9px 14px!important;margin:0!important;font:inherit;font-size:13px!important;line-height:1.2;white-space:nowrap;cursor:pointer}
body .rpm-unified-header .rpm-all,body .rpm-unified-header .work-nav button.active{border-color:var(--accent,var(--green,#b4ff00));color:var(--accent,var(--green,#b4ff00))}
body .rpm-unified-header .rpm-unified-nav a:hover,body .rpm-unified-header .work-nav button:hover,body .rpm-unified-header .tag-search-button:hover{border-color:var(--accent,var(--green,#b4ff00));color:var(--accent,var(--green,#b4ff00))}
body .site-header.rpm-unified-header .rpm-unified-langs{display:flex!important;align-items:center!important;gap:9px;align-self:auto!important}
body .site-header.rpm-unified-header .rpm-unified-langs button{display:block!important;flex:none;width:28px!important;height:18px!important;padding:0!important;border:0;background:none;cursor:pointer;opacity:.7}
body .site-header.rpm-unified-header .rpm-unified-langs button.active{opacity:1}
body .site-header.rpm-unified-header .rpm-unified-langs img{display:block;width:28px!important;height:18px!important;object-fit:cover;border:1px solid #ffffff50;border-radius:1px}
body.home .work-grid{margin-top:40px}
body .about.rpm-about-full{display:grid!important;grid-template-columns:210px minmax(0,1fr)!important;gap:36px!important;margin-top:80px!important;padding:44px 0!important;border-top:1px solid #282d31;cursor:default}
body .about.rpm-about-full>h2{margin:0!important;font-size:36px!important;line-height:1.15;font-weight:500;color:var(--green,var(--accent,#b4ff00))!important}
body .about.rpm-about-full .about-copy{grid-column:2!important;max-width:950px}
body .about.rpm-about-full .about-details,body .about.rpm-about-full:not(.is-open):not(.is-intro-open) .about-details{max-height:none!important;height:auto!important;overflow:visible!important;max-width:950px;font-size:15px;line-height:1.7;transition:none!important}
body .about.rpm-about-full .about-details::after{display:none!important}
body .about.rpm-about-full .rpm-about-greeting{font-size:23px!important;line-height:1.35;margin-top:0}
body .about.rpm-about-full .about-details p{max-width:none}
@media(max-width:1150px){body .site-header.rpm-unified-header{flex-wrap:wrap;gap:12px!important}body .rpm-unified-actions{margin-left:auto;margin-bottom:0}body .rpm-unified-descriptor{white-space:normal;max-width:250px}}
@media(max-width:650px){body .site-header.rpm-unified-header{padding:20px 0!important;min-height:0!important;gap:18px!important}body .rpm-unified-header .rpm-unified-brand{width:100%;justify-content:center}body .rpm-unified-brand>img{width:190px}body .rpm-unified-descriptor{font-size:10px!important;max-width:160px;margin-bottom:8px;margin-left:-4px}body .rpm-unified-actions{width:100%;justify-content:space-between;gap:8px;flex-wrap:wrap}body .rpm-unified-header .rpm-unified-nav,body .rpm-unified-header .work-nav,body .rpm-unified-header .work-filters{gap:5px!important;flex-wrap:wrap}body .rpm-unified-header .rpm-unified-nav a,body .rpm-unified-header .work-nav button,body .rpm-unified-header .tag-search-button{padding:8px 10px!important;font-size:11px!important}body .site-header.rpm-unified-header .rpm-unified-langs img{width:24px!important;height:16px!important}body .site-header.rpm-unified-header .rpm-unified-langs button{width:24px!important;height:16px!important}body.home .work-grid{margin-top:18px}body .about.rpm-about-full{grid-template-columns:1fr!important;gap:22px!important;margin-top:50px!important;padding:32px 0!important}body .about.rpm-about-full .about-copy{grid-column:1!important}body .about.rpm-about-full>h2{font-size:30px!important}body .about.rpm-about-full .rpm-about-greeting{font-size:21px!important}}

/* 6.5.1: shared spacing and quiet dividers. */
body .site-header.rpm-unified-header{margin-bottom:-5px!important}
body .about.rpm-about-full{border-bottom:0!important}
body .about.rpm-about-full+.tag-directory{border-top:1px solid #282d31!important}
body .about.rpm-about-awaiting .about-details>p{opacity:0!important;visibility:hidden!important}
body .related-section,body .feed-related{border-top:1px solid #282d31!important}
@media(prefers-reduced-motion:reduce){body .about.rpm-about-awaiting .about-details>p{opacity:1!important;visibility:visible!important}}

/* 6.5.2: tighter About ending, centered tag navigation, home back-to-top. */
body .site-header.rpm-unified-header{margin-bottom:-10px!important}
body .about.rpm-about-full{padding-bottom:14px!important}
body .about.rpm-about-full .about-details>p:last-child{margin-bottom:0!important}
body .about.rpm-about-full+.tag-directory{margin-top:22px!important;padding-bottom:55vh!important}
body.home .rpm-home-back-top{position:fixed;z-index:45;top:66%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:72px;height:72px;border:1px solid #b5bbc0;border-radius:50%;background:transparent;color:#b5bbc0;cursor:pointer;font:inherit;font-size:12px;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
body.home .rpm-home-back-top.is-visible{opacity:1;visibility:visible}
body.home .rpm-home-back-top:hover{color:var(--green,#b4ff00);border-color:currentColor}
body.home .rpm-home-back-top svg{display:block;width:25px;height:29px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:650px){body.home .rpm-home-back-top{top:auto;bottom:16px;width:62px;height:62px;background:#0b0d0fcc}}

/* 6.5.3: home footer near tags; scrolling reserve follows the copyright. */
body.home .work-grid{margin-top:35px!important}
body.home .about.rpm-about-full+.tag-directory{padding-bottom:0!important}
body.home footer.page-limit{margin-top:32px!important}
body.home{padding-bottom:55vh}
@media(max-width:650px){body.home .work-grid{margin-top:13px!important}}

/* 6.6.0: dynamic About baseline, larger tag-section breathing room. */
body .about.rpm-about-full{align-items:first baseline!important}
body .about.rpm-about-full .about-copy{display:block!important}
body .about.rpm-about-full .about-details>p:first-child{margin-top:0!important}
body.home .about.rpm-about-full+.tag-directory{padding-top:56px!important;padding-bottom:56px!important}
body main .rf-project-directory,body .feed-tags,body.rf-gallery main .rf-project-directory{padding-top:52px!important;padding-bottom:64px!important}
body .rf-wide-frames{display:grid;gap:20px;padding-top:10px;padding-bottom:34px}
body .rf-wide-frame{margin:0;overflow:hidden}
body .rf-wide-frame img{display:block;width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none!important}
@media(max-width:650px){body .about.rpm-about-full{align-items:start!important}body .rpm-unified-header .rpm-unified-brand{justify-content:flex-start!important}body .rpm-unified-descriptor{max-width:none;width:auto;margin-left:-4px;font-size:10px!important}body .rpm-descriptor-first,body .rpm-descriptor-second{display:block;white-space:nowrap}body.home .about.rpm-about-full+.tag-directory{padding-top:40px!important;padding-bottom:40px!important}}
@media(max-width:380px){body .rpm-unified-brand>img{width:clamp(135px,44vw,160px)}body .rpm-unified-descriptor{font-size:9px!important}}
