.home-page { --studio-header: 68px; }
.home-page .masthead { background: #252e26; border-color: #495244; color: #f5f1df; position: relative; z-index: 3; }
.home-page .masthead-row { height: var(--studio-header); min-height: var(--studio-header); }
.home-page .brand-mark::before { box-shadow: 3px -3px 0 -2px #252e26, 4px -4px 0 -2px currentColor; }
.home-page .nav-action, .home-page .menu-toggle { border-color: #6d7662; color: #f5f1df; }
.studio { position: relative; height: calc(100vh - var(--studio-header) - 1px); height: calc(100svh - var(--studio-header) - 1px); min-height: 400px; overflow: hidden; background: #e2e5d6; color: #26372d; }
.studio::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 62% 34%, #f4f1dc 0%, transparent 60%), linear-gradient(151deg, #e2e5d6, #c8d1be); }
.studio-inner { position: relative; display: grid; grid-template-columns: minmax(230px, 295px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; width: min(94%, 1500px); height: 100%; margin: 0 auto; padding: 1.5rem 0 1.1rem; column-gap: .85rem; }
.studio-intro { align-self: center; z-index: 1; padding-left: .65rem; }
.studio-kicker { display: flex; gap: .6rem; align-items: center; font-size: .775rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.studio-kicker::before { content: ''; display: block; width: 1.7rem; height: 1px; background: #94583d; }
.studio h1 { max-width: 8ch; font-size: clamp(2.95rem, 5.5vw, 6.15rem); margin: .65rem 0 1.15rem; line-height: .91; font-weight: 500; }
.studio h1 em { color: #486246; font-weight: inherit; }
.studio-intro > p:not(.studio-kicker) { max-width: 25ch; line-height: 1.55; font-size: .95rem; }
.studio-guide-link { margin-top: 1.2rem; display: inline-flex; min-height: 36px; align-items: center; font-weight: 700; font-size: .88rem; }
.studio-scene { position: relative; height: 100%; min-height: 0; }
.room-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: default; }
.room-canvas[data-hover='true'] { cursor: grab; }
.room-canvas[data-drag='true'] { cursor: grabbing; }
.room-canvas:focus-visible { outline-offset: -3px; }
.studio-motes { pointer-events: none; position: absolute; inset: 0; overflow: hidden; }
.studio-motes i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff8d4; opacity: .13; animation: float-light 9s ease-in-out infinite alternate; }
.studio-motes i:nth-child(1) { left: 31%; top: 28%; }
.studio-motes i:nth-child(2) { left: 35%; top: 39%; animation-delay: -3s; }
.studio-motes i:nth-child(3) { left: 41%; top: 32%; animation-delay: -6s; }
.studio-motes i:nth-child(4) { left: 48%; top: 44%; animation-delay: -2s; }
@keyframes float-light { to { opacity: .9; transform: translate(12px, -20px); } }
.studio-bottom { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .85rem; max-width: 970px; width: 100%; justify-self: center; }
.studio-inventory, .studio-actions { background: #f8f6eb; border: 1px solid #b4bdab; box-shadow: 0 9px 28px #34402c13; border-radius: 10px; padding: .55rem; }
.studio-inventory > p, .studio-actions > p { margin: 0 0 .3rem .28rem; font-size: .78rem; font-weight: 700; }
.studio-items { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .28rem; }
.studio-items button, .studio-tools button { border: 1px solid #d0d6c7; background: #f8f6eb; color: #293a30; border-radius: 5px; min-width: 0; }
.studio-items button { min-height: 59px; padding: .05rem .25rem .25rem; display: grid; justify-items: center; align-content: center; font-size: .75rem; line-height: 1.2; }
.studio-items button:hover, .studio-tools button:hover:enabled { background: #e5ebdb; border-color: #83947a; }
.studio-items button:active { transform: translateY(1px); }
.studio-items canvas { width: 44px; height: 33px; display: block; pointer-events: none; }
.studio-tools { display: flex; flex-wrap: wrap; gap: .28rem; }
.studio-tools button { min-height: 43px; padding: .35rem .52rem; font-size: .78rem; }
.studio-tools button:disabled { color: #5e6659; cursor: default; opacity: .7; }
.studio-status { min-height: 1.35rem; grid-column: 1 / -1; color: #36463a; text-align: center; font-size: .82rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; margin: -1px; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.home-page .hero h2 { font-size: clamp(2.5rem, 5vw, 5.05rem); margin: .55rem 0 1.25rem; }
.home-page .eyebrow { line-height: 1.5; }
@media (max-width: 850px) {
  .home-page { --studio-header: 64px; }
  .home-page .masthead-row { padding-block: .6rem; flex-wrap: nowrap; }
  .home-page .top-nav { position: absolute; padding: .65rem 5%; left: 0; right: 0; top: 100%; background: #252e26; border-top: 1px solid #495244; }
  .studio-inner { grid-template-columns: minmax(188px, 235px) minmax(0, 1fr); column-gap: .2rem; }
  .studio h1 { font-size: clamp(2.65rem, 6.8vw, 4.75rem); }
}
@media (max-width: 620px) {
  .home-page .brand { font-size: 1.35rem; gap: .42rem; letter-spacing: -.035em; }
  .home-page .brand-mark { width: 1.78rem; height: 1.78rem; }
  .studio { min-height: 460px; }
  .studio-inner { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; width: 93%; padding: .8rem 0 .4rem; }
  .studio-intro { padding: 0 .2rem; align-self: start; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: .5rem; }
  .studio h1 { grid-column: 1 / -1; max-width: none; margin: .2rem 0 .36rem; font-size: clamp(2.15rem, 7.3vw, 3.3rem); }
  .studio-kicker { grid-column: 1 / -1; font-size: .7rem; }
  .studio-intro > p:not(.studio-kicker) { font-size: .82rem; max-width: 48ch; }
  .studio-guide-link { margin: 0; min-height: 34px; font-size: .75rem; white-space: nowrap; }
  .studio-bottom { grid-template-columns: 1fr; gap: .2rem; }
  .studio-inventory, .studio-actions { padding: .27rem; border-radius: 6px; }
  .studio-inventory > p { margin: 0 0 .2rem .2rem; font-size: .72rem; }
  .studio-actions > p { display: none; }
  .studio-items { gap: .18rem; }
  .studio-items button { min-height: 45px; font-size: .63rem; padding: .05rem; }
  .studio-items canvas { width: 35px; height: 26px; }
  .studio-tools { justify-content: space-between; }
  .studio-tools button { flex: 1 0 auto; min-height: 35px; padding: .18rem .35rem; font-size: .72rem; }
  .studio-status { min-height: 1.3rem; font-size: .72rem; line-height: 1.25; padding-top: .13rem; }
}
@media (max-width: 365px) {
  .home-page .brand { font-size: 1.13rem; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-motes i { animation: none; }
}
