:root {
  color-scheme: light;
  --glass-dark: rgba(37,53,69, .68);
  --glass-light: rgba(248, 246, 240, .69);
  --glass-edge: rgba(255, 255, 255, .34);
  --glass-blur: 18px;
  --gold-light: #f5e6bf;
  --ink-dark: #253545;
  --motion-ease: cubic-bezier(.2, .72, .24, 1);
}
* { box-sizing: border-box; }
body { margin: 0; background: #ecebe5; color: var(--ink-dark); font: 16px/1.55 Arial, sans-serif; }
[hidden] { display: none !important; }
.stage { position: relative; isolation: isolate; overflow: clip; min-height: max(670px, 100svh); background: #253545; color: #fffdf4; }
.stage a { color: inherit; }
.stage :focus-visible { outline: 2px solid #fff2c8; outline-offset: 4px; }
.shot, .shot img, .shot::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.shot { z-index: -1; overflow: hidden; }
.shot img { object-fit: cover; object-position: 50% 54%; transform: translate(var(--x, 0), var(--y, 0)) scale(var(--zoom, 1.015)); transition: transform 1550ms var(--motion-ease); }
.stage[data-scene=cabinetry] { --zoom: 1.58; --x: -1%; --y: 12%; --swatch: 51% 35%; }
.stage[data-scene=furniture] { --zoom: 1.46; --x: 13%; --y: -8%; --swatch: 18% 76%; }
.shot::after { content: ''; background: linear-gradient(92deg, #253545e8 0%, #2535458c 27%, transparent 67%), linear-gradient(0deg, #253545dc 0%, transparent 35%, transparent 70%, #25354570 100%); }
.mast, .detail, .scrubber {
  border: 1px solid var(--glass-edge);
  background: var(--glass-dark);
  box-shadow: 0 18px 45px #111b2138, inset 0 1px #ffffff22;
  backdrop-filter: blur(var(--glass-blur)) saturate(125%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(125%);
}
.mast { display: flex; align-items: center; justify-content: space-between; gap: 25px; position: absolute; z-index: 3; top: 22px; left: 4.5%; right: 4.5%; min-height: 68px; padding: 8px 12px; border-radius: 19px; }
.mast .logo { width: 65px; height: 49px; display: grid; place-items: center; background: #f0ede4; border-radius: 10px; }
.mast img { height: 42px; width: 55px; object-fit: contain; }
.mast nav { display: flex; column-gap: clamp(15px, 4vw, 60px); }
.mast nav a, .mast .outline { font-size: 14px; font-weight: 650; text-decoration: none; }
.mast nav a:hover, .detail a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mast .outline { border: 1px solid #fffdf488; border-radius: 99px; padding: 9px 14px; white-space: nowrap; }
.story { position: absolute; top: 24%; left: 6%; width: min(61%, 780px); }
.story .eyebrow { display: block; color: var(--gold-light); margin: 0 0 18px; font-size: 11px; letter-spacing: .15em; font-weight: 700; text-transform: uppercase; }
.stage .scene-copy h1, .stage .scene-copy h2 { margin: 0; font: 400 clamp(62px, 7.8vw, 130px)/.90 Georgia, serif; letter-spacing: -.062em; text-shadow: 0 4px 45px #25354580; }
.scene-copy p { max-width: 38ch; margin: 22px 0; font-size: clamp(15px, 1.4vw, 19px); }
.primary { display: inline-flex; align-items: center; gap: 13px; padding: 12px 19px; background: #f4ead2; color: #253545 !important; border: 1px solid #f9efdc; border-radius: 99px; text-decoration: none; font-size: 14px; font-weight: 700; }
.primary:hover { background: white; }
.spatial { display: none; }
.js-ready .spatial { display: block; }
.pin { position: absolute; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #fff9e4; border-radius: 50%; background: #25354570; color: #fff; cursor: pointer; box-shadow: 0 0 0 7px #fff3d321; transition: left 1550ms var(--motion-ease), top 1550ms var(--motion-ease), background .2s; }
.pin::before { content: '+'; font-size: 23px; line-height: 1; }
.pin:hover, .pin[aria-pressed=true] { background: #f5e6bf; color: #253545; }
.pin-cabinetry { left: 53%; top: 43%; }
.pin-furniture { left: 46%; top: 66%; }
.stage[data-scene=cabinetry] .pin-cabinetry { left: 56%; top: 45%; }
.stage[data-scene=cabinetry] .pin-furniture { left: 49%; top: 74%; }
.stage[data-scene=furniture] .pin-cabinetry { left: 65%; top: 37%; }
.stage[data-scene=furniture] .pin-furniture { left: 55%; top: 61%; }
.detail { position: absolute; bottom: 18%; right: 5%; display: grid; grid-template-columns: 67px 1fr auto; align-items: center; gap: 14px; width: min(350px, 35%); min-height: 105px; padding: 13px; border-radius: 18px; }
.swatch { width: 67px; height: 67px; border: 1px solid #ffffff59; border-radius: 10px; background: url('assets/hero.webp') var(--swatch, 76% 55%)/390% auto; }
.detail p { margin: 0 0 3px; color: var(--gold-light); font-size: 12px; }
.detail strong { display: block; font-size: 15px; line-height: 1.32; }
.detail a { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #ffffff6b; border-radius: 50%; text-decoration: none; }
.scrubber { position: absolute; bottom: 4.8%; left: 6%; display: flex; align-items: stretch; border-radius: 14px; overflow: hidden; }
.chapters { display: flex; }
.chapters button, .playback { position: relative; border: 0; background: transparent; color: inherit; min-height: 44px; padding: 11px 17px; font: 600 13px/1.25 Arial, sans-serif; cursor: pointer; }
.chapters button[aria-pressed=true] { background: #fff7da25; color: var(--gold-light); }
.chapters button:hover, .playback:hover { background: #fff7da3a; }
.chapters button:focus-visible, .playback:focus-visible { outline-offset: -4px; }
.chapters button[aria-pressed=true]::after { position: absolute; content: ''; transform: scaleX(var(--progress, 1)); transform-origin: left; height: 2px; background: #ffebbe; bottom: 0; left: 0; right: 0; }
.playback { border-left: 1px solid #ffffff4d; }
.play-icon { display: inline-block; min-width: 14px; }
.credit { position: absolute; bottom: 5%; right: 5%; margin: 0; font-size: 11px; color: #fff7e4; }
.js-ready .mast { animation: frame-in .8s var(--motion-ease) both; }
.js-ready .shot { animation: scene-in 1.4s var(--motion-ease) both; }
.js-ready .scene-copy.current { animation: copy-in .86s var(--motion-ease) both; }
.js-ready .scene-detail.current { animation: copy-in .7s var(--motion-ease) both; }
.js-ready .detail, .js-ready .scrubber { animation: frame-in .85s .16s var(--motion-ease) both; }
.js-ready .pin { animation: frame-in 1s .26s var(--motion-ease) both; }
@keyframes scene-in { from { opacity: .63; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes copy-in { from { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 32% 0); } to { opacity: 1; transform: none; clip-path: inset(0); } }
@keyframes frame-in { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
.next { padding: 40px 6%; display: flex; justify-content: space-between; align-items: baseline; gap: 15px; }
.next h2 { font: 400 clamp(27px, 4vw, 48px)/1.05 Georgia, serif; margin: 0; }
.next a { color: inherit; }
.glass-site {
  background: radial-gradient(ellipse at 10% 32%, #ded2af91, transparent 33%),
    radial-gradient(ellipse at 92% 68%, #a5b5b8aa, transparent 46%), #ecebe5;
}
.glass-site .facts {
  background: linear-gradient(115deg, #253545, #253545);
  box-shadow: inset 0 1px #ffffff45, 0 12px 30px #25354524;
}
.glass-site .facts dl { padding-block: 23px; }
.glass-site .product-grid { background: transparent; border: 0; gap: 14px; }
.glass-site .product-grid details, .glass-site .steps li, .glass-site .answers details,
.glass-site .showroom > div {
  background: var(--glass-light);
  border: 1px solid #ffffffa6;
  border-radius: 17px;
  box-shadow: 0 10px 25px #25354512, inset 0 1px #fff9;
  backdrop-filter: blur(var(--glass-blur));
}
.glass-site .product-grid details:hover { background: #faf9f2e5; }
.glass-site .services {
  background: radial-gradient(ellipse at 80% 30%, #a5b5b8d1, transparent 77%),
    linear-gradient(135deg, #b9c8c8a3, #ecebe5a8);
  border-block: 1px solid #ffffffa6;
}
.glass-site .steps li, .glass-site .answers details { padding: 15px 19px; }
.glass-site .answers details + details { margin-top: 10px; }
.glass-site .showroom figure, .glass-site .showroom > div { border-radius: 20px; overflow: hidden; }
.glass-site .showroom > div { padding: clamp(18px, 3vw, 42px); }
.glass-site .faq { border: 0; }
.glass-site .inquiry {
  background: radial-gradient(ellipse at 100% 0%, #64777d, transparent 80%),
    linear-gradient(145deg, #253545, #253545);
}
.glass-site .inquiry form {
  background: #f8f6f015;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid #ffffff45;
  border-radius: 20px;
  box-shadow: 0 15px 34px #0e111c3b, inset 0 1px #ffffff23;
  backdrop-filter: blur(var(--glass-blur));
}
.glass-site .inquiry input, .glass-site .inquiry textarea { background: #f8f6f0e8; border-radius: 9px; }
.glass-site .inquiry .button { border-radius: 99px; }
@media (max-width: 780px) {
  .stage { min-height: max(770px, 100svh); }
  .mast { top: 12px; left: 4%; right: 4%; gap: 8px; flex-wrap: wrap; }
  .mast nav { order: 1; justify-content: space-between; width: 100%; border-top: 1px solid #ffffff30; padding: 7px 1px 2px; }
  .mast nav a, .mast .outline { font-size: 13px; }
  .mast .logo { width: 52px; height: 39px; }
  .mast img { height: 32px; }
  .mast .outline { padding: 6px 12px; }
  .story { top: 20%; left: 5%; width: 90%; }
  .stage .scene-copy h1, .stage .scene-copy h2 { font-size: clamp(47px, 11vw, 68px); }
  .scene-copy p { max-width: 34ch; margin: 14px 0; }
  .shot::after { background: linear-gradient(180deg,#253545b8 0%, #25354587 40%, transparent 65%, #253545e5 100%); }
  .stage[data-scene=cabinetry] { --zoom: 1.3; --x: 0%; --y: 9%; }
  .stage[data-scene=furniture] { --zoom: 1.25; --x: 9%; --y: -5%; }
  .pin-cabinetry, .stage[data-scene=cabinetry] .pin-cabinetry, .stage[data-scene=furniture] .pin-cabinetry { left: 71%; top: 52%; }
  .pin-furniture, .stage[data-scene=cabinetry] .pin-furniture, .stage[data-scene=furniture] .pin-furniture { left: 35%; top: 61%; }
  .detail { min-height: 75px; right: 5%; left: 5%; bottom: 13%; width: auto; grid-template-columns: 45px 1fr auto; padding: 9px; gap: 10px; }
  .swatch { width: 45px; height: 45px; }
  .scrubber { left: 5%; bottom: 5%; right: 5%; justify-content: space-between; }
  .chapters { flex: 1; }
  .chapters button { flex: 1; }
  .chapters button, .playback { font-size: 12px; padding: 7px 9px; }
  .credit { bottom: 1.35%; right: 5%; }
}
@media (prefers-reduced-motion: reduce) {
  .stage *, .stage *::before, .stage *::after { animation: none !important; transition: none !important; }
}
