/* ==========================================================
   VALRYN CONTACT
   contact.css
========================================================== */

:root {
    --ct-bg: #060606;
    --ct-panel: rgba(12, 12, 12, 0.9);
    --ct-panel-soft: rgba(20, 20, 20, 0.86);

    --ct-gold: #c9a44f;
    --ct-gold-light: #f0d58a;

    --ct-text: #ffffff;
    --ct-muted: #b9b3a7;

    --ct-border: rgba(255, 255, 255, 0.08);
    --ct-gold-border: rgba(201, 164, 79, 0.3);

    --ct-shadow:
        0 24px 70px rgba(0, 0, 0, 0.55);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-width: 320px;

    color: var(--ct-text);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(201, 164, 79, 0.08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #090909 0%,
            #050505 100%
        );

    font-family: "Inter", sans-serif;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--ct-gold-light);
    outline-offset: 3px;
}

/* ==========================================================
   APP
========================================================== */

.ct-app {
    width: 100%;
    min-height: 100vh;
}

/* ==========================================================
   HEADER
========================================================== */

.ct-header {
    width: min(94%, 1500px);

    margin: 24px auto 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 20px;

    border: 1px solid var(--ct-border);
    border-radius: 20px;

    background: rgba(9, 9, 9, 0.88);

    box-shadow: var(--ct-shadow);

    backdrop-filter: blur(18px);
}

.ct-back,
.ct-kairos-link {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border: 1px solid var(--ct-gold-border);
    border-radius: 14px;

    background: rgba(201, 164, 79, 0.06);

    color: var(--ct-gold-light);

    font-size: 0.88rem;
    font-weight: 800;

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.ct-back:hover,
.ct-kairos-link:hover {
    transform: translateY(-2px);

    background: rgba(201, 164, 79, 0.12);

    border-color: rgba(201, 164, 79, 0.55);

    box-shadow:
        0 0 24px rgba(201, 164, 79, 0.16);
}

/* ==========================================================
   MAIN
========================================================== */

.ct-main {
    width: min(94%, 1500px);

    margin: 0 auto;

    padding: 64px 0 80px;
}

/* ==========================================================
   HERO
========================================================== */

.ct-hero {
    max-width: 950px;

    margin: 0 auto 48px;

    text-align: center;
}

.ct-eyebrow {
    color: var(--ct-gold-light);

    font-size: 0.76rem;
    font-weight: 900;

    letter-spacing: 0.32em;

    text-transform: uppercase;
}

.ct-hero h1 {
    margin-top: 12px;

    font-family: "Playfair Display", serif;

    font-size: clamp(4.5rem, 11vw, 9rem);

    line-height: 0.9;

    letter-spacing: 0.02em;

    text-shadow:
        0 0 28px rgba(201, 164, 79, 0.15);
}

.ct-intro {
    max-width: 700px;

    margin: 24px auto 0;

    color: var(--ct-muted);

    font-size: 1rem;

    line-height: 1.75;
}

/* ==========================================================
   SOCIAL GRID
========================================================== */

.ct-social-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.ct-social-card {
    position: relative;

    min-height: 300px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 28px;

    overflow: hidden;

    border: 1px solid var(--ct-gold-border);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(11, 11, 11, 0.98),
            rgba(27, 24, 18, 0.95)
        );

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.ct-social-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(201, 164, 79, 0.12),
            transparent 45%,
            rgba(255, 255, 255, 0.02)
        );

    opacity: 0;

    transition: opacity 0.28s ease;

    pointer-events: none;
}

.ct-social-card:hover {
    transform: translateY(-8px);

    border-color: rgba(201, 164, 79, 0.68);

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.62),
        0 0 28px rgba(201, 164, 79, 0.12);
}

.ct-social-card:hover::before {
    opacity: 1;
}

.ct-card-icon {
    position: relative;
    z-index: 2;

    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    border: 1px solid var(--ct-gold-border);
    border-radius: 18px;

    background: rgba(201, 164, 79, 0.08);

    color: var(--ct-gold-light);

    font-size: 1.8rem;
    font-weight: 800;

    box-shadow:
        0 0 24px rgba(201, 164, 79, 0.12);
}

.ct-social-card div,
.ct-social-card strong {
    position: relative;
    z-index: 2;
}

.ct-social-card h2 {
    margin-top: 28px;

    color: var(--ct-gold-light);

    font-family: "Playfair Display", serif;

    font-size: 2rem;
}

.ct-social-card p {
    margin-top: 12px;

    color: var(--ct-muted);

    font-size: 0.9rem;

    line-height: 1.65;
}

.ct-social-card > strong {
    margin-top: 28px;

    color: var(--ct-text);

    font-size: 0.82rem;
    font-weight: 800;
}

/* ==========================================================
   PARTNERSHIP SECTION
========================================================== */

.ct-partnership {
    margin-top: 56px;

    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: 32px;

    padding: 34px;

    border: 1px solid var(--ct-gold-border);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(10, 10, 10, 0.96),
            rgba(22, 19, 14, 0.94)
        );

    box-shadow: var(--ct-shadow);
}

.ct-partnership-copy {
    padding: 16px 8px;
}

.ct-partnership-copy h2 {
    margin-top: 12px;

    color: var(--ct-gold-light);

    font-family: "Playfair Display", serif;

    font-size: clamp(2.4rem, 5vw, 4.2rem);

    line-height: 1;
}

.ct-partnership-copy > p:not(.ct-eyebrow) {
    margin-top: 22px;

    color: var(--ct-muted);

    line-height: 1.75;
}

.ct-partnership-copy blockquote {
    margin-top: 30px;

    padding: 20px 22px;

    border-left: 3px solid var(--ct-gold);

    background: rgba(255, 255, 255, 0.025);

    color: var(--ct-gold-light);

    font-family: "Playfair Display", serif;

    font-size: 1.08rem;
    font-style: italic;

    line-height: 1.65;
}

/* ==========================================================
   FORM
========================================================== */

.ct-form {
    display: grid;

    gap: 18px;

    padding: 24px;

    border: 1px solid var(--ct-border);
    border-radius: 22px;

    background: rgba(0, 0, 0, 0.24);
}

.ct-form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.ct-form label {
    display: grid;

    gap: 9px;

    color: var(--ct-gold-light);

    font-size: 0.76rem;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.ct-form input,
.ct-form select,
.ct-form textarea {
    width: 100%;

    border: 1px solid var(--ct-border);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.045);

    color: var(--ct-text);

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.ct-form input,
.ct-form select {
    height: 52px;

    padding: 0 16px;
}

.ct-form textarea {
    min-height: 150px;

    padding: 16px;

    resize: vertical;

    line-height: 1.6;
}

.ct-form input::placeholder,
.ct-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
    outline: none;

    border-color: rgba(201, 164, 79, 0.65);

    background: rgba(255, 255, 255, 0.07);

    box-shadow:
        0 0 0 4px rgba(201, 164, 79, 0.07);
}

.ct-form select option {
    background: #111111;
    color: #ffffff;
}

.ct-submit {
    min-height: 54px;

    border: 1px solid rgba(201, 164, 79, 0.7);
    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #b9913d,
            #f0d58a
        );

    color: #161109;

    font-weight: 900;

    box-shadow:
        0 18px 36px rgba(201, 164, 79, 0.18);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        filter 0.22s ease;
}

.ct-submit:hover {
    transform: translateY(-3px);

    filter: brightness(1.05);

    box-shadow:
        0 24px 46px rgba(201, 164, 79, 0.26);
}

.ct-submit:disabled {
    opacity: 0.6;

    cursor: default;

    transform: none;
}

.ct-form-status {
    min-height: 22px;

    color: var(--ct-gold-light);

    font-size: 0.8rem;
    font-weight: 700;

    text-align: center;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1100px) {

    .ct-social-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .ct-partnership {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 680px) {

    .ct-header {
        margin-top: 14px;

        padding: 12px;
    }

    .ct-back,
    .ct-kairos-link {
        min-height: 42px;

        padding: 0 14px;

        font-size: 0.76rem;
    }

    .ct-main {
        padding-top: 46px;
    }

    .ct-social-grid {
        grid-template-columns: 1fr;
    }

    .ct-social-card {
        min-height: 245px;
    }

    .ct-partnership {
        padding: 20px;
    }

    .ct-form {
        padding: 18px;
    }

    .ct-form-row {
        grid-template-columns: 1fr;
    }

}