/* =============================================================================
   Injajashe — Luminous Obsidian + Persian Gold (Stitch final delivery package)
   Project 3399608557619737730 · پکیج نهایی تحویل به طراح
   Scoped to storefront body.stitch-bg so admin/vendor stay on Heritage cream kit.
   ============================================================================= */

body.stitch-bg {
    color-scheme: dark;

    /* —— Obsidian museum surfaces —— */
    --bg-deep-canvas: #080e1b;
    --bg-surface: #0d1320;
    --bg-card: #131927;
    --bg-elevated: #1a2235;

    --background: #080e1b;
    --on-background: #f8fafc;
    --surface: #0d1320;
    --surface-bright: #161b29;
    --surface-dim: #060a14;
    --surface-variant: #1e2435;
    --surface-tint: #d4af37;
    --surface-container-lowest: #0a101c;
    --surface-container-low: #131927;
    --surface-container: #161b29;
    --surface-container-high: #1a2235;
    --surface-container-highest: #242a38;
    --on-surface: #f8fafc;
    --on-surface-variant: #94a3b8;
    --inverse-surface: #f8fafc;
    --inverse-on-surface: #080e1b;
    --outline: #64748b;
    --outline-variant: rgba(212, 175, 55, 0.22);

    /* Gold as brand primary; deep navy containers for contrast blocks */
    --primary: #d4af37;
    --on-primary: #080e1b;
    --primary-container: #1a2235;
    --on-primary-container: #f3e5ab;
    --primary-fixed: #f3e5ab;
    --primary-fixed-dim: #d4af37;
    --on-primary-fixed: #080e1b;
    --on-primary-fixed-variant: #3b2f00;
    --inverse-primary: #735c00;

    --secondary: #f3e5ab;
    --on-secondary: #080e1b;
    --secondary-container: rgba(212, 175, 55, 0.16);
    --on-secondary-container: #f3e5ab;
    --secondary-fixed: #f3e5ab;
    --secondary-fixed-dim: #d4af37;
    --on-secondary-fixed: #080e1b;
    --on-secondary-fixed-variant: #3b2f00;

    --tertiary: #1eb2a6;
    --on-tertiary: #041412;
    --tertiary-container: #1a365d;
    --on-tertiary-container: #d7e3fd;
    --tertiary-fixed: #f3e5ab;
    --tertiary-fixed-dim: #d4af37;
    --on-tertiary-fixed: #241a00;
    --on-tertiary-fixed-variant: #574500;

    --error: #ffb4ab;
    --on-error: #690005;
    --error-container: #93000a;
    --on-error-container: #ffdad6;

    /* Brand accents */
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-muted: rgba(212, 175, 55, 0.35);
    --gold-hairline: rgba(212, 175, 55, 0.18);
    --gold-glow-tint: rgba(212, 175, 55, 0.12);
    --accent-gold: #d4af37;
    --accent-turquoise: #1eb2a6;
    --accent-lapis: #1a365d;
    --accent-emerald: #1eb2a6;
    --accent-terracotta: #d4af37;
    --persian-blue: #1a365d;
    --lazurde: #080e1b;
    --frame-border: var(--gold-muted);

    --radius-frame: 12px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --shadow-sm: 0 8px 20px -12px rgba(0, 0, 0, 0.65);
    --shadow-md: 0 16px 32px -16px rgba(0, 0, 0, 0.75);
    --shadow-lg: 0 28px 48px -18px rgba(0, 0, 0, 0.85);
    --shadow-museum: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 25px 0 var(--gold-glow-tint);
    --shadow-hover: 0 30px 60px -15px rgba(0, 0, 0, 0.95), 0 0 35px 2px rgba(212, 175, 55, 0.25);
    --shadow-primary: 0 8px 24px rgba(212, 175, 55, 0.28);
    --glass-bg: rgba(13, 19, 32, 0.88);
    --glass-border: var(--gold-hairline);

    --bg: var(--background);
    --bg-dark: var(--background);
    --bg-card: var(--bg-card);
    --bg-header: var(--bg-surface);
    --bg-input: var(--surface-container);
    --gold: var(--gold-primary);
    --gold-border: var(--gold-primary);
    --text: var(--on-surface);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: var(--gold-hairline);
    --border-gold: var(--gold-primary);
    --gold-glow: 0 0 24px rgba(212, 175, 55, 0.18);
    --shadow-card: var(--shadow-museum);
}

body.stitch-bg {
    background-color: var(--bg-deep-canvas);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 175, 55, 0.08), transparent 55%),
        radial-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px);
    background-size: auto, 32px 32px;
    color: var(--text-primary);
}

/* —— Museum art frame (final package) —— */
.art-frame-wrapper,
body.stitch-bg .sx-art-card {
    background: var(--bg-surface);
    border: 1px solid var(--gold-muted);
    box-shadow: var(--shadow-museum);
    border-radius: var(--radius-frame);
    padding: 14px;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.art-frame-wrapper:hover,
body.stitch-bg .sx-art-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-hover);
}

.corner-ornament {
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--gold-primary);
    border-style: solid;
    pointer-events: none;
    opacity: 0.8;
    z-index: 2;
}
.corner-ornament.top-right { top: 7px; right: 7px; border-width: 1.5px 1.5px 0 0; }
.corner-ornament.top-left  { top: 7px; left: 7px; border-width: 1.5px 0 0 1.5px; }
.corner-ornament.bottom-right { bottom: 7px; right: 7px; border-width: 0 1.5px 1.5px 0; }
.corner-ornament.bottom-left  { bottom: 7px; left: 7px; border-width: 0 0 1.5px 1.5px; }

.passepartout-container,
body.stitch-bg .sx-art-card-mat {
    position: relative;
    background: radial-gradient(circle at 50% 35%, rgba(30, 36, 53, 0.7) 0%, rgba(8, 14, 27, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 10px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3 / 4;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.passepartout-container::after,
body.stitch-bg .sx-art-card-mat::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px dashed rgba(212, 175, 55, 0.22);
    border-radius: 4px;
    pointer-events: none;
    z-index: 1;
}

.passepartout-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
    position: relative;
    z-index: 2;
}
.passepartout-badges .edition {
    color: var(--gold-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}
.passepartout-badges .seal {
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.passepartout-media,
body.stitch-bg .sx-art-card-mat-inner {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.35);
}
.passepartout-media img,
body.stitch-bg .sx-art-card-mat-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    display: block;
}
.art-frame-wrapper:hover .passepartout-media img,
body.stitch-bg .sx-art-card:hover .sx-art-card-mat-inner img {
    transform: scale(1.05);
}

.museum-plaque,
body.stitch-bg .sx-art-card-body {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.museum-plaque .meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}
.museum-plaque .meta-row .branch {
    color: var(--gold-primary);
    font-weight: 600;
}

.museum-plaque .artwork-title,
body.stitch-bg .sx-art-card h3 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    margin: 6px 0 3px 0;
    line-height: 1.35;
}

.museum-plaque .artist-name,
body.stitch-bg .sx-art-card .artist {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0 0 12px 0;
}

body.stitch-bg .sx-art-card-tag {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 4px;
    font-size: 11px;
    padding: 2px 6px;
}

body.stitch-bg .sx-art-card .meta {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 11px;
}

.museum-plaque .action-row,
body.stitch-bg .sx-art-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    margin-top: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.museum-plaque .price-block .label {
    font-size: 10px;
    color: var(--text-muted);
}
.museum-plaque .price-block .amount,
body.stitch-bg .sx-art-card-foot .price {
    font-size: 15px;
    font-weight: 800;
    color: var(--gold-light);
}

.btn-gold,
body.stitch-bg .sx-btn-primary,
body.stitch-bg .btn-gold,
body.stitch-bg .btn-primary {
    background: linear-gradient(135deg, #d4af37, #aa820a);
    color: #080e1b;
    border: none;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
    font-weight: 700;
}
.btn-gold:hover,
body.stitch-bg .sx-btn-primary:hover,
body.stitch-bg .btn-gold:hover,
body.stitch-bg .btn-primary:hover {
    opacity: 0.92;
    filter: brightness(1.05);
    color: #080e1b;
}

.btn-secondary.museum,
body.stitch-bg .sx-btn-ghost,
body.stitch-bg .sx-btn-outline-light {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary.museum:hover,
body.stitch-bg .sx-btn-ghost:hover,
body.stitch-bg .sx-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--gold-muted);
}

/* —— Chrome: dark topnav —— */
body.stitch-bg .stitch-topnav,
body.stitch-bg .stitch-topnav--light,
body.stitch-bg .stitch-topnav--dark {
    background: color-mix(in srgb, var(--bg-surface) 92%, transparent);
    border-bottom: 1px solid var(--gold-hairline);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
body.stitch-bg .stitch-brand-text {
    color: var(--gold-light);
    font-weight: 800;
}
body.stitch-bg .stitch-nav a {
    color: var(--text-secondary);
}
body.stitch-bg .stitch-nav a:hover {
    color: var(--gold-light);
}
body.stitch-bg .stitch-nav a.is-active {
    background: linear-gradient(135deg, #d4af37, #aa820a);
    color: #080e1b;
}
body.stitch-bg .stitch-icon-btn,
body.stitch-bg .stitch-search-desktop input {
    color: var(--text-primary);
}
body.stitch-bg .stitch-search-desktop {
    background: var(--surface-container);
    border: 1px solid var(--gold-hairline);
    border-radius: 9999px;
}
body.stitch-bg .stitch-search-desktop input::placeholder {
    color: var(--text-muted);
}
body.stitch-bg .stitch-cart-badge {
    background: var(--gold-primary);
    color: #080e1b;
}

body.stitch-bg .mobile-drawer {
    background: var(--bg-surface);
    border-inline-start: 1px solid var(--gold-hairline);
    color: var(--text-primary);
}
body.stitch-bg .mobile-drawer a {
    color: var(--text-secondary);
}
body.stitch-bg .mobile-drawer a:hover {
    color: var(--gold-light);
}

/* —— Section chrome —— */
body.stitch-bg .sx-eyebrow {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 4px;
}
body.stitch-bg .sx-section-head h2,
body.stitch-bg .sx-featured-head h2,
body.stitch-bg .sx-hero-copy h1,
body.stitch-bg .sx-gal-banner h1,
body.stitch-bg .sx-detail-info h1 {
    color: var(--text-primary);
}
body.stitch-bg .sx-hero-copy h1 .accent {
    color: var(--gold-primary);
    background: linear-gradient(135deg, #f3e5ab, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
body.stitch-bg .sx-hero-lead,
body.stitch-bg .sx-gal-banner p {
    color: var(--text-secondary);
}
body.stitch-bg .sx-section-link {
    color: var(--gold-light);
}
body.stitch-bg .sx-section-link:hover {
    color: var(--gold-primary);
}

body.stitch-bg .sx-hero {
    background: transparent;
}
body.stitch-bg .sx-hero-chip {
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.28);
}
body.stitch-bg .sx-hero-frame,
body.stitch-bg .sx-passe,
body.stitch-bg .sx-detail-panel,
body.stitch-bg .sx-buy-panel,
body.stitch-bg .sx-cat-card,
body.stitch-bg .sx-artist-card,
body.stitch-bg .sx-cta-panel,
body.stitch-bg .sx-gal-filters,
body.stitch-bg .sx-gal-count {
    background: var(--bg-card);
    border: 1px solid var(--gold-hairline);
    box-shadow: var(--shadow-museum);
    color: var(--text-primary);
}
body.stitch-bg .sx-hero-frame-meta .tag {
    color: var(--gold-primary);
}
body.stitch-bg .sx-cat-card h3,
body.stitch-bg .sx-artist-card h3 {
    color: var(--text-primary);
}
body.stitch-bg .sx-artist-card p,
body.stitch-bg .sx-cat-card:hover {
    color: var(--text-secondary);
}
body.stitch-bg .sx-artist-card:hover {
    border-color: var(--gold-primary);
}
body.stitch-bg .sx-cta-panel {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.14), transparent 50%),
        linear-gradient(135deg, #0d1320 0%, #131927 50%, #1a365d 100%);
}
body.stitch-bg .sx-cta-badge {
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.15);
}
body.stitch-bg .sx-cta-copy h2 {
    color: var(--text-primary);
}
body.stitch-bg .sx-cta-copy p {
    color: var(--text-secondary);
}

body.stitch-bg .sx-gal-banner {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(212, 175, 55, 0.1), transparent 45%),
        var(--bg-deep-canvas);
    border-bottom: 1px solid var(--gold-hairline);
}
body.stitch-bg .mp-chip {
    background: var(--surface-container);
    color: var(--text-secondary);
    border: 1px solid var(--gold-hairline);
}
body.stitch-bg .mp-chip.is-active,
body.stitch-bg .mp-chip:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    border-color: var(--gold-muted);
}

body.stitch-bg .sx-passe-inner {
    background: radial-gradient(circle at 50% 30%, rgba(30, 36, 53, 0.7) 0%, rgba(8, 14, 27, 0.98) 100%);
    border: 1px solid var(--gold-muted);
}
body.stitch-bg .sx-passe-label {
    color: var(--gold-primary);
    letter-spacing: 0.12em;
}
body.stitch-bg .sx-spec-row .label {
    color: var(--text-muted);
}
body.stitch-bg .sx-spec-row .value {
    color: var(--text-primary);
}
body.stitch-bg .sx-buy-panel .amount {
    color: var(--gold-light);
}
body.stitch-bg .sx-detail-artist {
    color: inherit;
}
body.stitch-bg .sx-detail-artist h3 {
    color: var(--text-primary);
}

body.stitch-bg .site-footer.sx-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--gold-hairline);
    color: var(--text-secondary);
}
body.stitch-bg .site-footer.sx-footer .footer-col h4,
body.stitch-bg .site-footer.sx-footer .footer-brand h4 {
    color: var(--gold-light);
}
body.stitch-bg .site-footer.sx-footer a:hover {
    color: var(--gold-primary);
}

body.stitch-bg .product-card-wrap .product-actions .action-btn {
    background: var(--bg-elevated);
    border-color: var(--gold-hairline);
    color: var(--gold-light);
}
body.stitch-bg .product-card-wrap .product-actions .action-btn:hover,
body.stitch-bg .product-card-wrap .product-actions .wishlist-btn.is-active {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

body.stitch-bg .card,
body.stitch-bg .empty-state,
body.stitch-bg .auth-box,
body.stitch-bg .checkout-summary {
    background: var(--bg-card);
    border-color: var(--gold-hairline);
    color: var(--text-primary);
}

body.stitch-bg .form-control,
body.stitch-bg .site-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
body.stitch-bg .site-form select,
body.stitch-bg .site-form textarea {
    background-color: var(--surface-container);
    border-bottom-color: var(--gold-muted);
    color: var(--text-primary);
}
body.stitch-bg .form-label,
body.stitch-bg .form-group label {
    color: var(--gold-light);
}

/* Art branches row on home */
.sx-branches {
    padding: 3.5rem 0 1rem;
}
.sx-branches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .sx-branches-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
    .sx-branches-grid { grid-template-columns: repeat(8, 1fr); }
}
.sx-branch-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--gold-hairline);
    border-radius: var(--radius-frame);
    transition: border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.sx-branch-card:hover {
    border-color: var(--gold-primary);
    color: var(--gold-light);
    transform: translateY(-3px);
}
.sx-branch-card .material-symbols-outlined {
    font-size: 1.5rem;
    color: var(--gold-primary);
}
.sx-branch-card span.label {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.35;
}

/* Trust / AR strip */
.sx-trust {
    padding: 2.5rem 0 4rem;
}
.sx-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 768px) {
    .sx-trust-grid { grid-template-columns: repeat(3, 1fr); }
}
.sx-trust-item {
    padding: 1.25rem 1.25rem 1.35rem;
    background: var(--bg-card);
    border: 1px solid var(--gold-hairline);
    border-radius: var(--radius-frame);
}
.sx-trust-item h3 {
    margin: 0.5rem 0 0.35rem;
    font-size: 1rem;
    color: var(--gold-light);
}
.sx-trust-item p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.sx-trust-item .material-symbols-outlined {
    color: var(--accent-turquoise);
    font-size: 1.5rem;
}

/* Artist studio / directory */
body.stitch-bg .sx-artist-banner {
    background:
        radial-gradient(ellipse at 30% 0%, rgba(212, 175, 55, 0.12), transparent 50%),
        var(--bg-surface);
    border-bottom: 1px solid var(--gold-hairline);
}
body.stitch-bg .sx-artist-banner h1 { color: var(--text-primary); }
body.stitch-bg .sx-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--gold-hairline);
    box-shadow: var(--shadow-museum);
    color: var(--text-primary);
}
body.stitch-bg .art-dir {
    background: var(--bg-deep-canvas);
    color: var(--text-primary);
}
body.stitch-bg .art-dir-row {
    background: var(--bg-card);
    border: 1px solid var(--gold-hairline);
}
body.stitch-bg .art-dir-row h2 { color: var(--gold-light); }
body.stitch-bg .art-dir-bio,
body.stitch-bg .art-dir-meta { color: var(--text-secondary); }

/* —— Final chrome: header must stay one line, cards must stay readable —— */
@media (min-width: 900px) {
    body.stitch-bg .stitch-topnav,
    body.stitch-bg .stitch-topnav--dark,
    body.stitch-bg .stitch-topnav--light,
    body.stitch-bg .stitch-topnav-inner {
        height: 68px;
    }
    body.stitch-bg .stitch-topnav-inner {
        gap: 10px;
        padding-inline: 1rem;
    }
    body.stitch-bg .stitch-brand {
        flex-shrink: 0;
        gap: 8px;
    }
    body.stitch-bg .stitch-brand img {
        width: 36px;
        height: 36px;
    }
    body.stitch-bg .stitch-brand-text {
        white-space: nowrap;
        max-width: none;
        font-size: 1rem;
        line-height: 1;
        color: var(--gold-light);
    }
    body.stitch-bg .stitch-nav {
        display: flex;
        flex: 1 1 auto;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-width: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }
    body.stitch-bg .stitch-nav::-webkit-scrollbar { display: none; }
    body.stitch-bg .stitch-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
        line-height: 1.2;
        font-size: 0.75rem;
        letter-spacing: 0;
        padding: 6px 8px;
        border-radius: 999px;
    }
    body.stitch-bg .stitch-search-desktop {
        max-width: 148px;
        flex-shrink: 1;
    }
    body.stitch-bg .stitch-search-desktop input {
        width: 86px;
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    body.stitch-bg .stitch-nav-actions .sx-btn {
        white-space: nowrap;
        padding: 0.4rem 0.7rem;
        min-height: 36px;
        font-size: 0.75rem;
    }
    body.stitch-bg .stitch-icon-btn {
        width: 36px;
        height: 36px;
    }
}

body.stitch-bg .sx-hero h1 .accent {
    text-decoration: none;
    background: linear-gradient(135deg, #f3e5ab, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

body.stitch-bg .product-card-wrap .product-actions {
    top: 4.75rem !important;
    inset-inline-end: auto !important;
    inset-inline-start: 1.15rem !important;
    z-index: 4;
}

@media (max-width: 899px) {
    body.stitch-bg .sx-hero {
        min-height: 0;
        padding: 2.5rem 1.1rem 2rem;
    }
    body.stitch-bg .stitch-brand-text {
        white-space: nowrap;
        color: var(--gold-light);
    }
}

@keyframes obsidian-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}
body.stitch-bg .sx-hero-copy > *,
body.stitch-bg .sx-hero-art,
body.stitch-bg .art-frame-wrapper,
body.stitch-bg .sx-branch-card {
    animation: obsidian-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
body.stitch-bg .sx-hero-art { animation-delay: 0.1s; }
@media (prefers-reduced-motion: reduce) {
    body.stitch-bg .sx-hero-copy > *,
    body.stitch-bg .sx-hero-art,
    body.stitch-bg .art-frame-wrapper,
    body.stitch-bg .sx-branch-card { animation: none; }
}
