/* ============================================================
   Cinext Studios — Main Stylesheet
   Version: 1.0.0
   
   TABLE OF CONTENTS
   1.  Reset & Base
   2.  Page Wrapper
   3.  Spotlight
   4.  Film Strip
   5.  Hero Section
   6.  Section Utility
   7.  Services Grid
   8.  Service Cards
   9.  More Bar
   10. Sign-Up Section
   11. Mailchimp Form Overrides
   12. Footer
   13. Responsive
   14. Animations
============================================================ */


/* ============================================================
   1. RESET & BASE
============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    background: #0a0a0a;
    color: #e8e0d0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

/* Suppress WP admin bar top offset */
html { margin-top: 0 !important; }
#wpadminbar { display: none !important; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }


/* ============================================================
   2. PAGE WRAPPER
============================================================ */
.cx-page {
    min-height: 100vh;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}


/* ============================================================
   3. SPOTLIGHT
============================================================ */
.cx-spotlight {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse at top, rgba(160,128,96,0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}


/* ============================================================
   4. FILM STRIP
============================================================ */
.cx-film-strip {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 28px;
    background: #111;
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-shrink: 0;
}
.cx-film-strip--top    { border-bottom: 1px solid #1e1e1e; }
.cx-film-strip--bottom { border-top: 1px solid #1e1e1e; margin-top: auto; }

.cx-film-hole {
    width: 18px;
    height: 13px;
    border: 1.5px solid #2a2a2a;
    border-radius: 2px;
    background: #0a0a0a;
    margin: 0 10px;
    flex-shrink: 0;
}


/* ============================================================
   5. HERO SECTION
============================================================ */
.cx-hero {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 40px 48px;
}

.cx-site-logo {
    height: 90px;
    width: auto;
    margin-bottom: 12px;
    filter: invert(1) sepia(1) saturate(0.3) brightness(0.85);
}

.cx-logo-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: #666;
    letter-spacing: 0.14em;
    margin-bottom: 32px;
}

.cx-divider {
    width: 100%;
    max-width: 680px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a08060, transparent);
    margin-bottom: 32px;
}

.cx-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 300;
    line-height: 1.3;
    color: #e8e0d0;
    max-width: 600px;
    margin-bottom: 14px;
}
.cx-headline em {
    font-style: italic;
    color: #c4aa80;
}

.cx-subtext {
    font-size: 13px;
    font-weight: 300;
    color: #555;
    letter-spacing: 0.05em;
    max-width: 460px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.cx-quote {
    border-left: 2px solid #a08060;
    padding: 14px 22px;
    text-align: left;
    max-width: 520px;
    width: 100%;
    background: rgba(160,128,96,0.05);
    border-radius: 0 3px 3px 0;
    margin-bottom: 0;
}
.cx-quote p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 17px;
    color: #aaa;
    line-height: 1.65;
    margin-bottom: 10px;
}
.cx-quote cite {
    font-size: 11px;
    letter-spacing: 0.15em;
    color: #a08060;
    text-transform: uppercase;
    font-style: normal;
}


/* ============================================================
   6. SECTION UTILITY
============================================================ */
.cx-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 40px;
}

.cx-section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}
.cx-section-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14px;
    letter-spacing: 0.3em;
    color: #a08060;
    white-space: nowrap;
}
.cx-section-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #2a2a2a, transparent);
}


/* ============================================================
   7. SERVICES GRID
============================================================ */
.cx-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}


/* ============================================================
   8. SERVICE CARDS
============================================================ */
.cx-card {
    background: rgba(255,255,255,0.025);
    border: 0.5px solid #222;
    border-radius: 5px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.cx-card:hover {
    border-color: #3a3028;
    background: rgba(255,255,255,0.035);
}
.cx-card--featured {
    border-color: #2a2418;
    background: rgba(160,128,96,0.07);
}

.cx-card-logo {
    height: 81px;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.cx-card-logo img {
    max-height: 75px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    object-position: left center;
    filter: invert(1) sepia(1) saturate(0.4) brightness(0.78);
}
.cx-card--featured .cx-card-logo img {
    filter: invert(1) sepia(1) saturate(0.5) brightness(0.82) hue-rotate(5deg);
}
.cx-card-logo img.no-filter {
    filter: none;
}

.cx-card-badge {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 10px;
    letter-spacing: 0.22em;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 14px;
    display: inline-block;
    width: fit-content;
}
.cx-badge--gold { background: rgba(160,128,96,0.15); color: #a08060; }
.cx-badge--blue { background: rgba(80,100,180,0.12); color: #7090c8; }
.cx-badge--gray { background: rgba(60,60,60,0.4);    color: #555;    }
.cx-badge--live { background: rgba(30,160,80,0.15);  color: #4caf7d; }

.cx-card-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 0 0 auto;
}

.cx-card-bullets { flex: 1; }
.cx-card-bullets li {
    font-size: 12px;
    color: #666;
    line-height: 1.75;
    padding-left: 16px;
    position: relative;
}
.cx-card-bullets li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #a08060;
    font-size: 9px;
    top: 3px;
}


/* ============================================================
   9. MORE BAR
============================================================ */
.cx-more-bar {
    background: rgba(255,255,255,0.015);
    border: 0.5px solid #1e1e1e;
    border-radius: 5px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cx-more-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: #555;
    margin-bottom: 4px;
}
.cx-more-items {
    font-size: 11px;
    color: #3a3a3a;
    line-height: 1.6;
}
.cx-more-arrow {
    font-size: 22px;
    color: #2e2e2e;
    flex-shrink: 0;
}


/* ============================================================
   10. SIGN-UP SECTION
============================================================ */
.cx-signup-inner {
    background: rgba(255,255,255,0.02);
    border: 0.5px solid #222;
    border-radius: 5px;
    padding: 32px 36px;
}

.cx-signup-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.cx-signup-copy h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 300;
    color: #e8e0d0;
    line-height: 1.35;
    margin-bottom: 12px;
}
.cx-signup-copy p {
    font-size: 13px;
    color: #555;
    line-height: 1.75;
}

.cx-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}
.cx-form-full { grid-column: 1 / -1; }


/* ============================================================
   11. MAILCHIMP FORM OVERRIDES
   Namespaced to #mc_embed_signup so nothing bleeds out
============================================================ */
#mc_embed_signup {
    background: transparent !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12px !important;
    clear: left !important;
    width: 100% !important;
}
#mc_embed_signup form { padding: 0 !important; }
#mc_embed_signup .mc-field-group {
    padding-bottom: 0 !important;
    width: 100% !important;
}

/* Text, email, tel inputs */
#mc_embed_signup input[type="text"],
#mc_embed_signup input[type="email"],
#mc_embed_signup input[type="tel"] {
    background: rgba(255,255,255,0.04) !important;
    border: 0.5px solid #2a2a2a !important;
    border-radius: 3px !important;
    padding: 10px 14px !important;
    color: #e8e0d0 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0.03em !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    -webkit-appearance: none !important;
}
#mc_embed_signup input[type="text"]:focus,
#mc_embed_signup input[type="email"]:focus,
#mc_embed_signup input[type="tel"]:focus {
    border-color: #a08060 !important;
}
#mc_embed_signup input::placeholder { color: #3a3a3a !important; }

/* Submit button */
#mc_embed_signup input[type="submit"],
#mc_embed_signup .button {
    background: #a08060 !important;
    border: none !important;
    border-radius: 3px !important;
    padding: 12px 20px !important;
    color: #0a0a0a !important;
    font-family: 'Bebas Neue', sans-serif !important;
    font-size: 16px !important;
    letter-spacing: 0.2em !important;
    cursor: pointer !important;
    width: 100% !important;
    height: auto !important;
    line-height: 1 !important;
    transition: background 0.2s !important;
    margin-top: 6px !important;
}
#mc_embed_signup input[type="submit"]:hover,
#mc_embed_signup .button:hover { background: #c4aa80 !important; }

/* Radio button group — Industry Role */
#mc_embed_signup .input-group strong {
    display: block !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: 0.08em !important;
    color: #555 !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
}
#mc_embed_signup .input-group ul {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
#mc_embed_signup .input-group ul li {
    margin: 0 !important;
    padding: 0 !important;
}
#mc_embed_signup .input-group label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12px !important;
    color: #888 !important;
    cursor: pointer !important;
    padding: 8px 12px !important;
    border: 0.5px solid #2a2a2a !important;
    border-radius: 3px !important;
    background: rgba(255,255,255,0.03) !important;
    transition: border-color 0.2s, color 0.2s !important;
    letter-spacing: 0 !important;
}
#mc_embed_signup .input-group label:hover {
    border-color: #a08060 !important;
    color: #c4aa80 !important;
}
#mc_embed_signup .input-group input[type="radio"] {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    accent-color: #a08060 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    -webkit-appearance: auto !important;
}
#mc_embed_signup .input-group li:has(input:checked) label {
    border-color: #a08060 !important;
    color: #c4aa80 !important;
    background: rgba(160,128,96,0.08) !important;
}

/* Error / success messages */
#mc_embed_signup #mce-responses { margin-top: 8px !important; }
#mc_embed_signup .response {
    font-size: 12px !important;
    padding: 8px 12px !important;
    border-radius: 3px !important;
    margin-top: 6px !important;
}
#mc_embed_signup #mce-error-response {
    color: #e07070 !important;
    background: rgba(200,80,80,0.08) !important;
    border: 0.5px solid rgba(200,80,80,0.2) !important;
}
#mc_embed_signup #mce-success-response {
    color: #4caf7d !important;
    background: rgba(30,160,80,0.08) !important;
    border: 0.5px solid rgba(30,160,80,0.2) !important;
}

/* Hide Mailchimp branding & unnecessary elements */
#mc_embed_signup .optionalParent    { display: none !important; }
#mc_embed_signup .indicates-required { display: none !important; }


/* ============================================================
   12. FOOTER
============================================================ */
.cx-footer {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cx-footer-logo {
    height: 30px;
    width: auto;
    filter: invert(1) sepia(1) saturate(0.2) brightness(0.4);
    transition: filter 0.2s;
}
.cx-footer-logo:hover {
    filter: invert(1) sepia(1) saturate(0.3) brightness(0.6);
}

.cx-footer-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cx-footer-links { display: flex; gap: 18px; }
.cx-footer-links a {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #3a3a3a;
    text-transform: uppercase;
    transition: color 0.2s;
}
.cx-footer-links a:hover { color: #a08060; }

.cx-social { display: flex; gap: 10px; }
.cx-social-btn {
    width: 30px;
    height: 30px;
    border: 0.5px solid #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
    cursor: pointer;
}
.cx-social-btn:hover { border-color: #a08060; }
.cx-social-btn svg {
    width: 13px;
    height: 13px;
    fill: #444;
}

.cx-copyright {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 10px;
    color: #2e2e2e;
    letter-spacing: 0.1em;
    padding: 16px 40px 0;
}


/* ============================================================
   13. RESPONSIVE
============================================================ */
@media (max-width: 820px) {
    .cx-services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .cx-signup-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
    .cx-hero         { padding: 40px 24px 36px; }
    .cx-section      { padding: 36px 24px; }
    .cx-signup-inner { padding: 24px 20px; }
    .cx-footer       { padding: 16px 24px 0; flex-direction: column; align-items: flex-start; }
    .cx-footer-right { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
    .cx-form-row { grid-template-columns: 1fr; }
    #mc_embed_signup .input-group ul { grid-template-columns: 1fr !important; }
}


/* ============================================================
   14. ANIMATIONS
============================================================ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cx-site-logo     { animation: fadeUp 0.7s ease both; animation-delay: 0.1s; }
.cx-logo-tagline  { animation: fadeUp 0.7s ease both; animation-delay: 0.2s; }
.cx-divider       { animation: fadeUp 0.7s ease both; animation-delay: 0.3s; }
.cx-headline      { animation: fadeUp 0.7s ease both; animation-delay: 0.4s; }
.cx-subtext       { animation: fadeUp 0.7s ease both; animation-delay: 0.5s; }
.cx-quote         { animation: fadeUp 0.7s ease both; animation-delay: 0.6s; }
.cx-services-grid { animation: fadeUp 0.7s ease both; animation-delay: 0.75s; }
