/* ═══════════════════════════════════════════════════════════════════
   Kunst X COS — page-specific styles only.
   All base styles (body, header, nav, .butt, footer, sections,
   .about-box, .specialization-box, etc.) come from ../css/screen.css.
   This file only adds or overrides what is unique to this page.
   ═══════════════════════════════════════════════════════════════════ */

/* ── #about multi-paragraph layout ─────────────────────────────────────── */
/* The main site's .about-box centres one paragraph at 50%.
   On this page we have two paragraphs side by side. */
.about-sub {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
}

.about-sub p {
    width: auto;
    flex: 1;
}

/* ── Who it's for grid ──────────────────────────────────────────────────── */
.cos-for-grid {
    display: flex;
    flex-direction: row;
    gap: 64px;
    flex-wrap: wrap;
    margin-top: 0;
    width: 100%;
}

.cos-for-item {
    flex: 1;
    min-width: 260px;
}

.cos-for-item h3 {
    font-size: 1.454rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.cos-for-item p {
    font-size: 1.938rem;
    line-height: 2.907rem;
    width: 100%;
}

/* ── Outputs note ───────────────────────────────────────────────────────── */
.cos-outputs-sub {
    font-size: 1.938rem;
    line-height: 2.907rem;
    margin-top: 64px;
    max-width: 80%;

    opacity: 0.75;
}

.cos-outputs-note {
    font-size: 1.454rem;
    line-height: 2.175rem;
    margin-top: 64px;
    opacity: 0.5;

    max-width: 70%;
}

/* ── Engagement steps ───────────────────────────────────────────────────── */
.cos-engage-steps {
    margin-top: 96px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cos-engage-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
    padding: 64px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cos-engage-step__num {
    font-size: 1.454rem;
    font-weight: 700;
    opacity: 0.25;
    flex-shrink: 0;
    min-width: 64px;
}

.cos-engage-step h3 {
    font-size: 1.454rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.cos-engage-step p {
    font-size: 1.938rem;
    line-height: 2.907rem;
    opacity: 0.65;
}

/* ── Subscribe section ──────────────────────────────────────────────────── */
.cos-subscribe-section {
    display: flex;
    justify-content: center;
    padding: 192px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cos-subscribe-inner {
    max-width: 800px;
    width: 100%;

}

.cos-subscribe-inner h2 {
    font-size: 2.907rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.cos-subscribe-inner > p {
    font-size: 1.938rem;
    line-height: 2.907rem;
    opacity: 0.65;
    margin-bottom: 64px;
}

.cos-sub-fields {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cos-sub-fields input[type="email"] {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 1.454rem;
    font-weight: 400;
    background-color: #000000;
    border: 3.2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    color: #ffffff;
    padding: 16px 24px;
    outline: none;
    min-width: 320px;
    transition: border-color 0.15s ease;
}

.cos-sub-fields input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cos-sub-fields input[type="email"]:focus {
    border-color: #ffffff;
}

.cos-sub-fields .butt {
    margin-top: 0;
}

.cos-sub-note {
    font-size: 1rem;
    opacity: 0.3;
    margin-top: 24px;
}

/* ── Contact intro + form ───────────────────────────────────────────────── */
.cos-contact-intro {
    padding: 192px;
    padding-bottom: 96px;
}

.cos-contact-intro h2 {
    font-size: 2.907rem;
    font-weight: 700;
    margin-bottom: 32px;
}

.cos-contact-intro > div > p {
    font-size: 1.938rem;
    line-height: 2.907rem;
    opacity: 0.65;
    max-width: 60%;
    margin-bottom: 96px;
}

/* Form layout */
.cos-contact-form {
    width: 100%;
    max-width: 1100px;
}

.cos-form-row {
    display: flex;
    flex-direction: row;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.cos-form-group {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cos-form-group--full {
    width: 100%;
    flex: none;
    margin-bottom: 48px;
}

.cos-form-group label {
    font-size: 1.454rem;
    font-weight: 500;
    opacity: 0.6;
}

.cos-form-group input,
.cos-form-group select,
.cos-form-group textarea {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 1.454rem;
    font-weight: 400;
    background-color: #000000;
    border: 3.2px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    color: #ffffff;
    padding: 16px 24px;
    outline: none;
    transition: border-color 0.15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.cos-form-group textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 2rem;
}

.cos-form-group input::placeholder,
.cos-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.cos-form-group input:focus,
.cos-form-group select:focus,
.cos-form-group textarea:focus {
    border-color: #ffffff;
}

.cos-form-group select option {
    background: #111;
    color: #fff;
}

.cos-form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 48px;
    cursor: pointer;
}

.cos-form-actions {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.cos-form-actions .butt {
    margin-top: 0;
}

/* Feedback messages */
.cos-success-msg {
    font-size: 1.938rem;
    line-height: 2.907rem;
    opacity: 0.75;
    margin-top: 48px;
}

.cos-error-msg {
    font-size: 1.454rem;
    line-height: 2.175rem;
    opacity: 0.65;
    margin-top: 32px;
}

/* ── Inline code in step descriptions ──────────────────────────────────────── */
.cos-engage-step code {
    font-family: "IBM Plex Mono", "Courier New", monospace;
    font-size: 0.85em;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 2px 8px;
    color: rgba(255, 255, 255, 0.85);
}

/* ── Responsive additions ────────────────────────────────────────────────── */
@media (max-width: 64em) {

    .about-sub {
        flex-direction: column;
    }

    .cos-for-grid {
        flex-direction: column;
        gap: 48px;
    }

    .cos-outputs-sub,
    .cos-outputs-note {
        max-width: 100%;
    }

    .cos-engage-step {
        flex-direction: column;
        gap: 24px;
    }

    .cos-subscribe-section {
        padding: 64px 32px;
    }

    .cos-sub-fields {
        flex-direction: column;
        align-items: stretch;
    }

    .cos-sub-fields input[type="email"] {
        min-width: auto;
        width: 100%;
    }

    .cos-contact-intro {
        padding: 64px 32px;
    }

    .cos-contact-intro > div > p {
        max-width: 100%;
        margin-bottom: 64px;
    }

    .cos-form-row {
        flex-direction: column;
        gap: 32px;
    }

    .cos-form-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

/* ── Form buttons, consent and messages ─────────────────────────────────── */
.butt > button {
    all: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    min-height: 57.6px;
    margin: -7px -32px 0;
    padding: 0 32px;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 1.938rem;
    font-weight: 500;
    line-height: 1.938rem;
    color: #000000;
    cursor: pointer;
}

.butt > button:disabled {
    opacity: 0.5;
    cursor: progress;
}

.butt > button:focus-visible {
    outline: 3.2px solid #FFFFFF;
    outline-offset: 6px;
}

.cos-vh {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.cos-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cos-consent {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 32px;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.75;
    cursor: pointer;
}

.cos-consent input {
    width: 22px;
    height: 22px;
    margin: 3px 0 0;
    flex: none;
    accent-color: #FFFFFF;
}

.cos-consent a {
    text-decoration: underline !important;
}

.cos-sub-msg {
    font-size: 1.25rem;
    margin-top: 16px;
}

.cos-sub-msg:empty {
    display: none;
}

.cos-sub-msg.is-error {
    color: #FF6B6B;
}

[hidden] {
    display: none !important;
}
