
:root{--cream:#f4f1ea;--ink:#232622;--green:#123f30;--line:#d6d7ce;--muted:#62665d}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.5 Manrope,sans-serif}button,input,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.38}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--green);outline-offset:5px}button{color:inherit}h1,h2,p{margin:0}.paint-header{height:100px;padding:0 48px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:block;height:86px;width:116px}.brand img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.back-link{display:flex;align-items:center;gap:16px;min-height:44px;font-size:15px}.back-link span{font-size:25px}.back-link:hover{color:var(--green);text-decoration:underline;text-underline-offset:5px}main{padding:0 48px;max-width:1800px;margin:auto}.intro{display:flex;justify-content:space-between;gap:48px;align-items:flex-end;padding:52px 0 44px}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:500;margin-bottom:20px;color:var(--green)}h1{font:400 clamp(44px,4.3vw,72px)/1.12 Manrope,sans-serif;letter-spacing:-.035em}.intro-copy{max-width:295px;font-size:17px;line-height:1.6;padding-bottom:7px;color:var(--muted)}.editor{display:grid;grid-template-columns:248px minmax(0,1fr);gap:48px}.controls{padding-top:37px}.control-group{margin-bottom:28px}.control-heading{display:flex;align-items:center;justify-content:space-between;font-size:14px;margin-bottom:16px}.control-heading h2{font:inherit}.control-heading>span,.control-heading output{font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted)}.palette{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.swatch{background:var(--swatch);height:56px;border:1px solid transparent;position:relative;transition:transform .2s}.swatch:hover{transform:translateY(-2px)}.swatch.is-selected:after{content:'✓';position:absolute;inset:4px;border:1px solid var(--green);display:grid;place-items:center;color:var(--green);font-size:22px}.color-name{font-size:19px;margin-top:14px;color:var(--green)}.brush-group{padding-top:25px;border-top:1px solid var(--line)}#brush-size{width:100%;margin:0;accent-color:var(--green);cursor:pointer;min-height:26px}.range-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.button{min-height:48px;border:1px solid var(--line);background:transparent;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;width:100%;transition:background .2s}.button:not(:disabled):hover{background:#e5e8dc}.button-primary{background:var(--green);border-color:var(--green);color:#fff;min-height:52px}.button-primary:not(:disabled):hover{background:#22573f}.button-primary span{font-size:20px}.editing-actions{display:flex;gap:10px;margin-top:10px}.button-quiet{justify-content:center;padding:12px 8px}.button-quiet span{font-size:20px}.button-save{border:0;border-bottom:1px solid var(--line);margin-top:20px;padding-left:0;padding-right:0}.button-save span{font-size:20px}.palette-note{font-size:11px;line-height:1.65;color:var(--muted);margin-top:22px;max-width:235px}.scene-top{height:37px;display:flex;justify-content:space-between;align-items:flex-start;font-size:12px}.scene-instruction{color:var(--muted)}.scene{position:relative;overflow:hidden;background:#e6e4db;aspect-ratio:3/2;isolation:isolate}.scene-photo{width:100%;height:100%;object-fit:contain;display:block}.scene canvas{display:none;width:100%;height:100%;position:absolute;inset:0;touch-action:none;cursor:crosshair}.scene.is-ready canvas{display:block}.scene.is-ready .loading{display:none}.loading{position:absolute;left:0;right:0;bottom:24px;text-align:center;font-size:14px;padding:10px;background:#f4f1eae8}.scene-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-top:15px;color:var(--muted)}.scene-bottom p{font-size:12px;line-height:1.6;max-width:420px}.photo-tag{font-size:10px;letter-spacing:.1em;white-space:nowrap;padding-top:3px}.status{font-size:12px;min-height:24px;margin-top:10px;color:var(--green)}#brush-cursor{position:absolute;display:none;border:1px solid white;outline:1px solid #123f3080;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;box-shadow:0 1px 5px #0002;z-index:2}.scene.is-hovered #brush-cursor{display:block}.scene.is-hovered canvas{cursor:none}.editor-footer{border-top:1px solid var(--line);margin-top:48px;padding:30px 0 36px;display:flex;justify-content:space-between;gap:24px;font-size:14px}.editor-footer p{color:var(--muted)}.editor-footer a{display:flex;gap:32px;align-items:center;min-height:44px;margin-top:-10px}.editor-footer a:hover{text-decoration:underline;text-underline-offset:5px}.no-script{padding:20px;background:#e6e8df;font-size:14px}.no-script a{text-decoration:underline}
@media(min-width:1600px){.editor{grid-template-columns:270px minmax(0,1fr);gap:64px}.controls{padding-top:37px}.swatch{height:68px}.control-group{margin-bottom:36px}}@media(max-width:1100px){main{padding:0 32px}.paint-header{padding:0 32px;height:88px}.intro{padding:40px 0 36px}.editor{grid-template-columns:218px minmax(0,1fr);gap:28px}.intro-copy{max-width:260px;font-size:16px}.scene-bottom{display:block}.photo-tag{display:block;margin-top:8px}.scene{aspect-ratio:3/2}.button{font-size:12px}.scene-instruction{display:none}}@media(max-width:760px){.paint-header{padding:0 20px;height:76px}.brand{height:69px;width:94px}.back-link{font-size:13px;gap:10px}main{padding:0 20px}.intro{display:block;padding:34px 0 28px}.eyebrow{font-size:10px;margin-bottom:14px}h1{font-size:44px}.intro-copy{font-size:15px;max-width:360px;margin-top:20px;padding:0;line-height:1.6}.editor{display:flex;flex-direction:column;gap:22px}.scene-column{order:0}.controls{order:1;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}.palette-group{grid-column:1/-1;margin:0}.palette{grid-template-columns:repeat(6,1fr);gap:8px}.swatch{height:48px;min-width:0}.color-name{font-size:18px;margin-top:12px}.control-heading{margin-bottom:12px}.brush-group{grid-column:1/-1;padding-top:18px;margin:8px 0 4px}.button-primary{grid-column:1/-1;font-size:14px}.editing-actions{grid-column:1/-1;margin:0}.button{font-size:13px}.button-save{grid-column:1/-1;margin:0}.palette-note{grid-column:1/-1;max-width:100%;margin-top:3px;font-size:11px}.scene-top{height:29px;font-size:11px}.scene-bottom{margin-top:12px;display:flex;gap:10px}.scene-bottom p{font-size:10px;max-width:230px}.photo-tag{font-size:9px;margin:0}.status{font-size:11px;margin-top:9px;min-height:17px}.editor-footer{margin-top:30px;padding:24px 0 28px;display:block;font-size:13px}.editor-footer a{margin-top:8px;justify-content:space-between}.loading{font-size:12px;bottom:10px}.scene.is-hovered #brush-cursor{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* The editor keeps both the house and its primary controls in the first desktop viewport. */
.brand-lockup{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:#123f30;flex:none}
.brand-lockup__emblem{display:block;position:relative;width:56px;height:58px;overflow:hidden;mix-blend-mode:multiply}
.brand-lockup__emblem img{position:absolute;width:154px;height:auto;max-width:none;left:-49px;top:-17px}
.brand-lockup__name{font-family:Manrope,Arial,sans-serif;font-size:28px;line-height:1.1;letter-spacing:-.025em;display:flex;flex-direction:column}
.brand-lockup__name>span{font-family:Manrope,Arial,sans-serif;text-transform:uppercase;letter-spacing:.34em;font-size:9px;line-height:1.5;margin-top:4px}
@media(min-width:761px){
 .paint-header{height:80px}.intro{padding:25px 0 25px;gap:32px}.eyebrow{font-size:10px;margin-bottom:11px}h1{font-size:clamp(38px,3.4vw,52px);line-height:1.12}.intro h1 br{display:none}.intro-copy{font-size:15px;max-width:285px;line-height:1.55;padding-bottom:3px}
 .editor{grid-template-columns:248px minmax(0,1fr);gap:40px;max-width:calc(288px + (100svh - 280px)*1.5);margin-inline:auto}.scene-column{width:min(100%,calc((100svh - 280px)*1.5));justify-self:end}.scene{width:100%;aspect-ratio:3/2;max-height:calc(100svh - 280px)}.scene-photo,.scene canvas{object-fit:contain}
 .scene-top{height:28px}.controls{padding-top:28px}.control-group{margin-bottom:16px}.control-heading{margin-bottom:11px}.palette{gap:8px}.swatch{height:44px}.color-name{font-size:18px;margin-top:9px}.brush-group{padding-top:15px}.button{min-height:44px;padding-top:10px;padding-bottom:10px}.button-primary{min-height:48px}.editing-actions{margin-top:8px}.button-save{margin-top:8px}.palette-note{font-size:10px;line-height:1.5;margin-top:12px}.scene-bottom{margin-top:10px;gap:16px}.scene-bottom p{font-size:11px}.status{font-size:11px;margin-top:7px;min-height:17px}.editor-footer{margin-top:28px;padding-top:22px;padding-bottom:24px}
}
@media(min-width:761px) and (max-width:1100px){.editor{grid-template-columns:218px minmax(0,1fr);gap:28px}.intro-copy{max-width:240px;font-size:14px}.scene-column{width:100%}.scene-bottom{display:block}.photo-tag{margin-top:5px}}
@media(max-width:760px){
 .brand-lockup{gap:7px}.brand-lockup__emblem{width:48px;height:51px}.brand-lockup__emblem img{width:134px;left:-43px;top:-15px}.brand-lockup__name{font-size:24px}.brand-lockup__name>span{font-size:8px}
 .intro{padding-top:22px;padding-bottom:22px}.intro-copy{margin-top:14px;font-size:14px}.scene-column{width:100%}.controls{gap:10px 16px}.brush-group{padding-top:12px;margin-top:3px;margin-bottom:0}.color-name{margin-top:9px}.editor{gap:18px}.scene-bottom p{font-size:11px}.photo-tag{display:none}
}

/* Surface navigation and a real crop of the painted canvas. */
.scene-top{height:52px;align-items:center;gap:12px}.scene-title{display:flex;gap:16px;align-items:center;font-size:14px}.scene-title #scene-index{font-size:10px;letter-spacing:.08em;color:var(--muted);white-space:nowrap}.scene-navigation{display:flex;gap:5px}.scene-navigation button{width:44px;height:44px;border:1px solid var(--line);background:transparent;font-size:23px}.scene-navigation button:hover{background:#e5e8dc}.controls{padding-top:52px}.texture-toggle{margin-top:8px;min-height:44px}.texture-toggle[aria-expanded="true"]{background:#e5e8dc}.texture-detail{display:grid;grid-template-columns:180px 1fr;gap:18px;margin-top:14px;border:1px solid var(--line);padding:10px;background:#eeece4}.texture-detail[hidden]{display:none}.texture-detail canvas{display:block;width:180px;height:90px;object-fit:cover}.texture-detail .eyebrow{display:block;margin:0 0 8px;font-size:9px}.texture-detail p{font-size:11px;max-width:330px}.texture-detail .detail-note{font-size:10px;color:var(--muted);margin-top:7px}.scene[aria-busy="true"] canvas{visibility:hidden}.scene[aria-busy="true"] .loading{display:block}.scene-navigation button:disabled{opacity:.5}
@media(min-width:761px){.intro h1 br{display:none}.editor{max-width:calc(288px + (100svh - 330px)*1.5)}.scene-column{width:min(100%,calc((100svh - 330px)*1.5))}.scene{max-height:calc(100svh - 330px)}.intro-copy{max-width:310px}.controls{padding-top:52px}}
@media(max-width:1100px) and (min-width:761px){.scene-title{font-size:12px;gap:9px}.texture-detail{grid-template-columns:140px 1fr;gap:12px}.texture-detail canvas{width:140px;height:90px}}
@media(max-width:760px){.intro h1{font-size:39px}.scene-top{height:54px}.scene-title{font-size:13px;gap:12px}.controls{padding:0}.texture-toggle{grid-column:1/-1;margin:0}.texture-detail{grid-template-columns:126px 1fr;gap:12px;padding:8px;margin-top:12px}.texture-detail canvas{width:126px;height:92px}.texture-detail p{font-size:10px}.texture-detail .detail-note{font-size:9px}.scene-column{width:100%}.scene-bottom{display:block}.scene-bottom p{max-width:none}.scene-bottom .photo-tag{display:none}}

/* V4: horizontal spring carousel, a paired product and an actual brush. */
.editor{max-width:none;grid-template-columns:210px minmax(0,1fr) 180px;gap:28px;align-items:start}.scene-column{width:100%;min-width:0}.scene{max-height:none}.controls{padding-top:52px}.studio-product{margin-top:52px;padding:22px 0 0 20px;border-left:1px solid var(--line);min-width:0}.studio-product>.eyebrow{font-size:8px;letter-spacing:.12em;line-height:1.5}.studio-product__view{position:relative;width:100%;height:244px}.studio-product__view canvas,.studio-product__view>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.studio-product__view canvas{cursor:grab;touch-action:pan-y}.studio-product__view canvas:active{cursor:grabbing}.studio-product__view.is-3d>img{visibility:hidden}.studio-product h2{font-size:19px;font-weight:500;line-height:1.25;color:var(--green);margin-top:10px}.studio-product__basis{font-size:11px;color:var(--muted);margin-top:8px}.studio-product__rotation{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:16px;border-top:1px solid var(--line);padding-top:10px}.studio-product__rotation button{width:36px;height:40px;border:0;background:transparent;font-size:23px;flex:none}.studio-product__rotation span{font-size:9px;color:var(--muted);text-align:center}.scene-dots{display:flex;justify-content:center;align-items:center;gap:3px;height:32px}.scene-dots button{width:30px;height:28px;padding:0;border:0;background:transparent;position:relative}.scene-dots button:after{content:'';position:absolute;height:5px;width:5px;left:50%;top:50%;border-radius:10px;background:#123f3040;transform:translate(-50%,-50%);transition:none}.scene-dots button[aria-current="true"]:after{width:24px;background:var(--green)}.scene-bottom{margin-top:0}.scene-slider{position:absolute;inset:0;z-index:3;overflow:hidden;pointer-events:none}.scene-track{display:flex;width:100%;height:100%;will-change:transform}.scene .scene-track canvas{display:block!important;position:static;inset:auto;flex:0 0 100%;width:100%;height:100%;visibility:visible!important;pointer-events:none}.scene.is-sliding #paint-canvas,.scene.is-sliding>.scene-photo{visibility:hidden}.scene.is-sliding #brush-cursor{display:none!important}.scene[aria-busy="true"]>.scene-photo{visibility:visible}.scene.is-sliding .loading{z-index:4}.scene.is-sliding.is-ready .loading{display:none}
#brush-cursor{width:0!important;height:0!important;border:0;outline:0;border-radius:0;box-shadow:none;transform:none;z-index:5;display:none}#brush-cursor img{position:absolute;width:clamp(68px,calc(var(--brush-diameter,40px)*1.5),140px);height:auto;max-width:none;left:0;top:0;transform:translate(-6%,-49%) rotate(-28deg);transform-origin:6% 49%;filter:drop-shadow(2px 4px 2px #0003)}.brush-footprint{position:absolute;width:var(--brush-diameter,40px);height:var(--brush-diameter,40px);border:1px solid #ffffff8c;outline:1px solid #123f3020;border-radius:50%;transform:translate(-50%,-50%)}.scene.is-hovered #brush-cursor,.scene.is-painting #brush-cursor{display:block}.scene.is-painting canvas{cursor:none}
@media(min-width:1500px){.editor{grid-template-columns:240px minmax(0,1fr) 210px;gap:36px}.studio-product__view{height:290px}.studio-product h2{font-size:22px}}
@media(min-width:761px) and (max-width:1100px){.editor{grid-template-columns:185px minmax(0,1fr) 140px;gap:20px}.studio-product{padding-left:12px}.studio-product__view{height:210px}.studio-product h2{font-size:16px}.studio-product__rotation span{display:none}.scene-title{font-size:11px;gap:7px}.scene-navigation button{width:38px;height:42px}.scene-navigation{gap:3px}.texture-detail{grid-template-columns:100px 1fr}.texture-detail canvas{width:100px;height:88px}}
@media(max-width:760px){.editor{gap:18px}.scene-column{order:0}.studio-product{order:1;display:grid;grid-template-columns:108px 1fr;grid-template-rows:auto auto auto auto;margin:0;border-left:0;border-block:1px solid var(--line);padding:12px 0;column-gap:18px;align-items:center}.studio-product__view{grid-column:1;grid-row:1/5;height:146px}.studio-product>.eyebrow{grid-column:2;margin:0;font-size:9px}.studio-product h2{grid-column:2;font-size:20px;margin:0}.studio-product__basis{grid-column:2;margin:0;font-size:12px}.studio-product__rotation{grid-column:2;margin:4px 0 0;padding:2px 0 0;max-width:205px}.studio-product__rotation span{font-size:10px}.controls{order:2}.scene-dots{height:30px}.scene.is-hovered #brush-cursor{display:block}.scene.is-sliding #brush-cursor{display:none}.intro h1{font-size:38px}.scene-navigation button{width:42px}.scene-bottom p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.scene-track{will-change:auto}.scene-dots button:after{transition:none}}

/* Keep the image and its palette together in the mobile editor. */
.intro-title-compact{display:none}
@media(max-width:760px){
 .intro{padding:18px 0 14px}.intro .eyebrow{margin-bottom:8px}.intro h1{font-size:38px;line-height:1.12;letter-spacing:-.035em}.intro-title-full{display:none}.intro-title-compact{display:inline}.intro-copy{margin-top:10px;font-size:13px;line-height:1.5;max-width:330px}.controls{order:1}.studio-product{order:2}.editor{gap:16px}.scene-top{height:48px}.scene-bottom p{line-height:1.45}.status{margin-top:6px;min-height:16px}.control-heading{margin-bottom:9px}
}

/* V5: the brush shows the chosen pigment; loading never flashes the clean 'after'. */
.scene[aria-busy="true"]>.scene-photo{opacity:0}
.brush-footprint{outline-color:var(--pigment,#B5BEA8)}

/* Manrope from Fontshare: complete Russian glyph coverage, local variable font. */
@font-face{font-family:Manrope;src:url('../assets/manrope-variable.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
h1,h2{font-weight:550;letter-spacing:-.045em}
.brand-hero h1{font-weight:650;letter-spacing:-.055em}
.brand-hero h1 em{font-family:Manrope,Arial,sans-serif;font-size:1em;font-weight:450;font-style:normal;line-height:1.14;letter-spacing:-.055em}
.brand-hero__row-copy h2,.can-dialog h2{font-weight:600;letter-spacing:-.045em}
.p3-gallery-heading h2,.p3-section-heading h2{font-weight:550}
.brand-lockup__name,.wordmark{font-weight:650;letter-spacing:-.045em}
.eyebrow{font-weight:600}
.intro h1{font-weight:550;letter-spacing:-.05em}
@media(max-width:760px){.brand-hero h1{font-size:clamp(34px,9.2vw,62px)}.brand-hero h1 em{font-size:1em}.intro h1{font-size:36px}}

/* Content remains visible without JavaScript; only initialized targets animate. */
.reveal-word{font:inherit;font-style:inherit;display:inline-block;vertical-align:baseline}
.text-motion-ready .reveal-target:not(.reveal-heading){opacity:0;translate:0 22px;transition:opacity .75s cubic-bezier(.2,.7,.2,1),translate .85s cubic-bezier(.2,.7,.2,1)}
.text-motion-ready .reveal-target.reveal-entered:not(.reveal-heading){opacity:1;translate:0 0}
.text-motion-ready .reveal-heading .reveal-word{opacity:0;translate:0 .65em;filter:blur(3px);transition:opacity .7s ease,translate .85s cubic-bezier(.2,.7,.2,1),filter .7s ease;transition-delay:var(--word-delay,0ms)}
.text-motion-ready .reveal-heading.reveal-entered .reveal-word{opacity:1;translate:0 0;filter:blur(0)}
/* Properties use the same entrance on mobile and desktop, without a second dimmed parent. */
.text-motion-ready .p2-motion .p2-property.p2-waiting>div{opacity:1;transform:none}
.text-motion-ready .p2-motion .p2-property.p2-waiting .p2-number{opacity:1}
@media(prefers-reduced-motion:reduce){.reveal-target,.reveal-word{opacity:1!important;translate:none!important;filter:none!important;transition:none!important}}
@media print{.reveal-target,.reveal-word{opacity:1!important;translate:none!important;filter:none!important}}

/* Cross-document motion. Content stays visible when JavaScript is unavailable. */
@keyframes perlite-enter-small {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes perlite-enter-scene {
  from { opacity: .15; translate: 0 24px; clip-path: inset(0 0 7% 0); }
  to { opacity: 1; translate: 0 0; clip-path: inset(0); }
}

html.pp-arriving .paint-header {
  animation: perlite-enter-small 360ms cubic-bezier(.2,.7,.2,1) both;
}
html.pp-arriving .intro {
  animation: perlite-enter-small 470ms 45ms cubic-bezier(.2,.7,.2,1) both;
}
html.pp-arriving .scene-column {
  animation: perlite-enter-scene 570ms 90ms cubic-bezier(.2,.7,.2,1) both;
}
html.pp-arriving .controls {
  animation: perlite-enter-small 480ms 160ms cubic-bezier(.2,.7,.2,1) both;
}
html.pp-arriving .brand-hero {
  animation: perlite-enter-small 560ms cubic-bezier(.2,.7,.2,1) both;
}

html.pp-leaving body {
  opacity: .12;
  translate: 0 -12px;
  transition: opacity 190ms ease, translate 220ms cubic-bezier(.4,0,.8,.3);
}

@media (prefers-reduced-motion: reduce) {
  html.pp-arriving .paint-header,
  html.pp-arriving .intro,
  html.pp-arriving .scene-column,
  html.pp-arriving .controls,
  html.pp-arriving .brand-hero {
    animation: none;
  }
  html.pp-leaving body {
    opacity: 1;
    translate: none;
    transition: none;
  }
}
