/* Connect / contact — Custom/Journal editorial theme */

.co-page {
    background: #000;
    color: #f7f5f1;
    min-height: 100vh;
    padding-bottom: 4rem;
}

.co-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: calc(var(--ed-header-h) + 2.2rem) 6% 3.6rem;
    overflow: hidden;
    background-color: #0a0a0a;
}

.co-hero::before {
    content: "";
    position: absolute;
    inset: -10%;
    background: var(--co-hero) center / cover no-repeat;
    transform: scale(1.12);
    animation: coKenBurns 18s ease-out forwards;
    will-change: transform;
}

.co-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0.48) 100%);
    pointer-events: none;
}

@keyframes coKenBurns {
    from { transform: scale(1.12) translate3d(0, 2%, 0); }
    to { transform: scale(1) translate3d(0, 0, 0); }
}

.co-hero-inner {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
}

.co-hero-connect {
    margin-top: 2.4rem;
    padding-top: 2.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.co-hero-connect .co-section-title {
    color: #f7f5f1;
}

.co-hero-connect .co-lede {
    margin-bottom: 1.35rem;
}

.co-kicker {
    margin: 0 0 0.85rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(247, 245, 241, 0.62);
}

.co-display {
    margin: 0;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 0.9;
}

.co-lede {
    margin: 1rem auto 0;
    max-width: 36rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    line-height: 1.7;
    color: rgba(247, 245, 241, 0.72);
}

.co-lede a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.co-hero .ed-explore {
    margin-top: 1.5rem;
}

.co-section-title {
    margin: 0.35rem 0 0;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.co-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin: 0;
    padding: 0;
}

.co-hero .co-contact .ed-explore {
    margin-top: 0;
}

.co-sheet {
    background: #000;
    color: #f7f5f1;
    margin: 1.4rem 5% 0;
    padding: 2.2rem 0 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    scroll-margin-top: var(--ed-header-h, 8rem);
}

.co-sheet-head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2rem;
}

.co-sheet h2 {
    margin: 0.35rem 0 0;
    font-family: "Bodoni Moda", serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.co-sheet .co-sheet-lede {
    margin: 0.85rem auto 0;
    max-width: 36rem;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    line-height: 1.7;
    color: rgba(247, 245, 241, 0.72);
}

.co-form-wrap {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1.8rem 1.35rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0a0a0a;
}

@media (min-width: 700px) {
    .co-form-wrap {
        padding: 2.2rem 2.2rem 2.4rem;
    }
}

.co-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.95rem 1rem;
}

@media (min-width: 700px) {
    .co-form {
        grid-template-columns: 1fr 1fr;
    }

    .co-form .co-span {
        grid-column: 1 / -1;
    }
}

.co-form > label,
.co-form > .co-span {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.co-form label span {
    font-family: "Montserrat", sans-serif;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(247, 245, 241, 0.62);
}

.co-form input,
.co-form textarea {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #f7f5f1;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.co-form textarea {
    text-transform: none;
    letter-spacing: 0.06em;
    resize: none;
    min-height: 7.5rem;
}

.co-form input::placeholder,
.co-form textarea::placeholder {
    color: rgba(247, 245, 241, 0.38);
}

.co-form input:focus,
.co-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.62);
}

.co-form input:-webkit-autofill,
.co-form input:-webkit-autofill:hover,
.co-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f7f5f1;
    caret-color: #f7f5f1;
    box-shadow: 0 0 0 1000px #0a0a0a inset;
    transition: background-color 9999s ease-out;
}

.co-form [aria-hidden="true"] {
    display: none;
}

.co-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.78rem 1.3rem;
    border: 1px solid #fff;
    background: #fff;
    color: #0a0a0a;
    font-family: "Montserrat", sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
}

.co-form button[type="submit"]:hover {
    background: transparent;
    color: #fff;
}

.co-form [data-lead-form-message] {
    grid-column: 1 / -1;
    padding: 0.75rem 1rem;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.co-faq {
    margin: 2.6rem 5% 0;
    padding: 2.4rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    scroll-margin-top: var(--ed-header-h, 8rem);
}

.co-faq-head {
    text-align: center;
    margin: 0 auto 1.8rem;
}

.co-faq-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 48rem;
}

.co-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.co-faq-item:last-child {
    border-bottom: 0;
}

.co-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: "Bodoni Moda", serif;
    font-size: 1.15rem;
    line-height: 1.35;
    color: #f7f5f1;
}

.co-faq-trigger:hover {
    color: rgba(247, 245, 241, 0.72);
}

.co-faq-trigger:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.55);
    outline-offset: 4px;
}

.co-faq-icon {
    flex-shrink: 0;
    width: 1.7rem;
    height: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-size: 0.85rem;
    color: #f7f5f1;
}

.co-faq-item.is-open .co-faq-icon {
    background: #fff;
    border-color: #fff;
    color: #0a0a0a;
}

.co-faq-panel {
    display: none;
    padding: 0 0 1.15rem;
}

.co-faq-item.is-open .co-faq-panel {
    display: block;
}

.co-faq-panel p,
.co-faq-panel a {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    line-height: 1.7;
    color: rgba(247, 245, 241, 0.7);
}

.co-faq-panel a {
    color: #f7f5f1;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.co-foot {
    margin: 2.4rem 5% 0;
    padding: 2rem 0 0.4rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.co-foot p {
    margin: 0.85rem auto 0;
    max-width: 36rem;
    font-family: "Montserrat", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    line-height: 1.7;
    color: rgba(247, 245, 241, 0.72);
}

.co-foot a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.co-foot .ed-explore {
    margin-top: 1.5rem;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .co-hero::before {
        animation: none !important;
        transform: none !important;
    }
}
