/* Phase II / Station 22: one gallery-wide visual pass. Existing room behavior is untouched. */
:root{--polish-ivory:#f4ead7;--polish-brass:#d7b77a;--polish-shadow:0 22px 60px rgba(0,0,0,.22)}
html{scroll-padding-top:105px}body{background-image:radial-gradient(ellipse at 12% 3%,rgba(87,117,111,.13),transparent 42%),radial-gradient(ellipse at 90% 48%,rgba(174,125,70,.065),transparent 46%)}
body:before{content:'';position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.18;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.10'/%3E%3C/svg%3E")}
::selection{background:#b7955b;color:#101e23}a,button{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f2d59b;outline-offset:3px}
main h1,main h2{letter-spacing:-.022em;text-wrap:balance}main h1{color:var(--polish-ivory)}main h2{color:#f0dfbf}main p{line-height:1.76}main .eyebrow,main .small-label{letter-spacing:.19em}
main .panel,main .card,main .room,main .map-stop{box-shadow:var(--polish-shadow);border-color:rgba(211,179,119,.24)}main .panel,main .card{border-radius:12px}main .card{overflow:hidden}main .card img{transition:transform .45s ease,filter .45s ease}main .card:hover img{transform:scale(1.025);filter:contrast(1.045)}main .room:hover,main .map-stop:hover{border-color:rgba(222,191,131,.8);transform:translateY(-2px)}
main .btn,main button.btn{border-radius:7px;letter-spacing:.045em;font-weight:600}main .btn.secondary{background:rgba(12,25,33,.5)}
main .wrap{position:relative}main .wrap>h1:first-child,main .wrap>header h1{max-width:18ch}
img{height:auto}dialog{border-radius:15px;box-shadow:0 30px 90px #000b}input,select,textarea{accent-color:#c9a668}textarea{max-width:100%}
.nav-trigger{background:#172d2c!important;border:1px solid #d6b77b!important;border-radius:8px!important;box-shadow:0 7px 30px #0008!important;letter-spacing:.035em}.nav-panel{box-shadow:0 24px 80px #000a!important}.nav-panel a,.nav-panel button{transition:background .15s ease,box-shadow .15s ease}
/* Each room has its own restrained accent; no shared interaction selectors are changed. */
body[data-gallery-room='rotunda']{--room-accent:#d7b77a}
body[data-gallery-room='gallery']{--room-accent:#d5b68c}
body[data-gallery-room='quiet']{--room-accent:#a9c2ae}
body[data-gallery-room='creation']{--room-accent:#b5a8d2}
body[data-gallery-room='origins']{--room-accent:#d6ad80}
body[data-gallery-room='observatory']{--room-accent:#a3cbd1}
body[data-gallery-room='discovery']{--room-accent:#d7bb80}
body[data-gallery-room='exhibitions']{--room-accent:#d6a7a1}
body[data-gallery-room='office']{--room-accent:#cba778}
body[data-gallery-room='cottage']{--room-accent:#b5c89c}
body[data-gallery-room='garden']{--room-accent:#a2c8a2}
body[data-gallery-room='wearable']{--room-accent:#d5b58b}
body[data-gallery-room='map']{--room-accent:#d7b77a}
body[data-gallery-room] main{border-top:2px solid color-mix(in srgb,var(--room-accent),transparent 58%)}
body[data-gallery-room] main .eyebrow,body[data-gallery-room] main .station-status{color:var(--room-accent)}
body[data-gallery-room] main hr{border:0;border-top:1px solid rgba(215,183,122,.24)}
/* Gallery-wide consistency on wide and small screens */
@media(min-width:900px){main .wrap{max-width:1300px}main .feature{gap:clamp(2rem,5vw,5rem)}}
@media(max-width:760px){main h1{font-size:clamp(2.2rem,9vw,3.8rem)}main .wrap{padding-left:20px;padding-right:20px}main .panel,main .card-body{padding:1.1rem}}
@media(prefers-reduced-motion:reduce){a,button,main .card img,main .room,main .map-stop{transition:none!important}main .card:hover img{transform:none}}
