:root {
    --tv-black: #050509;
    --tv-ink: #0b0c14;
    --tv-panel: rgba(255, 255, 255, .075);
    --tv-line: rgba(255, 255, 255, .14);
    --tv-text: #f7f4ee;
    --tv-muted: rgba(247, 244, 238, .66);
    --tv-gold: #00d9ff;
    --tv-red: #8c1418;
    --tv-blue: #142850;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    color: var(--tv-text);
    background:
        radial-gradient(circle at 15% 5%, rgba(0, 217, 255, .16), transparent 26vw),
        radial-gradient(circle at 88% 18%, rgba(140, 20, 24, .28), transparent 32vw),
        linear-gradient(180deg, #050509 0%, #0b0c14 45%, #050509 100%);
    font-family: Arial, Helvetica, sans-serif;
}

body.page-sastv {
    --sas-signal: var(--tv-gold);
}

a { color: inherit; text-decoration: none; }

body.sastv-section-only {
    background: #050509;
}

body.sastv-section-only .sastv-section {
    padding-top: 34px;
    padding-bottom: 42px;
}

body.page-sastv .sas-test-header {
    background: rgba(0, 0, 0, .86);
    border-bottom-color: rgba(255, 255, 255, .10);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .34);
}

body.page-sastv .sas-test-mobile-nav {
    background: rgba(0, 0, 0, .96);
}

body.page-sastv .sas-test-footer {
    background: #000;
    border-top-color: rgba(255, 255, 255, .10);
}

body.page-sastv .sas-test-brand em,
body.page-sastv .sas-test-footer-follow strong,
body.page-sastv .sas-test-footer-contact strong,
body.page-sastv .sas-test-footer-top {
    color: var(--tv-gold);
}

body.page-sastv .sas-test-brand span,
body.page-sastv .sas-test-brand strong,
body.page-sastv .sas-test-brand em {
    font-size: 26px;
}

body.page-sastv .sas-test-brand:hover,
body.page-sastv .sas-test-brand:focus-visible,
body.page-sastv .sas-test-brand:active {
    box-shadow: inset 0 0 0 1px rgba(0, 217, 255, .88);
}

body.page-sastv .sas-test-menu-combo > button:hover,
body.page-sastv .sas-test-mobile-nav button:hover {
    color: var(--tv-gold);
    box-shadow: inset 0 -2px 0 var(--tv-gold);
}

body.page-sastv .sas-test-menu-combo > a:hover,
body.page-sastv .sas-test-menu-combo > span a:hover,
body.page-sastv .sas-test-menu-action a:hover,
body.page-sastv .sas-test-mobile-nav a:hover {
    color: var(--tv-gold);
    box-shadow: none;
}

body.page-sastv .sas-test-menu-hours > span a:hover,
body.page-sastv .sas-test-menu-action-pair button:hover,
body.page-sastv .sas-test-menu-group-inline button:hover {
    box-shadow: none;
}

body.page-sastv .sas-test-footer a:hover,
body.page-sastv .sas-test-footer a:focus-visible,
body.page-sastv .sas-test-footer a:active {
    color: var(--tv-gold);
    box-shadow: inset 0 -2px 0 var(--tv-gold);
}

body.page-sastv .sas-test-footer-signature-frame a:hover,
body.page-sastv .sas-test-footer-signature-frame a:focus-visible,
body.page-sastv .sas-test-footer-signature-frame a:active {
    box-shadow: none;
}

.sastv-hero {
    position: relative;
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: #050509;
}

.sastv-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sastv-hero-video {
    z-index: -3;
    opacity: 0;
    transition: opacity .45s ease;
}

.sastv-hero.is-video-ready .sastv-hero-video {
    opacity: .88;
}

.sastv-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 5, 9, .92) 0%, rgba(5, 5, 9, .58) 46%, rgba(5, 5, 9, .20) 100%),
        linear-gradient(0deg, #050509 0%, rgba(5, 5, 9, 0) 32%);
}

.sastv-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -15vw;
    bottom: 6vw;
    width: 42vw;
    height: 42vw;
    background: radial-gradient(circle, rgba(140, 20, 24, .28), transparent 66%);
}

.sastv-hero-content {
    align-self: end;
    width: min(760px, 86vw);
    padding: 120px 0 12vh 7vw;
}

.sastv-kicker {
    margin: 0 0 14px;
    color: var(--tv-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

h1,
h2 {
    margin: 0;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

h1 {
    max-width: 980px;
    font-size: clamp(55px, 9vw, 134px);
    line-height: .86;
}

.sastv-hero-content p:not(.sastv-kicker) {
    max-width: 560px;
    margin: 24px 0 28px;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(17px, 1.65vw, 23px);
    line-height: 1.42;
}

.sastv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sastv-actions a,
.sastv-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    color: var(--tv-ink);
    background: var(--tv-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform .22s ease, background-color .22s ease;
}

.sastv-actions a::after { content: "↘"; margin-left: 12px; font-size: 17px; }
.sastv-actions a:hover,
.sastv-footer a:hover { transform: translateY(-2px); background: #8fecff; }

.sastv-section {
    padding: clamp(58px, 8vw, 116px) 0 0;
    scroll-margin-top: 86px;
}

.sastv-section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 0 4vw 22px;
}

.sastv-section-title h2 {
    font-size: clamp(32px, 5.4vw, 74px);
    line-height: .9;
}

.sastv-subtitle { padding-top: clamp(46px, 6vw, 78px); }

.sastv-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, .85fr));
    gap: 12px;
    padding: 0 4vw;
}

.sastv-card {
    position: relative;
    display: grid;
    overflow: hidden;
    min-width: 0;
    background: var(--tv-panel);
    border: 1px solid var(--tv-line);
    box-shadow: 0 16px 54px rgba(0, 0, 0, .22);
    transition: transform .22s ease, border-color .22s ease, background-color .22s ease;
}

.sastv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 217, 255, .52);
    background: rgba(255, 255, 255, .11);
}

.sastv-card video,
.sastv-gala-card iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 0;
    object-fit: cover;
}

.sastv-card span,
.sastv-gala-card div {
    display: grid;
    gap: 4px;
    min-height: 64px;
    padding: 14px 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.sastv-card-large {
    grid-row: span 2;
}

.sastv-card-square {
    grid-row: span 2;
}

.sastv-card-large video {
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
}

.sastv-card-square video {
    aspect-ratio: 1 / 1;
}

.sastv-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    overflow: visible;
    padding: 0 4vw 12px;
}

.sastv-rail-short { grid-template-columns: repeat(auto-fit, minmax(270px, .34fr)); }

.sastv-prepro-section {
    scroll-margin-top: 92px;
}

.sastv-card-note {
    min-height: 220px;
    align-content: end;
}

.sastv-card-note span {
    min-height: 0;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(18px, 2.2vw, 28px);
    line-height: 1.15;
}

.sastv-gala-section {
    margin-top: clamp(50px, 7vw, 96px);
    padding-bottom: clamp(70px, 9vw, 124px);
    background:
        linear-gradient(155deg, rgba(10, 11, 40, .86), rgba(20, 40, 80, .68) 45%, rgba(140, 20, 24, .58)),
        #0b0c14;
}

.sastv-gala-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 4vw;
}

.sastv-gala-card {
    overflow: hidden;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .13);
}

.sastv-gala-card:first-child {
    grid-column: 1 / -1;
}

.sastv-gala-card strong {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
}

.sastv-gala-card span {
    color: var(--tv-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

@media (max-width: 820px) {
    body.page-sastv .sas-test-brand span,
    body.page-sastv .sas-test-brand strong,
    body.page-sastv .sas-test-brand em { font-size: 22px; }
    .sastv-hero-content { width: 100%; padding: 108px 6vw 14vh; }
    .sastv-actions a { width: 100%; justify-content: center; }
    .sastv-section-title { display: block; padding-right: 5vw; padding-left: 5vw; }
    .sastv-feature-grid,
    .sastv-rail,
    .sastv-rail-short,
    .sastv-gala-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100vw - 10vw - 12px) / 2);
        grid-template-columns: none;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 5vw;
        padding-left: 5vw;
        scroll-padding: 5vw;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .sastv-card,
    .sastv-gala-card {
        scroll-snap-align: start;
    }

    .sastv-card-large,
    .sastv-card-square { grid-row: auto; }
    .sastv-card-large video,
    .sastv-card-square video { aspect-ratio: 16 / 9; }

    .sastv-gala-card:first-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after { transition: none !important; }
}

/* Shared header collapse state, kept after page-specific header colors. */
body[class] .sas-test-header.is-hidden {
    right: 0 !important;
    left: auto !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 16px 4vw 0 0 !important;
    background: transparent !important;
    border-bottom-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body[class] .sas-test-header.is-hidden .sas-test-brand,
body[class] .sas-test-header.is-hidden .sas-test-nav {
    display: none !important;
}
