/* Molded v4.3: English-only. Type + maker layout repair (mobile-first). */
:root { --f-body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --f-disp-ar: Archivo, Inter, system-ui, sans-serif; --f-disp-en: Archivo, Inter, system-ui, sans-serif; --bar: 56px; }
body { font-family: var(--f-body); }
.hero4__title, .h2, .band__title { letter-spacing: -.02em; }

/* maker header: light, slim */
.maker__bar { background: #fff; color: var(--ink); border-bottom: 1px solid #e6e6e3; padding: .35rem var(--pad); min-height: var(--bar); }
.back { min-height: 40px; border: 1px solid #d6d6d2; color: var(--ink); padding: .2rem .9rem; font-weight: 600; }
.back:hover { background: #f1f1ef; }
.maker__title { margin: 0; text-align: center; font-family: var(--f-disp-en); font-weight: 700; font-size: clamp(1.05rem, 3.6vw, 1.35rem); letter-spacing: -.01em; }
.maker__draftlink { color: var(--acc-d); }
#maker, #draft { outline: none; }
.maker__body { gap: 1rem; padding-top: .75rem; }

/* preview box */
.stagebox { position: relative; }
.vswitch { position: absolute; top: 10px; left: 10px; z-index: 4; display: inline-flex; gap: 2px; padding: 3px; background: rgba(255,255,255,.94); border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.vs { min-height: 36px; padding: .2rem .9rem; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-weight: 600; font-size: .9rem; cursor: pointer; }
.vs[aria-pressed="true"] { background: var(--acc-d); color: #fff; }
.vs--play { background: var(--acc-d); color: #fff; }
.fold { position: relative; }
.fold__host { width: 100%; aspect-ratio: 1 / 1; background: #F1F1EF; border-radius: var(--r); overflow: hidden; touch-action: none; }
.fold__canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.fold__ctl { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; gap: .6rem; padding: 4px 6px 4px 4px; background: rgba(255,255,255,.94); border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.fold__ctl input[type=range] { flex: 1; min-width: 0; height: 36px; accent-color: var(--acc); direction: ltr; margin: 0; }
.stagemeta { margin-top: .5rem; }
.honest-tag { margin: 0 0 .4rem; }
.stage__note { font-size: .82rem; color: var(--muted); margin: .3rem 0; }

@media (max-width: 899px) {
  .stagewrap { display: contents; }
  .stagebox { position: sticky; top: var(--bar); z-index: 3; margin-inline: calc(var(--pad) * -1); padding: .4rem var(--pad) .5rem; background: var(--paper); box-shadow: 0 8px 10px -10px rgba(0,0,0,.25); }
  .stagebox .vswitch { top: calc(.4rem + 10px); left: calc(var(--pad) + 10px); }
  .stagebox .stage, .stagebox .fold__host { aspect-ratio: auto; height: clamp(210px, 33vh, 330px); max-height: none; }
  .stagebox .fold__ctl { left: calc(var(--pad) + 10px); right: calc(var(--pad) + 10px); bottom: calc(.5rem + 10px); }
  .thumb { width: 52px; height: 52px; }
  #maker { scroll-padding-top: calc(var(--bar) + 33vh + 24px); scroll-padding-bottom: 96px; }
}
@media (min-width: 900px) {
  .maker__body { padding-top: 1.2rem; }
  .stagewrap { top: calc(var(--bar) + 16px); }
  .fold__host { max-width: min(100%, 74vh); margin-inline: auto; }
  .fold__ctl { left: 50%; right: auto; width: min(420px, calc(100% - 20px)); transform: translateX(-50%); }
}

/* dock: light, compact */
.dock { background: #fff; color: var(--ink); border-top: 1px solid #e3e3e0; box-shadow: 0 -4px 16px rgba(0,0,0,.08); grid-template-columns: 1fr 1fr; padding: .5rem var(--pad) calc(.5rem + env(safe-area-inset-bottom)); gap: .6rem; }
.dock__name { display: none; }
.dock .btn { min-height: 48px; border-radius: 999px; justify-content: center; box-shadow: none; }
.dock .btn:hover { transform: none; box-shadow: none; }
.dock .btn--kraft { background: var(--acc); color: #fff; border-color: transparent; order: 2; }
.dock .btn--ghost-dark { border: 1px solid #cfcfca; color: var(--ink); background: #fff; order: 1; }

/* panel cards: calmer */
.panel .sec { border-radius: 20px; }
.hero4__title { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; max-width: 14ch; }
.sw { width: 78px; overflow-wrap: anywhere; hyphens: auto; } .swatches--sm .sw { width: 66px; }
@media (max-width:359px){ .dock .btn{ font-size:.88rem; padding-inline:.5rem; white-space:nowrap } }
