/* =========================================================
   MINDSpace CTA
   PREMIUM CREATIVE COMMAND CENTER
   ========================================================= */

.mindspace-cta {
    --black: #080808;
    --black-soft: #0d0d0d;
    --white: #f5f2ea;
    --muted: #8c8983;
    --gold: #a67c52;
    --gold-light: #c89a6a;
    --border: rgba(166, 124, 82, 0.28);

    position: relative;
    width: calc(100% - 60px);
    max-width: 1800px;
    min-height: 720px;
    margin: 100px auto;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 55% 48%,
            rgba(166, 124, 82, 0.08),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #070707,
            #0b0b0b 50%,
            #080808
        );

    border: 1px solid var(--border);

    border-radius: 18px;

    isolation: isolate;
}


/* =========================================================
   BACKGROUND GRID
   ========================================================= */

.mindspace-cta__grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 72px 72px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 15%,
            black 85%,
            transparent
        );

    pointer-events: none;

    z-index: -2;
}


/* =========================================================
   AMBIENT LIGHT
   ========================================================= */

.mindspace-cta__ambient {
    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(120px);

    pointer-events: none;

    z-index: -1;
}

.mindspace-cta__ambient--one {
    left: 30%;
    top: 20%;

    background:
        rgba(166,124,82,0.08);

    animation:
        ambientFloatOne 8s ease-in-out infinite alternate;
}

.mindspace-cta__ambient--two {
    right: -150px;
    bottom: -200px;

    background:
        rgba(180,106,60,0.06);

    animation:
        ambientFloatTwo 10s ease-in-out infinite alternate;
}


/* =========================================================
   INNER
   ========================================================= */

.mindspace-cta__inner {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(300px, 0.95fr)
        minmax(360px, 1.1fr)
        minmax(330px, 0.9fr);

    align-items: center;

    gap: 50px;

    min-height: 680px;

    padding: 80px 72px;
}


/* =========================================================
   LEFT CONTENT
   ========================================================= */

.mindspace-cta__content {
    position: relative;
    z-index: 5;

    max-width: 480px;
}


.mindspace-cta__eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 30px;

    color: var(--gold-light);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.28em;
}


.mindspace-cta__eyebrow-line {
    width: 34px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );
}


.mindspace-cta__title {
    margin: 0;

    color: var(--white);

    font-size: clamp(
        58px,
        5vw,
        88px
    );

    line-height: 0.89;

    font-weight: 500;

    letter-spacing: -0.055em;

    text-transform: uppercase;
}


.mindspace-cta__title span {
    display: block;

    color: transparent;

    -webkit-text-stroke:
        1px rgba(245,242,234,0.72);

    transition:
        color 0.5s ease,
        -webkit-text-stroke 0.5s ease;
}


.mindspace-cta__title span:hover {
    color: var(--gold-light);

    -webkit-text-stroke:
        1px var(--gold-light);
}


.mindspace-cta__description {
    max-width: 400px;

    margin: 32px 0 35px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CTA BUTTON
   ========================================================= */

.mindspace-cta__button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;

    width: 265px;
    height: 58px;

    padding: 0 7px 0 23px;

    color: var(--white);

    background:
        linear-gradient(
            120deg,
            rgba(166,124,82,0.15),
            rgba(166,124,82,0.04)
        );

    border: 1px solid
        rgba(166,124,82,0.65);

    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.4s cubic-bezier(.2,.8,.2,1),
        border-color 0.4s ease,
        background 0.4s ease;
}


.mindspace-cta__button::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.08),
            transparent
        );

    transform:
        translateX(-100%);

    transition:
        transform 0.7s ease;
}


.mindspace-cta__button:hover::before {
    transform:
        translateX(100%);
}


.mindspace-cta__button:hover {
    transform:
        translateY(-4px);

    border-color:
        var(--gold-light);

    background:
        rgba(166,124,82,0.12);
}


.mindspace-cta__button span:first-child {
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.08em;
}


.mindspace-cta__button-arrow {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    color: #080808;

    background:
        var(--gold-light);

    font-size: 20px;

    transition:
        transform 0.4s ease;
}


.mindspace-cta__button:hover
.mindspace-cta__button-arrow {
    transform:
        translateX(4px)
        rotate(-8deg);
}


/* =========================================================
   CENTER CORE
   ========================================================= */

.mindspace-cta__core {
    position: relative;

    width: min(430px, 100%);
    aspect-ratio: 1;

    margin: auto;

    display: grid;
    place-items: center;

    transform:
        translateZ(0);

    transition:
        transform 0.15s linear;
}


/* central glow */

.mindspace-core__halo {
    position: absolute;

    width: 45%;
    height: 45%;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(200,154,106,0.28),
            rgba(166,124,82,0.08) 38%,
            transparent 72%
        );

    filter: blur(12px);

    animation:
        corePulse 4s ease-in-out infinite;
}


/* =========================================================
   ORBITS
   ========================================================= */

.mindspace-core__orbit {
    position: absolute;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    border:
        1px solid rgba(166,124,82,0.18);

    transform:
        translate(-50%, -50%);
}


.mindspace-core__orbit::before,
.mindspace-core__orbit::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background:
        var(--gold-light);

    box-shadow:
        0 0 15px
        rgba(200,154,106,0.8);
}


.mindspace-core__orbit::before {
    transform:
        translate(-50%, -50%)
        translateX(50%);
}


.mindspace-core__orbit span {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--gold-light);

    box-shadow:
        0 0 18px
        rgba(200,154,106,0.8);
}


/* orbit 1 */

.mindspace-core__orbit--one {
    width: 48%;
    height: 48%;

    animation:
        orbitRotate 12s linear infinite;
}

.mindspace-core__orbit--one span {
    top: -3px;
    left: 50%;
}


/* orbit 2 */

.mindspace-core__orbit--two {
    width: 66%;
    height: 66%;

    transform:
        translate(-50%, -50%)
        rotate(55deg);

    animation:
        orbitRotateReverse 18s linear infinite;
}

.mindspace-core__orbit--two span {
    right: -3px;
    top: 50%;
}


/* orbit 3 */

.mindspace-core__orbit--three {
    width: 82%;
    height: 82%;

    transform:
        translate(-50%, -50%)
        rotate(-35deg);

    animation:
        orbitRotate 25s linear infinite;
}

.mindspace-core__orbit--three span {
    bottom: -3px;
    left: 50%;
}


/* orbit 4 */

.mindspace-core__orbit--four {
    width: 98%;
    height: 98%;

    border-style: dashed;

    opacity: 0.45;

    animation:
        orbitRotateReverse 35s linear infinite;
}

.mindspace-core__orbit--four span {
    left: -3px;
    top: 50%;
}


/* =========================================================
   CORE CENTER
   ========================================================= */

.mindspace-core__center {
    position: relative;

    width: 145px;
    height: 145px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #292015,
            #0e0c09 55%,
            #080808
        );

    border:
        1px solid rgba(200,154,106,0.45);

    box-shadow:
        0 0 50px
        rgba(166,124,82,0.12),

        inset 0 0 30px
        rgba(166,124,82,0.08);

    z-index: 4;
}


.mindspace-core__center-ring {
    position: absolute;

    inset: -12px;

    border-radius: 50%;

    border:
        1px solid rgba(200,154,106,0.12);

    animation:
        centerRingPulse 3s ease-in-out infinite;
}


.mindspace-core__monogram {
    color: var(--gold-light);

    font-size: 48px;

    font-weight: 300;

    letter-spacing: -0.08em;
}


.mindspace-core__status {
    position: absolute;

    bottom: -38px;

    display: flex;
    align-items: center;
    gap: 7px;

    color: rgba(245,242,234,0.48);

    font-size: 8px;

    letter-spacing: 0.2em;

    white-space: nowrap;
}


.mindspace-core__status i {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #8da76b;

    box-shadow:
        0 0 8px
        rgba(141,167,107,0.7);

    animation:
        statusBlink 2s ease-in-out infinite;
}


/* =========================================================
   PARTICLES
   ========================================================= */

.mindspace-core__particles {
    position: absolute;
    inset: 0;

    animation:
        particlesRotate 40s linear infinite;
}


.mindspace-core__particles i {
    position: absolute;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background:
        var(--gold-light);

    opacity: 0.6;

    box-shadow:
        0 0 8px
        rgba(200,154,106,0.8);
}


.mindspace-core__particles i:nth-child(1) {
    top: 15%;
    left: 65%;
}

.mindspace-core__particles i:nth-child(2) {
    top: 30%;
    right: 12%;
}

.mindspace-core__particles i:nth-child(3) {
    bottom: 17%;
    right: 23%;
}

.mindspace-core__particles i:nth-child(4) {
    bottom: 8%;
    left: 37%;
}

.mindspace-core__particles i:nth-child(5) {
    top: 42%;
    left: 8%;
}

.mindspace-core__particles i:nth-child(6) {
    top: 72%;
    left: 20%;
}


/* =========================================================
   RIGHT CONTACT
   ========================================================= */

.mindspace-cta__contact {
    position: relative;
    z-index: 5;
}


.mindspace-contact__label {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 22px;

    color: var(--gold-light);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.25em;
}


.mindspace-contact__label i {
    width: 60px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );
}


/* =========================================================
   CONTACT CARDS
   ========================================================= */

.mindspace-contact-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


.mindspace-contact-card {
    position: relative;

    display: grid;

    grid-template-columns:
        50px 1fr 30px;

    align-items: center;

    gap: 16px;

    min-height: 82px;

    padding: 12px 16px;

    color: var(--white);

    background:
        rgba(255,255,255,0.018);

    border:
        1px solid rgba(255,255,255,0.07);

    text-decoration: none;

    overflow: hidden;

    transition:
        transform 0.45s cubic-bezier(.2,.8,.2,1),
        border-color 0.4s ease,
        background 0.4s ease;
}


.mindspace-contact-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 2px;
    height: 100%;

    background:
        var(--gold-light);

    transform:
        scaleY(0);

    transform-origin:
        bottom;

    transition:
        transform 0.4s ease;
}


.mindspace-contact-card:hover {
    transform:
        translateX(-7px);

    border-color:
        rgba(166,124,82,0.45);

    background:
        rgba(166,124,82,0.06);
}


.mindspace-contact-card:hover::before {
    transform:
        scaleY(1);
}


.mindspace-contact-card__icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(166,124,82,0.35);

    border-radius: 50%;

    color:
        var(--gold-light);

    transition:
        transform 0.4s ease,
        background 0.4s ease;
}


.mindspace-contact-card:hover
.mindspace-contact-card__icon {
    transform:
        rotate(-8deg)
        scale(1.08);

    background:
        rgba(166,124,82,0.08);
}


.mindspace-contact-card__icon svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.5;

    stroke-linecap: round;

    stroke-linejoin: round;
}


.mindspace-contact-card__content {
    display: flex;
    flex-direction: column;

    gap: 5px;
}


.mindspace-contact-card__content strong {
    font-size: 13px;

    font-weight: 600;
}


.mindspace-contact-card__content small {
    color: var(--muted);

    font-size: 11px;
}


.mindspace-contact-card__arrow {
    color:
        rgba(245,242,234,0.3);

    font-size: 18px;

    transition:
        transform 0.4s ease,
        color 0.4s ease;
}


.mindspace-contact-card:hover
.mindspace-contact-card__arrow {
    color:
        var(--gold-light);

    transform:
        translate(3px,-3px);
}


/* =========================================================
   QUOTE
   ========================================================= */

.mindspace-cta__quote {
    position: relative;

    margin-top: 35px;

    padding:
        28px 0 0 22px;

    border-left:
        1px solid rgba(166,124,82,0.4);
}


.mindspace-quote__mark {
    position: absolute;

    top: -20px;
    left: 18px;

    color:
        var(--gold);

    font-family: Georgia, serif;

    font-size: 60px;

    line-height: 1;

    opacity: 0.7;
}


.mindspace-cta__quote p {
    max-width: 350px;

    margin: 0 0 15px;

    color:
        rgba(245,242,234,0.72);

    font-size: 20px;

    line-height: 1.4;

    letter-spacing: -0.02em;
}


.mindspace-quote__author {
    color:
        var(--gold-light);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.18em;
}


/* =========================================================
   BOTTOM
   ========================================================= */

.mindspace-cta__bottom {
    position: absolute;

    left: 72px;
    right: 72px;
    bottom: 24px;

    display: flex;
    justify-content: space-between;

    padding-top: 18px;

    border-top:
        1px solid rgba(255,255,255,0.06);

    color:
        rgba(245,242,234,0.25);

    font-size: 8px;

    letter-spacing: 0.18em;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes orbitRotate {
    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }
}


@keyframes orbitRotateReverse {
    from {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }
}


@keyframes particlesRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes corePulse {
    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.65;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}


@keyframes centerRingPulse {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}


@keyframes statusBlink {
    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}


@keyframes ambientFloatOne {
    from {
        transform:
            translate(-20px, -10px);
    }

    to {
        transform:
            translate(30px, 20px);
    }
}


@keyframes ambientFloatTwo {
    from {
        transform:
            translate(20px, 10px);
    }

    to {
        transform:
            translate(-20px, -30px);
    }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {

    .mindspace-cta__inner {
        grid-template-columns:
            0.9fr
            1fr
            0.9fr;

        gap: 25px;

        padding:
            65px 45px;
    }

    .mindspace-cta__title {
        font-size: 62px;
    }

    .mindspace-cta__core {
        width: 360px;
    }

    .mindspace-cta__bottom {
        left: 45px;
        right: 45px;
    }
}


@media (max-width: 900px) {

    .mindspace-cta {
        width: calc(100% - 30px);

        margin:
            60px auto;

        min-height: auto;
    }

    .mindspace-cta__inner {
        grid-template-columns: 1fr;

        padding:
            60px 35px 80px;

        gap: 60px;
    }

    .mindspace-cta__content {
        max-width: 600px;
    }

    .mindspace-cta__core {
        width: min(420px, 90vw);
        order: 2;
    }

    .mindspace-cta__contact {
        order: 3;
    }

    .mindspace-cta__bottom {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        margin:
            0 35px 25px;

        gap: 15px;

        flex-wrap: wrap;
    }
}


@media (max-width: 600px) {

    .mindspace-cta {
        width: calc(100% - 20px);

        border-radius: 12px;
    }

    .mindspace-cta__inner {
        padding:
            45px 22px 55px;

        gap: 50px;
    }

    .mindspace-cta__title {
        font-size:
            clamp(48px, 15vw, 68px);
    }

    .mindspace-cta__description {
        font-size: 13px;
    }

    .mindspace-cta__button {
        width: 100%;
    }

    .mindspace-cta__core {
        width: min(330px, 90vw);
    }

    .mindspace-core__center {
        width: 110px;
        height: 110px;
    }

    .mindspace-core__monogram {
        font-size: 36px;
    }

    .mindspace-contact-card {
        grid-template-columns:
            44px 1fr 20px;

        gap: 12px;

        min-height: 72px;
    }

    .mindspace-contact-card__icon {
        width: 42px;
        height: 42px;
    }

    .mindspace-cta__quote p {
        font-size: 17px;
    }

    .mindspace-cta__bottom {
        margin:
            0 22px 20px;

        font-size: 7px;
    }
}


@media (prefers-reduced-motion: reduce) {

    .mindspace-cta *,
    .mindspace-cta *::before,
    .mindspace-cta *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   LEGACY OVERRIDE LAYER
   Neutralises the old .mindspace-cta rules that still live in
   mindspace-hero.css (3-column grid on the section itself,
   vortex rays, pill button, old contact list).
   Higher specificity (section.mindspace-cta) so load order
   can never break the layout again.
   ========================================================= */

section.mindspace-cta {
    display: block;

    grid-template-columns: none;

    gap: 0;

    padding: 0;

    width: min(100% - 60px, 1800px);

    margin: clamp(70px, 8vw, 120px) auto;

    border: 1px solid var(--border);
    border-radius: 22px;

    box-shadow:
        inset 0 1px 0 rgba(245, 242, 234, 0.05),
        0 40px 110px rgba(0, 0, 0, 0.55);
}

/* old ray / silk-flow decorations */
section.mindspace-cta::before,
section.mindspace-cta::after {
    content: none;
    display: none;
}

section.mindspace-cta .mindspace-cta__vortex {
    display: none;
}

/* old ">" glyph appended to the button */
section.mindspace-cta .mindspace-cta__button::after {
    content: none;
    margin: 0;
}

/* old contact-list layout */
section.mindspace-cta .mindspace-contact-list {
    display: flex;
    flex-direction: column;

    align-self: stretch;

    gap: 10px;
}

section.mindspace-cta .mindspace-contact-list a {
    grid-template-columns: 50px 1fr 30px;

    gap: 16px;
}

section.mindspace-cta .mindspace-contact-card__icon {
    width: 48px;
    height: 48px;

    background: rgba(166, 124, 82, 0.05);

    box-shadow: none;
}

section.mindspace-cta .mindspace-contact-card__icon svg {
    width: 19px;
    height: 19px;

    stroke: currentColor;
    stroke-width: 1.5;

    filter: none;
}

section.mindspace-cta .mindspace-contact-card__content strong {
    font-size: 13px;
    font-weight: 600;
}

section.mindspace-cta .mindspace-contact-card__content small {
    color: var(--muted);
    font-size: 11px;
}


/* =========================================================
   POLISH
   ========================================================= */

/* soft gold vignette on the frame */
.mindspace-cta__inner::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at 50% 50%,
            rgba(166, 124, 82, 0.07),
            transparent 60%
        );

    pointer-events: none;

    z-index: 0;
}

/* outlined words get a warm gradient fill on hover */
.mindspace-cta__title span {
    -webkit-text-stroke: 1px rgba(245, 242, 234, 0.55);

    cursor: default;
}

.mindspace-cta__title span:hover {
    color: transparent;

    background:
        linear-gradient(
            100deg,
            var(--gold-light),
            #f0d3ac 45%,
            var(--gold)
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-stroke: 1px transparent;
}

/* button refinement */
.mindspace-cta__button {
    border-radius: 4px;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35);
}

.mindspace-cta__button,
.mindspace-cta__button:link,
.mindspace-cta__button:visited {
    color: var(--white);
}

/* The older hero stylesheet also styles this class and turns the label black on
   hover, so the readable colours are restated here after it. */
.mindspace-cta__button:hover,
.mindspace-cta__button:focus-visible {
    color: var(--white);

    border-color: var(--gold-light);

    background:
        linear-gradient(
            120deg,
            rgba(166, 124, 82, 0.34),
            rgba(166, 124, 82, 0.14)
        );

    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(200, 154, 106, 0.35);
}

.mindspace-cta__button:hover .mindspace-cta__button-arrow,
.mindspace-cta__button:focus-visible .mindspace-cta__button-arrow {
    color: #080808;

    background: var(--gold-light);
}

.mindspace-cta__button-arrow {
    border-radius: 3px;
}

/* contact cards: rounded + glassy */
.mindspace-contact-card {
    border-radius: 10px;

    backdrop-filter: blur(6px);
}

.mindspace-contact-card::before {
    border-radius: 10px 0 0 10px;
}

/* entrance */
@media (prefers-reduced-motion: no-preference) {

    .mindspace-cta__content,
    .mindspace-cta__core,
    .mindspace-cta__contact {
        animation:
            ctaRise 0.9s cubic-bezier(.2, .8, .2, 1) both;
    }

    .mindspace-cta__core {
        animation-delay: 0.1s;
    }

    .mindspace-cta__contact {
        animation-delay: 0.2s;
    }
}

@keyframes ctaRise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* responsive width/margin at override specificity */
@media (max-width: 900px) {

    section.mindspace-cta {
        width: calc(100% - 30px);

        margin: 60px auto;

        min-height: auto;
    }
}

@media (max-width: 600px) {

    section.mindspace-cta {
        width: calc(100% - 20px);

        border-radius: 14px;
    }
}


/* =========================================================
   CTA REFINEMENTS — title rhythm, button, responsive
   (kept last so it wins over the blocks above)
   ========================================================= */

/* ---- TITLE: every line is its own block, so the solid and
        outlined lines share one baseline grid ---- */

.mindspace-cta__title {
    display: flex;
    flex-direction: column;

    line-height: 0.94;

    letter-spacing: -0.045em;

    font-size:
        clamp(46px, 4.6vw, 82px);
}

.mindspace-cta__title-line {
    display: block;

    /* the stroke is drawn outward, so pull the outlined
       lines back by half of it to keep the left edge flush */
    margin-left: 0;
}

/* solid lines: no stroke, real fill */
.mindspace-cta__title .mindspace-cta__title-line {
    color: var(--white);

    -webkit-text-stroke: 0;

    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
}

/* outlined lines */
.mindspace-cta__title .mindspace-cta__title-line--outline {
    color: transparent;

    -webkit-text-stroke:
        1px rgba(245, 242, 234, 0.6);

    margin-left: -0.5px;
}

/* hover only on the outlined lines */
.mindspace-cta__title .mindspace-cta__title-line:hover {
    color: var(--white);
}

.mindspace-cta__title .mindspace-cta__title-line--outline:hover {
    color: transparent;

    background:
        linear-gradient(
            100deg,
            var(--gold-light),
            #f0d3ac 45%,
            var(--gold)
        );

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-stroke: 1px transparent;
}


/* ---- BUTTON: fluid width, balanced proportions ---- */

.mindspace-cta__button {
    width: auto;
    max-width: 100%;

    height: auto;
    min-height: 58px;

    padding: 0 9px 0 28px;

    gap: 30px;

    border-radius: 6px;
}

.mindspace-cta__button span:first-child {
    font-size: 12px;

    letter-spacing: 0.14em;

    white-space: nowrap;
}

.mindspace-cta__button-arrow {
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    font-size: 17px;

    line-height: 1;
}


/* ---- RESPONSIVE ---- */

/* grid children must be allowed to shrink, otherwise the
   core and the title push the section wider than the screen */
.mindspace-cta__inner > * {
    min-width: 0;
}

.mindspace-cta__core,
.mindspace-cta__contact {
    max-width: 100%;
}

/* three columns stop fitting well before 900px */
@media (max-width: 1080px) {

    .mindspace-cta {
        min-height: auto;
    }

    .mindspace-cta__inner {
        grid-template-columns: 1fr;

        justify-items: start;

        gap: 56px;

        min-height: 0;

        padding: 64px 40px 84px;
    }

    .mindspace-cta__content {
        max-width: 620px;
    }

    .mindspace-cta__core {
        width: min(400px, 82vw);

        order: 2;

        justify-self: center;
    }

    .mindspace-cta__contact {
        order: 3;

        width: 100%;
        max-width: 620px;
    }

    .mindspace-cta__bottom {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        margin: 0 40px 24px;

        gap: 15px;

        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {

    .mindspace-cta__inner {
        padding: 46px 22px 56px;

        gap: 46px;
    }

    .mindspace-cta__title {
        font-size:
            clamp(40px, 12.5vw, 62px);
    }

    .mindspace-cta__button {
        width: 100%;
        max-width: 320px;

        padding: 0 9px 0 22px;

        gap: 14px;
    }

    .mindspace-cta__core {
        width: min(320px, 78vw);
    }

    .mindspace-cta__bottom {
        margin: 0 22px 20px;
    }
}


/* ---- CORE: brand mark replaces the "MC" text monogram ---- */

.mindspace-core__logo {
    display: block;

    width: 58%;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 18px rgba(166, 124, 82, 0.35)
        );

    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

@media (max-width: 600px) {

    .mindspace-core__logo {
        width: 56%;
    }
}


/* =========================================================
   CONTACT CARDS — arrow fits inside the card
   ========================================================= */

/* the arrow track was 30px while the arrow itself renders
   wider, so it collided with the card's right border */
section.mindspace-cta .mindspace-contact-card,
section.mindspace-cta .mindspace-contact-list a {
    grid-template-columns:
        48px
        minmax(0, 1fr)
        38px;

    align-items: center;

    gap: 16px;

    padding: 14px 18px;
}

section.mindspace-cta .mindspace-contact-card__arrow {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    justify-self: end;

    border-radius: 50%;

    border:
        1px solid rgba(200, 154, 106, 0.22);

    background:
        rgba(255, 255, 255, 0.02);

    color:
        rgba(245, 242, 234, 0.4);

    font-size: 15px;
    line-height: 1;

    transition:
        transform 0.4s ease,
        color 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;
}

section.mindspace-cta
.mindspace-contact-card:hover
.mindspace-contact-card__arrow {
    color: var(--gold-light);

    border-color:
        rgba(200, 154, 106, 0.55);

    background:
        rgba(166, 124, 82, 0.1);

    transform:
        translate(2px, -2px);
}

/* text column must be allowed to shrink, otherwise a long
   email address pushes the arrow out of the card */
section.mindspace-cta .mindspace-contact-card__content {
    min-width: 0;
}

section.mindspace-cta .mindspace-contact-card__content strong,
section.mindspace-cta .mindspace-contact-card__content small {
    display: block;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

@media (max-width: 600px) {

    section.mindspace-cta .mindspace-contact-card,
    section.mindspace-cta .mindspace-contact-list a {
        grid-template-columns:
            42px
            minmax(0, 1fr)
            34px;

        gap: 12px;

        padding: 12px 14px;
    }

    section.mindspace-cta .mindspace-contact-card__arrow {
        width: 34px;
        height: 34px;

        font-size: 14px;
    }
}
