/* R19: continuous graphite catalog surface and full-viewport industrial photography. */
:root{--product-surface:#191c1f;--product-panel:#24292d;--product-ink:#eef0f2;--product-muted:#aeb6bd;--product-line:#ffffff23}
.home-page .masthead{position:absolute;inset:0 0 auto;background:transparent;z-index:20}
.home-page .masthead-inner{border-bottom-color:#ffffff2b}
.immersive-hero{position:relative;isolation:isolate;background:#191c1f;min-height:100svh;overflow:hidden;color:#f5f6f7}
.immersive-hero:after{display:none}.hero-background{position:absolute;inset:0;margin:0;z-index:-2;overflow:hidden}
.hero-background img{width:100%;height:100%;object-fit:cover;object-position:55% 47%;filter:saturate(.24);opacity:.48}
.hero-background:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#191c1fe6 0%,#191c1f75 50%,#191c1f75 100%),linear-gradient(180deg,#191c1f8c 0%,transparent 40%,#191c1fd1 100%)}
.immersive-content{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,.7fr);grid-template-rows:1fr auto;gap:45px 70px;min-height:100svh;padding-top:clamp(180px,22vh,260px);padding-bottom:0;position:relative}
.immersive-heading{align-self:center;padding-bottom:clamp(30px,8vh,100px)}
.immersive-heading h1.bilingual-heading{font-size:clamp(58px,6.4vw,90px);font-weight:500;margin:0;line-height:1.27;letter-spacing:-.03em}
.immersive-heading h1 .heading-cn{color:#f5f6f7;line-height:1.24}
.immersive-heading h1 .heading-en{font-size:clamp(23px,2.7vw,36px);margin-top:27px;color:#c1c7cd;letter-spacing:-.02em}
.immersive-heading .hero-kicker{font-size:10px;letter-spacing:.18em;color:#c1c7cd;margin-bottom:34px}
.immersive-intro{align-self:end;justify-self:end;max-width:280px;padding-bottom:clamp(35px,8vh,100px)}
.immersive-intro p{font-size:14px;line-height:2.05;color:#d0d5da;margin-bottom:25px}
.immersive-intro .button{min-width:205px;display:flex;justify-content:space-between;background:var(--product-surface);color:#f5f6f7;border:1px solid #ffffff3d;padding:15px 21px;min-height:54px;border-radius:14px}
.immersive-intro .button span{color:#f3b43f}.immersive-intro .button:hover{border-color:#f3b43f;background:var(--product-surface)}
.immersive-intro .quiet-link{display:block;margin-top:22px;font-size:11px;color:#b9c1c8}
.immersive-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:28px;border-top:1px solid #ffffff30;min-height:90px;font-size:11px;color:#bfc7ce}
.hero-sectors{display:flex;gap:35px}.hero-credit{font-size:9px;color:#9ca6ae;margin-left:auto}.hero-scroll{display:flex;gap:24px;color:#eef0f2}.hero-scroll span{color:#f3b43f}
.home-page .main-nav>a[href="#products"]{background:var(--product-surface);color:#f5f6f7;border-radius:14px;min-height:42px}
.home-page .main-nav>a[href="#products"]:hover{background:var(--product-surface);outline:1px solid #ffffff45}
/* The expanding button, its full-screen container and the loaded catalog use one color. */
.product-portal,.portal-surface,.portal-shell,.portal-frame,.portal-bar{background:var(--product-surface);color:var(--product-ink)}
.portal-bar{border-color:var(--product-line)}.portal-bar small,.portal-loading{color:var(--product-muted)}.portal-word{color:var(--product-ink)}
.portal-close{color:var(--product-ink);border-color:#ffffff45;background:transparent}.portal-close:hover{background:#ffffff10}
.catalog-page,.catalog-page main,.catalog-page .page-intro,.catalog-page .section,.catalog-embedded .page-intro{background:var(--product-surface);color:var(--product-ink)}
.catalog-page .breadcrumb,.catalog-page .breadcrumb a,.catalog-page .eyebrow,.catalog-page .page-intro p,.catalog-page .heading-en{color:var(--product-muted)}
.catalog-page .catalog-nav h2,.catalog-page .catalog-nav button,.catalog-page .product-title,.catalog-page .catalog-content h2{color:var(--product-ink)}
.catalog-page .catalog-nav button:hover{background:#ffffff08}.catalog-page .catalog-nav button[aria-pressed=true]{color:#f3b43f;background:#ffffff07;border-radius:12px}
.catalog-page .catalog-nav .nav-label,.catalog-page .product-card p,.catalog-page .product-bottom,.catalog-page .product-more,.catalog-page .catalog-note,.catalog-page .catalog-summary{color:var(--product-muted)}
.catalog-page .catalog-search input,.catalog-page .mobile-category,.catalog-page .variant-control select{color:var(--product-ink);background:#24292d;border-color:#ffffff30}
.catalog-page input::placeholder{color:#aeb6bd}.catalog-page .pagination button{color:var(--product-ink);background:#24292d;border-color:#ffffff30}.catalog-page .pagination button[aria-current=page]{background:#f3b43f;color:#191c1f}
.catalog-page .empty-results{background:#24292d;color:var(--product-ink)}
.catalog-page sanheng-model,.catalog-page .product-card sanheng-model,.catalog-page .model-visual,.catalog-page model-viewer{background:#272d32;color:#eef0f2;--poster-color:#272d32;border-color:#ffffff1c}
.catalog-page .model-top,.catalog-page .model-status,.catalog-page .model-controls,.catalog-page .reference-caption{color:#b5bdc5}
.catalog-page .model-controls,.catalog-page .reference-caption,.catalog-page .reference-details,.catalog-page .model-views{border-color:#ffffff20}
.catalog-page .reference-caption strong,.catalog-page .model-controls button,.catalog-page .model-views button,.catalog-page .model-media-tabs button,.catalog-page .reference-details summary{color:#eef0f2}
.catalog-page .model-media-tabs button[aria-pressed=true],.catalog-page .model-views button[aria-pressed=true]{background:#e8eaed;color:#191c1f}
.catalog-page .model-controls button:hover{background:#ffffff12}.catalog-page .reference-details{color:#b5bdc5}.catalog-page .reference-details a{color:#edbd63}
.catalog-page .reference-photo{background:#e8eaed}.catalog-page .reference-photo figcaption{color:#535e67}
@media(max-width:1000px){.immersive-content{gap:35px;grid-template-columns:1.4fr .8fr;padding-top:170px}.immersive-heading h1.bilingual-heading{font-size:64px}.hero-sectors{gap:22px}.hero-credit{display:none}.immersive-footer{min-height:85px}}
@media(max-width:800px){.home-page .main-nav{background:#191c1f}.immersive-content{grid-template-columns:1fr;padding-top:150px;gap:30px;grid-template-rows:auto 1fr auto}.immersive-heading{padding-bottom:0;align-self:end}.immersive-heading h1.bilingual-heading{font-size:62px}.immersive-heading h1 .heading-en{font-size:30px}.immersive-intro{justify-self:start;align-self:center;max-width:none;padding-bottom:15px;display:grid;grid-template-columns:1fr auto;gap:0 50px;width:100%}.immersive-intro p{margin:0}.immersive-intro .quiet-link{grid-column:2;margin-top:12px}.hero-sectors{gap:25px}.immersive-footer{gap:18px}}
@media(max-width:600px){.immersive-hero,.immersive-content{min-height:max(740px,100svh)}.immersive-content{padding-top:148px;gap:30px;grid-template-rows:auto 1fr auto}.immersive-heading h1.bilingual-heading{font-size:clamp(43px,12.5vw,62px)}.immersive-heading h1 .heading-en{font-size:23px;margin-top:22px}.immersive-heading .hero-kicker{font-size:9px;letter-spacing:.12em;margin-bottom:27px}.hero-background img{object-position:60% 50%;opacity:.39}.immersive-intro{display:block;padding-bottom:20px}.immersive-intro p{font-size:13px;line-height:1.9;margin-bottom:22px}.immersive-intro .button{min-width:0;width:190px;min-height:50px;font-size:13px}.immersive-intro .quiet-link{font-size:11px;margin-top:16px}.immersive-footer{min-height:84px;align-items:center}.hero-sectors{display:grid;grid-template-columns:1fr 1fr;gap:8px 22px;font-size:10px}.hero-scroll{font-size:10px;gap:12px}.portal-bar{background:var(--product-surface)}}
@media(prefers-reduced-transparency:reduce){.hero-background img{opacity:.24}.hero-background:after{background:#191c1f80}}

/* R19 finished products. */
.model-visual{position:relative}.model-activate{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;color:#e8edf1;background:radial-gradient(ellipse at 50% 30%,#38434b,#20272d 85%);z-index:2;cursor:grab}.model-activate img{width:100%;height:100%;object-fit:contain;padding:8px}.model-activate span{position:absolute;right:16px;bottom:14px;border:1px solid #ffffff30;padding:8px 12px;border-radius:12px;background:#191c1fcc;font-size:11px}.model-activate[hidden]{display:none}.model-activate:focus-visible{outline:2px solid #f3b43f;outline-offset:-4px}.home-page .feature-model sanheng-model,.home-page .feature-model .model-visual,.catalog-page sanheng-model[data-model-id^="line-"] .model-visual{background:radial-gradient(ellipse at 50% 30%,#38434b,#20272d 85%)}.home-page .feature-model model-viewer,.catalog-page sanheng-model[data-model-id^="line-"] model-viewer{background:transparent;--poster-color:transparent}.reference-photo img{object-fit:contain}.home-page .feature-model .reference-photo{background:#272f36}.home-page .feature-model .reference-photo figcaption{color:#aebac4}
body sanheng-model[data-model-id^="line-"]{background:#273038;color:#cbd4db}
.home-page .feature-model sanheng-model[data-model-id^="line-"][expanded] model-viewer,body .detail-content sanheng-model[data-model-id^="line-"][expanded] model-viewer{background:transparent;--poster-color:transparent}
body sanheng-model[data-model-id^="line-"] .model-top,body sanheng-model[data-model-id^="line-"] .model-status,body sanheng-model[data-model-id^="line-"] .model-controls{color:#aab8c2}
body sanheng-model[data-model-id^="line-"] .model-controls,body sanheng-model[data-model-id^="line-"] .model-views{border-color:#ffffff20}
body sanheng-model[data-model-id^="line-"] .model-controls button,body sanheng-model[data-model-id^="line-"] .model-views button,body sanheng-model[data-model-id^="line-"] .model-media-tabs button{color:#cbd4db}
body sanheng-model[data-model-id^="line-"] .model-media-tabs button[aria-pressed=true],body sanheng-model[data-model-id^="line-"] .model-views button[aria-pressed=true]{background:#e3e7ea;color:#20272d}
body sanheng-model[data-model-id^="line-"] .reference-photo{background:#273038}body sanheng-model[data-model-id^="line-"] .reference-photo figcaption{color:#aab8c2}
/* A shared studio finish follows the product into its detail dialog. */
sanheng-model[data-model-id^="line-"] .model-visual{background:radial-gradient(ellipse at 50% 30%,#38434b,#20272d 85%)}
sanheng-model[data-model-id^="line-"] model-viewer{background:transparent!important;--poster-color:transparent}
sanheng-model[data-model-id^="line-"] .reference-photo{background:#272f36}
sanheng-model[data-model-id^="line-"] .reference-photo figcaption{color:#bdc7cf}

/* R24: rounded product search, including the keyboard focus ring. */
.catalog-page .catalog-search input{appearance:none;-webkit-appearance:none;border:1px solid #ffffff30;border-radius:var(--control-radius,14px);padding:12px 16px;min-height:48px}
.catalog-page .catalog-search input:focus-visible{border-color:#B97C13;outline:2px solid #B97C13;outline-offset:3px}
