/* ==========================================================================
   COLOSIAN MARKETS — MARKETING
   Private creator-market intelligence
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

body.theme-colosian {
    position: relative;
    background: #101214;
}

/* ==========================================================================
   PAGE BACKDROP
   ========================================================================== */

body.theme-colosian::before {
    content: "";

    position: fixed;
    inset: 0;

    z-index: -4;

    background-image:
        url("/assets/images/colosianmarketsportfolio.png");

    background-size:
        max(1680px, 118vw) auto;

    background-position:
        center 22%;

    background-repeat:
        no-repeat;

    opacity: 0.2;

    filter:
        saturate(0.72) contrast(1.08) brightness(0.82);

    pointer-events: none;
}

body.theme-colosian::after {
    content: "";

    position: fixed;
    inset: 0;

    z-index: -3;

    background:
        linear-gradient(90deg,
            rgba(15, 17, 19, 0.98) 0%,
            rgba(15, 17, 19, 0.90) 30%,
            rgba(15, 17, 19, 0.70) 62%,
            rgba(15, 17, 19, 0.82) 100%),
        linear-gradient(180deg,
            rgba(15, 17, 19, 0.28) 0%,
            rgba(15, 17, 19, 0.60) 55%,
            rgba(15, 17, 19, 0.96) 100%);

    pointer-events: none;
}

/* ==========================================================================
   APP BACKGROUND
   ========================================================================== */

.theme-colosian .app-bg {
    opacity: 0.2;
}

.theme-colosian .app-bg__gradient {
    opacity: 0.18;
}

.theme-colosian .app-bg__glow {
    opacity: 0.12;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 80;

    background: transparent;
}

.site-header .nav {
    min-height: 108px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   BRAND
   ========================================================================== */

.brand {
    display: inline-flex;
    align-items: center;

    flex-shrink: 0;

    text-decoration: none;
}

.brand__logo {
    display: block;

    width: 178px;
    min-width: 178px;
    max-width: 178px;
    height: auto;

    object-fit: contain;

    border-radius: 0;
}

.brand__text {
    font-size: 1.75rem;
    font-weight: 600;

    letter-spacing: -0.03em;

    line-height: 1;
}

.brand__accent {
    color: var(--color-brand);
}

/* ==========================================================================
   MENU
   ========================================================================== */

.market-menu {
    position: relative;
}

.market-menu__toggle {
    appearance: none;

    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    background:
        rgba(255, 255, 255, 0.035);

    color: var(--text);

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius: 16px;

    cursor: pointer;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.market-menu__toggle:hover {
    transform:
        translateY(-1px);

    background:
        rgba(255, 255, 255, 0.07);

    border-color:
        rgba(255, 255, 255, 0.18);
}

.market-menu__toggle:focus {
    outline: none;
}

.market-menu__toggle:focus-visible {
    outline: none;

    border-color:
        var(--border-strong);

    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.05);
}

.market-menu__toggle svg {
    display: block;

    width: 22px;
    height: 22px;
}

.market-menu__panel {
    position: absolute;

    top:
        calc(100% + 0.65rem);

    right: 0;

    width: 230px;

    padding:
        0.5rem 0;

    overflow: hidden;

    background:
        rgba(17, 19, 21, 0.97);

    color:
        var(--text);

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 20px;

    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.52);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    z-index: 100;
}

.market-menu__panel[hidden] {
    display: none;
}

.market-menu__item {
    display: block;

    padding:
        0.9rem 1rem;

    color:
        var(--text);

    font-size: 0.9rem;
    font-weight: 620;

    text-decoration: none;

    transition:
        background 150ms ease,
        color 150ms ease;
}

.market-menu__item:hover {
    background:
        rgba(255, 255, 255, 0.06);
}

.market-menu__item--primary {
    color: #ffffff;
}

.market-menu__divider {
    height: 1px;

    margin:
        0.35rem 0;

    background:
        var(--border);
}

/* ==========================================================================
   GENERIC
   ========================================================================== */

.markets-home {
    width: 100%;

    overflow-x: hidden;
}

.button-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 1.15em;

    line-height: 1;

    transition:
        transform 160ms ease;
}

.button:hover .button-arrow {
    transform:
        translateX(4px);
}

.eyebrow {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.46);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.26em;

    text-transform: uppercase;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.markets-hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    box-sizing: border-box;

    padding:
        130px 0 64px;

    overflow: hidden;
}

.markets-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    pointer-events: none;

    background:
        radial-gradient(circle at 70% 44%,
            rgba(255, 255, 255, 0.05),
            transparent 30%),
        linear-gradient(90deg,
            rgba(16, 18, 20, 0.98) 0%,
            rgba(16, 18, 20, 0.86) 38%,
            rgba(16, 18, 20, 0.34) 76%,
            rgba(16, 18, 20, 0.45) 100%);
}

/* ==========================================================================
   HERO BACKDROP
   ========================================================================== */

.hero-backdrop {
    position: absolute;

    inset: 0;

    z-index: 0;

    overflow: hidden;

    pointer-events: none;
}

.hero-backdrop__image {
    position: absolute;

    top: 50%;
    left: 56%;

    width:
        max(1200px, 88vw);

    height: auto;

    transform:
        translate(-50%, -50%);

    object-fit: contain;

    opacity: 0.42;

    filter:
        saturate(0.82) contrast(1.04) brightness(0.88);
}

.hero-backdrop__veil {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(16, 18, 20, 0.98) 0%,
            rgba(16, 18, 20, 0.92) 32%,
            rgba(16, 18, 20, 0.50) 63%,
            rgba(16, 18, 20, 0.18) 82%,
            rgba(16, 18, 20, 0.38) 100%),
        linear-gradient(180deg,
            rgba(16, 18, 20, 0.20),
            rgba(16, 18, 20, 0.66));
}

/* ==========================================================================
   HERO GRID
   ========================================================================== */

.hero-grid {
    position: relative;

    z-index: 2;

    width:
        min(100%, 1440px);

    max-width: 1440px;

    margin:
        0 auto;

    padding-left:
        clamp(2rem, 7vw, 8rem);

    padding-right:
        clamp(2rem, 7vw, 8rem);

    box-sizing: border-box;

    display: grid;

    grid-template-columns:
        minmax(0, 0.88fr) minmax(500px, 1.12fr);

    gap:
        clamp(3rem, 6vw, 7rem);

    align-items: center;
}

.hero-copy {
    position: relative;

    z-index: 4;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 1.65rem;

    min-width: 0;
}

.hero-title {
    max-width: 10.5ch;

    margin: 0;

    color:
        var(--color-text);

    font-size:
        clamp(4rem, 6vw, 6.8rem);

    font-weight: 700;

    line-height: 0.95;

    letter-spacing: -0.065em;
}

.hero-subtitle {
    max-width: 40rem;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.66);

    font-size:
        clamp(1rem, 1.2vw, 1.16rem);

    line-height: 1.75;
}

.hero-actions {
    display: flex;
    align-items: center;

    gap: 0.8rem;

    flex-wrap: wrap;
}

.hero-actions .button {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 0.8rem;

    padding:
        0.9rem 1.3rem;

    border-radius: 15px;

    font-weight: 680;
}

.hero-actions .button--primary {
    background:
        #f5f5f5;

    color:
        #111315;

    border:
        1px solid rgba(255, 255, 255, 0.9);

    box-shadow: none;
}

.hero-actions .button--primary:hover {
    background:
        #ffffff;

    transform:
        translateY(-1px);
}

.hero-actions .button--ghost {
    background:
        rgba(255, 255, 255, 0.03);

    color:
        var(--text);

    border:
        1px solid rgba(255, 255, 255, 0.11);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);
}

.hero-actions .button--ghost:hover {
    background:
        rgba(255, 255, 255, 0.07);

    border-color:
        rgba(255, 255, 255, 0.18);

    transform:
        translateY(-1px);
}

.hero-legal {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.30);

    font-size: 0.75rem;

    line-height: 1.6;
}

.hero-legal a {
    color:
        rgba(255, 255, 255, 0.48);

    text-decoration: underline;

    text-underline-offset: 3px;
}

/* ==========================================================================
   HERO TERMINAL
   ========================================================================== */

.hero-terminal {
    position: relative;

    z-index: 3;

    min-width: 0;
}

.hero-terminal::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 85%;
    height: 72%;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(circle,
            rgba(255, 255, 255, 0.055),
            transparent 68%);

    filter:
        blur(24px);

    pointer-events: none;
}

/* ==========================================================================
   TERMINAL FRAMES
   ========================================================================== */

.terminal-frame {
    position: relative;

    overflow: hidden;

    background:
        rgba(10, 12, 14, 0.62);

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius: 28px;

    box-shadow:
        0 36px 120px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.terminal-frame--hero {
    width: 100%;

    aspect-ratio:
        1.55 / 1;

    background:
        rgba(10, 12, 14, 0.40);
}

.terminal-frame--panel {
    width: 100%;

    aspect-ratio:
        1.55 / 1;
}

.terminal-frame__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    background:
        #111315;
}

.terminal-frame__overlay {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.008),
            rgba(0, 0, 0, 0.08));
}

/* ==========================================================================
   HERO CUE
   ========================================================================== */

.hero-scroll-cue {
    position: absolute;

    left: 50%;
    bottom: 28px;

    z-index: 5;

    transform:
        translateX(-50%);

    display: inline-flex;
    align-items: center;

    gap: 0.75rem;

    color:
        rgba(255, 255, 255, 0.38);

    font-size: 0.68rem;
    font-weight: 650;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        color 160ms ease;
}

.hero-scroll-cue:hover {
    color:
        rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   HORIZONTAL PLATFORM
   Native horizontal carousel.
   ========================================================================== */

.markets-horizontal {
    position: relative;

    width: 100%;
    height: 100vh;

    min-height: 720px;

    overflow: hidden;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    background:
        rgba(8, 10, 12, 0.46);
}

.markets-horizontal__track {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: stretch;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type:
        x mandatory;

    scroll-behavior:
        auto;

    scrollbar-width:
        none;

    overscroll-behavior-x:
        contain;

    overscroll-behavior-y:
        auto;

    -webkit-overflow-scrolling:
        touch;
}

.markets-horizontal__track::-webkit-scrollbar {
    display: none;
}

/* ==========================================================================
   PANELS — BASE
   ========================================================================== */

.markets-panel {
    position: relative;

    flex:
        0 0 100%;

    width: 100%;
    height: 100%;

    scroll-snap-align:
        start;

    scroll-snap-stop:
        normal;

    display: grid;

    grid-template-columns:
        minmax(340px, 0.82fr) minmax(520px, 1.18fr);

    gap:
        clamp(3rem, 7vw, 8rem);

    align-items: center;

    padding:
        clamp(4rem, 7vw, 8rem);

    box-sizing: border-box;

    border-right:
        1px solid rgba(255, 255, 255, 0.065);

    overflow: hidden;

    background:
        linear-gradient(180deg,
            rgba(15, 17, 19, 0.70),
            rgba(10, 12, 14, 0.80));

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);
}

.markets-panel::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(circle at 75% 45%,
            rgba(255, 255, 255, 0.035),
            transparent 30%);
}

.markets-panel__content {
    position: relative;

    z-index: 2;

    max-width: 640px;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 1.5rem;
}

.markets-panel__kicker {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.42);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.24em;

    text-transform: uppercase;
}

.markets-panel__title {
    max-width: 11ch;

    margin: 0;

    color:
        var(--color-text);

    font-size:
        clamp(3.2rem, 4.8vw, 6rem);

    font-weight: 700;

    line-height: 0.98;

    letter-spacing: -0.06em;
}

.markets-panel__text {
    max-width: 38rem;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.58);

    font-size:
        clamp(0.98rem, 1.2vw, 1.12rem);

    line-height: 1.78;
}

.markets-panel__visual {
    position: relative;

    z-index: 2;

    min-width: 0;
}

.markets-panel__index {
    position: absolute;

    right: 2.4rem;
    bottom: 1.9rem;

    color:
        rgba(255, 255, 255, 0.16);

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.22em;
}

/* ==========================================================================
   PANEL — CENTERED
   ========================================================================== */

.markets-panel--center {
    grid-template-columns:
        minmax(0, 940px);

    justify-content:
        center;

    text-align:
        center;
}

.markets-panel--center .markets-panel__content {
    max-width:
        940px;

    align-items:
        center;

    margin:
        0 auto;
}

.markets-panel--center .markets-panel__title {
    max-width:
        14ch;
}

.markets-panel--center .markets-panel__text {
    max-width:
        46rem;
}

/* ==========================================================================
   PANEL — INTRO
   ========================================================================== */

.markets-panel--intro {
    flex:
        0 0 100%;

    width:
        100%;
}

/* ==========================================================================
   PANEL — SPLIT
   ========================================================================== */

.markets-panel--split {
    grid-template-columns:
        minmax(360px, 0.8fr) minmax(560px, 1.2fr);
}

/* ==========================================================================
   PANEL — REVERSE
   ========================================================================== */

.markets-panel--reverse {
    grid-template-columns:
        minmax(560px, 1.2fr) minmax(360px, 0.8fr);
}

.markets-panel--reverse .markets-panel__visual {
    grid-column:
        1;

    grid-row:
        1;
}

.markets-panel--reverse .markets-panel__content {
    grid-column:
        2;

    grid-row:
        1;
}

/* ==========================================================================
   PANEL — SIGNALS
   ========================================================================== */

.markets-panel--signals .markets-panel__list {
    justify-content:
        center;

    grid-template-columns:
        repeat(5, auto);

    gap:
        0.65rem;
}

.markets-panel--signals .markets-panel__list li {
    padding:
        0.55rem 0.85rem;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius:
        999px;

    background:
        rgba(255, 255, 255, 0.025);

    font-size:
        0.78rem;
}

.markets-panel--signals .markets-panel__list li::before {
    display:
        none;
}

/* ==========================================================================
   PANEL — INFRASTRUCTURE
   ========================================================================== */

.markets-panel--infrastructure .markets-panel__list {
    grid-template-columns:
        repeat(3, minmax(150px, 1fr));

    width:
        min(100%, 720px);

    gap:
        0.8rem;

    margin-top:
        0.4rem;
}

.markets-panel--infrastructure .markets-panel__list li {
    padding:
        0.85rem 1rem;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    background:
        rgba(255, 255, 255, 0.02);

    border-radius:
        14px;

    text-align:
        center;
}

.markets-panel--infrastructure .markets-panel__list li::before {
    display:
        none;
}

/* ==========================================================================
   PANEL LIST
   ========================================================================== */

.markets-panel__list {
    display: grid;

    gap:
        0.7rem;

    margin:
        0;

    padding:
        0;

    list-style:
        none;
}

.markets-panel__list li {
    position: relative;

    padding-left:
        1rem;

    color:
        rgba(255, 255, 255, 0.66);

    font-size:
        0.92rem;

    line-height:
        1.5;
}

.markets-panel__list li::before {
    content: "";

    position: absolute;

    left:
        0;

    top:
        0.65em;

    width:
        3px;

    height:
        3px;

    border-radius:
        50%;

    background:
        rgba(255, 255, 255, 0.42);
}

/* ==========================================================================
   PANEL METRICS
   ========================================================================== */

.markets-panel__metrics {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        0;

    margin-top:
        0.5rem;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.markets-panel__metrics>div {
    min-width:
        130px;

    padding:
        1rem 1.5rem 1rem 0;

    margin-right:
        1.5rem;
}

.markets-panel__metrics span {
    display:
        block;

    margin-bottom:
        0.28rem;

    color:
        rgba(255, 255, 255, 0.92);

    font-size:
        1rem;

    font-weight:
        650;

    letter-spacing:
        -0.02em;
}

.markets-panel__metrics small {
    color:
        rgba(255, 255, 255, 0.34);

    font-size:
        0.67rem;

    letter-spacing:
        0.06em;

    text-transform:
        uppercase;
}

/* ==========================================================================
   ACCESS PANEL
   ========================================================================== */

.markets-panel--access {
    flex:
        0 0 100%;

    width:
        100%;

    border-right:
        0;
}

.markets-panel--access .markets-panel__content {
    max-width:
        820px;
}

.markets-panel--access .markets-panel__title {
    max-width:
        13ch;
}

.markets-panel--access .markets-panel__text {
    max-width:
        600px;
}

.markets-panel__actions {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        0.8rem;

    margin-top:
        0.5rem;
}

.markets-panel__actions .button {
    min-height:
        52px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        0.75rem;

    padding:
        0.9rem 1.25rem;

    border-radius:
        15px;

    font-weight:
        680;
}

.markets-panel__actions .button--primary {
    background:
        #f5f5f5;

    color:
        #111315;

    border:
        1px solid rgba(255, 255, 255, 0.9);
}

.markets-panel__actions .button--ghost {
    background:
        rgba(255, 255, 255, 0.025);

    color:
        var(--text);

    border:
        1px solid rgba(255, 255, 255, 0.10);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    position:
        relative;

    z-index:
        5;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    background:
        #111315;
}

.footer-row {
    min-height:
        88px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        2rem;
}

.footer-row p {
    margin:
        0;

    color:
        rgba(255, 255, 255, 0.30);

    font-size:
        0.72rem;
}

.footer-links {
    display:
        flex;

    align-items:
        center;

    gap:
        1.2rem;
}

.footer-links a {
    color:
        rgba(255, 255, 255, 0.42);

    font-size:
        0.72rem;

    text-decoration:
        none;
}

.footer-links a:hover {
    color:
        rgba(255, 255, 255, 0.74);
}

/* ==========================================================================
   DESKTOP — SMALLER
   ========================================================================== */

@media (max-width: 1280px) {
    .markets-hero {
        padding-top:
            120px;
    }

    .hero-grid {
        grid-template-columns:
            minmax(0, 0.9fr) minmax(430px, 1.1fr);

        gap:
            3rem;
    }

    .hero-title {
        font-size:
            clamp(3.7rem, 5.5vw, 5.6rem);
    }

    .hero-backdrop__image {
        left:
            60%;

        width:
            max(1120px, 110vw);
    }

    .markets-panel {
        padding:
            4rem;

        gap:
            4rem;
    }
}

/* ==========================================================================
   TABLET / MOBILE
   Keep carousel horizontal instead of converting it to vertical.
   ========================================================================== */

@media (max-width: 980px) {
    body {
        overflow-x:
            hidden;
    }

    body.theme-colosian::before {
        background-size:
            auto 70vh;

        background-position:
            70% 10%;
    }

    .site-header {
        position:
            absolute;
    }

    .site-header .nav {
        min-height:
            88px;
    }

    .markets-hero {
        min-height:
            auto;

        padding:
            120px 0 5rem;
    }

    .hero-backdrop__image {
        left:
            70%;

        top:
            48%;

        width:
            max(900px, 150vw);

        opacity:
            0.28;
    }

    .hero-backdrop__veil {
        background:
            linear-gradient(180deg,
                rgba(16, 18, 20, 0.90),
                rgba(16, 18, 20, 0.70));
    }

    .hero-grid {
        grid-template-columns:
            1fr;

        gap:
            3rem;
    }

    .hero-title {
        max-width:
            11ch;

        font-size:
            clamp(3rem, 9vw, 5rem);
    }

    .hero-subtitle {
        max-width:
            38rem;
    }

    .hero-terminal {
        width:
            100%;
    }

    .hero-scroll-cue {
        display:
            none;
    }

    .markets-horizontal {
        height:
            auto;

        min-height:
            0;

        overflow:
            visible;
    }

    .markets-horizontal__track {
        width:
            100%;

        height:
            auto;

        min-height:
            0;

        display:
            flex;

        overflow-x:
            auto;

        overflow-y:
            hidden;

        scroll-snap-type:
            x mandatory;

        overscroll-behavior-x:
            contain;

        -webkit-overflow-scrolling:
            touch;
    }

    .markets-panel,
    .markets-panel--intro,
    .markets-panel--access,
    .markets-panel--center,
    .markets-panel--split,
    .markets-panel--reverse {
        flex:
            0 0 100%;

        width:
            100%;

        max-width:
            none;

        min-height:
            720px;

        height:
            auto;

        grid-template-columns:
            1fr;

        gap:
            3rem;

        padding:
            5rem max(1.25rem, 5vw);

        border-right:
            1px solid rgba(255, 255, 255, 0.07);

        text-align:
            left;
    }

    .markets-panel--center {
        justify-content:
            initial;

        text-align:
            left;
    }

    .markets-panel--center .markets-panel__content,
    .markets-panel--access .markets-panel__content {
        align-items:
            flex-start;

        text-align:
            left;

        margin:
            0;
    }

    .markets-panel--reverse .markets-panel__visual,
    .markets-panel--reverse .markets-panel__content {
        grid-column:
            auto;

        grid-row:
            auto;
    }

    .markets-panel--reverse .markets-panel__content {
        order:
            1;
    }

    .markets-panel--reverse .markets-panel__visual {
        order:
            2;
    }

    .markets-panel__title,
    .markets-panel--intro .markets-panel__title,
    .markets-panel--access .markets-panel__title,
    .markets-panel--center .markets-panel__title {
        max-width:
            13ch;

        font-size:
            clamp(2.8rem, 8vw, 4.6rem);
    }

    .markets-panel__visual {
        width:
            100%;
    }

    .markets-panel__index {
        right:
            1.25rem;

        bottom:
            1.25rem;
    }

    .markets-panel--signals .markets-panel__list {
        justify-content:
            flex-start;

        grid-template-columns:
            repeat(2, auto);
    }

    .markets-panel--infrastructure .markets-panel__list {
        grid-template-columns:
            repeat(2, minmax(140px, 1fr));

        width:
            100%;
    }

    .markets-panel__actions {
        justify-content:
            flex-start;
    }

    .footer-row {
        padding:
            1.5rem 0;

        flex-direction:
            column;

        align-items:
            flex-start;
    }
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 720px) {
    .brand__logo {
        width:
            145px;

        min-width:
            145px;

        max-width:
            145px;
    }

    .market-menu__toggle {
        width:
            42px;

        height:
            42px;

        border-radius:
            14px;
    }

    .market-menu__panel {
        width:
            min(230px, calc(100vw - 2rem));
    }

    .markets-hero {
        padding:
            108px 0 4rem;
    }

    .hero-grid {
        padding-left:
            1.25rem;

        padding-right:
            1.25rem;
    }

    .hero-copy {
        gap:
            1.35rem;
    }

    .hero-title {
        font-size:
            clamp(2.8rem, 13vw, 4.2rem);
    }

    .hero-subtitle {
        font-size:
            0.98rem;

        line-height:
            1.7;
    }

    .hero-actions {
        width:
            100%;

        align-items:
            stretch;
    }

    .hero-actions .button {
        flex:
            1 1 100%;
    }

    .hero-backdrop__image {
        width:
            190vw;

        left:
            76%;

        opacity:
            0.22;
    }

    .terminal-frame {
        border-radius:
            20px;
    }

    .markets-panel {
        min-height:
            680px;

        padding:
            4rem 1.25rem;
    }

    .markets-panel__title {
        font-size:
            clamp(2.65rem, 12vw, 4rem);
    }

    .markets-panel__metrics {
        width:
            100%;
    }

    .markets-panel__metrics>div {
        width:
            100%;

        margin:
            0;

        padding:
            0.85rem 0;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.06);
    }

    .markets-panel--signals .markets-panel__list {
        display:
            flex;

        flex-wrap:
            wrap;
    }

    .markets-panel--infrastructure .markets-panel__list {
        grid-template-columns:
            1fr;
    }

    .markets-panel__actions {
        width:
            100%;

        flex-direction:
            column;

        align-items:
            stretch;
    }

    .markets-panel__actions .button {
        width:
            100%;
    }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

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

    .button-arrow,
    .market-menu__toggle,
    .hero-actions .button {
        transition:
            none;
    }
}