/* Material Studio: scoped to the landing page and sign-in experience. */
.motion-page { --studio-paper: #f6f5f0; --studio-dark: #102b4d; }
body.home-page, body.signin-page { background: var(--studio-paper); }
.motion-page .header-account { border: 1px solid var(--line); padding: 10px 16px; border-radius: 100px; }
.home-page .site-main { padding-block-start: 24px; }
.studio-hero { background: transparent; grid-template-columns: 1.02fr 1fr; min-height: 590px; overflow: visible; gap: 28px; border-radius: 0; }
.studio-hero .hero-copy { padding: 48px 0 48px 16px; container-type: inline-size; }
.studio-hero .hero-copy h1 { font-size: clamp(42px, 4.8vw, 70px); line-height: 1.1; letter-spacing: -3.5px; max-width: 620px; margin-block: 26px; }
.studio-hero .hero-copy h1 span { color: var(--blue); }
.studio-hero .hero-copy h1 .hero-title-lead { color: inherit; }
html[dir=rtl] .studio-hero .hero-copy h1 .hero-title-lead { font-size: clamp(22px, 6.7cqi, 44px); }
html[dir=rtl] .studio-hero .hero-copy { padding: 40px 12px 40px 0; }
html[dir=rtl] .studio-hero .hero-copy h1 { font-size: clamp(36px, 3.9vw, 57px); line-height: 1.55; letter-spacing: 0; }
.studio-hero .hero-description { font-size: 15px; max-width: 450px; }
.studio-hero .hero-actions { margin-top: 32px; }
.studio-hero .hero-actions .px-btn { display: inline-flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 10px; white-space: nowrap; }
.motion-page .brand-button { border-radius: 100px; padding-inline: 25px; min-height: 50px; }
.studio-hero .hero-secondary { font-size: 12px; }
.studio-hero .hero-note { margin-top: 30px; }
.studio-playground { position: relative; min-width: 0; border-radius: 180px 180px 28px 28px; background: #e5e9ec; overflow: hidden; isolation: isolate; }
.studio-playground.kitchen-banner { border-radius: 28px; background: #e5e9ec; }
.kitchen-gallery { position: relative; min-height: 500px; height: calc(100% - 76px); overflow: hidden; background: #203443; }
.kitchen-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.kitchen-photo.is-active { opacity: 1; }
.kitchen-color-label { position: absolute; inset-inline-start: 22px; bottom: 22px; padding: 8px 14px; color: white; background: #102333dc; border: 1px solid #ffffff50; border-radius: 100px; font-size: 12px; z-index: 1; }
.finish-swatch--blue { background: #28485d; }.finish-swatch--brown { background: #805333; }.finish-swatch--green { background: #3e5136; }
.kitchen-banner .finish-swatch { width: 38px; height: 38px; position: relative; }
.kitchen-banner .finish-swatch::before { content: ''; position: absolute; inset: -6px; }
.kitchen-banner .finish-swatch[aria-pressed=true]::after { content: ''; display: block; width: 10px; height: 6px; border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(-45deg); margin: -3px auto 0; }
.motion-paused .kitchen-photo { transition: none; }
.material-stage { position: relative; min-height: 500px; height: calc(100% - 76px); width: 100%; overflow: hidden; direction: ltr; background: radial-gradient(ellipse at 48% 42%, #fff9 0, transparent 65%); }
.stage-orbit { position: absolute; width: 79%; aspect-ratio: 1; border: 1px solid #8b9ca633; border-radius: 50%; left: 10%; top: 10%; transform: rotateX(50deg) rotateZ(-30deg); }
.stage-orbit--two { width: 115%; left: -8%; top: 17%; transform: rotateX(52deg) rotateZ(40deg); }
.material-assembly { position: absolute; width: 320px; height: 350px; left: calc(50% - 160px); top: calc(50% - 172px); transform: translate(var(--pointer-x, 0px), var(--pointer-y, 0px)); transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.sample-board { position: absolute; width: 195px; height: 263px; border-radius: 12px; box-shadow: 12px 18px 0 #102b4d09, 25px 35px 38px #102b4d24; border-bottom: 9px solid #704a32; border-right: 6px solid #69452e; }
.sample-board span { position: absolute; bottom: 14px; left: 16px; color: #fff9; font: 600 8px/1.7 'Manrope',sans-serif; letter-spacing: 2px; }
.sample-board--back { top: 6px; left: 26px; transform: rotate(-26deg); background: repeating-linear-gradient(92deg,#d6be92 0px,#cbb086 2px,#e3cda7 4px,#d9bf98 9px); border-color: #af936c; }
.sample-board--middle { top: 24px; left: 115px; transform: rotate(22deg); background: #24476a; border-color: #13304d; }
.sample-board--front { top: 65px; left: 56px; transform: rotate(-7deg); background: repeating-linear-gradient(93deg,#65422e 0px,#80563b 2px,#6c4832 4px,#9a6d47 6px,#755039 11px); transition: background .45s, border-color .45s; }
[data-finish=oak] .sample-board--front { background: repeating-linear-gradient(93deg,#c4a67c 0px,#e6cda8 3px,#cfb188 5px,#d8bc95 10px); border-color: #ac8e64; }
[data-finish=oak] .sample-board--front span { color: #4e3924; }
[data-finish=midnight] .sample-board--front { background: repeating-linear-gradient(93deg,#1e354b 0px,#284258 3px,#20374b 5px,#294359 10px); border-color: #142a3d; }
.sample-ring { position: absolute; left: -12px; top: 235px; width: 112px; height: 112px; border: 22px solid #d5ad62; border-radius: 50%; box-shadow: inset 3px 4px 5px #fff7, inset -5px -4px 9px #73511d66, 9px 14px 0 #9b7539, 20px 27px 25px #102b4d24; transform: rotate(-24deg) scaleY(.76); }
.sample-handle { position: absolute; right: -12px; top: 80px; width: 112px; height: 35px; border: 10px solid #d1ad6a; border-bottom-width: 8px; border-radius: 12px; transform: rotate(-32deg); box-shadow: inset 0 4px 0 #fff5, 5px 6px 0 #957137, 12px 15px 20px #102b4d26; }
.sample-dot { position: absolute; top: 2px; left: 3px; width: 17px; height: 17px; background: var(--blue); border-radius: 50%; }
.stage-spark { position: absolute; color: var(--blue); font: 300 58px/1 sans-serif; }
.stage-spark--one { right: 9%; top: 12%; }
.stage-spark--two { left: 9%; bottom: 14%; color: #a57e37; font-size: 40px; }
.stage-caption { position: absolute; bottom: 24px; right: 24px; font: 800 10px/1.6 'Manrope',sans-serif; letter-spacing: 1px; color: #36516c; text-align: right; }
.stage-caption small { display: block; font-size: 7px; font-weight: 500; letter-spacing: 2px; }
.studio-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; min-height: 76px; padding: 16px 22px; background: #ffffff90; border-top: 1px solid #fff9; }
.finish-picker { display: flex; align-items: center; gap: 8px; }
.finish-swatch { width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #102b4d20; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.finish-swatch[aria-pressed=true] { box-shadow: 0 0 0 2px var(--blue); transform: scale(1.07); }
.finish-swatch--walnut { background: #80563b; }.finish-swatch--oak { background: #d9bc91; }.finish-swatch--midnight { background: #203a52; }
.finish-caption { font-size: 10px; color: #52667c; margin-inline-start: 4px; }
.motion-toggle { color: #36516c; font-size: 10px; padding: 8px 12px; border: 1px solid #36516c40; border-radius: 100px; cursor: pointer; min-height: 36px; }
.motion-toggle:hover { background: #fff; }
.studio-ticker { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; margin-block: 28px 0; border-block: 1px solid #14253b26; padding: 21px 16px; }
.studio-ticker span { font-size: clamp(12px, 1.5vw, 20px); font-weight: 700; }
.studio-divider { position: relative; display: block; width: 32px; height: 1px; flex-shrink: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.studio-divider::after { content: ''; position: absolute; width: 5px; height: 5px; top: -2px; left: calc(50% - 2.5px); background: var(--gold); transform: rotate(45deg); }
.home-page .benefit-strip { padding-block: 30px; }
.home-page .home-section { margin-top: 72px; }
.home-page .section-heading h2 { font-size: 32px; letter-spacing: -1px; }
html[dir=rtl] .home-page .section-heading h2 { letter-spacing: 0; }
.home-page .category-card { padding-block: 28px; border-color: #d9dfe4; border-radius: 20px; }
.home-page .category-symbol { border-radius: 50%; }
.home-page .category-card:hover .category-symbol { transform: rotate(-12deg); }
.home-page .category-symbol { transition: transform .35s; }
.home-page .product-rail { padding-block: 10px 22px; }
.home-page .product-card { border-radius: 22px; box-shadow: none; border-color: #dde2e6; transition: transform .35s, box-shadow .35s; }
.home-page .product-card:hover, .home-page .product-card:focus-within { transform: translateY(-6px); box-shadow: 0 18px 30px #102b4d10; }
.home-page .product-image { background: #e9eceb; overflow: hidden; }
.home-page .product-image img { transition: transform .65s cubic-bezier(.2,.8,.2,1); }
.home-page .product-card:hover .product-image img { transform: scale(1.065) rotate(-2deg); }
.home-page .collection-banner { min-height: 260px; border-radius: 24px; }
.home-page .wood-swatches { transition: transform .6s; }.home-page .wood-banner:hover .wood-swatches { transform: rotate(-9deg) translateY(-6px); }
.home-page .hardware-art { transition: transform .6s; }.home-page .hardware-banner:hover .hardware-art { transform: rotate(9deg) translateY(-6px); }
.studio-interior { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; overflow: hidden; border-radius: 28px; background: #e8e7df; }
.studio-interior-image { position: relative; min-height: 340px; overflow: hidden; }
.studio-interior-image img { width: 100%; height: 100%; object-fit: cover; }
.studio-interior-image > span { position: absolute; bottom: 22px; left: 22px; border: 1px solid #fff6; background: #102b4da8; color: #fff; padding: 7px 12px; font: 500 9px 'Manrope',sans-serif; letter-spacing: 1.5px; border-radius: 100px; }
.studio-interior-copy { padding: 50px 40px; align-self: center; }
.studio-interior-copy h2 { font-size: clamp(26px,3vw,42px); font-weight: 800; letter-spacing: -1px; line-height: 1.3; margin-block: 16px; }
html[dir=rtl] .studio-interior-copy h2 { line-height: 1.6; letter-spacing: 0; }
.studio-interior-copy > p:not(.eyebrow) { font-size: 13px; color: #526171; margin-bottom: 24px; }
.home-page .business-banner { border-radius: 26px; }
.signin-shell { max-width: 1080px; }
.studio-signin { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border-radius: 28px; border: 1px solid #dfe5eb; overflow: hidden; box-shadow: 0 24px 70px #102b4d0a; }
.signin-art { position: relative; background: #6e6657; min-width: 0; min-height: 650px; overflow: hidden; isolation: isolate; }
.auth-art-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.signin-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #102333b8, #10233300 42%, #10233300 72%, #102333b8); pointer-events: none; }
.auth-art-copy { position: relative; z-index: 1; padding: 36px 32px; color: white; }
.auth-art-copy .eyebrow { color: #f5ead4; }
.signin-art h2 { font-size: 32px; font-weight: 800; line-height: 1.3; max-width: 330px; letter-spacing: -1px; margin-top: 16px; }
html[dir=rtl] .signin-art h2 { line-height: 1.7; letter-spacing: 0; font-size: 29px; }
.signin-art-note { position: absolute; z-index: 1; inset-inline: 32px; bottom: 28px; font-size: 12px; color: white; max-width: 380px; }
.signin-form.px-card { box-shadow: none; border: 0; border-radius: 0; padding: 48px 40px; align-self: center; min-width: 0; }
.signin-symbol { display: grid; place-items: center; width: 50px; height: 50px; background: #edf3fc; color: var(--blue); border-radius: 16px; margin-bottom: 22px; transform: rotate(-7deg); }
.signin-form h1 { font-size: 30px; margin-bottom: 8px; }
.signin-intro { color: #657387; font-size: 13px; margin-bottom: 28px; }
.signin-form .px-input { border-radius: 12px; min-height: 48px; background: #f8fafc; width: 100%; }
.signin-form .px-btn { background: var(--blue); border-radius: 100px; min-height: 48px; }
.signin-form form label { color: #364b62; }
@media (prefers-reduced-motion: no-preference) {
  .motion-page:not(.motion-paused) .sample-board--back { animation: board-back 7s ease-in-out infinite; }
  .motion-page:not(.motion-paused) .sample-board--middle { animation: board-middle 8s ease-in-out infinite; }
  .motion-page:not(.motion-paused) .sample-board--front { animation: board-front 6s ease-in-out infinite; }
  .motion-page:not(.motion-paused) .sample-ring { animation: ring-float 6s ease-in-out infinite; }
  .motion-page:not(.motion-paused) .sample-handle { animation: handle-float 7s ease-in-out infinite; }
  .motion-page:not(.motion-paused) .stage-spark--one { animation: spark-turn 18s linear infinite; }
  .motion-page:not(.motion-paused) .studio-hero .hero-copy > *, .motion-page:not(.motion-paused) .signin-form { animation: studio-enter .85s backwards; }
  .studio-hero .hero-copy > :nth-child(2) { animation-delay: .1s !important; }.studio-hero .hero-copy > :nth-child(3) { animation-delay: .2s !important; }.studio-hero .hero-copy > :nth-child(4) { animation-delay: .3s !important; }
  [data-reveal].reveal-pending { opacity: 0; transform: translateY(28px); }
  [data-reveal] { transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); }
  .reveal-in .category-card, .reveal-in .product-card { animation: studio-enter .7s backwards; }
  .reveal-in :is(.category-card,.product-card):nth-child(2) { animation-delay: .08s; }.reveal-in :is(.category-card,.product-card):nth-child(3) { animation-delay: .16s; }.reveal-in :is(.category-card,.product-card):nth-child(4) { animation-delay: .24s; }
}
@keyframes studio-enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes board-back { 50% { transform: translate(-7px,-15px) rotate(-30deg); } }
@keyframes board-middle { 50% { transform: translate(9px,-12px) rotate(26deg); } }
@keyframes board-front { 50% { transform: translateY(-16px) rotate(-3deg); } }
@keyframes ring-float { 50% { transform: translate(-5px,-15px) rotate(-15deg) scaleY(.76); } }
@keyframes handle-float { 50% { transform: translate(6px,-18px) rotate(-23deg); } }
@keyframes spark-turn { to { transform: rotate(360deg); } }
.motion-paused [data-reveal], .motion-paused [data-reveal] * { animation: none !important; transition: none !important; opacity: 1; transform: none; }
.motion-paused .material-assembly { transform: none; transition: none; }
@media (max-width: 1100px) {
  .studio-hero { gap: 18px; min-height: 540px; }.studio-hero .hero-copy h1 { font-size: 51px; letter-spacing: -2.5px; }
  .material-stage { min-height: 450px; }.material-assembly { scale: .87; }.studio-tools { padding-inline: 16px; }.finish-caption { display: none; }
  .signin-form.px-card { padding: 36px 28px; }
}
@media (max-width: 767px) {
  .kitchen-gallery { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .studio-hero { grid-template-columns: 1fr; gap: 22px; }.studio-hero .hero-copy, html[dir=rtl] .studio-hero .hero-copy { padding: 20px 8px 12px; }
  .studio-hero .hero-copy h1 { font-size: clamp(40px,8vw,60px); max-width: 600px; margin-block: 20px; letter-spacing: -2px; }
  html[dir=rtl] .studio-hero .hero-copy h1 { font-size: clamp(34px,7vw,48px); }.studio-hero .hero-description { max-width: 560px; font-size: 14px; }
  .studio-playground { border-radius: 120px 120px 24px 24px; }.material-stage { min-height: 400px; height: 400px; }.material-assembly { scale: .9; }
  .finish-caption { display: inline; }.studio-tools { padding-inline: 20px; }.studio-ticker { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding-inline: 8px; gap: 16px 10px; }.studio-ticker span { font-size: 11px; text-align: center; }.studio-divider { width: 24px; }.studio-divider:nth-of-type(2) { display: none; }
  .home-page .home-section { margin-top: 44px; }.home-page .section-heading h2 { font-size: 26px; }.home-page .category-card { padding: 20px 16px; }
  .studio-interior { grid-template-columns: 1fr; }.studio-interior-image { min-height: 0; }.studio-interior-image img { aspect-ratio: 16/10; }.studio-interior-copy { padding: 30px 25px; }
  .studio-signin { grid-template-columns: 1fr; }.signin-art { min-height: 360px; }.signin-art h2 { font-size: 26px; max-width: 320px; }
  .auth-art-copy { padding: 24px; }.auth-art-image { object-position: center 58%; }.signin-art-note { inset-inline: 24px; bottom: 20px; max-width: none; margin: 0; }
  .signin-form.px-card { padding: 30px 26px; }.signin-symbol { display: none; }.signin-form h1 { font-size: 26px; }
}
@media (max-width: 380px) {
  .motion-page .header-account { padding: 8px; }.studio-ticker { gap: 12px 8px; }
  .material-assembly { scale: .73; }.material-stage { min-height: 350px; height: 350px; }.studio-tools { padding-inline: 12px; }.finish-caption { display: none; }
  .studio-hero .hero-actions { gap: 14px; }.studio-hero .hero-secondary { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-page *, .motion-page *::before, .motion-page *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .material-assembly { transform: none !important; } [data-reveal] { opacity: 1 !important; transform: none !important; }
}
