/* =========================================================
   canvas.css — fixed 1920×1080 canvas frame + letterbox
   + mobile landing page + too-small warning
   The body becomes pure black (the letterbox). The canvas is
   a 1920×1080 absolutely-positioned frame that JS scales and
   centers. Everything else in the site lives inside .canvas.
   ========================================================= */

/* The body IS the letterbox. Pure black, no scroll, no margin. */
html, body {
  background: #000;
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 100vh;
}

/* The canvas viewport fills the window. The inner .canvas is
   transformed inside it by JS. */
#canvas-viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

/* The canvas itself — fixed 1920×1080. JS applies
   transform: translate(Xpx, Ypx) scale(S). transform-origin
   is top-left so translate + scale compose predictably. */
#canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  transform-origin: top left;
  /* Hidden until JS initializes — prevents a flash of giant unscaled
     content before the first applyLayout() runs */
  opacity: 0;
  animation: canvas-fade-in 0.3s ease 0.1s forwards;
}

@keyframes canvas-fade-in {
  to { opacity: 1; }
}

/* =========================================================
   MOBILE LANDING — shown below 900px wide
   Simple vertical layout. Studio info + contact. No canvas.
   ========================================================= */
#mobile-landing {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  color: #f4ecdc;
  padding: 48px 28px;
  flex-direction: column;
  justify-content: space-between;
  font-family: "Archivo Narrow", sans-serif;
  overflow-y: auto;
  z-index: 100;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mobile-brand-v {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232,180,117,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #e8b475;
}
.mobile-brand-text {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: #f4ecdc;
}
.mobile-brand-sub {
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(244,236,220,0.55);
  margin-top: 2px;
  text-transform: uppercase;
}

.mobile-center {
  padding: 40px 0;
}
.mobile-eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #e8b475;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.mobile-title {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 44px;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #f4ecdc;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.mobile-title em { font-style: normal; color: #e8b475; font-weight: 200; letter-spacing: 0.04em; }
.mobile-body {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(244,236,220,0.85);
  margin-bottom: 28px;
}
.mobile-note {
  border: 1px solid rgba(232,180,117,0.25);
  border-radius: 4px;
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(244,236,220,0.72);
  background: rgba(232,180,117,0.04);
}
.mobile-note strong {
  display: block;
  color: #e8b475;
  font-weight: 700;
  font-family: "Archivo", sans-serif;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  font-size: 12px;
  text-transform: uppercase;
}

.mobile-contact {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(244,236,220,0.75);
  padding-top: 24px;
  border-top: 1px solid rgba(244,236,220,0.12);
}
.mobile-contact-row { margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; }
.mobile-contact-label { color: rgba(244,236,220,0.5); text-transform: uppercase; }
.mobile-contact-val { color: #f4ecdc; text-align: right; }
.mobile-contact-val a { color: #e8b475; text-decoration: none; }

/* =========================================================
   TOO-SMALL MESSAGE — shown on desktop below 1280×720
   Message that the window is too small for the full experience.
   ========================================================= */
#too-small {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  color: #f4ecdc;
  align-items: center;
  justify-content: center;
  padding: 40px;
  font-family: "Archivo Narrow", sans-serif;
  z-index: 100;
}
.too-small-inner {
  max-width: 520px;
  text-align: center;
}
.too-small-title {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: #f4ecdc;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.too-small-title em { font-style: normal; color: #e8b475; font-weight: 200; letter-spacing: 0.04em; }
.too-small-body {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244,236,220,0.75);
}
.too-small-mono {
  display: inline-block;
  font-family: "Space Mono", monospace;
  font-size: 13px;
  color: #e8b475;
  letter-spacing: 0.1em;
  margin-top: 20px;
}
