/* Preview-only studio IA. Copy to website/styles/ on promote. */

html {
    scroll-padding-top: 4.75rem;
}

body:has(.website-preview-banner) {
    scroll-padding-top: 7.25rem;
}

/* Banner + nav stick as one unit so hash targets clear the bar. */
.website-preview-banner {
    position: relative;
    z-index: auto;
}

.site-chrome {
    position: sticky;
    top: 0;
    z-index: 9000;
    background: color-mix(in srgb, var(--bg-page) 92%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-chrome .site-header {
    max-width: 920px;
    margin: 0 auto;
    padding: 10px 22px 12px;
}

.site-mark {
    flex: 0 0 auto;
    display: block;
    line-height: 0;
}

.site-mark img {
    display: block;
    height: 26px;
    width: auto;
}

@media (max-width: 560px) {
    .site-mark {
        align-self: center;
    }
}

.studio-lead {
    max-width: 38rem;
    margin: 0 auto 8px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.studio-lead strong {
    color: var(--text);
    font-weight: 600;
}

.studio-lead--tight {
    margin-bottom: 16px;
}

.wrapper--home #featured {
    margin-bottom: 28px;
}

.trailer-frame {
    position: relative;
    width: 100%;
    margin: 20px 0 0;
    aspect-ratio: 16 / 9;
    background: #080a0e;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.trailer-frame video,
.trailer-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-list li {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.news-list li:last-child {
    border-bottom: 1px solid var(--border);
}

.news-list time {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent-warm);
    padding-top: 3px;
}

.news-list p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.news-follow {
    margin-top: 18px;
}

.about-section p {
    margin: 0 0 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

.about-section p:last-child {
    margin-bottom: 0;
}

.game-shelf {
    display: grid;
    gap: 18px;
}

.game-card {
    display: grid;
    grid-template-columns: minmax(140px, 220px) 1fr;
    gap: 20px;
    align-items: center;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.game-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.game-card h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
}

.game-card .game-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    color: var(--accent-warm);
    margin-bottom: 8px;
}

.game-card p {
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-footer {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.nav-footer a {
    padding: 14px 6px;
    gap: 6px;
}

@media (max-width: 640px) {
    .nav-footer {
        grid-template-columns: 1fr;
    }

    .nav-footer a {
        padding: 15px;
        gap: 10px;
    }

    .game-card {
        grid-template-columns: 1fr;
    }

    .news-list li {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
