/* Round 10 — Minimal Gallery White. Contrast overrides across the public site. */
:root{--r10-bg:#FAFAF7;--r10-text:#333638;--r10-gold:#A38C6A;--r10-line:#D9D7CF}
body:not(.admin-page){background:var(--r10-bg)!important;color:var(--r10-text)!important}
body:not(.admin-page) header,body:not(.admin-page) footer,body:not(.admin-page) .contact-menu{background:var(--r10-bg)!important;color:var(--r10-text)!important;border-color:var(--r10-line)!important}
body:not(.admin-page) main,body:not(.admin-page) section:not(.hero),body:not(.admin-page) .project-extra,body:not(.admin-page) .detail,body:not(.admin-page) .filters{background-color:var(--r10-bg);color:var(--r10-text)}
body:not(.admin-page) h1:not(.hero h1),body:not(.admin-page) h2:not(.hero h2),body:not(.admin-page) h3,body:not(.admin-page) p:not(.hero p),body:not(.admin-page) .muted,body:not(.admin-page) .eyebrow,body:not(.admin-page) .metaitem,body:not(.admin-page) .gallery-count,body:not(.admin-page) .filter,body:not(.admin-page) .footer-right,body:not(.admin-page) .footer-signature,body:not(.admin-page) .contact-menu a{color:var(--r10-text)}
body:not(.admin-page) header a,body:not(.admin-page) header button,body:not(.admin-page) footer a,body:not(.admin-page) footer span{color:var(--r10-text)!important}
body:not(.admin-page) .btn:not(.hero .btn),body:not(.admin-page) .filter.selected{border-color:var(--r10-gold);color:var(--r10-text);background:transparent}
body:not(.admin-page) .hero,body:not(.admin-page) .hero *,body:not(.admin-page) .spotlight-card,body:not(.admin-page) .spotlight-card *{color:#fff}
body:not(.admin-page) .hero .eyebrow{color:#e4d4b4}
body:not(.admin-page) .hero::after{pointer-events:none}
.r10-brand-logo{display:block;width:clamp(160px,18vw,245px);height:auto;max-height:68px;object-fit:contain;object-position:left center}
.r10-footer-logo{display:block;width:min(650px,85vw);height:auto;max-height:210px;object-fit:contain;object-position:left}
.footer-signature{font-size:0!important;line-height:1!important}
.r10-loader-logo{display:block;width:min(380px,72vw);height:auto;animation:r10-loader 1.7s ease both}
@keyframes r10-loader{0%{opacity:0;transform:translateY(18px) scale(.95);filter:blur(8px)}60%{opacity:1;filter:blur(0)}100%{opacity:1;transform:none}}
.r10-sketch{width:100%;height:clamp(100px,18vw,220px);margin-top:30px;background-image:url('architectural-sketch.jpg');background-repeat:no-repeat;background-size:auto 100%;background-position:left bottom;opacity:.32;pointer-events:none;mask-image:linear-gradient(to top,#000,transparent 95%)}
.r7-reveal{transition:opacity 1.2s cubic-bezier(.22,1,.36,1),transform 1.2s cubic-bezier(.22,1,.36,1)!important;transform:translateY(35px) scale(.985)}.r7-reveal.r7-visible{transform:translateY(0) scale(1)}
.r10-drawing-viewer{width:100%;max-width:1150px;min-height:380px;margin:auto;display:flex;justify-content:center;align-items:center;overflow:auto;background:#f1f1ee}
.r10-drawing-viewer canvas{display:block;max-width:100%;height:auto}
.r10-drawing-viewer:fullscreen{background:#f7f7f5;padding:30px}.r10-drawing-viewer:fullscreen canvas{max-width:none;max-height:none}
.r10-plan{max-width:1150px!important;width:100%!important;overflow:auto!important;background:#f1f1ee;min-height:300px}
.r10-plan img{transform:scale(var(--r10-zoom,1));transform-origin:top left;transition:transform .2s;max-width:100%;height:auto;object-fit:contain}
.r10-plan:fullscreen{background:#fafaf7;padding:24px;max-width:none!important;display:flex;align-items:center;justify-content:center}
.r10-plan-controls{display:flex;gap:10px;margin:12px 0 22px}.r10-plan-controls button,.r10-tour-nav button{background:transparent;color:#333638;border:1px solid #A38C6A;padding:9px 16px;cursor:pointer}
.r10-tour-wrap{position:relative;background:#222;min-height:480px}.r10-tour-wrap:fullscreen{display:flex;flex-direction:column}.r10-pano{height:min(65vw,570px);min-height:360px;width:100%}.r10-tour-wrap:fullscreen .r10-pano{flex:1;height:80vh}.r10-tour-nav{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:#fafaf7}.r10-tour-wrap>.fullscreen-btn{position:absolute;top:12px;right:12px;z-index:10;background:#fafaf7;color:#333638}
.r10-scene-row{display:flex;gap:8px;align-items:center;margin:10px 0}.r10-scene-row img{width:85px;height:55px;object-fit:cover}.r10-scene-row input{flex:1;min-width:90px}.r10-scene-row button{cursor:pointer}
/* Remove duplicate arrows, keep Round 9 dynamic arrow. */
body:not(.admin-page) .back-to-top:not(.r9-top),body:not(.admin-page) #backToTop{display:none!important}
@media(max-width:650px){.r10-brand-logo{width:175px}.r10-footer-logo{width:min(90vw,420px)}.r10-tour-wrap{min-height:350px}.r10-pano{min-height:300px}.r10-sketch{height:115px}}
@media(prefers-reduced-motion:reduce){.r7-reveal{transition:none!important}.r10-loader-logo{animation:none}}

.r10-drawing-viewer{flex-direction:column;gap:12px}.r10-drawing-viewer .r7-pdf-nav{display:flex;align-items:center;gap:20px;padding:12px}.r10-plan{position:relative}.r10-plan-controls{position:sticky;bottom:0;left:0;z-index:5;background:#fafaf7d9;padding:10px;justify-content:center;margin:0}.r10-plan:fullscreen{flex-direction:column}.r10-plan:fullscreen img{max-height:calc(100vh - 100px);width:auto}
#preloader .preloader-name{display:none!important}

/* Round 10.1 — Project cards match the gallery-white page, with legible text. */
body:not(.admin-page) #projectGrid .project{
  background:#FAFAF7!important;
  color:#333638!important;
  border-color:#D9D7CF!important;
}
body:not(.admin-page) #projectGrid .project .project-info{
  background:#FAFAF7!important;
  color:#333638!important;
}
body:not(.admin-page) #projectGrid .project .project-info h3{
  color:#333638!important;
}
body:not(.admin-page) #projectGrid .project .project-info small{
  color:#816947!important;
}
body:not(.admin-page) #projectGrid .project .project-subline,
body:not(.admin-page) #projectGrid .project .project-subline span,
body:not(.admin-page) #projectGrid .project .project-subline time{
  color:#565A5B!important;
}
