/* ==========================================================================
   FUSIA STUDIO - ARCHITECTURAL EDITORIAL DESIGN SYSTEM
   Base Canvas: Warm Architectural Paper (#F5F3EE)
   Three Native Room Materials: Proofcut (#0C0C0E), Resonia (#141122), Veranda (#F7F5F0)
   ========================================================================== */

:root {
  --paper-bg: #F5F3EE;
  --paper-surface: #FAF9F5;
  --paper-sunken: #E9E6DD;
  --ink-primary: #141413;
  --ink-secondary: #56534C;
  --ink-muted: #827E74;
  --hairline: #DCD8CE;
  --hairline-strong: #C5C0B4;

  --accent-proofcut: #4F46E5;
  --accent-resonia: #5B3DF5;
  --accent-veranda: #B83A38;

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-veranda: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --container-max: 1100px;
  --header-height: 64px;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
  --spring-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Modern Minimal Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--paper-bg);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, canvas {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ink-primary);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP NAVIGATION (SOLID OPAQUE PAPER, ZERO CRAMPING DOWN TO 320PX)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 900;
  background-color: var(--paper-bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
}

.header-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.studio-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: transform 0.25s var(--spring);
}

.studio-brand:hover .studio-mark {
  transform: scale(1.06);
}

.studio-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28rem;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.wordmark-strong {
  font-weight: 700;
  color: var(--ink-primary);
}

.wordmark-light {
  font-weight: 500;
  color: var(--ink-muted);
}

.header-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.15s ease;
  white-space: nowrap;
}

.header-link:hover {
  color: var(--ink-primary);
}

/* ==========================================================================
   HERO & INTERACTIVE 3-ROOM STUDIO SWITCHER
   ========================================================================== */

.studio-hero {
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: 2.25rem;
}

.hero-top {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 0.9rem;
}

.studio-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

.studio-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.4vw, 3.45rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.studio-headline em {
  font-style: italic;
  color: var(--accent-veranda);
}

.studio-lead {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.58;
  padding-bottom: 0.2rem;
}

/* Single Calm Tactile 3-Room Dock */
.room-dock-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.7rem;
}

.room-dock {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 5px;
  background-color: var(--paper-sunken);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  gap: 4px;
}

.room-dock-thumb {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 10px);
  background-color: var(--paper-surface);
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(20, 20, 19, 0.06);
  transition: transform 0.36s var(--spring), width 0.36s var(--spring);
  pointer-events: none;
  z-index: 1;
}

.dock-tab {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  text-align: left;
  transition: opacity 0.2s ease;
  opacity: 0.72;
}

.dock-tab:hover {
  opacity: 0.95;
}

.dock-tab.is-active {
  opacity: 1;
}

.dock-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  object-fit: cover;
}

.dock-icon-rounded {
  border-radius: 6px;
}

.dock-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
  min-width: 0;
}

.dock-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-primary);
  white-space: nowrap;
}

.dock-role {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* ==========================================================================
   LIVING STAGE CONTAINER (MORPHS MATERIAL PER ROOM)
   ========================================================================== */

.stage-frame {
  border-radius: 20px;
  border: 1px solid var(--hairline-strong);
  overflow: hidden;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 18px 48px rgba(20, 20, 19, 0.07);
}

.stage-frame[data-active-room="proofcut"] {
  background-color: #0C0C0E;
  border-color: #24242B;
}

.stage-frame[data-active-room="resonia"] {
  background-color: #141122;
  border-color: #2C254A;
}

.stage-frame[data-active-room="veranda"] {
  background-color: #F7F5F0;
  border-color: #DDD7CB;
}

.room-panel {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  min-height: 416px;
  animation: roomEnter 0.32s var(--spring);
}

.room-panel[hidden] {
  display: none;
}

@keyframes roomEnter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Left Column: Product Editorial Info */
.room-info {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
}

.room-info-dark {
  color: #F4F4F6;
  border-right: 1px solid #222228;
}

.room-info-resonia {
  color: #F5F2FF;
  border-right: 1px solid #262040;
}

.room-info-veranda {
  color: #1C1917;
  border-right: 1px solid #E5DFD3;
}

.room-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.eyebrow-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.62;
}

.eyebrow-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #D4D4DC;
}

.eyebrow-pill-resonia {
  background: rgba(91, 61, 245, 0.2);
  border-color: rgba(139, 92, 246, 0.38);
  color: #DDD6FE;
}

.eyebrow-pill-veranda {
  background: rgba(184, 58, 56, 0.08);
  border-color: rgba(184, 58, 56, 0.24);
  color: #9E3230;
}

.room-title {
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.room-title-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.35rem, 3.6vw, 3rem);
  letter-spacing: -0.01em;
}

.room-title-veranda {
  font-family: var(--font-veranda);
  font-weight: 600;
  font-size: clamp(2.05rem, 3.2vw, 2.65rem);
  color: #B83A38;
}

.room-tagline {
  font-size: 0.94rem;
  line-height: 1.55;
  opacity: 0.8;
}

.room-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.84rem;
  line-height: 1.48;
}

.room-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  opacity: 0.88;
}

.fact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.72;
}

.room-facts code {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 0.06rem 0.32rem;
  border-radius: 4px;
  background: rgba(128, 128, 148, 0.18);
}

.room-pricing {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(128, 128, 148, 0.2);
}

.pricing-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  opacity: 0.56;
}

.pricing-val {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.92;
}

.room-cta-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.room-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.68rem 1.18rem;
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: transform 0.18s var(--spring), opacity 0.18s ease;
}

.room-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.room-btn-proofcut {
  background: #4F46E5;
  color: #FFFFFF;
}

.room-btn-resonia {
  background: #5B3DF5;
  color: #FFFFFF;
}

.room-btn-veranda {
  background: #B83A38;
  color: #FFFFFF;
}

.room-cta-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(244, 244, 246, 0.56);
  letter-spacing: 0.02em;
}

.room-cta-note-light {
  color: var(--ink-muted);
}

.room-cta-link {
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(233, 228, 255, 0.35);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.room-cta-link-proofcut {
  color: rgba(244, 244, 246, 0.72);
  text-decoration-color: rgba(244, 244, 246, 0.34);
}

.room-cta-link-proofcut:hover {
  color: #FFFFFF;
  text-decoration-color: rgba(244, 244, 246, 0.85);
}

.room-cta-link-resonia {
  color: rgba(233, 228, 255, 0.72);
}

.room-cta-link-resonia:hover {
  color: #FFFFFF;
  text-decoration-color: rgba(233, 228, 255, 0.85);
}

/* ==========================================================================
   PLAYGROUND 01: PROOFCUT DARKROOM
   ========================================================================== */

.room-playground {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pg-proofcut {
  background: #111115;
  color: #F4F4F6;
}

.pg-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.72rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.pg-bar-dark {
  background: #15151A;
  border-bottom: 1px solid #23232B;
  color: #A1A1B0;
}

.pg-bar-left,
.pg-bar-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.pg-file-name {
  color: #F4F4F6;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pg-badge-fps {
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.16);
  color: #C4B5FD;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.pg-hint-chip {
  font-size: 0.66rem;
  color: #8C8C9E;
  white-space: nowrap;
}

.pc-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8.8;
  background: #050507;
  overflow: hidden;
  cursor: crosshair;
  user-select: none;
  touch-action: none;
}

.pc-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pc-scene-svg {
  width: 100%;
  height: 100%;
}

.pc-version-tag {
  position: absolute;
  top: 30px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.48rem;
  border-radius: 4px;
  background: rgba(9, 9, 11, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E4E4EC;
}

.pc-tag-v1 {
  left: 12px;
}

.pc-tag-v2 {
  right: 12px;
  color: #FCD34D;
  border-color: rgba(252, 211, 77, 0.3);
}

.pc-annotations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pc-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: opacity 0.2s ease, transform 0.2s var(--spring);
}

.pc-pin-num {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #06B6D4;
  color: #09090B;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  border: 2px solid #FFFFFF;
}

.pc-pin-arrow {
  position: absolute;
  top: 10px;
  left: 10px;
  pointer-events: none;
}

.pc-pin-note {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
  background: rgba(12, 12, 16, 0.88);
  border: 1px solid rgba(6, 182, 212, 0.45);
  color: #F4F4F6;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.pc-pin.is-focused .pc-pin-note {
  opacity: 1;
  transform: translateY(0);
}

/* Draggable Split Wiper */
.pc-wiper {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pc-wiper-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.65);
}

.pc-wiper-knob {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #0C0C0E;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

/* Proofcut Transport Dock */
.pc-dock {
  padding: 0.9rem 1rem 1rem;
  background: #141419;
  border-top: 1px solid #23232B;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.pc-timeline {
  position: relative;
  height: 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.pc-timeline-track {
  width: 100%;
  height: 5px;
  background: #272730;
  border-radius: 999px;
  overflow: hidden;
}

.pc-timeline-fill {
  height: 100%;
  background: #8B5CF6;
  border-radius: 999px;
  transition: width 0.08s linear;
}

.pc-marker-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #06B6D4;
  border: 2px solid #141419;
  transition: transform 0.15s ease;
}

.pc-marker-dot:hover,
.pc-marker-dot.is-active {
  transform: translate(-50%, -50%) scale(1.25);
}

.pc-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pc-transport {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pc-ctrl-btn {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: #22222B;
  border: 1px solid #32323F;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pc-ctrl-btn:hover {
  border-color: #8B5CF6;
}

.pc-step-btn {
  height: 32px;
  padding: 0 0.55rem;
  border-radius: 7px;
  background: #1B1B22;
  border: 1px solid #2D2D38;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #D4D4DE;
}

.pc-step-btn:hover {
  border-color: #6366F1;
  color: #FFFFFF;
}

.pc-timecode {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  color: #E4E4EE;
  padding-left: 0.35rem;
}

.pc-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.pc-export-mini {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 32px;
  padding: 0 0.65rem;
  border-radius: 7px;
  background: #1B1B22;
  border: 1px solid #2D2D38;
  color: #D4D4DE;
  font-size: 0.74rem;
  font-weight: 500;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.pc-export-mini:hover {
  border-color: #6366F1;
  color: #FFFFFF;
}

.pc-approve-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 32px;
  padding: 0 0.75rem;
  border-radius: 7px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  font-size: 0.76rem;
  font-weight: 600;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pc-approve-btn.is-approved {
  background: #10B981;
  border-color: #10B981;
  color: #052E16;
}

.pc-export-drawer {
  background: #0B0B0F;
  border: 1px solid #272733;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}

.pc-export-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: #8E8EA0;
  margin-bottom: 0.4rem;
}

.pc-export-close {
  color: #A78BFA;
  font-weight: 600;
}

.pc-export-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #D4D4E2;
  overflow-x: auto;
  line-height: 1.5;
}

/* ==========================================================================
   PLAYGROUND 02: RESONIA TWILIGHT STUDIO
   ========================================================================== */

.pg-resonia {
  background: #19152B;
  color: #F4F1FF;
}

.pg-bar-resonia {
  background: #1D1833;
  border-bottom: 1px solid #2E274E;
  color: #B4ACD4;
}

.rs-sync-pill {
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: rgba(91, 61, 245, 0.22);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: #DDD6FE;
  font-size: 0.67rem;
  white-space: nowrap;
}

.rs-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.rs-track-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.rs-vinyl {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #111 0%, #241F3A 46%, #111 48%, #1E1930 74%, #0E0B1A 100%);
  border: 1px solid rgba(167, 139, 250, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rs-vinyl.is-spinning {
  animation: spinVinyl 4s linear infinite;
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.rs-vinyl-grooves {
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.rs-vinyl-label {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5B3DF5, #A78BFA);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rs-vinyl-hole {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #141122;
}

.rs-track-meta {
  min-width: 0;
  flex: 1;
}

.rs-track-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-track-sub {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: #9D94C2;
  margin-top: 0.15rem;
}

.rs-audio-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.rs-mute-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.24);
  color: #DDD6FE;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.rs-mute-btn:hover {
  border-color: #A78BFA;
  color: #FFFFFF;
}

.rs-play-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #5B3DF5;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s var(--spring), background-color 0.15s ease, opacity 0.15s ease;
}

.rs-play-btn.is-loading {
  opacity: 0.72;
}

.rs-play-btn:hover {
  background: #6D52FF;
  transform: scale(1.05);
}

.rs-wave-wrap {
  position: relative;
  width: 100%;
  height: 92px;
  background: #130F22;
  border: 1px solid #2C244A;
  border-radius: 12px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  touch-action: none;
}

.rs-wave-canvas {
  width: 100%;
  height: 100%;
}

.rs-wave-tooltip {
  position: absolute;
  top: -10px;
  transform: translateX(-50%);
  padding: 0.16rem 0.45rem;
  border-radius: 5px;
  background: #5B3DF5;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
  white-space: nowrap;
}

.rs-shuttle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.rs-shuttle-btns {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rs-nudge-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.52rem;
  border-radius: 6px;
  background: #231D3C;
  border: 1px solid #352D58;
  color: #DDD6FE;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.rs-nudge-btn:hover {
  border-color: #8B5CF6;
  background: #2D254D;
}

.rs-time-readout {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  color: #C4B5FD;
}

.rs-notes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.rs-note-item {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
}

.rs-note-private {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
}

.rs-note-author {
  font-weight: 700;
  color: #FFFFFF;
  font-size: 0.74rem;
}

.rs-note-private .rs-note-author {
  color: #FCD34D;
}

.rs-ts-chip {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 600;
  padding: 0.1rem 0.42rem;
  border-radius: 5px;
  background: rgba(91, 61, 245, 0.28);
  color: #DDD6FE;
  border: 1px solid rgba(167, 139, 250, 0.35);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.rs-ts-chip:hover {
  background: #5B3DF5;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.rs-ts-amber {
  background: rgba(245, 158, 11, 0.22);
  color: #FDE68A;
  border-color: rgba(245, 158, 11, 0.4);
}

.rs-ts-amber:hover {
  background: #D97706;
  color: #FFFFFF;
}

.rs-note-text {
  color: #C9C2E3;
  line-height: 1.4;
}

/* ==========================================================================
   PLAYGROUND 03: VERANDA ARCHITECTURAL SANCTUARY + 4 ATELIERS
   ========================================================================== */

.pg-veranda {
  position: relative;
  --vr-canvas: #F7F5F0;
  --vr-card: #FFFFFF;
  --vr-ink: #1C1917;
  --vr-muted: #78716C;
  --vr-border: #E5DFD3;
  --vr-accent: #B83A38;
  --vr-radius: 16px;
  background: var(--vr-canvas);
  color: var(--vr-ink);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pg-veranda[data-atelier="letterpress"] {
  --vr-canvas: #F5F5F2;
  --vr-card: #FFFFFF;
  --vr-ink: #161614;
  --vr-muted: #6C6B66;
  --vr-border: #D9D8D0;
  --vr-accent: #C83E2B;
  --vr-radius: 10px;
}

.pg-veranda[data-atelier="herbarium"] {
  --vr-canvas: #F1EFEA;
  --vr-card: #FAF9F6;
  --vr-ink: #1D251E;
  --vr-muted: #667067;
  --vr-border: #D8D6CD;
  --vr-accent: #3B4A3C;
  --vr-radius: 14px;
}

.pg-veranda[data-atelier="sumi"] {
  --vr-canvas: #131312;
  --vr-card: #1B1B19;
  --vr-ink: #EAE7E1;
  --vr-muted: #9C988F;
  --vr-border: #2C2B28;
  --vr-accent: #E07A68;
  --vr-radius: 14px;
}

.vr-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

.vr-atelier-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.72rem 1rem;
  border-bottom: 1px solid var(--vr-border);
  flex-wrap: wrap;
}

.vr-atelier-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.09em;
  color: var(--vr-muted);
}

.vr-atelier-swatches {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.vr-swatch {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--vr-border);
  color: var(--vr-muted);
  transition: all 0.15s ease;
}

.vr-swatch:hover {
  color: var(--vr-ink);
  border-color: var(--vr-accent);
}

.vr-swatch.is-active {
  background: var(--vr-accent);
  border-color: var(--vr-accent);
  color: #FFFFFF;
}

.vr-sanctuary {
  position: relative;
  padding: 1.35rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  flex: 1;
}

.vr-timepiece {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.65rem 0.28rem 0.32rem;
  border-radius: 999px;
  background: var(--vr-accent);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

#vr-clock-hour,
#vr-clock-min {
  transform-origin: 14px 14px;
  transition: transform 0.65s var(--spring-bounce);
}

.vr-clock-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.vr-card {
  background: var(--vr-card);
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius);
  padding: 1.25rem;
  box-shadow: 0 6px 24px rgba(20, 18, 15, 0.06);
  transition: background-color 0.25s ease, border-color 0.25s ease, border-radius 0.25s ease;
}

.vr-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.vr-avatar-img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--vr-border);
  flex-shrink: 0;
}

.vr-author-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.vr-author-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.vr-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--vr-ink);
}

.vr-tier-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.12);
  color: #2D6A4F;
  border: 1px solid rgba(45, 106, 79, 0.25);
}

.pg-veranda[data-atelier="sumi"] .vr-tier-pill {
  background: rgba(110, 231, 183, 0.12);
  color: #86EFAC;
  border-color: rgba(110, 231, 183, 0.25);
}

.vr-meta {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--vr-muted);
}

.vr-card-body {
  margin-bottom: 0.85rem;
  min-height: 118px;
  display: flex;
  align-items: center;
}

.vr-photo-moment {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.vr-photo-img {
  width: 108px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--vr-border);
  flex-shrink: 0;
}

.vr-photo-caption {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--vr-ink);
}

.vr-vinyl-thumb {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  padding: 8px;
  background: radial-gradient(circle at center, #111 0%, #262320 58%, #111 100%);
  border: 1px solid rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  animation: spinVinyl 6s linear infinite;
}

.vr-vinyl-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

.vr-quote {
  font-family: var(--font-veranda);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--vr-ink);
}

.vr-moment-chip {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(128, 128, 128, 0.08);
  border: 1px solid var(--vr-border);
}

.vr-moment-badge {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vr-moment-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--vr-ink);
}

.vr-moment-sub {
  font-size: 0.76rem;
  color: var(--vr-muted);
}

.vr-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  border-top: 1px solid var(--vr-border);
  flex-wrap: wrap;
}

.vr-reactions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.vr-react-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  padding: 0.24rem 0.48rem;
  border-radius: 999px;
  border: 1px solid var(--vr-border);
  background: var(--vr-canvas);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--vr-ink);
  transition: transform 0.16s var(--spring-bounce), border-color 0.15s ease, background-color 0.15s ease;
}

.vr-react-btn.is-active {
  border-color: rgba(184, 58, 56, 0.35);
  background: rgba(184, 58, 56, 0.08);
  font-weight: 600;
}

.vr-react-btn:hover {
  border-color: var(--vr-accent);
  transform: translateY(-1px);
}

.vr-react-btn:active {
  transform: scale(0.92);
}

/* Authentic Veranda Seen-By Bar (Dashed divider + Max 3 Overlapping Avatars) */
.vr-seen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--vr-border);
  font-size: 0.72rem;
  color: var(--vr-muted);
}

.vr-seen-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.vr-seen-avatars {
  display: flex;
  align-items: center;
}

.vr-seen-avatars img {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  object-fit: cover;
  border: 1.5px solid var(--vr-card);
  margin-left: -6px;
}

.vr-seen-avatars img:first-child {
  margin-left: 0;
}

/* Veranda 5-Item Radial Spring Menu */
.vr-radial-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 4.65rem;
}

.vr-radial {
  position: relative;
  width: 52px;
  height: 52px;
}

.vr-fab {
  position: relative;
  z-index: 4;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--vr-accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(140, 38, 36, 0.32);
  border: 3px solid var(--vr-card);
  transition: transform 0.35s var(--spring-bounce);
}

.vr-radial.is-open .vr-fab {
  transform: rotate(45deg);
}

.vr-sat {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  margin-left: -16px;
  border-radius: 999px;
  background: var(--sat-bg);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(0, 0) scale(0.4);
  transition: transform 0.38s var(--spring-bounce), opacity 0.22s ease;
}

.vr-radial.is-open .vr-sat {
  opacity: 1;
  pointer-events: auto;
  transform: translate(
    calc(cos(var(--angle)) * 96px),
    calc(sin(var(--angle)) * -96px)
  ) scale(1);
}

.vr-sat:nth-child(1) { transition-delay: 0.02s; }
.vr-sat:nth-child(2) { transition-delay: 0.045s; }
.vr-sat:nth-child(3) { transition-delay: 0.07s; }
.vr-sat:nth-child(4) { transition-delay: 0.095s; }
.vr-sat:nth-child(5) { transition-delay: 0.12s; }

.vr-radial-hint {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  color: var(--vr-muted);
  text-align: right;
}

/* ==========================================================================
   NEXT ROOM CURIOSITY BRIDGE (ZEIGARNIK OPEN-LOOP BAR)
   ========================================================================== */

.room-bridge {
  margin-top: 0.85rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 13px;
  background: var(--paper-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.bridge-progress {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.bridge-ticks {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bridge-tick {
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--hairline-strong);
  transition: background-color 0.3s var(--spring), width 0.3s var(--spring);
}

.bridge-tick.is-visited {
  background: var(--ink-primary);
}

.bridge-tick.is-current {
  width: 24px;
  background: var(--accent-veranda);
}

.bridge-status {
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--ink-muted);
  white-space: nowrap;
}

.bridge-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.65rem 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  text-align: left;
}

.bridge-next-btn:hover {
  background: var(--paper-sunken);
  border-color: var(--hairline);
}

.bridge-kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.bridge-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.bridge-hook {
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

.bridge-arrow {
  color: var(--ink-primary);
  flex-shrink: 0;
  transition: transform 0.24s var(--spring);
}

.bridge-next-btn:hover .bridge-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   HOW WE BUILD (2x2 ARCHITECTURAL FLOORPLAN GRID)
   ========================================================================== */

.rules-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--hairline);
}

.rules-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.rules-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  padding-bottom: 0.35rem;
  flex-shrink: 0;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--paper-surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  overflow: hidden;
}

.rule-cell {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: background-color 0.22s ease;
}

.rule-cell:nth-child(odd) {
  border-right: 1px solid var(--hairline);
}

.rule-cell:nth-child(-n+2) {
  border-bottom: 1px solid var(--hairline);
}

.rule-cell:hover {
  background-color: rgba(233, 230, 221, 0.32);
}

.rule-cell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.rule-idx {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-veranda);
  letter-spacing: 0.04em;
}

.rule-icon {
  color: var(--ink-muted);
  transition: color 0.2s ease, transform 0.25s var(--spring);
}

.rule-cell:hover .rule-icon {
  color: var(--ink-primary);
  transform: translateY(-1px);
}

.rule-title {
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.015em;
}

.rule-desc {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 44ch;
}

/* Compact Editorial FAQ (AEO / GEO) */
.faq-block {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 0 2.5rem;
  border-top: 1px solid var(--hairline);
}

.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 0.95rem 0;
}

.faq-q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--ink-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-q::after {
  content: '-';
}

.faq-a {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT & COLOPHON FOOTER
   ========================================================================== */

.contact-section {
  padding: 0 0 3.5rem;
}

.contact-panel {
  background: var(--paper-surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-copy {
  max-width: 540px;
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 0.45rem;
}

.contact-text {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.58;
}

.email-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.4rem 0.4rem 0.95rem;
  border-radius: 10px;
  background: var(--paper-bg);
  border: 1px solid var(--hairline-strong);
}

.email-value {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--ink-primary);
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.48rem 0.85rem;
  border-radius: 7px;
  background: var(--ink-primary);
  color: var(--paper-surface);
  font-size: 0.78rem;
  font-weight: 600;
  transition: opacity 0.15s ease;
}

.copy-btn:hover {
  opacity: 0.86;
}

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 1.6rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-rooms {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.footer-rooms a:hover {
  color: var(--ink-primary);
}

/* Toast Notification */
.studio-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: var(--ink-primary);
  color: var(--paper-surface);
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s var(--spring);
}

.studio-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (960px, 720px, 420px, 375px, 320px)
   ========================================================================== */

@media (max-width: 960px) {
  .hero-top {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .room-panel {
    grid-template-columns: 1fr;
  }

  .room-info {
    border-right: none;
    border-bottom: 1px solid rgba(128, 128, 148, 0.2);
    padding: 1.5rem;
  }

  .room-info-veranda {
    border-bottom-color: #E5DFD3;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 56px;
  }

  .container,
  .header-inner {
    padding: 0 1rem;
  }

  .studio-hero {
    padding-top: calc(var(--header-height) + 1.35rem);
    padding-bottom: 2.25rem;
  }

  .room-dock {
    width: 100%;
  }

  .dock-tab {
    justify-content: center;
    padding: 0.5rem 0.45rem;
    gap: 0.45rem;
  }

  .dock-role {
    display: none;
  }

  .room-bridge {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.75rem 0.9rem;
  }

  .bridge-next-btn {
    width: 100%;
    padding: 0.45rem 0.6rem;
    background: var(--paper-bg);
    border-color: var(--hairline);
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
  }

  .bridge-hook {
    display: none;
  }

  .pg-hint-chip {
    display: none;
  }

  .rules-section {
    padding: 2.5rem 0;
  }

  .rules-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 1.15rem;
  }

  .rules-count {
    display: none;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .rule-cell {
    padding: 1.3rem 1.25rem;
  }

  .rule-cell:nth-child(odd) {
    border-right: none;
  }

  .rule-cell:nth-child(-n+2),
  .rule-cell:nth-child(3) {
    border-bottom: 1px solid var(--hairline);
  }

  .rule-cell:last-child {
    border-bottom: none;
  }

  .contact-panel {
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .email-strip {
    width: 100%;
    justify-content: space-between;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

@media (max-width: 420px) {
  .header-links {
    gap: 0.95rem;
  }

  .header-link {
    font-size: 0.8rem;
  }

  .studio-mark {
    width: 24px;
    height: 24px;
  }

  .studio-wordmark {
    font-size: 0.92rem;
  }

  .studio-headline {
    font-size: 2.15rem;
  }

  .studio-lead {
    font-size: 0.88rem;
  }

  .dock-icon {
    width: 22px;
    height: 22px;
  }

  .dock-name {
    font-size: 0.78rem;
  }

  .room-info {
    padding: 1.2rem;
    gap: 0.95rem;
  }

  .room-facts {
    font-size: 0.8rem;
    gap: 0.55rem;
  }

  .rs-body,
  .vr-sanctuary {
    padding: 1rem;
  }

  .vr-photo-img {
    width: 84px;
    height: 76px;
  }

  .vr-radial.is-open .vr-sat {
    transform: translate(
      calc(cos(var(--angle)) * 86px),
      calc(sin(var(--angle)) * -86px)
    ) scale(1);
  }
}

@media (max-width: 350px) {
  .vr-photo-moment {
    flex-direction: column;
    align-items: flex-start;
  }

  .vr-photo-img {
    width: 100%;
    height: 116px;
  }
  .header-inner,
  .container {
    padding: 0 0.8rem;
  }

  .header-links {
    gap: 0.65rem;
  }

  .header-link {
    font-size: 0.75rem;
  }

  .studio-wordmark {
    font-size: 0.85rem;
  }

  .dock-tab {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.45rem 0.25rem;
  }

  .dock-name {
    font-size: 0.72rem;
  }

  .studio-headline {
    font-size: 1.9rem;
  }

  .pc-export-mini span {
    display: none;
  }
}

/* ==========================================================================
   MOTION GRAPHICS CHOREOGRAPHY SYSTEM
   ========================================================================== */

:root {
  --mg-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mg-snap: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 1. SVG Stroke-Draw Brand Mark */
.fusia-stroke {
  stroke-dasharray: 105;
  stroke-dashoffset: 105;
  animation: fusiaStrokeDraw 0.85s var(--mg-ease) forwards;
}

.fusia-stroke.s1 { animation-delay: 0.05s; }
.fusia-stroke.s2 { animation-delay: 0.11s; }
.fusia-stroke.s3 { animation-delay: 0.17s; }
.fusia-stroke.s4 { animation-delay: 0.24s; }
.fusia-stroke.s5 { animation-delay: 0.30s; }
.fusia-stroke.s6 { animation-delay: 0.36s; }

.studio-brand:hover .fusia-stroke {
  animation: fusiaStrokeHover 0.65s var(--mg-ease) forwards;
}

@keyframes fusiaStrokeDraw {
  from { stroke-dashoffset: 105; }
  to { stroke-dashoffset: 0; }
}

@keyframes fusiaStrokeHover {
  0% { stroke-dashoffset: 105; }
  100% { stroke-dashoffset: 0; }
}

/* 2. Masked Editorial Opening Sequence */
.mg-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.mg-line {
  display: inline-block;
  transform: translateY(112%);
  opacity: 0;
  animation: mgLineRise 0.78s var(--mg-ease) var(--d, 0.1s) forwards;
}

.mg-intro {
  opacity: 0;
  transform: translateY(14px);
  animation: mgFadeRise 0.72s var(--mg-ease) var(--d, 0.2s) forwards;
}

@keyframes mgLineRise {
  0% {
    transform: translateY(112%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes mgFadeRise {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 3. Directional Kinetic Room Scene Cuts */
.room-panel.is-entering-forward .room-info > *,
.room-panel.is-entering-forward .room-playground {
  animation: mgCutForward 0.48s var(--mg-ease) both;
}

.room-panel.is-entering-backward .room-info > *,
.room-panel.is-entering-backward .room-playground {
  animation: mgCutBackward 0.48s var(--mg-ease) both;
}

.room-panel.is-active .room-info > *:nth-child(1) { animation-delay: 0.02s; }
.room-panel.is-active .room-info > *:nth-child(2) { animation-delay: 0.06s; }
.room-panel.is-active .room-info > *:nth-child(3) { animation-delay: 0.10s; }
.room-panel.is-active .room-info > *:nth-child(4) { animation-delay: 0.14s; }
.room-panel.is-active .room-info > *:nth-child(5) { animation-delay: 0.18s; }
.room-panel.is-active .room-info > *:nth-child(6) { animation-delay: 0.22s; }
.room-panel.is-active .room-playground { animation-delay: 0.08s; }

@keyframes mgCutForward {
  from {
    opacity: 0;
    transform: translateX(14px) translateY(6px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
    filter: blur(0);
  }
}

@keyframes mgCutBackward {
  from {
    opacity: 0;
    transform: translateX(-14px) translateY(6px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
    filter: blur(0);
  }
}

/* 5. Living Micro-Motion Inside Playgrounds */
/* Proofcut vector callout stroke draw-in */
.pc-pin-arrow path {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  transition: stroke-dashoffset 0.55s var(--mg-ease);
}

.pc-pin.is-focused .pc-pin-arrow path {
  stroke-dashoffset: 0;
}

/* Resonia concentric soundwave ripples behind spinning vinyl */
.rs-vinyl-stage {
  position: relative;
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}

.rs-ripple {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 1.5px solid rgba(139, 92, 246, 0.55);
  opacity: 0;
  pointer-events: none;
}

.rs-vinyl-stage.is-playing .rs-ripple.r1 {
  animation: rsRippleOut 2.2s ease-out infinite;
}

.rs-vinyl-stage.is-playing .rs-ripple.r2 {
  animation: rsRippleOut 2.2s ease-out 1.1s infinite;
}

@keyframes rsRippleOut {
  0% {
    transform: scale(0.95);
    opacity: 0.65;
  }
  100% {
    transform: scale(1.62);
    opacity: 0;
  }
}

/* Veranda smooth moment card crossfade */
.vr-card.is-swapping .vr-card-head,
.vr-card.is-swapping .vr-card-body {
  animation: vrSwapIn 0.34s var(--mg-ease) both;
}

@keyframes vrSwapIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 6. Scroll-Drawn Architectural Hairlines & Masked Reveals */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.68s var(--mg-ease) var(--rd, 0s), transform 0.68s var(--mg-ease) var(--rd, 0s);
}

.js-motion [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 7. Magnetic Button Transition Support */
.room-btn,
.copy-btn {
  will-change: transform;
}

/* Full Reduced Motion Accessibility Safety Net */
@media (prefers-reduced-motion: reduce) {
  .fusia-stroke,
  .mg-line,
  .mg-intro,
  .rs-ripple {
    animation: none !important;
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .js-motion [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
