/* Court Canvas Studio — night edition. Brand colour constants stay unchanged. */
:root{color-scheme:light;--detail-zoom:1.18}
html[data-theme="dark"]{color-scheme:dark;--line:rgba(245,242,233,.18);--muted:#aaa9a5;--night-surface:#111213;--night-ink:#f5f2e9;--readable-blue:#80aaff}
body{transition:background-color .3s,color .3s}
.site-header{background:#000;color:var(--canvas);border-bottom-color:#ffffff25}
.brand>img{width:178px;height:auto;aspect-ratio:1800/643;object-fit:contain}
.header-right{gap:18px}
.site-header .header-cta{background:var(--yellow);color:var(--black)}
.header-cta:hover{background:var(--canvas)}
.header-cta .brief-badge{background:var(--black);color:var(--yellow)}
.menu-button span{background:var(--canvas)}
.site-header nav.is-open{background:#000;color:var(--canvas);box-shadow:0 15px 25px #0005}
.site-header nav.is-open a{border-bottom-color:#ffffff2e}
.site-header nav a:after{background:var(--yellow)}
.language-switch a{opacity:.66}.language-switch a[aria-current]{opacity:1}
.theme-toggle{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border:1px solid #ffffff42;border-radius:50%;color:var(--canvas);background:transparent;font-size:18px;line-height:1;transition:background .2s,border-color .2s}
.theme-toggle:hover{background:#ffffff17;border-color:var(--yellow)}
.theme-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}
.hero-image{transition:transform 1.5s cubic-bezier(.2,.7,.2,1)}
.hero-shade{background:linear-gradient(90deg,#000d 0,#0008 36%,#0001 75%),linear-gradient(0deg,#000c,transparent 40%)}
.concept-image img,.product-image img,.surface-preview img,.page-hero-image img,.contact-aside figure img{transform-origin:var(--detail-x,50%) var(--detail-y,50%);transition:transform 1.05s cubic-bezier(.2,.7,.2,1),transform-origin .35s ease}
.contact-aside figure{overflow:hidden}.contact-aside figcaption{position:relative}
.finish-preview svg{transition:transform 1.05s cubic-bezier(.2,.7,.2,1)}
html[data-theme="dark"] body{background:#080909;color:var(--night-ink)}
html[data-theme="dark"] .section-heading .kicker,html[data-theme="dark"] .page-hero .kicker,html[data-theme="dark"] .small-index,html[data-theme="dark"] .service-number,html[data-theme="dark"] .step-mark>span{color:var(--yellow)}
html[data-theme="dark"] .caption,html[data-theme="dark"] .surface-list small,html[data-theme="dark"] .gallery-notice,html[data-theme="dark"] .product-body>.caption,html[data-theme="dark"] .product-bottom small,html[data-theme="dark"] .brief-form-container h2+p{color:var(--muted)}
html[data-theme="dark"] .heading-row>p,html[data-theme="dark"] .page-hero .lead,html[data-theme="dark"] .process-row p,html[data-theme="dark"] .concept-detail>p,html[data-theme="dark"] .value-grid p{color:#bdbdb8}
html[data-theme="dark"] .ticker{background:#0e0f10;color:#deded9;border-block:1px solid var(--line)}
html[data-theme="dark"] .ticker-star{color:var(--orange)}
html[data-theme="dark"] .transform-section{background:#111213;border-block:1px solid var(--line)}
html[data-theme="dark"] .dark-section{background:#030404;border-block:1px solid #ffffff18}
html[data-theme="dark"] .text-link{border-color:#ffffff5c}
html[data-theme="dark"] .text-link:hover,html[data-theme="dark"] .service-lines>a:hover{color:var(--yellow)}
html[data-theme="dark"] .surface-list button.active .small-index{color:var(--yellow)}
html[data-theme="dark"] .concept-image,html[data-theme="dark"] .product-image,html[data-theme="dark"] .surface-preview,html[data-theme="dark"] .compare-stage{background:#171819}
html[data-theme="dark"] .image-label,html[data-theme="dark"] .compare-label,html[data-theme="dark"] .page-hero-image figcaption{background:#080909e8;color:var(--canvas);border:1px solid #ffffff40;backdrop-filter:blur(5px)}
.card-arrow{color:var(--black)}
html[data-theme="dark"] .button.dark{background:var(--yellow);color:var(--black)}
html[data-theme="dark"] .button.dark:hover{background:var(--canvas)}
html[data-theme="dark"] .button.outline{border-color:#ffffff65;color:var(--canvas)}
html[data-theme="dark"] .button.outline:hover{background:#ffffff12}
html[data-theme="dark"] .filter{border-color:#ffffff30;background:transparent;color:var(--canvas)}
html[data-theme="dark"] .filter:hover{border-color:var(--yellow)}
html[data-theme="dark"] .filter.active{background:var(--yellow);border-color:var(--yellow);color:var(--black)}
html[data-theme="dark"] .product-card{background:#121314;border-color:#ffffff24}
html[data-theme="dark"] .product-bottom button{background:var(--canvas);color:var(--black)}
html[data-theme="dark"] .product-bottom button[aria-pressed="true"]{background:var(--yellow);color:var(--black)}
html[data-theme="dark"] .brief-bar{background:#080909;box-shadow:0 -12px 20px #080909f5}
html[data-theme="dark"] .cta-block{background:#111213;color:var(--canvas);border-block:1px solid var(--line)}
html[data-theme="dark"] .cta-block .kicker{color:var(--yellow)}
html[data-theme="dark"] .cta-block .cta-lines{stroke:var(--blue);opacity:.58}
html[data-theme="dark"] .cta-bottom>p{color:#bdbdb8}
html[data-theme="dark"] .manifesto{background:#080909;border-block:1px solid var(--line);color:var(--canvas)}
html[data-theme="dark"] .manifesto span:nth-child(2){color:var(--yellow)}
html[data-theme="dark"] .manifesto span:nth-child(3){color:var(--orange)}
html[data-theme="dark"] .circle-link span{border-color:#ffffff55}
html[data-theme="dark"] .circle-link:hover span{color:var(--black)}
html[data-theme="dark"] .form-grid input,html[data-theme="dark"] .form-grid select,html[data-theme="dark"] textarea{background:#141617;border-color:#ffffff45;color:var(--canvas);color-scheme:dark}
html[data-theme="dark"] select option{background:#141617;color:var(--canvas)}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#a8aaa9}
html[data-theme="dark"] input:-webkit-autofill{-webkit-text-fill-color:var(--canvas);-webkit-box-shadow:0 0 0 60px #141617 inset}
html[data-theme="dark"] .selected-systems,html[data-theme="dark"] .brief-form-container pre{background:#141617;border-color:#ffffff30}
html[data-theme="dark"] .contact-aside{background:#121314;color:var(--canvas);border:1px solid #ffffff30;border-top:3px solid var(--yellow)}
html[data-theme="dark"] .contact-orbit{border-color:var(--yellow);color:var(--yellow)}
html[data-theme="dark"] .contact-aside>p,html[data-theme="dark"] .contact-aside figcaption{color:var(--muted)}
html[data-theme="dark"] .contact-phone{color:var(--yellow)}
html[data-theme="dark"] .toast{background:var(--yellow);color:var(--black)}
html[data-theme="dark"] :focus-visible{outline-color:var(--yellow)}
html[data-theme="dark"] .check-label input{accent-color:var(--yellow)}
html[data-theme="dark"] .skip-link{color:var(--black)}
@media(hover:hover) and (pointer:fine){
 .concept-card:hover .concept-image img,.concept-card:focus-within .concept-image img,.product-card:hover .product-image img,.product-card:focus-within .product-image img,.surface-preview:hover img{transform:scale(var(--detail-zoom));will-change:transform}
 .page-hero-image:hover img{transform:scale(1.11)}
 .contact-aside figure:hover img{transform:scale(1.12)}
 .hero:hover .hero-image{transform:scale(1.035)}
 .product-card:hover .finish-preview svg{transform:scale(1.28) rotate(-10deg);transition:transform 1s}
}
@media(max-width:1250px){.brand>img{width:165px;height:auto}.header-right{gap:15px}}
@media(max-width:700px){.brand>img{width:145px;height:auto}.header-right{gap:10px}.theme-toggle{width:31px;height:31px}.theme-toggle svg{width:14px;height:14px}.hero-shade{background:linear-gradient(90deg,#000b,#0003),linear-gradient(0deg,#000b,transparent 45%)}.cta-block .cta-lines{opacity:.28}}
@media(prefers-reduced-motion:reduce){body,.hero-image,.concept-image img,.product-image img,.surface-preview img,.page-hero-image img,.contact-aside figure img{transition:none!important}.hero:hover .hero-image,.concept-card:hover .concept-image img,.concept-card:focus-within .concept-image img,.product-card:hover .product-image img,.product-card:focus-within .product-image img,.surface-preview:hover img,.page-hero-image:hover img,.contact-aside figure:hover img{transform:none!important}.product-card:hover .finish-preview svg{transform:scale(1.1) rotate(-10deg)}}
