/* Immersive equipment studio. Shared navigation, dialogs and footer use site styles. */
.equipment-page { background: #11151a; }
.equipment-main {
  width: 100%;
  margin: 0;
  padding: 86px 26px 28px;
  box-sizing: border-box;
  color: #f4f0e8;
  font-family: system-ui, sans-serif;
}
.equipment-main :is(h1, h2, h3, p, span, li, a, button, legend) {
  -webkit-text-fill-color: currentColor;
  hyphens: none;
}
.studio-experience {
  --studio-gold: #d3b36b;
  --studio-muted: #a9a9a4;
  max-width: 1680px;
  min-height: min(760px, calc(100svh - 125px));
  margin: 0 auto;
  padding: 18px 26px 16px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ffffff16;
  background: #15191d;
  box-shadow: 0 28px 90px #0005;
}
.studio-topline, .studio-bottomline {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9b9a93;
  font-size: .62rem;
  letter-spacing: .17em;
}
.studio-topline { padding: 2px 3px 15px; }
.studio-topline span:first-child { color: var(--studio-gold); }
.studio-bottomline { padding: 13px 3px 0; font-size: .56rem; }
.studio-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  overflow: hidden;
  border: 1px solid #ffffff18;
  background: #20252a;
}
.studio-canvas-wrap {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 48% 40%, #4c5051 0, #292e31 48%, #171b1e 100%);
}
#studio-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; z-index: 1; }
.studio-canvas-wrap canvas { touch-action: none; }
.studio-fallback { position: absolute; z-index: 2; inset: 0; overflow: hidden; background: linear-gradient(145deg,#3d4142,#161a1d 70%); }
.studio-fallback::before { content: ""; position: absolute; left: 12%; right: 12%; top: 12%; height: 66%; border: 1px solid #d3b36b55; background: linear-gradient(90deg,#292e31 0 16%,#373b3b 16% 84%,#292e31 84%); transform: perspective(700px) rotateX(-2deg); box-shadow: 0 24px 60px #0008; }
.studio-fallback::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 27%; background: repeating-linear-gradient(90deg,#262a2b 0 1px,#343839 1px 120px); clip-path: polygon(0 14%,100% 0,100% 100%,0 100%); }
.studio-fallback span { position: absolute; z-index: 1; top: 27%; left: 34%; width: 32%; height: 38%; background: #378451; box-shadow: 0 0 40px #86c78b30; }
.studio-fallback i { position: absolute; z-index: 2; bottom: 13%; left: 28%; width: 2px; height: 36%; background: #8d8e89; transform: rotate(12deg); box-shadow: 35px 0 #8d8e89, 115px -8px #a8a69f, 160px 0 #a8a69f; }
.studio-canvas-wrap.is-live .studio-fallback { display: none; }
.studio-load-state {
  position: absolute;
  z-index: 3;
  left: 16px;
  bottom: 15px;
  color: #f2eee5;
  font-size: .74rem;
  opacity: .78;
  transition: opacity .25s ease;
}
.studio-load-state.is-hidden { opacity: 0; pointer-events: none; }
.studio-view-caption {
  position: absolute;
  z-index: 2;
  left: 19px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dedbd3;
  font-size: .57rem;
  letter-spacing: .15em;
  pointer-events: none;
}
.studio-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #9ac19a; box-shadow: 0 0 10px #9ac19a; }
.studio-panel {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.2vw, 44px) clamp(20px, 2.5vw, 34px) 20px;
  border-left: 1px solid #ffffff18;
  background: linear-gradient(160deg, #1d2225, #171b1e 70%);
}
.studio-intro { margin-bottom: auto; }
.equipment-main .equipment-eyebrow { margin: 0 0 14px; color: var(--studio-gold); font-size: .62rem; font-weight: 650; letter-spacing: .2em; }
.studio-intro h1 { max-width: 8ch; margin: 0; color: #f2eee5; font-family: 'Cinzel', Georgia, serif; font-size: clamp(1.75rem, 2.4vw, 2.55rem); font-weight: 500; line-height: 1.17; }
.studio-intro > p:last-child { margin: 15px 0 28px; color: #b7b7b0; font-size: .88rem; line-height: 1.7; }
.studio-control-group { min-width: 0; margin: 0; padding: 20px 0; border: 0; border-top: 1px solid #ffffff19; }
.studio-control-group legend { width: 100%; display: flex; gap: 11px; padding: 0 0 13px; color: #ece8df; font-size: .77rem; font-weight: 560; }
.studio-control-group legend span:first-child { color: var(--studio-gold); font-size: .65rem; letter-spacing: .08em; }
.studio-option-list { display: grid; gap: 5px; }
.studio-option, .studio-swatch, .studio-reset {
  font: inherit;
  color: #d8d6cf;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.studio-option {
  min-height: 37px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 9px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  font-size: .78rem;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.studio-option-mark { color: #858780; font-size: .59rem; letter-spacing: .1em; }
.studio-option:hover, .studio-option.is-active { border-color: #d3b36b55; background: #d3b36b0e; color: #f5e7bf; }
.studio-option.is-active .studio-option-mark { color: var(--studio-gold); }
.studio-swatch-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.studio-swatch { display: grid; justify-items: center; gap: 8px; padding: 8px 3px 9px; border: 1px solid transparent; background: transparent; font-size: .67rem; }
.studio-swatch:hover, .studio-swatch.is-active { border-color: #d3b36b66; background: #d3b36b0b; color: #f5e7bf; }
.swatch-color { width: 27px; height: 27px; display: block; border: 1px solid #ffffff47; border-radius: 50%; box-shadow: inset 0 0 0 3px #161b1e; }
.swatch-green { background: #32854c; }
.swatch-red { background: #a0443f; }
.swatch-white { background: #e4e1d7; }
.studio-panel-foot { padding-top: 15px; border-top: 1px solid #ffffff19; }
.studio-instruction { display: flex; gap: 9px; align-items: center; margin: 0 0 16px; color: #a9aaa3; font-size: .68rem; line-height: 1.5; }
.studio-mouse-icon { color: var(--studio-gold); font-size: 1rem; }
.studio-reset { width: 100%; min-height: 39px; display: flex; justify-content: center; align-items: center; gap: 9px; border: 1px solid #ffffff29; background: #ffffff06; font-size: .72rem; transition: background .18s ease, border-color .18s ease; }
.studio-reset:hover { border-color: #d3b36b88; background: #d3b36b12; }
.equipment-page :is(a, button, select):focus-visible { outline: 2px solid #ecd28f; outline-offset: 3px; }
.equipment-skip { position: fixed; top: 10px; left: 10px; z-index: 1300; transform: translateY(-200%); padding: 14px 20px; background: #f4e3ab; color: #101b30; -webkit-text-fill-color: currentColor; }
.equipment-skip:focus { transform: translateY(0); }
.equipment-main button:disabled { cursor: wait; }
@media (min-width: 1500px) {
  .studio-stage { grid-template-columns: minmax(0, 1fr) 350px; }
}
@media (max-width: 900px) {
  .equipment-main { padding: 78px 16px 20px; }
  .studio-experience { min-height: auto; padding: 14px; }
  .studio-stage { grid-template-columns: minmax(0,1fr) 280px; min-height: 600px; }
  .studio-panel { padding: 24px 18px 16px; }
  .studio-intro h1 { font-size: 1.85rem; }
}
@media (max-width: 680px) {
  .equipment-main { padding: 68px 0 0; }
  .studio-experience { min-height: auto; padding: 12px; border-left: 0; border-right: 0; }
  .studio-topline { font-size: .53rem; letter-spacing: .11em; }
  .studio-stage { display: flex; flex-direction: column; overflow: visible; min-height: 0; border: 0; background: none; }
  .studio-canvas-wrap { height: min(58svh, 470px); min-height: 330px; border: 1px solid #ffffff20; }
  .studio-panel { padding: 23px 18px 18px; border: 1px solid #ffffff19; border-top: 0; }
  .studio-intro h1 { max-width: 15ch; font-size: 1.8rem; }
  .studio-intro > p:last-child { margin-bottom: 9px; }
  .studio-control-group { padding: 16px 0; }
  .studio-option-list { grid-template-columns: repeat(3,1fr); }
  .studio-option { min-height: 43px; flex-direction: column; justify-content: center; gap: 2px; padding: 5px 3px; text-align: center; }
  .studio-bottomline { font-size: .49rem; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-option, .studio-swatch, .studio-reset, .studio-load-state { transition: none; }
}
