/* Symmetra — /websites/ live studio (interactive hero) */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro stage" "fields stage" "opts stage"; grid-template-rows: auto auto 1fr; column-gap: clamp(32px, 5vw, 72px); align-items: start; position: relative; }
.st-intro { grid-area: intro; } .st-fields { grid-area: fields; } .st-opts { grid-area: opts; } .st-stage { grid-area: stage; }
.st-opts .studio-controls { margin-top: 18px; }
.studio-controls { display: grid; gap: 18px; margin-top: 32px; max-width: 520px; }
.studio-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.studio-controls label, .studio-controls legend { display: block; font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 9px; padding: 0; }
.studio-controls input { width: 100%; height: 48px; padding: 0 14px; background: var(--ink-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius); font: 400 16px/1 var(--font-body); transition: border-color .2s ease, box-shadow .2s ease; }
.studio-controls input::placeholder { color: var(--text-3); }
.studio-controls input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,180,74,.18); }
.studio-controls fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 14px; border-radius: 999px; background: transparent; color: var(--text-2); border: 1px solid var(--line-strong); font: 500 14px/1 var(--font-body); cursor: pointer; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #15130e; }
.sw { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--ink); box-shadow: 0 0 0 1px var(--line-strong); background: var(--c); cursor: pointer; transition: box-shadow .2s ease, transform .2s ease; }
.sw:hover { transform: scale(1.08); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--text); }
.studio-split { display: flex; flex-wrap: wrap; gap: 18px 32px; }

.studio-stage { display: grid; justify-items: center; gap: 18px; position: sticky; top: 96px; }
.device { width: 300px; max-width: 100%; border-radius: 26px; padding: 10px; background: #1b1b19; border: 1px solid var(--line-strong); box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4); transition: width .5s cubic-bezier(.2,.7,.2,1), border-radius .5s ease; }
.device[data-view="desktop"] { width: 100%; border-radius: 12px; }
.device-bar { display: flex; align-items: center; gap: 5px; padding: 4px 8px 10px; }
.device-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a36; }
.device-url { margin-left: 8px; flex: 1; min-width: 0; padding: 5px 10px; border-radius: 999px; background: #111110; color: var(--text-3); font: 400 11px/1 var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mini { --mc: #d9b44a; --mc-on: #15130e; --m-bg: #101214; --m-fg: #f3f1ec; --m-fg2: #a9a59c; --m-card: #1a1d20; --m-line: rgba(255,255,255,.1); container-type: inline-size; background: var(--m-bg); color: var(--m-fg); border-radius: 18px; overflow: hidden; font-family: var(--font-body); transition: background-color .4s ease, color .4s ease; }
.device[data-view="desktop"] .mini { border-radius: 6px; }
.mini[data-theme="light"] { --m-bg: #fbfaf7; --m-fg: #16181a; --m-fg2: #5d6166; --m-card: #ffffff; --m-line: rgba(0,0,0,.1); }
.m-nav { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--m-line); }
.m-logo { font-weight: 600; font-size: 13px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.m-logo::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; background: var(--mc); margin-right: 7px; transition: background-color .4s ease; }
.m-links { display: none; margin-left: auto; font-size: 11px; color: var(--m-fg2); white-space: nowrap; }
.m-call { margin-left: auto; flex: none; font-size: 11px; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: var(--mc); color: var(--mc-on); transition: background-color .4s ease, color .4s ease; }
.m-hero { padding: 26px 16px 22px; display: grid; gap: 11px; background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--mc) 22%, transparent), transparent 60%); }
.m-kicker { justify-self: start; font: 500 9.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mc); transition: color .4s ease; }
.m-h { margin: 0; font: 400 25px/1.08 var(--font-display); letter-spacing: -.02em; text-wrap: balance; color: var(--m-fg); }
.m-p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--m-fg2); }
.m-cta { display: flex; gap: 8px; margin-top: 4px; justify-self: start; }
.m-btn { font-size: 12px; font-weight: 600; padding: 10px 14px; border-radius: 6px; background: var(--mc); color: var(--mc-on); transition: background-color .4s ease, color .4s ease; }
.m-btn.ghost { background: transparent; color: var(--m-fg); box-shadow: inset 0 0 0 1px var(--m-line); }
.m-svcs { list-style: none; margin: 0; padding: 4px 16px 16px; display: grid; gap: 8px; }
.m-svcs li { padding: 12px; border-radius: 8px; background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); display: grid; gap: 3px; transition: background-color .4s ease; }
.m-svcs b { font-size: 12.5px; font-weight: 600; }
.m-svcs span { font-size: 11px; color: var(--m-fg2); line-height: 1.4; }
.m-areas { margin: 0 16px 16px; padding: 11px 12px; border-radius: 8px; font-size: 11.5px; color: var(--m-fg); background: color-mix(in srgb, var(--mc) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mc) 35%, transparent); }
.m-foot { padding: 12px 16px; border-top: 1px solid var(--m-line); font: 400 9.5px/1.3 var(--font-mono); color: var(--m-fg2); }
@container (min-width: 440px) {
  .m-links { display: block; }
  .m-call { margin-left: 14px; }
  .m-hero { padding: 40px 28px 30px; }
  .m-h { font-size: 36px; max-width: 13em; }
  .m-p { font-size: 13.5px; max-width: 34em; }
  .m-svcs { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px 28px 20px; }
  .m-areas { margin: 0 28px 20px; }
  .m-foot { padding: 14px 28px; }
}

/* build animation: each block starts as a skeleton, then resolves */
.mini [data-b] { transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1), filter .45s ease; }
.mini [data-b].sk { opacity: .9; color: transparent !important; background: var(--m-line) !important; box-shadow: none !important; border-radius: 5px; transform: translateY(6px); filter: saturate(0); animation: sk 1s ease-in-out infinite; }
.mini [data-b].sk * { visibility: hidden; }
.mini [data-b].sk::before { visibility: hidden; }
@keyframes sk { 50% { opacity: .45; } }

.buildlog { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font: 400 11.5px/1 var(--font-mono); letter-spacing: .04em; color: var(--text-3); }
.buildlog li { display: inline-flex; align-items: center; gap: 6px; transition: color .3s ease; }
.buildlog li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--text-3); transition: background-color .3s ease, border-color .3s ease; }
.buildlog li.ok { color: var(--text-2); }
.buildlog li.ok::before { background: var(--gold); border-color: var(--gold); }
.studio-cap { margin: 0; font-size: 13px; color: var(--text-3); text-align: center; max-width: 34em; }

@media (max-width: 940px) {
  .studio { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "fields" "stage" "opts"; grid-template-rows: none; }
  .studio-stage { position: static; margin-top: 28px; }
  .st-opts .studio-controls { margin-top: 28px; }
  .view-toggle { display: none; }
}
@media (max-width: 420px) { .studio-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .device, .mini, .mini [data-b] { transition: none; }
  .mini [data-b].sk { animation: none; }
}

/* ---------- v2: auto demo, enquiry toast, tilt, scroll motion ---------- */
.device { position: relative; transition: width .5s cubic-bezier(.2,.7,.2,1), border-radius .5s ease, transform .3s ease-out; }
.studio-status { margin: 0; display: inline-flex; align-items: center; gap: 8px; font: 500 11.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.studio-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: st-pulse 1.6s ease-in-out infinite; }
.studio-status.live i { animation: none; background: #2fa66a; }
@keyframes st-pulse { 50% { opacity: .25; transform: scale(.7); } }
.m-toast { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(28,30,32,.95); color: #f3f1ec; font-family: var(--font-body); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.12); opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.m-toast.on { opacity: 1; transform: none; }
.m-toast svg { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: #25d366; color: #fff; }
.m-toast b { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; }
.m-toast span { display: block; font-size: 10.5px; line-height: 1.3; color: #a9a59c; }
.device[data-view="desktop"] .m-toast { left: auto; width: 280px; }
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; pointer-events: none; }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease var(--rv-d, 0ms), transform .6s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0ms); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .studio-status i { animation: none; }
  .m-toast { transition: none; }
}

/* ---------- v3: richer preview, phone that scrolls, saved demo link ---------- */
.m-logo { display: flex; align-items: center; gap: 8px; }
.m-logo::before { content: none; }
.m-logo span { overflow: hidden; text-overflow: ellipsis; }
.m-mono { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--mc); color: var(--mc-on); font: 600 12px/1 var(--font-body); font-style: normal; transition: background-color .4s ease, color .4s ease; }
.m-hero { background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--mc) 26%, transparent), transparent 60%), radial-gradient(90% 70% at 0% 100%, color-mix(in srgb, var(--mc) 10%, transparent), transparent 70%); }
.m-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.m-chips span { font-size: 10px; font-weight: 500; padding: 5px 8px; border-radius: 999px; color: var(--m-fg); background: var(--m-card); box-shadow: inset 0 0 0 1px var(--m-line); white-space: nowrap; }
.m-chips span::before { content: "\2713"; margin-right: 4px; font-weight: 700; color: color-mix(in srgb, var(--mc) 75%, var(--m-fg)); }
.m-art { position: relative; height: 108px; margin-top: 6px; border-radius: 12px; overflow: hidden; color: var(--mc-on); background: linear-gradient(135deg, var(--mc), color-mix(in srgb, var(--mc) 55%, #000)); }
.m-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 15% 0%, rgba(255,255,255,.35), transparent 60%); }
.m-art svg { position: absolute; right: -6px; bottom: -22px; width: 128px; height: 128px; opacity: .3; }
.m-badge { position: absolute; left: 12px; bottom: 12px; display: grid; gap: 2px; padding: 8px 10px; border-radius: 9px; background: rgba(255,255,255,.95); color: #16181a; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.m-badge b { font-size: 11.5px; font-weight: 600; line-height: 1.2; }
.m-badge em { font-style: normal; font-size: 10px; line-height: 1.2; color: #5d6166; }
.m-svcs li { grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; }
.m-svcs li b, .m-svcs li span { grid-column: 2; }
.m-num { grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 500 10px/1 var(--font-mono); font-style: normal; color: color-mix(in srgb, var(--mc) 75%, var(--m-fg)); background: color-mix(in srgb, var(--mc) 14%, transparent); }
.m-band { margin: 0 16px 16px; padding: 14px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--mc); color: var(--mc-on); transition: background-color .4s ease, color .4s ease; }
.m-band b { font: 400 16px/1.15 var(--font-display); }
.m-band .m-btn { flex: none; background: var(--mc-on); color: var(--mc); }
@container (min-width: 440px) {
  .m-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 24px; align-items: center; }
  .m-hero > * { grid-column: 1; }
  .m-hero > .m-art { grid-column: 2; grid-row: 1 / span 5; height: 100%; min-height: 150px; margin: 0; }
  .m-band { margin: 0 28px 20px; padding: 18px 20px; }
  .m-band b { font-size: 20px; }
}
.device[data-view="phone"] .mini { max-height: max(400px, min(640px, calc(100vh - 330px))); overflow-y: auto; scrollbar-width: none; }
.device[data-view="phone"] .mini::-webkit-scrollbar { display: none; }
.studio-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; max-width: 100%; }
.studio-actions[hidden] { display: none; }
.studio-actions .chip { border-color: var(--gold); color: var(--text); }
.studio-actions span { font-size: 13px; color: var(--text-2); overflow-wrap: anywhere; text-align: center; }
@media (max-width: 940px) {
  .device[data-view="phone"] .mini { max-height: 620px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 88%, transparent); mask-image: linear-gradient(#000 88%, transparent); }
}
main .page-hero.hero { overflow: clip; }
