/* ===============
   CONTACT — asset/css/contact.css
   Premium · Minimal · On-brand
   ==================== */

/* ---- Nav ---- */
.nav-link--active { opacity: 1; position: relative; }
.nav-link--active::after {
    content: ''; position: absolute;
    bottom: -4px; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, #FF61D2, #6F4CFF);
}
.nav-contact-btn {
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 0.15em; padding: 8px 20px;
    border: 1px solid currentColor; border-radius: 999px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-block;
}
.nav-contact-btn:hover { background-color: var(--text-color); color: var(--bg-color); }
.nav-contact-btn--active {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* =================
   LAYOUT
   ================== */
.ct-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 6vw;
}

/* ====================
   HERO
   ======================== */
#ct-hero {
    padding-top: 11rem;
    padding-bottom: 6rem;
    background: var(--bg-color);
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--line-color);
}

.ct-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}
.ct-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-weight: 600;
    opacity: 0.4;
}
.ct-hero-index { opacity: 0.22; }

/* Availability pulse dot */
.ct-avail-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: ctDotPulse 2.5s ease-in-out infinite;
}
@keyframes ctDotPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.45); }
    50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* Giant title */
.ct-hero-title {
    font-size: clamp(4.5rem, 13vw, 10rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.9;
    color: var(--text-color);
    margin-bottom: 3rem;
}

/* Description */
.ct-hero-desc {
    max-width: 520px;
}
.ct-hero-desc p {
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.65;
    margin-bottom: 0.5rem;
}
.ct-hero-desc p:last-child { margin-bottom: 0; }

/* ========================
   BODY — two-column grid
   ======================== */
#ct-body {
    padding: 6rem 0 8rem;
    background: var(--bg-color);
    position: relative;
    z-index: 10;
}
.ct-body-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 8rem;
    align-items: start;
}
@media (max-width: 860px) {
    .ct-body-grid {
        grid-template-columns: 1fr;
        gap: 4.5rem;
    }
}

/* ========================
   CONTACT METHODS
   ======================== */
.ct-methods {
    display: flex;
    flex-direction: column;
    gap: 0;
}
@media (min-width: 860px) {
    .ct-methods { position: sticky; top: 7rem; }
}

.ct-method-group {
    padding: 2rem 0;
    border-bottom: 1px solid var(--line-color);
}
.ct-method-group:first-child { border-top: 1px solid var(--line-color); }

.ct-method-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-weight: 700;
    opacity: 0.35;
    margin-bottom: 0.75rem;
}
.ct-method-icon {
    width: 14px; height: 14px;
    flex-shrink: 0; overflow: visible;
}
.ct-method-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.4;
}
.ct-link {
    position: relative;
    display: inline-block;
    transition: color 0.25s ease;
}
.ct-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: linear-gradient(90deg, #FF61D2, #6F4CFF);
    transition: width 0.35s cubic-bezier(0.22,1,0.36,1);
}
.ct-link:hover { color: #6F4CFF; }
.ct-link:hover::after { width: 100%; }

/* Socials */
.ct-socials {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.ct-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
}
.ct-social-icon {
    width: 13px; height: 13px;
    opacity: 0.45;
    transition: opacity 0.25s ease;
}
.ct-social-link:hover .ct-social-icon { opacity: 1; }

/* Orbital decoration */
.ct-orb-mark {
    width: 80px; height: 80px;
    margin-top: 2.5rem;
    opacity: 0.55;
}
.ct-orb-mark svg { width: 100%; height: 100%; overflow: visible; }
.ct-orb-r1 {
    transform-origin: 40px 40px;
    animation: ctSpin 14s linear infinite;
}
.ct-orb-r2 {
    transform-origin: 40px 40px;
    animation: ctSpin 20s linear infinite reverse;
}
.ct-orb-dot {
    transform-origin: 40px 40px;
    animation: ctSpin 14s linear infinite;
}
.ct-pulse {
    animation: ctPulse 2.2s ease-in-out infinite;
}

/* ========================
   CONTACT FORM
   ======================== */
.ct-form-wrap {
    padding-top: 0.25rem;
}

/* Form header */
.ct-form-header {
    margin-bottom: 2.25rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--line-color);
}
.ct-form-eyebrow {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-weight: 700;
    opacity: 0.35;
    margin-bottom: 0.35rem;
}
.ct-form-hint {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-muted);
    opacity: 0.5;
}

/* Name + Email side by side row */
.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
@media (max-width: 500px) {
    .ct-row { grid-template-columns: 1fr; }
}

/* Individual field */
.ct-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
}
.ct-row .ct-field { margin-bottom: 0; }

/* Label */
.ct-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.45;
    transition: opacity 0.25s ease, color 0.25s ease;
    display: block;
    pointer-events: none;
}
.ct-field:focus-within .ct-label {
    opacity: 1;
    color: var(--text-color);
}

/* Input & textarea — solid bordered card */
.ct-input {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--line-color);
    border-radius: 0.875rem;
    outline: none;
    padding: 0.9rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    font-family: inherit;
    caret-color: #FF61D2;
    resize: none;
    -webkit-appearance: none;
    appearance: none;
    transition:
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}
.ct-input::placeholder {
    color: var(--text-muted);
    opacity: 0.38;
}
.ct-input:hover {
    border-color: rgba(111, 76, 255, 0.25);
}
.ct-input:focus {
    border-color: rgba(111, 76, 255, 0.5);
    background: var(--bg-color);
    box-shadow:
        0 0 0 3px rgba(111, 76, 255, 0.08),
        0 2px 12px rgba(111, 76, 255, 0.05);
}
html[data-theme='dark'] .ct-input:focus {
    box-shadow:
        0 0 0 3px rgba(111, 76, 255, 0.14),
        0 2px 12px rgba(111, 76, 255, 0.1);
}

.ct-textarea {
    min-height: 140px;
    line-height: 1.75;
    padding-top: 0.9rem;
}

/* Status */
.ct-status {
    min-height: 1.25rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: 1.25rem;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.ct-status.is-visible { opacity: 1; transform: translateY(0); }
.ct-status.is-success { color: #22c55e; }
.ct-status.is-error   { color: #FF61D2; }

/* Submit row */
.ct-submit-row {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

/* Button — filled, matches site's primary CTA style */
.ct-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.875rem 1.75rem;
    background: var(--text-color);
    color: var(--bg-color);
    border: 1px solid var(--text-color);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    cursor: pointer;
    font-family: inherit;
    transition:
        opacity 0.3s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}
.ct-btn:hover {
    opacity: 0.82;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}
.ct-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }

.ct-btn-icon {
    width: 16px; height: 16px;
    flex-shrink: 0; display: flex;
    transition: transform 0.25s ease;
}
.ct-btn-icon svg { width: 100%; height: 100%; }
.ct-btn:hover:not(:disabled) .ct-btn-icon { transform: translateX(3px); }

.ct-btn-spinner {
    width: 16px; height: 16px;
    flex-shrink: 0; display: none;
}
.ct-btn-spinner svg { width: 100%; height: 100%; }
.ct-spinner-arc {
    transform-origin: 9px 9px;
    animation: ctSpin 0.75s linear infinite;
}

.ct-btn.is-loading .ct-btn-text    { opacity: 0.5; }
.ct-btn.is-loading .ct-btn-icon    { display: none; }
.ct-btn.is-loading .ct-btn-spinner { display: flex; }

/* ========================
   FOOTER
   ======================== */
#ct-footer { background: var(--bg-color); padding: 2rem 0; position: relative; z-index: 10; }
.ct-footer-inner { display: flex; justify-content: space-between; align-items: center; }


/* ========================
   KEYFRAMES
   ======================== */
@keyframes ctSpin  { to { transform: rotate(360deg); } }
@keyframes ctPulse {
    0%,100% { opacity: 0.45; transform: scale(1); }
    50%     { opacity: 1;    transform: scale(1.3); }
}