/* Contact SPIDTECH. Built on inner.css + flow.css (the page title .p-hero, the form parts .flow,
   the white-on-grey card .p-card). Three ways to reach us as grey cards (call · email · visit,
   each line with a Copy button), the message form with other ways to get help beside it, then
   SPIDTECH on LinkedIn and Spider News as two picture cards. */

.ct-page {
    padding-bottom: var(--section-space);
}

/* ---------- call · email · visit ---------- */
.ct-ways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: var(--section-space);
}

.ct-way {
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: var(--radius-big);
    background: var(--card);
}

.ct-icon svg {
    display: block;
    width: 44px;
    height: 44px;
    fill: var(--red);
}

.ct-way h2 {
    margin: 20px 0 8px;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
}

.ct-lines {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-lines li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--g300);
}

.ct-lines li:last-child {
    padding-bottom: 0;
}

.ct-way strong {
    display: block;
    color: var(--g900);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.ct-way small {
    display: block;
    margin-top: 4px;
    color: var(--g700);
    font-size: 14px;
    line-height: 1.5;
}

.ct-address {
    padding-top: 18px;
    border-top: 1px solid var(--g300);
    color: var(--g700);
    font-size: 17px;
    font-style: normal;
    line-height: 1.65;
}

.ct-address strong {
    margin-bottom: 2px;
}

.ct-way-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-top: auto;
    padding-top: 24px;
}

.ct-way-foot .link {
    font-size: 17px;
}

/* the Copy pill: white on the grey card; «Copied» with a tick for two seconds (contact.js) */
.inner .ct-copy {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--g900);
    font-size: 14px;
    font-weight: 600;
    transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.ct-copy:hover {
    background: var(--g200);
}

.ct-copy:active {
    background: var(--g300);
    transform: scale(.97);
}

.ct-copy[data-done]::before {
    content: "";
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23D41926' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 8.5 3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- the message form ---------- */
.ct-message {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: 24px 64px;
    margin-top: var(--section-space);
}

.ct-aside .lead {
    margin-top: 16px;
}

.ct-aside h3 {
    margin: 56px 0 4px;
    color: var(--g900);
    font-size: 19px;
    font-weight: 600;
}

.ct-help {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-help a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--g300);
}

.ct-help strong {
    display: block;
    color: var(--g900);
    font-size: 17px;
    font-weight: 600;
}

.ct-help small {
    display: block;
    margin-top: 2px;
    color: var(--g700);
    font-size: 14px;
    line-height: 1.5;
}

.ct-help a:hover .ctl {
    background: var(--g300);
    color: var(--g900);
}

.ct-card {
    padding: 48px;
}

.ct-form > label:first-child,
.ct-form > .st-grid:first-child label {
    margin-top: 0;
}

.flow textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 168px;
    padding: 14px 16px;
    border: 1px solid var(--g400);
    border-radius: 12px;
    background: #fff;
    color: var(--g900);
    font: 400 17px/1.55 Montserrat, Arial, sans-serif;
    letter-spacing: .005em;
    resize: vertical;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.flow textarea::placeholder {
    color: var(--g600);
}

.flow textarea:hover {
    border-color: var(--g600);
}

.flow textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgb(237 28 41 / .16);
    outline: none;
}

/* a field left empty or not valid: red line + a short line under it */
.flow [aria-invalid="true"] {
    border-color: var(--red-ink) !important;
}

.flow .ct-err {
    color: var(--red-ink);
    font-size: 13px;
    font-weight: 400;
}

.ct-form .ct-req {
    display: block;
    margin-top: 16px;
}

.ct-note {
    margin: 20px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--g300);
    border-radius: 12px;
    background: #fff;
    color: var(--g900);
    font-size: 15px;
    line-height: 1.55;
}

.ct-note:focus {
    outline: none;
}

/* ---------- SPIDTECH elsewhere: LinkedIn + Spider News ----------
   Two big grey cards. On top, a picture of what you get on a soft tint of its colour: a white
   LinkedIn post (the SPIDTECH page, a BIG 5 photo) and a stack of three newsletter issues, both
   running off the bottom edge; on hover they rise a little. Below: the logo tile, the name, one
   line and a dark pill. LinkedIn blue (#0A66C2) appears only in its own logo. */
.ct-follow {
    margin-top: var(--section-space);
}

.ct-follow-head {
    margin-bottom: var(--title-gap);
}

.ct-follow-head .lead {
    margin-top: 12px;
}

.ct-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ct-fcard {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-big);
    background: var(--card);
    overflow: hidden;
    isolation: isolate;
}

/* the picture */
.ct-fart {
    position: relative;
    display: flex;
    justify-content: center;
    height: 300px;
    overflow: hidden;
}

.ct-fcard-li .ct-fart {
    background: radial-gradient(110% 100% at 50% 0%, #E6F0FA 0%, var(--card) 72%);
}

.ct-fcard-news .ct-fart {
    background: radial-gradient(110% 100% at 50% 0%, var(--red-t) 0%, var(--card) 72%);
}

.ct-post,
.ct-issue {
    position: absolute;
    top: 56px;
    box-sizing: border-box;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 0 0 1px rgb(33 37 41 / .04), 0 12px 32px rgb(0 0 0 / .10);
    transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.ct-fcard:hover .ct-post,
.ct-fcard:hover .ct-issue-1 {
    transform: translateY(-10px);
}

.ct-bar {
    display: block;
    height: 8px;
    margin-top: 10px;
    border-radius: 4px;
    background: var(--g200);
}

.ct-bar-s {
    width: 62%;
}

/* LinkedIn: a post from the SPIDTECH page */
.ct-post {
    width: 320px;
    padding: 18px;
}

.ct-post-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.ct-post-head img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.ct-post-head b {
    display: block;
    color: var(--g900);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.ct-post-head i {
    display: block;
    color: var(--g600);
    font-size: 12px;
    font-style: normal;
}

.ct-post-head em {
    margin-left: auto;
    color: #0A66C2;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
}

.ct-post-pic {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 14px;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Spider News: three issues, the newest in front */
.ct-issue {
    width: 300px;
    height: 300px;
}

.ct-issue-1 {
    z-index: 3;
    padding: 20px;
}

.ct-issue-2 {
    z-index: 2;
    transform: translate(-46px, 22px) rotate(-7deg) scale(.94);
    opacity: .9;
}

.ct-issue-3 {
    z-index: 1;
    transform: translate(46px, 22px) rotate(7deg) scale(.94);
    opacity: .9;
}

.ct-fcard:hover .ct-issue-2 {
    transform: translate(-58px, 18px) rotate(-9deg) scale(.94);
}

.ct-fcard:hover .ct-issue-3 {
    transform: translate(58px, 18px) rotate(9deg) scale(.94);
}

.ct-issue-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--g200);
}

.ct-issue-top img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.ct-issue-top b {
    color: var(--g900);
    font-size: 13px;
    font-weight: 600;
}

.ct-issue-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--red-t);
    color: var(--red-ink);
    font-size: 11px;
    font-weight: 600;
}

.ct-issue-pic {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 14px;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 100% 50%;
}

.ct-issue-title {
    display: block;
    margin-top: 10px;
    color: var(--g900);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

/* the words */
.ct-fbody {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 44px 44px;
}

.ct-app {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
}

.ct-app svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.ct-app-li {
    background: #0A66C2;
}

.ct-app-li svg {
    width: 26px;
    height: 26px;
}

.ct-app-news {
    background: var(--red);
}

.ct-fbody strong {
    margin-top: 22px;
    color: var(--g900);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.ct-fbody small {
    margin-top: 8px;
    color: var(--g700);
    font-size: 17px;
    line-height: 1.55;
}

.ct-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 28px;
    padding: 0 20px;
    height: 40px;
    border-radius: 999px;
    background: var(--g900);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: background-color .25s var(--ease);
}

.ct-pill svg {
    width: 13px;
    height: 13px;
}

.ct-fcard:hover .ct-pill {
    background: var(--g800);   /* hover lighter (Apple / EliteZone rule) */
}

@media (max-width: 1068px) {
    .ct-message {
        grid-template-columns: minmax(0, 1fr);
    }

    .ct-aside h3 {
        margin-top: 40px;
    }

    .ct-fart {
        height: 260px;
    }

    .ct-post {
        width: 280px;
    }

    .ct-issue {
        width: 260px;
    }
}

@media (max-width: 734px) {
    .ct-ways {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: var(--section-space);
    }

    .ct-way {
        padding: 32px 24px;
    }

    .ct-card {
        padding: 32px 24px;
    }

    .ct-social {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .ct-fart {
        height: 240px;
    }

    .ct-post,
    .ct-issue {
        top: 40px;
    }

    .ct-post,
    .ct-issue {
        width: 256px;
    }

    .ct-issue-2 {
        transform: translate(-28px, 18px) rotate(-6deg) scale(.94);
    }

    .ct-issue-3 {
        transform: translate(28px, 18px) rotate(6deg) scale(.94);
    }

    .ct-fbody {
        padding: 28px 24px 32px;
    }

    .ct-fbody strong {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ct-post,
    .ct-issue {
        transition: none;
    }
}

/* a field for bots only (the server drops any message that fills it) */
.ct-hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* UI review (2026-10-25): the three cards share one structure (value + Copy on the right, then
   the action at the foot), so they end together; the address sits in a row like the others.
   «Follow» and «Subscribe» lose the black pill (a third button style): a white pill on the grey
   card, like Copy. */
.ct-lines li .ct-address {
    padding-top: 0;
    border-top: 0;
    font-size: 15px;
    line-height: 1.6;
}

.ct-lines li .ct-address strong {
    margin-bottom: 4px;
}

.ct-lines li {
    align-items: flex-start;
}

.ct-way-foot {
    margin-top: auto;
    padding-top: 24px;
}

.ct-pill {
    background: #fff;
    color: var(--g900);
}

.ct-fcard:hover .ct-pill {
    background: var(--g200);
}

/* UI review (2026-10-25): nothing under 12px */
.ct-issue-tag {
    font-size: 12px;
}

/* Button levels (user, 2026-10-25): Copy, Follow and Subscribe are level 3 */
.inner .ct-copy,
.ct-pill {
    background: #fff;
    color: var(--b2, #1D1D1F);
    box-shadow: var(--b3-shadow);
    transition: box-shadow .3s cubic-bezier(0, 0, .5, 1), background-color .25s ease, transform .25s ease;
}

.ct-copy:hover,
.ct-fcard:hover .ct-pill {
    background: #fff;
    box-shadow: var(--b3-shadow-h);
}

.ct-copy:active {
    background: #f5f5f7;
}

/* ===== phones and tablets (2026-11-07), everything here sits inside a width query, the desktop stays as it was ===== */
@media (min-width: 735px) and (max-width: 1068px) {
    /* the phone numbers and the address broke in two beside their Copy buttons */
    .ct-way {
        padding: 32px 24px;
    }

    .ct-lines li strong {
        white-space: nowrap;
        font-size: 16px;
    }

    .ct-lines li .ct-address strong {
        white-space: normal;
    }

    .ct-way h2 {
        font-size: 24px;
    }
}

/* a tablet upright: two cards above, the address the whole width below */
@media (min-width: 735px) and (max-width: 900px) {
    .ct-ways {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .ct-way:last-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 901px) and (max-width: 1068px) {
    .ct-ways {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .ct-message {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 24px 40px;
    }

    .ct-aside h3 {
        margin-top: 24px;
    }
}

@media (max-width: 1068px) {
    .inner .ct-copy {
        min-height: 40px;
    }

    /* the LinkedIn picture: «+ Follow» on one line */
    .ct-post-head em {
        flex: none;
        white-space: nowrap;
    }

    .ct-post-head > span {
        min-width: 0;
    }
}
/* ===== end of phones and tablets ===== */
