:root {
    --background: #000000;
    --surface: #0b0b0b;
    --cream: #f2e5d0;
    --body-text: #cfc7ba;
    --muted: #777777;
    --red: #b22a22;
    --header-height: 72px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    background: var(--background);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--cream);
    font-family: Georgia, "Times New Roman", serif;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    background: rgba(0, 0, 0, 0.96);
    border-bottom: 1px solid #25110f;
    backdrop-filter: blur(10px);
}

.header-inner {
    width: min(1180px, calc(100% - 40px));
    min-height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--cream);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-logo {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-text {
    color: var(--cream);
}

.brand-text span {
    color: var(--red);
}

.navigation ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 12px 10px;
    color: var(--body-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
    color: var(--red);
}

.nav-link.pending {
    color: #69645e;
    cursor: default;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #45201d;
    border-radius: 4px;
    color: var(--cream);
    cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-lines {
    position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
    position: absolute;
    left: 0;
    content: "";
}

.menu-toggle-lines::before {
    top: -6px;
}

.menu-toggle-lines::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
    top: 0;
    transform: rotate(-45deg);
}

.page-content {
    min-height: calc(100vh - var(--header-height) - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 30px;
    text-align: center;
}

.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}

.home-hero-image {
    display: block;
    width: min(100%, 840px);
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px;
}

h1 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    letter-spacing: 3px;
    line-height: 1.1;
    text-transform: uppercase;
}

.tagline {
    margin-bottom: 25px;
    color: var(--red);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.description {
    max-width: 650px;
    margin: 0 auto;
    color: var(--body-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
}

.coming-soon {
    display: inline-block;
    margin-top: 35px;
    padding: 12px 28px;
    border: 1px solid #8e231d;
    color: var(--cream);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.site-footer {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    color: var(--muted);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    text-align: center;
}

.content-page {
    min-height: calc(100vh - var(--header-height) - 70px);
    padding: 80px 20px 72px;
}

.content-shell {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.page-hero {
    max-width: 820px;
    margin: 0 auto 72px;
    text-align: center;
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--red);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.page-hero h1 {
    margin-bottom: 22px;
}

.page-intro {
    max-width: 720px;
    margin: 0 auto;
    color: var(--body-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.button {
    min-width: 190px;
    padding: 14px 22px;
    border: 1px solid var(--red);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
    background: var(--red);
    color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #8e211b;
    border-color: #8e211b;
}

.button-secondary {
    background: transparent;
    color: var(--cream);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: var(--cream);
    border-color: var(--cream);
    color: var(--background);
}

.featured-section,
.platform-section {
    margin-top: 72px;
}

.about-legacy-figure {
    width: min(100%, 260px);
    margin: 0 auto 30px;
    text-align: center;
}

.about-legacy-photo {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #45201d;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.about-legacy-caption {
    margin-top: 10px;
    color: var(--body-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

.listen-page {
    padding: 42px 20px 34px;
}

.listen-page .page-hero {
    margin-bottom: 0;
}

.listen-tab-list {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.listen-tab {
    min-width: 126px;
    padding: 10px 18px;
    background: transparent;
    border-color: var(--red);
    color: var(--cream);
    cursor: pointer;
}

.listen-tab:hover,
.listen-tab:focus-visible,
.listen-tab[aria-selected="true"] {
    background: var(--red);
    color: #ffffff;
}

.listen-tab-stage {
    width: min(100%, 720px);
    min-height: 352px;
    margin: 30px auto 0;
}

.listen-tab-panel[hidden] {
    display: none;
}

.listen-embed {
    width: 100%;
    margin: 0 auto;
}

.listen-embed iframe {
    display: block;
    width: 100%;
    border: 0;
}

.listen-embed--spotify iframe {
    height: 352px;
    border-radius: 12px;
}

.listen-embed--youtube {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--surface);
    border: 1px solid #3d1a17;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.listen-embed--youtube iframe {
    height: 100%;
}

.listen-embed--tiktok .tiktok-embed {
    width: 100%;
    min-width: 288px;
    max-width: 720px;
    margin: 0 auto;
}

.section-heading {
    margin-bottom: 26px;
    text-align: center;
}

.section-heading h2 {
    color: var(--cream);
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.video-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--surface);
    border: 1px solid #3d1a17;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.platform-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    background: linear-gradient(145deg, #111111, #080808);
    border: 1px solid #2d2a27;
    color: var(--cream);
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.platform-card:hover,
.platform-card:focus-visible {
    border-color: var(--red);
    transform: translateY(-3px);
}

.partner-logo-wrap {
    width: 100%;
    height: 180px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #2d2a27;
}

.partner-logo-wrap--trucklinx {
    background: #081b46;
}

.partner-logo-wrap--trucklinx .partner-logo {
    width: 124px;
    height: 124px;
    border-radius: 22%;
}

.partner-logo-wrap--aj-frankie {
    background: #ffffff;
}

.partner-logo-wrap--aj-frankie .partner-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 56%;
}

.partner-logo {
    display: block;
    max-width: 100%;
}

/* Compact partner cards used only on partners.php. */
.platform-section[aria-labelledby="featured-partners-title"] .platform-grid {
    gap: 16px;
}

.platform-section[aria-labelledby="featured-partners-title"] .platform-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 18px;
    align-items: center;
    padding: 22px;
    border-radius: 16px;
}

.platform-section[aria-labelledby="featured-partners-title"] .partner-logo-wrap {
    width: 76px;
    height: 76px;
    margin: 0;
    grid-column: 1;
    grid-row: 1;
    border-radius: 14px;
}

.platform-section[aria-labelledby="featured-partners-title"]
    .partner-logo-wrap--trucklinx .partner-logo {
    width: 64px;
    height: 64px;
}

.platform-section[aria-labelledby="featured-partners-title"] .platform-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.12rem;
    line-height: 1.25;
}

.platform-section[aria-labelledby="featured-partners-title"] .platform-detail {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 20px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.platform-section[aria-labelledby="featured-partners-title"] .platform-action {
    width: fit-content;
    margin-top: 20px;
    grid-column: 1 / -1;
    grid-row: 3;
    padding: 10px 14px;
    border: 1px solid var(--red);
    border-radius: 6px;
    line-height: 1;
}

.platform-name {
    color: var(--cream);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.platform-detail {
    margin-top: 12px;
    color: var(--body-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

.platform-action {
    margin-top: auto;
    padding-top: 22px;
    color: var(--red);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .header-inner {
        width: min(100% - 32px, 760px);
    }

    .menu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        padding: 12px 16px 20px;
        background: var(--surface);
        border-bottom: 1px solid #45201d;
        box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
    }

    .navigation.open {
        display: block;
    }

    .navigation ul {
        width: min(100%, 760px);
        margin: 0 auto;
        display: grid;
        gap: 2px;
    }

    .nav-link {
        padding: 14px 12px;
        border-bottom: 1px solid #1d1d1d;
        font-size: 0.9rem;
        text-align: left;
    }
}

@media (min-width: 981px) {
    .navigation {
        display: block !important;
    }
}

@media (max-width: 600px) {
    :root {
        --header-height: 64px;
    }

    .header-inner {
        width: calc(100% - 28px);
    }

    .brand {
        max-width: calc(100vw - 94px);
        overflow: hidden;
        gap: 9px;
        font-size: 0.78rem;
        letter-spacing: 0.09em;
        text-overflow: ellipsis;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand-text {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .page-content {
        padding: 32px 16px 22px;
    }

    .home-hero-image {
        width: 100%;
        margin-bottom: 22px;
    }

    h1 {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
        letter-spacing: 2px;
    }

    .tagline {
        font-size: 0.95rem;
        letter-spacing: 1px;
        line-height: 1.5;
    }

    .description {
        font-size: 1rem;
    }

    .coming-soon {
        padding: 11px 20px;
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .content-page {
        padding: 52px 16px 48px;
    }

    .page-hero {
        margin-bottom: 52px;
    }

    .page-intro {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-actions {
        display: grid;
    }

    .listen-tab-list {
        gap: 8px;
    }

    .listen-tab {
        min-width: 0;
        flex: 1;
        padding: 10px 8px;
        font-size: 0.72rem;
    }

    .listen-tab-stage {
        min-height: 152px;
        margin-top: 24px;
    }

    .listen-embed--spotify iframe {
        height: 352px;
    }

    .button {
        width: 100%;
    }

    .featured-section,
    .platform-section {
        margin-top: 52px;
    }

    .platform-grid {
        grid-template-columns: 1fr;
    }

    .platform-card {
        min-height: 170px;
        padding: 24px;
    }

    .partner-logo-wrap {
        height: 160px;
    }

    .platform-section[aria-labelledby="featured-partners-title"] .platform-card {
        grid-template-columns: 64px minmax(0, 1fr);
        column-gap: 14px;
        padding: 20px;
    }

    .platform-section[aria-labelledby="featured-partners-title"] .partner-logo-wrap {
        width: 64px;
        height: 64px;
    }

    .platform-section[aria-labelledby="featured-partners-title"]
        .partner-logo-wrap--trucklinx .partner-logo {
        width: 54px;
        height: 54px;
    }

    .platform-section[aria-labelledby="featured-partners-title"] .platform-name {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
