/* Quick Vid edit screen, presented like the host app window. */

.studio-stage {
    padding: 100px 24px;
    background: #141414;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.studio-stage-inner {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}

.studio-stage .studio-tag {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f0a050;
}

.article-content .studio-stage h2,
.studio-stage h2 {
    margin: 0 auto 16px;
    max-width: 16ch;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #ffffff;
}

.article-content .studio-stage .studio-lede,
.studio-stage .studio-lede {
    max-width: 40rem;
    margin: 0 auto;
    color: #86868b;
    font-size: 1.05rem;
    line-height: 1.65;
}

.studio-frame {
    display: block;
    width: 100%;
    margin: 40px auto 0;
    color: inherit;
    text-decoration: none;
}

.studio-win {
    background: #0a0a0a;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.studio-frame:hover .studio-win,
.studio-frame:focus-visible .studio-win {
    transform: translateY(-3px);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(0, 0, 0, 0.6);
}

.studio-titlebar {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    background: #161616;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.studio-lights {
    display: flex;
    gap: 8px;
    margin-right: 4px;
}

.studio-lights i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.studio-lights i:nth-child(1) { background: #ff5f57; }
.studio-lights i:nth-child(2) { background: #febc2e; }
.studio-lights i:nth-child(3) { background: #28c840; }

.studio-ttl {
    font-weight: 600;
    font-size: 13px;
    color: #f5f5f7;
}

.studio-win img {
    display: block;
    width: 100%;
    height: auto;
}

.article-content .studio-stage .studio-note,
.studio-stage .studio-note {
    margin: 20px 0 0;
    color: #6e6e73;
    font-size: 0.85rem;
}

.studio-links {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.studio-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 980px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.article-content .studio-stage .studio-links a,
.studio-links a {
    text-decoration: none;
}

.studio-links .studio-primary {
    background: linear-gradient(135deg, #d4722c 0%, #f0a050 50%, #ffd700 100%);
    color: #0a0a0a;
}

.article-content .studio-stage .studio-links .studio-primary,
.studio-links .studio-primary {
    color: #0a0a0a;
}

.studio-links .studio-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 114, 44, 0.4);
}

.studio-links .studio-ghost {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    background: transparent;
}

.article-content .studio-stage .studio-links .studio-ghost,
.studio-links .studio-ghost {
    color: #ffffff;
}

.studio-links .studio-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* The essay column is narrow. The stage should span the viewport, like the host app band. */
.article-content .studio-stage {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 56px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

@media (max-width: 720px) {
    .studio-stage {
        padding: 72px 16px;
    }

    .studio-links a {
        width: 100%;
    }
}

/* Shared suite handoff: render on MetalCloud, edit in Studio. */
.suite-band { padding: 72px 48px; }
.suite-panel {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    grid-template-areas: "head shot" "copy shot";
    gap: 22px 40px;
    align-items: stretch;
    padding: 36px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        radial-gradient(640px 280px at 100% 0%, rgba(212,114,44,0.18), transparent 62%),
        linear-gradient(180deg, #171717 0%, #101010 100%);
    box-shadow: 0 28px 70px rgba(0,0,0,0.35);
    position: relative;
    overflow: hidden;
}
.suite-panel::before {
    content: "";
    position: absolute;
    top: 0; left: 36px; right: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--metal-amber, #f0a050), transparent);
}
.suite-head { grid-area: head; }
.suite-copy { grid-area: copy; }
.suite-band .section-tag {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--metal-amber, #f0a050);
}
.suite-band h2 {
    max-width: none;
    margin: 0;
    white-space: nowrap;
    font-size: clamp(1.7rem, 2.55vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #ffffff;
}
.suite-lede {
    margin: 0;
    max-width: 36rem;
    color: var(--gray-text, #86868b);
    font-size: 1.05rem;
    line-height: 1.65;
}
.suite-domain {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
    padding: 14px 14px 14px 18px;
    border-radius: 18px;
    text-decoration: none;
    color: #ffffff;
    background: rgba(10,10,10,0.55);
    border: 1px solid rgba(240,160,80,0.45);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.suite-domain:hover {
    border-color: var(--metal-amber, #f0a050);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(212,114,44,0.22);
}
.suite-domain small {
    display: block;
    margin-bottom: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--metal-amber, #f0a050);
}
.suite-domain-url {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(0.84rem, 1.4vw, 1.05rem);
    letter-spacing: -0.03em;
}
.suite-go {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gradient-metal, linear-gradient(135deg, #d4722c 0%, #f0a050 50%, #ffd700 100%));
    color: #0a0a0a;
}
.suite-go svg { width: 18px; height: 18px; }
.suite-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
}
.suite-tools li {
    padding: 6px 12px;
    border-radius: 980px;
    border: 1px solid rgba(255,255,255,0.12);
    color: #d5d5d8;
    font-size: 0.8rem;
    font-weight: 500;
}
.suite-actions { margin-top: 22px; }
.suite-band .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 980px;
    border: 1px solid rgba(255,255,255,0.22);
    color: #ffffff;
    background: rgba(10,10,10,0.35);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background .2s;
}
.suite-band .btn-ghost:hover { background: rgba(255,255,255,0.06); }
.suite-fine {
    margin: 14px 0 0;
    max-width: 36rem;
    color: var(--gray-muted, #6e6e73);
    font-size: 0.88rem;
    line-height: 1.55;
}
.suite-band .studio-frame {
    grid-area: shot;
    margin: 0;
    align-self: center;
    width: 100%;
}
.suite-band .studio-win { border-radius: 16px; }

@media (max-width: 960px) {
    .suite-band { padding: 56px 20px; }
    .suite-panel {
        grid-template-columns: 1fr;
        grid-template-areas: "head" "copy" "shot";
        gap: 22px;
        padding: 22px 18px 18px;
    }
    .suite-panel::before { left: 18px; right: 18px; }
    .suite-band h2 {
        white-space: nowrap;
        font-size: clamp(1.28rem, 6.4vw, 1.85rem);
    }
}

/* Inside the essay column, span the viewport the way the old stage did. */
.article-content .suite-band {
    width: 100cqw;
    margin-left: calc(50% - 50cqw);
    margin-right: calc(50% - 50cqw);
    margin-top: 56px;
    margin-bottom: 8px;
    box-sizing: border-box;
    line-height: 1.5;
}
.article-content .suite-band h2 { margin: 0; }
.article-content .suite-band p { margin-bottom: 0; }
.article-content .suite-band a,
.article-content .suite-band a:hover { color: inherit; text-decoration: none; }
.article-content .suite-band .suite-tools { margin: 18px 0 0; padding: 0; }
.article-content .suite-band .suite-tools li { margin: 0; }
