/* ==========================================================================
   COLOSIAN INSIGHTS
   ========================================================================== */

:root {
    --insights-bg: #050505;
    --insights-surface: #0d0d0d;
    --insights-surface-hover: #111111;

    --insights-text: #f4f4f1;
    --insights-muted: #999994;
    --insights-faint: #666662;

    --insights-border: rgba(255, 255, 255, 0.14);
    --insights-border-soft: rgba(255, 255, 255, 0.08);

    --insights-shell: 1360px;
}


* {
    box-sizing: border-box;
}


html {
    background: var(--insights-bg);
    scroll-behavior: smooth;
}


body {
    margin: 0;
    min-height: 100vh;

    background: var(--insights-bg);
    color: var(--insights-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


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


button,
input,
textarea {
    font: inherit;
}


[hidden] {
    display: none !important;
}


/* ==========================================================================
   SHELL
   ========================================================================== */

.insights-shell {
    width:
        min(calc(100% - 64px),
            var(--insights-shell));

    margin: 0 auto;
}


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

.insights-header {
    position: relative;
    z-index: 20;

    border-bottom:
        1px solid var(--insights-border-soft);

    background:
        rgba(5, 5, 5, 0.94);
}


.insights-header-inner {
    min-height: 82px;

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

    gap: 32px;
}


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

    gap: 11px;

    font-weight: 700;

    letter-spacing: -0.03em;
}


.insights-brand-logo {
    width: 34px;
    height: 34px;

    object-fit: contain;
}


.insights-brand-name {
    font-size: 17px;
}


.insights-nav {
    display: flex;
    align-items: center;

    gap: 30px;

    font-size: 13px;
    font-weight: 600;
}


.insights-nav a {
    color: var(--insights-muted);

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


.insights-nav a:hover,
.insights-nav a.is-active {
    color: var(--insights-text);
}


.insights-nav .insights-nav-cta {
    padding: 11px 18px;

    border:
        1px solid var(--insights-border);

    border-radius: 999px;

    color: var(--insights-text);
}


.insights-nav .insights-nav-cta:hover {
    background: var(--insights-text);
    color: var(--insights-bg);
}


/* ==========================================================================
   INDEX INTRO
   ========================================================================== */

.insights-intro {
    padding: 54px 0 46px;
}


.insights-intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.6fr) minmax(250px, 0.4fr);

    align-items: end;

    gap: 72px;
}


.insights-intro-main {
    min-width: 0;
}


.insights-intro-label {
    margin-bottom: 17px;

    color: var(--insights-muted);

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

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


.insights-intro h1 {
    max-width: 900px;

    margin: 0;

    font-size:
        clamp(40px,
            4.4vw,
            68px);

    font-weight: 600;

    line-height: 0.96;

    letter-spacing: -0.055em;
}


.insights-intro h1 span {
    color: var(--insights-muted);
}


.insights-intro-side {
    padding-bottom: 3px;
}


.insights-intro-copy {
    max-width: 330px;

    margin: 0;

    color: var(--insights-muted);

    font-size: 14px;

    line-height: 1.6;
}


.insights-total {
    margin-top: 24px;

    color: var(--insights-faint);

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

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


/* ==========================================================================
   SECTION RULE
   ========================================================================== */

.insights-section-rule {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 14px 0;

    border-top:
        1px solid var(--insights-border);

    border-bottom:
        1px solid var(--insights-border-soft);

    color: var(--insights-muted);

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

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


.insights-section-hint {
    color: var(--insights-faint);
}


/* ==========================================================================
   INDEX
   ========================================================================== */

.insights-index {
    padding-bottom: 76px;
}


/* ==========================================================================
   HORIZONTAL RAIL
   ========================================================================== */

.insights-rail-wrap {
    width: 100%;

    overflow: hidden;
}


.insights-rail {
    display: flex;
    align-items: stretch;

    gap: 0;

    width: 100%;
    max-width: 100%;

    padding-left:
        max(32px,
            calc((100vw - var(--insights-shell)) / 2));

    padding-right: 32px;
    padding-bottom: 12px;

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

    scroll-snap-type: x proximity;
    scroll-behavior: smooth;

    overscroll-behavior-x: contain;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color:
        var(--insights-border) transparent;
}


.insights-rail::-webkit-scrollbar {
    height: 4px;
}


.insights-rail::-webkit-scrollbar-track {
    background: transparent;
}


.insights-rail::-webkit-scrollbar-thumb {
    background: var(--insights-border);

    border-radius: 999px;
}


/* ==========================================================================
   INSIGHT CARD
   ========================================================================== */

.insight-card {
    position: relative;

    flex:
        0 0 clamp(360px,
            34vw,
            520px);

    min-height: 430px;

    scroll-snap-align: start;

    border-right:
        1px solid var(--insights-border-soft);

    transition:
        background 180ms ease;
}


.insight-card:first-child {
    border-left:
        1px solid var(--insights-border-soft);
}


.insight-card:hover {
    background:
        var(--insights-surface-hover);
}


.insight-card-link {
    display: flex;
    flex-direction: column;

    width: 100%;
    height: 100%;

    min-height: 430px;

    padding: 30px 32px 28px;
}


/* ==========================================================================
   CARD TOP
   ========================================================================== */

.insight-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.insight-card-number {
    color: var(--insights-faint);

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

    letter-spacing: 0.12em;
}


.insight-card-read {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: var(--insights-muted);

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

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.insight-card-arrow {
    display: inline-block;

    color: var(--insights-text);

    font-size: 15px;

    transition:
        transform 160ms ease;
}


.insight-card:hover .insight-card-arrow {
    transform:
        translate(3px,
            -3px);
}


/* ==========================================================================
   CARD CONTENT
   ========================================================================== */

.insight-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding-top: 48px;
}


.insight-card-title {
    max-width: 440px;

    margin: 0;

    font-size:
        clamp(30px,
            2.8vw,
            44px);

    font-weight: 600;

    line-height: 1.01;

    letter-spacing: -0.047em;
}


.insight-card-excerpt {
    max-width: 420px;

    margin: 22px 0 0;

    color: var(--insights-muted);

    font-size: 14px;

    line-height: 1.65;
}


/* ==========================================================================
   CARD META
   ========================================================================== */

.insight-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: auto;
    padding-top: 42px;

    color: var(--insights-faint);

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

    letter-spacing: 0.07em;

    text-transform: uppercase;
}


.insight-card-meta-dot {
    width: 3px;
    height: 3px;

    flex: 0 0 auto;

    border-radius: 999px;

    background: var(--insights-faint);
}


/* ==========================================================================
   ARTICLE
   ========================================================================== */

.insight-article {
    padding:
        46px 0 110px;
}


/* ==========================================================================
   ARTICLE TOP
   ========================================================================== */

.article-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding-bottom: 22px;

    border-bottom:
        1px solid var(--insights-border);
}


.article-back,
.article-type {
    color: var(--insights-muted);

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

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


.article-back {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    transition:
        color 150ms ease;
}


.article-back:hover {
    color: var(--insights-text);
}


.article-type {
    color: var(--insights-faint);
}


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

.article-header {
    display: grid;

    grid-template-columns:
        minmax(0, 1.6fr) minmax(220px, 0.4fr);

    gap: 72px;

    padding:
        52px 0 58px;

    border-bottom:
        1px solid var(--insights-border-soft);
}


.article-heading {
    min-width: 0;
}


.article-heading h1 {
    max-width: 960px;

    margin: 0;

    font-size:
        clamp(48px,
            6vw,
            88px);

    font-weight: 600;

    line-height: 0.95;

    letter-spacing: -0.06em;
}


.article-meta {
    padding-top: 9px;
}


.article-meta-group+.article-meta-group {
    margin-top: 30px;
}


.article-meta-label {
    margin-bottom: 8px;

    color: var(--insights-faint);

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

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


.article-meta-value {
    color: var(--insights-muted);

    font-size: 13px;

    line-height: 1.5;
}


/* ==========================================================================
   ARTICLE BODY LAYOUT
   ========================================================================== */

.article-layout {
    display: grid;

    grid-template-columns:
        150px minmax(0, 760px) minmax(0, 1fr);

    gap: 34px;

    padding:
        60px 0 90px;
}


.article-marker {
    padding-top: 7px;
}


.article-marker span {
    color: var(--insights-faint);

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

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


.article-body {
    max-width: 760px;

    color: #d8d8d3;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(19px,
            1.55vw,
            23px);

    line-height: 1.72;

    white-space: pre-wrap;

    overflow-wrap: anywhere;
}

.article-body-link {
    color: var(--insights-text);

    text-decoration: underline;

    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    overflow-wrap: anywhere;

    transition:
        opacity 150ms ease;
}


.article-body-link:hover {
    opacity: 0.62;
}


/* ==========================================================================
   ARTICLE END
   ========================================================================== */

.article-end {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding:
        24px 0;

    border-top:
        1px solid var(--insights-border);

    border-bottom:
        1px solid var(--insights-border-soft);
}


.article-end-label {
    color: var(--insights-faint);

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

    letter-spacing: 0.13em;

    text-transform: uppercase;
}


.article-next-link {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    color: var(--insights-muted);

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

    letter-spacing: 0.08em;

    text-transform: uppercase;

    transition:
        color 150ms ease;
}


.article-next-link:hover {
    color: var(--insights-text);
}


/* ==========================================================================
   STATES
   ========================================================================== */

.insights-state {
    min-height: 180px;

    padding:
        10px 0 80px;

    color: var(--insights-muted);
}


.insights-state p {
    margin:
        0 0 18px;
}


.insights-state-link {
    color: var(--insights-text);

    font-size: 12px;
    font-weight: 600;
}


.insights-loading-line {
    width: 72%;
    height: 1px;

    margin-top: 24px;

    background: var(--insights-border);

    animation:
        insightsPulse 1.2s ease-in-out infinite alternate;
}


.insights-loading-line.is-short {
    width: 38%;
}


@keyframes insightsPulse {

    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }

}


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

.insights-footer {
    border-top:
        1px solid var(--insights-border-soft);
}


.insights-footer-inner {
    min-height: 100px;

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

    gap: 30px;

    color: var(--insights-faint);

    font-size: 12px;
}


.insights-footer-links {
    display: flex;

    gap: 24px;
}


.insights-footer a:hover {
    color: var(--insights-text);
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 900px) {

    .insights-shell {
        width:
            min(calc(100% - 40px),
                var(--insights-shell));
    }


    /* ======================================================================
       INDEX
       ====================================================================== */

    .insights-intro {
        padding:
            48px 0 40px;
    }


    .insights-intro-grid {
        grid-template-columns:
            1fr;

        gap: 26px;
    }


    .insights-intro-side {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;

        gap: 30px;
    }


    .insights-total {
        flex: 0 0 auto;

        margin-top: 0;
    }


    .insights-rail {
        padding-left: 20px;
        padding-right: 20px;
    }


    .insight-card {
        flex-basis:
            min(70vw,
                470px);

        min-height: 410px;
    }


    .insight-card-link {
        min-height: 410px;
    }


    /* ======================================================================
       ARTICLE
       ====================================================================== */

    .article-header {
        grid-template-columns:
            1fr;

        gap: 36px;
    }


    .article-meta {
        display: grid;

        grid-template-columns:
            repeat(2,
                minmax(0, 1fr));

        gap: 24px;

        padding-top: 0;
    }


    .article-meta-group+.article-meta-group {
        margin-top: 0;
    }


    .article-layout {
        grid-template-columns:
            90px minmax(0, 1fr);

        gap: 26px;
    }

}


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

@media (max-width: 640px) {

    .insights-shell {
        width:
            calc(100% - 30px);
    }


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

    .insights-header-inner {
        min-height: 72px;
    }


    .insights-brand-name {
        display: none;
    }


    .insights-nav {
        gap: 16px;

        font-size: 11px;
    }


    .insights-nav a:nth-child(2) {
        display: none;
    }


    .insights-nav .insights-nav-cta {
        padding:
            9px 13px;
    }


    /* ======================================================================
       INDEX INTRO
       ====================================================================== */

    .insights-intro {
        padding:
            38px 0 32px;
    }


    .insights-intro-label {
        margin-bottom: 14px;
    }


    .insights-intro h1 {
        font-size:
            clamp(35px,
                10.5vw,
                48px);

        line-height: 0.97;
    }


    .insights-intro-side {
        display: block;
    }


    .insights-intro-copy {
        max-width: 100%;

        font-size: 13px;
    }


    .insights-total {
        margin-top: 17px;
    }


    .insights-section-hint {
        display: none;
    }


    /* ======================================================================
       HORIZONTAL CARDS
       ====================================================================== */

    .insights-index {
        padding-bottom: 54px;
    }


    .insights-rail {
        padding-left: 15px;
        padding-right: 15px;
    }


    .insight-card {
        flex-basis:
            calc(100vw - 46px);

        min-height: 390px;
    }


    .insight-card-link {
        min-height: 390px;

        padding:
            25px 24px 24px;
    }


    .insight-card-content {
        padding-top: 38px;
    }


    .insight-card-title {
        font-size: 32px;
    }


    .insight-card-excerpt {
        margin-top: 18px;

        font-size: 13px;
    }


    .insight-card-meta {
        padding-top: 32px;
    }


    /* ======================================================================
       ARTICLE
       ====================================================================== */

    .insight-article {
        padding:
            30px 0 72px;
    }


    .article-top {
        padding-bottom: 18px;
    }


    .article-type {
        display: none;
    }


    .article-header {
        gap: 30px;

        padding:
            38px 0 40px;
    }


    .article-heading h1 {
        font-size:
            clamp(42px,
                12vw,
                62px);

        line-height: 0.96;
    }


    .article-meta {
        grid-template-columns:
            repeat(2,
                minmax(0, 1fr));
    }


    .article-layout {
        display: block;

        padding:
            42px 0 64px;
    }


    .article-marker {
        margin-bottom: 26px;

        padding-top: 0;
    }


    .article-body {
        font-size: 18px;

        line-height: 1.68;
    }


    .article-end {
        align-items: flex-start;
        flex-direction: column;

        gap: 16px;
    }


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

    .insights-footer-inner {
        min-height: 100px;

        align-items: flex-start;
        flex-direction: column;

        justify-content: center;

        gap: 12px;
    }

}