
/* RAINBOW UNIFIED · shared design system · 2026 */
:root{--rb-bg:#090b12;--rb-panel:#141825;--rb-panel-2:#1b2030;--rb-text:#f5f6ff;--rb-muted:#bbc3d4;--rb-line:#32374b;--rb-gradient:linear-gradient(100deg,#ff507c 0%,#ffac41 20%,#ffe16b 36%,#5cdbb0 54%,#4dbbff 72%,#ad76ff 90%,#ff507c 100%);color-scheme:dark}
html{scroll-behavior:smooth;background:#090b12!important}
body.rb-page{min-height:100vh;margin:0!important;background:radial-gradient(ellipse 850px 440px at 95% 5%,rgba(123,75,235,.13),transparent 72%),radial-gradient(ellipse 900px 500px at -12% 43%,rgba(29,180,217,.075),transparent 70%),#090b12!important;color:var(--rb-text)!important;font-family:'Inter','DM Sans',system-ui,-apple-system,Segoe UI,sans-serif!important;line-height:1.6}
body.rb-page :is(h1,h2,h3,h4,h5,h6){color:#f8f8ff!important;letter-spacing:-.035em}
body.rb-page :is(p,li,small,figcaption,label,blockquote){color:var(--rb-muted)!important}
body.rb-page :is(a,a:visited){color:#9fd9ff!important;text-decoration-color:rgba(132,200,252,.35)!important}
body.rb-page a:hover{color:#fff!important}
body.rb-page :is(.container,.wrap){max-width:1320px}
/* the SAME header on ALL pages */
body.rb-page .rb-header{position:sticky!important;top:0;z-index:90!important;background:rgba(9,11,18,.96)!important;border:0!important;border-bottom:1px solid #343849!important;backdrop-filter:blur(18px);box-shadow:0 10px 35px #0005;opacity:1!important}
body.rb-page .rb-header:before,body.rb-page .rb-footer:before{content:'';display:block;height:4px;background:var(--rb-gradient);background-size:200% 100%;width:100%}
body.rb-page .rb-header-inner{max-width:1450px;margin:auto;display:flex;align-items:center;gap:clamp(12px,2vw,30px);justify-content:space-between;min-height:82px;padding:10px clamp(16px,3vw,46px)}
body.rb-page .rb-brand{flex-shrink:0;display:flex;gap:10px;align-items:center;text-decoration:none!important}
body.rb-page .rb-brand img{height:49px;width:49px;object-fit:contain;filter:drop-shadow(0 0 7px #c173ff50)}
body.rb-page .rb-brand-name{display:flex;flex-direction:column;line-height:1.05;letter-spacing:.15em;font-weight:900;font-size:clamp(15px,1.5vw,19px);background:var(--rb-gradient);background-size:200% 100%;color:transparent!important;-webkit-background-clip:text;background-clip:text}
body.rb-page .rb-brand-name small{font-size:9px;letter-spacing:.33em;font-weight:800;color:#dfe4f0!important;margin-top:7px}
body.rb-page .rb-navigation{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px;background:transparent!important;border:0!important;padding:0!important;position:static!important;box-shadow:none!important;min-width:0}
body.rb-page .rb-navigation a,body.rb-page .rb-navigation a:visited{display:inline-flex;align-items:center;min-height:35px;padding:8px 10px;border-radius:10px;color:#c7cddd!important;text-decoration:none!important;font-size:clamp(11px,.84vw,13px);font-weight:750;line-height:1.2;white-space:nowrap;background:transparent!important;border:1px solid transparent!important;transition:.2s ease}
body.rb-page .rb-navigation a:hover{background:#25273b!important;color:white!important;border-color:#43465d!important;text-decoration:none!important}
body.rb-page .rb-navigation a[aria-current=page]{background:linear-gradient(#171923,#171923) padding-box,var(--rb-gradient) border-box!important;color:white!important;border:1px solid transparent!important}
body.rb-page .rb-menu-toggle{display:none;align-items:center;gap:9px;background:#1d2132!important;color:#fff!important;border:1px solid #42475d!important;border-radius:11px;padding:10px 13px;cursor:pointer;font-size:13px;font-weight:800}
body.rb-page .rb-menu-toggle svg{width:19px;height:19px}
/* Shared headings and rainbow graphic accents */
body.rb-page h1{font-weight:850!important;line-height:1.1!important}
body.rb-page :is(h1,h2).rb-spectrum,body.rb-page .rb-spectrum{background:var(--rb-gradient);background-size:200% auto;color:transparent!important;-webkit-background-clip:text;background-clip:text}
body.rb-page :is(h1,h2,h3):not(.no-rainbow):after{border-color:transparent}
body.rb-page :is(.hero,.banner){background-color:transparent!important;border-color:transparent!important}
body.rb-page .hero{position:relative}
body.rb-page .hero:where(:not(.rb-no-decoration)) {isolation:isolate}
body.rb-page :is(.card,.panel,.tile,.box,.project,.stat-card,.feature-card){border-color:var(--rb-line)!important;border-radius:17px!important;box-shadow:0 12px 34px #0002;transition:transform .22s,border-color .22s,box-shadow .22s}
body.rb-page :is(.card,.panel,.tile,.project):hover{border-color:#9362e8!important;box-shadow:0 14px 38px #8566ff24;transform:translateY(-3px)}
body.rb-page :is(.card,.panel,.tile,.project){background:linear-gradient(135deg,rgba(28,31,47,.98),rgba(17,21,32,.99))!important}
body.rb-page :is(.btn,.button,.filter,.back,.open-project){border-radius:999px!important;transition:transform .18s,box-shadow .18s,filter .18s}
body.rb-page :is(.btn,.button):not(.ghost){background:linear-gradient(115deg,#ff657e,#8d80ff,#4dbfff)!important;background-color:#8d80ff!important;border:1px solid #a997ff!important;color:#fff!important;font-weight:800;box-shadow:0 7px 20px #907dff30}
body.rb-page :is(.btn,.button,.filter):hover{filter:brightness(1.1);transform:translateY(-2px)}
body.rb-page :is(.btn.ghost,.filter){background:#22263a!important;border:1px solid #464a62!important;color:#e5eafa!important}
body.rb-page .filter.active{background:var(--rb-gradient)!important;color:#080b14!important;border-color:transparent!important}
body.rb-page :is(input,textarea,select){border-radius:10px;background:#181b29!important;color:#fff!important;border-color:#4a5065!important}
body.rb-page :is(a,button,input,textarea,select):focus-visible{outline:2px solid #6fcafa!important;outline-offset:3px}
/* consistent footer */
body.rb-page .rb-footer{margin-top:75px!important;background:#0e101a!important;border-top:1px solid #323547!important;text-align:center;opacity:1!important;color:#cbd2e4!important;padding:0 0 34px!important}
body.rb-page .rb-footer:before{margin-bottom:25px}
body.rb-page .rb-footer-inner{max-width:1200px;margin:auto;padding:0 20px;display:flex;flex-direction:column;align-items:center;gap:8px}
body.rb-page .rb-footer p{margin:4px!important;font-size:13px;color:#b2bdcf!important}
body.rb-page .rb-footer strong{color:#fff!important}
body.rb-page .rb-footer-links{display:flex;gap:18px;flex-wrap:wrap;justify-content:center}
body.rb-page .rb-footer a{font-size:13px;color:#a8ceff!important}
/* gallery-specific visual integration */
body.rb-page.page-gallery .hero{background:radial-gradient(ellipse at 90% 18%,#a34fd72b,transparent 45%),#10131e!important}
body.rb-page.page-gallery .hero:after{background:linear-gradient(100deg,#ff5f82,#6a7cff,#36e4ac);opacity:.13}
body.rb-page.page-gallery .hero h1 em{background:var(--rb-gradient);color:transparent!important;-webkit-background-clip:text;background-clip:text}
body.rb-page.page-gallery .project-content h3{color:#fff!important}
body.rb-page.page-gallery :is(.category,.eyebrow,.open-project){color:#a9baff!important}
body.rb-page.page-gallery .photo{border-color:#4a4d63!important}
body.rb-page.page-gallery .hero p,body.rb-page.page-gallery .section-top p,body.rb-page.page-gallery .project-content p{color:#bfc5d6!important}
body.rb-page.page-gallery .stat strong{color:#fff!important}
body.rb-page.page-gallery .project{overflow:hidden}
body.rb-page.page-gallery .viewer{z-index:300!important}
/* adaptive header */
@media(max-width:1160px){body.rb-page .rb-header-inner{min-height:74px}body.rb-page .rb-menu-toggle{display:inline-flex!important}body.rb-page .rb-navigation{display:none!important;position:absolute!important;top:100%!important;left:0;right:0;max-height:75vh;overflow-y:auto;padding:16px 20px 22px!important;background:#111423!important;border-bottom:1px solid #454b61!important;box-shadow:0 15px 28px #0008!important;flex-direction:column;align-items:stretch}body.rb-page .rb-navigation.rb-open{display:flex!important}body.rb-page .rb-navigation a{padding:13px 16px!important;font-size:15px!important}}
@media(max-width:640px){body.rb-page .rb-brand img{width:40px;height:40px}body.rb-page .rb-brand-name{font-size:14px}body.rb-page .rb-brand-name small{font-size:8px}body.rb-page .rb-header-inner{padding:9px 15px}body.rb-page .rb-footer{margin-top:45px!important}body.rb-page h1{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){body.rb-page *,body.rb-page *:before,body.rb-page *:after{animation:none!important;scroll-behavior:auto!important}}
