/* Quiet shared usability foundation. Project geometry and viewer layout stay owned by their tools. */
:where(html){scroll-padding-top:6rem}
:where(main,section,article,header,nav,footer){min-width:0}
:where(img,video,iframe){max-width:100%}
:where(input,textarea,select){max-width:100%}
:where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid currentColor;outline-offset:5px}
:where(button,summary){touch-action:manipulation}
.quality-skip{position:fixed;left:16px;top:16px;z-index:10000;padding:12px 18px;background:#fbfbfa;color:#121211;border:1px solid #121211;font:16px/1.4 Arial,sans-serif;transform:translateY(-200%);text-decoration:none}
.quality-skip:focus{transform:none}
.quality-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
@media(max-width:720px){
 :where(input,textarea,select){font-size:16px}
 :where(dialog){max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}
 /* W3C C42 translated for Riviosa: protect clustered secondary targets
    without changing links embedded in reading copy or project geometry. */
 :where(.pulse-meta,.archive-item,.footer-legal,.section-cta,.inquiry-submit) :where(a,button),
 :where(.market-pulse-shell>summary,.pulse-analysis>summary,.deal-archive>summary,.record-toggle,.project-link,.button,.nav-cta,.mobile-nav>summary,.trade-application>summary){min-block-size:44px}
 :where(.pulse-meta,.archive-item,.footer-legal,.section-cta,.inquiry-submit) :where(a,button){display:inline-flex;align-items:center}
 .site-header .mobile-nav a{min-height:44px;display:flex;align-items:center}
 .site-header .mobile-nav nav{max-height:calc(100dvh - 90px);overflow:auto}
 .hero-actions{flex-wrap:wrap}
 .hero-actions>*{min-height:44px}
 .project-page-hero-copy h1{font-size:clamp(2.8rem,13vw,5.4rem);line-height:1.08;overflow-wrap:break-word}
 .hero-content h1{line-height:1.08}
 .project-overview-copy p{line-height:1.65}
 .project-overview-grid>*{min-width:0}
 .private-field{gap:12px}
 .private-field button{min-height:48px;padding-left:12px}
}
/* W3C C34: release the sticky header when landscape or zoom leaves little height.
   Relative positioning preserves its normal-flow footprint and menu anchoring. */
@media(max-height:480px){.site-header{position:relative}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
