/* ==================================================
   CONTACT: four ways to reach the team, no form.
   Prefix .ct-. Ground and graph-paper come from lander.css.
================================================== */
.ct {
    position: relative;
    display: block;
    padding: clamp(140px, 21vh, 210px) 2rem clamp(5rem, 12vh, 8.5rem);
}

.ct-inner {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2.5rem, 7vw, 6.5rem);
    align-items: start;
}

.ct-intro > *,
.ct-routes > li {
    animation: ct-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ct-intro > :nth-child(2) { animation-delay: 0.05s; }
.ct-intro > :nth-child(3) { animation-delay: 0.1s; }
.ct-intro > :nth-child(4) { animation-delay: 0.15s; }
.ct-routes > li:nth-child(1) { animation-delay: 0.1s; }
.ct-routes > li:nth-child(2) { animation-delay: 0.15s; }
.ct-routes > li:nth-child(3) { animation-delay: 0.2s; }

@keyframes ct-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

/* ── Intro ── */
.ct-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.1rem;
}

/* line-height stays above 1.15: the gradient clip crops
   descenders at this weight otherwise. */
.ct-title {
    font-size: clamp(2.75rem, 5.6vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.16;
    margin: 0 0 1.25rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ct-lede {
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.66);
    max-width: 26rem;
    margin: 0;
}

.ct-first {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.45);
    max-width: 24rem;
    margin: 2.25rem 0 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-first a {
    color: var(--primary-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(186, 114, 241, 0.45);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.ct-first a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* ── Routes ── */
.ct-routes {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ct-routes > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ct-route {
    display: grid;
    grid-template-columns: 1.5rem minmax(0, 1fr) auto 1rem;
    column-gap: 1.25rem;
    align-items: start;
    padding: 1.6rem 1rem;
    margin: 0 -1rem;
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.ct-route:hover {
    background-color: rgba(255, 255, 255, 0.035);
}

.ct-route-icon {
    font-size: 1.05rem;
    line-height: 1.75rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s ease;
}

.ct-route:hover .ct-route-icon,
.ct-route:focus-visible .ct-route-icon {
    color: var(--primary-light);
}

.ct-route-body {
    display: block;
    min-width: 0;
}

.ct-route-name {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.75rem;
    color: #fff;
    overflow-wrap: anywhere;
}

.ct-route-desc {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.93rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.52);
    max-width: 30rem;
}

.ct-route-meta {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1.75rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.4);
}

.ct-route-meta--fast {
    color: var(--primary-light);
}

.ct-route-arrow {
    font-size: 0.8rem;
    line-height: 1.75rem;
    color: rgba(255, 255, 255, 0.28);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.ct-route:hover .ct-route-arrow,
.ct-route:focus-visible .ct-route-arrow {
    color: #fff;
    transform: translateX(4px);
}

.ct-route:focus-visible,
.ct-first a:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
}

.ct-first a:focus-visible {
    border-radius: 3px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .ct-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.75rem;
        max-width: 640px;
    }

    .ct-lede,
    .ct-first {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .ct {
        padding: 120px 1.25rem 4.5rem;
    }

    .ct-inner {
        gap: 2.25rem;
    }

    /* The route list's own top rule is right below, so drop this one. */
    .ct-first {
        margin-top: 1rem;
        padding-top: 0;
        border-top: 0;
    }

    /* Meta drops under the description so the name gets the full line. */
    .ct-route {
        grid-template-columns: 1.5rem minmax(0, 1fr) 1rem;
        column-gap: 0.9rem;
        padding: 1.35rem 0.75rem;
        margin: 0 -0.75rem;
    }

    .ct-route-name {
        font-size: 1.08rem;
    }

    .ct-route-meta {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0.4rem;
    }

    .ct-route-arrow {
        grid-column: 3;
        grid-row: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-intro > *,
    .ct-routes > li {
        animation: none;
    }

    .ct-route,
    .ct-route-icon,
    .ct-route-arrow,
    .ct-first a {
        transition: none;
    }

    .ct-route:hover .ct-route-arrow,
    .ct-route:focus-visible .ct-route-arrow {
        transform: none;
    }
}
