/*
Theme Name: Codependent Pro
Theme URI: https://codependentllc.com/
Author: Codependent LLC
Description: CMS-ready premium WordPress theme for a web design, development, and digital consulting firm.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: codependent-pro
*/
:root {
    --bg: #020617;
    --panel: rgba(5, 12, 31, 0.76);
    --text: #ffffff;
    --muted: #a8b3c7;
    --line: rgba(255, 255, 255, 0.12);
    --blue: #1458ff;
    --cyan: #22d3ee;
    --violet: #7c3cff;
    --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(20, 88, 255, 0.14), transparent 34rem),
        #050816;
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.cp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(1, 5, 17, 0.92), rgba(1, 5, 17, 0.54));
    backdrop-filter: blur(18px);
}

.cp-header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 22px 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.cp-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
    min-width: 270px;
}

.cp-mark {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 7px solid var(--blue);
    border-right-color: var(--violet);
    border-radius: 14px 6px 14px 6px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 0 32px rgba(20, 88, 255, 0.34);
}

.cp-brand-title {
    display: block;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 800;
    font-size: 21px;
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.cp-brand-sub {
    display: block;
    margin-top: 6px;
    color: #cbd5e1;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.24em;
    line-height: 1;
    text-transform: uppercase;
}

.cp-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cp-nav a {
    color: #ffffff;
    display: inline-flex;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

.cp-nav a:hover { color: #8fb2ff; }

.cp-header-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(105deg, #1458ff, #7c3cff);
    color: #ffffff;
    padding: 15px 22px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
    box-shadow: 0 18px 48px rgba(20, 88, 255, 0.38);
}

.cp-header-cta::after {
    content: "->";
    margin-left: 16px;
    font-size: 18px;
}

.cp-menu-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
    color: #ffffff;
    border-radius: 10px;
    padding: 8px 11px;
    font-size: 26px;
}

.cp-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 130px 42px 38px;
    background:
        radial-gradient(circle at 69% 12%, rgba(20, 88, 255, 0.24), transparent 33%),
        radial-gradient(circle at 95% 40%, rgba(124, 60, 255, 0.28), transparent 32%),
        radial-gradient(circle at 20% 24%, rgba(34, 211, 238, 0.06), transparent 30%),
        #010511;
    border-bottom: 1px solid var(--line);
}

.cp-hero::before,
.cp-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.cp-hero::before {
    right: -8%;
    bottom: 4%;
    width: 72rem;
    height: 42rem;
    opacity: 0.68;
    background-image: radial-gradient(circle, rgba(42, 103, 255, 0.9) 1px, transparent 1.8px);
    background-size: 18px 18px;
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
    transform: perspective(720px) rotateX(62deg) rotateZ(-8deg);
    animation: cpWave 8s ease-in-out infinite;
}

.cp-hero::after {
    inset: 0;
    opacity: 0.46;
    background:
        radial-gradient(ellipse at 66% 38%, transparent 0 32%, rgba(20, 88, 255, 0.35) 32.2%, transparent 32.8%),
        radial-gradient(ellipse at 66% 38%, transparent 0 40%, rgba(124, 60, 255, 0.22) 40.2%, transparent 40.6%),
        radial-gradient(ellipse at 66% 38%, transparent 0 48%, rgba(20, 88, 255, 0.16) 48.2%, transparent 48.6%);
}

.cp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max);
    min-height: 610px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.78fr 1.12fr;
    gap: 48px;
    align-items: center;
}

.cp-hero-copy { max-width: 610px; }

.cp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 44px;
    border: 1px solid rgba(96, 165, 250, 0.26);
    background: rgba(2, 6, 23, 0.48);
    padding: 12px 20px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: inset 0 0 18px rgba(20, 88, 255, 0.12);
}

.cp-kicker span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 18px rgba(20, 88, 255, 0.95);
}

.cp-hero h1 {
    margin: 0;
    font-size: clamp(54px, 5.5vw, 88px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.cp-gradient {
    background: linear-gradient(90deg, #1458ff 0%, #246cff 42%, #7c3cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cp-lede {
    max-width: 650px;
    margin: 30px 0 0;
    color: #d5dbe8;
    font-size: 19px;
    line-height: 1.75;
}

.cp-actions {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border-radius: 8px;
    padding: 16px 28px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.cp-primary {
    background: linear-gradient(105deg, #1458ff, #7c3cff);
    box-shadow: 0 18px 52px rgba(20, 88, 255, 0.4);
}

.cp-secondary {
    border: 1px solid rgba(167, 139, 250, 0.56);
    background: rgba(255, 255, 255, 0.025);
}

.cp-secondary:hover,
.cp-header-cta:hover,
.cp-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 58px rgba(20, 88, 255, 0.48);
}

.cp-showcase {
    position: relative;
    min-height: 585px;
}

.cp-hero-image-card {
    position: absolute;
    top: 16px;
    right: 0;
    width: min(820px, 100%);
    border: 1px solid rgba(96, 165, 250, 0.82);
    border-radius: 30px;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.7);
    box-shadow:
        0 0 0 1px rgba(124, 60, 255, 0.26),
        0 0 34px rgba(20, 88, 255, 0.82),
        0 0 90px rgba(20, 88, 255, 0.46),
        0 34px 120px rgba(0, 0, 0, 0.82);
    transform: rotate(-3deg);
    animation: cpFloat 6.5s ease-in-out infinite;
}

.cp-hero-image-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 34px rgba(20, 88, 255, 0.38);
}

.cp-hero-image-card img {
    display: block;
    width: 100%;
    border-radius: 0;
}

.cp-visual-metrics {
    position: absolute;
    left: 4px;
    right: 74px;
    bottom: 30px;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(96, 165, 250, 0.72);
    border-radius: 18px;
    background: rgba(5, 12, 31, 0.78);
    padding: 20px 14px;
    box-shadow: 0 0 44px rgba(20, 88, 255, 0.64);
    backdrop-filter: blur(18px);
}

.cp-metric {
    min-width: 0;
    text-align: center;
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.cp-metric:last-child { border-right: 0; }
.cp-metric div {
    color: var(--blue);
    font-size: 29px;
    line-height: 1;
    font-weight: 950;
}
.cp-metric strong {
    display: block;
    margin-top: 10px;
    color: #ffffff;
    font-size: 35px;
    font-weight: 650;
    line-height: 1.05;
}
.cp-metric span {
    display: block;
    margin-top: 7px;
    color: #d7ddea;
    font-size: 13px;
    line-height: 1.35;
}

.cp-trusted {
    position: relative;
    z-index: 3;
    max-width: var(--max);
    margin: 50px auto 0;
    text-align: center;
}

.cp-trusted-label {
    color: #c5ccdc;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.54em;
    text-transform: uppercase;
}

.cp-logo-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 26px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 22px;
    font-weight: 900;
}

.cp-hero-features {
    position: relative;
    z-index: 3;
    max-width: var(--max);
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(12, 23, 48, 0.82), rgba(4, 10, 26, 0.78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 28px 80px rgba(0, 0, 0, 0.32);
    overflow: hidden;
}

.cp-hero-features > div {
    display: grid;
    grid-template-columns: 68px 1fr;
    column-gap: 18px;
    padding: 26px 34px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.cp-hero-features > div:last-child { border-right: 0; }
.cp-hero-features span {
    grid-row: span 2;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(20, 88, 255, 0.62);
    border-radius: 50%;
    color: #6c3cff;
    font-weight: 950;
    box-shadow: inset 0 0 20px rgba(20, 88, 255, 0.16);
}
.cp-hero-features strong {
    font-size: 16px;
    line-height: 1.25;
}
.cp-hero-features p {
    margin: 8px 0 0;
    color: #d0d6e4;
    line-height: 1.55;
}

.cp-section {
    padding: 92px 22px;
}
.cp-internal-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 22px 72px;
    background:
        radial-gradient(circle at 72% 14%, rgba(20, 88, 255, 0.26), transparent 30%),
        radial-gradient(circle at 95% 50%, rgba(124, 60, 255, 0.24), transparent 32%),
        linear-gradient(180deg, #010511 0%, #061126 100%);
    border-bottom: 1px solid var(--line);
}
.cp-internal-hero::before {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -22%;
    width: 58rem;
    height: 32rem;
    opacity: 0.5;
    background-image: radial-gradient(circle, rgba(42, 103, 255, 0.88) 1px, transparent 1.8px);
    background-size: 18px 18px;
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
    transform: perspective(680px) rotateX(62deg) rotateZ(-8deg);
}
.cp-internal-hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
    gap: 56px;
    align-items: center;
}
.cp-internal-hero h1 {
    margin: 0;
    max-width: 820px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}
.cp-internal-hero p,
.cp-entry-summary {
    max-width: 720px;
    color: #cbd5e1;
    font-size: 19px;
    line-height: 1.75;
}
.cp-entry-summary p {
    margin: 18px 0 0;
}
.cp-entry-summary p:first-child {
    margin-top: 0;
}
.cp-entry-summary strong,
.cp-entry-summary b {
    color: #ffffff;
}
.cp-entry-summary a {
    color: #93c5fd;
    font-weight: 800;
}
.cp-internal-visual {
    min-height: 320px;
    display: grid;
    place-items: center;
}
.cp-visual-window,
.cp-featured-image-card {
    position: relative;
    width: min(100%, 500px);
    min-height: 300px;
    border: 1px solid rgba(96, 165, 250, 0.72);
    border-radius: 26px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(3, 7, 18, 0.96), rgba(12, 28, 64, 0.74)),
        radial-gradient(circle at 82% 18%, rgba(124, 60, 255, 0.32), transparent 34%);
    box-shadow:
        0 0 34px rgba(20, 88, 255, 0.48),
        0 28px 90px rgba(0, 0, 0, 0.48);
}
.cp-visual-window {
    padding: 72px 34px 34px;
}
.cp-visual-window::before {
    content: "";
    position: absolute;
    inset: auto -10% -24% 20%;
    height: 210px;
    background-image: radial-gradient(circle, rgba(96, 165, 250, 0.68) 1px, transparent 1.8px);
    background-size: 15px 15px;
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
    transform: perspective(520px) rotateX(58deg) rotateZ(-8deg);
}
.cp-visual-window span {
    position: absolute;
    top: 24px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}
.cp-visual-window span:nth-child(1) { left: 28px; background: #1458ff; }
.cp-visual-window span:nth-child(2) { left: 46px; }
.cp-visual-window span:nth-child(3) { left: 64px; }
.cp-visual-window strong {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 340px;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.cp-visual-window em {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 18px;
    color: #cbd5e1;
    font-style: normal;
    line-height: 1.65;
}
.cp-featured-image-card img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    object-fit: cover;
}
.cp-internal-body {
    background:
        radial-gradient(circle at 12% 10%, rgba(34, 211, 238, 0.08), transparent 28%),
        #010511;
}
.cp-section.alt {
    background: rgba(255, 255, 255, 0.035);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.cp-section-inner {
    max-width: var(--max);
    margin: 0 auto;
}
.cp-section-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}
.cp-section-head { max-width: 780px; }
.cp-kicker-small {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.cp-section h2,
.cp-content h1 {
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    margin: 0;
}
.cp-section-lede {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.75;
}
.cp-grid-3,
.cp-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 44px;
}
.cp-archive-intro {
    max-width: 880px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(11, 23, 48, 0.78), rgba(5, 12, 31, 0.78));
    color: #cbd5e1;
    padding: 30px;
    line-height: 1.7;
}
.cp-archive-intro + .cp-portfolio-grid {
    margin-top: 28px;
}
.cp-archive-intro h2,
.cp-archive-intro h3 {
    color: #ffffff;
    margin-top: 0;
}
.cp-card,
.cp-post-card,
.cp-content-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.045);
    padding: 30px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}
.cp-feature-card {
    background:
        linear-gradient(180deg, rgba(11, 23, 48, 0.86), rgba(5, 12, 31, 0.86));
}
.cp-card h3,
.cp-post-card h3 {
    font-size: 24px;
    line-height: 1.2;
    margin: 12px 0;
}
.cp-card p,
.cp-post-card p,
.cp-content-card {
    color: #cbd5e1;
    line-height: 1.7;
}
.cp-card-icon {
    font-size: 34px;
    color: var(--cyan);
}
.cp-work-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(11, 23, 48, 0.82), rgba(5, 12, 31, 0.82));
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.cp-work-card:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}
.cp-work-link {
    display: flex;
    min-height: 100%;
    flex-direction: column;
}
.cp-work-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #22d3ee, #1d4ed8, #0f172a);
}
.cp-work-card:nth-child(2n) .cp-work-thumb { background: linear-gradient(135deg, #818cf8, #0f172a); }
.cp-work-card:nth-child(3n) .cp-work-thumb { background: linear-gradient(135deg, #6ee7b7, #164e63); }
.cp-thumb-image {
    position: absolute;
    inset: 0;
}
.cp-thumb-image img,
.cp-work-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.cp-work-placeholder {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 48%),
        radial-gradient(circle at 80% 20%, rgba(124, 60, 255, 0.42), transparent 38%);
}
.cp-work-thumb-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.84));
}
.cp-work-meta {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(2, 6, 23, 0.72);
    color: #bfdbfe;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}
.cp-work-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}
.cp-work-label {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.cp-work-body h3 {
    margin: 0;
    font-size: 23px;
    line-height: 1.2;
}
.cp-work-body p,
.cp-work-details {
    color: #cbd5e1;
    line-height: 1.65;
}
.cp-work-details {
    display: grid;
    gap: 10px;
    margin: 18px 0 22px;
}
.cp-work-details div {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
}
.cp-work-details dt {
    color: #93c5fd;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.cp-work-details dd {
    min-width: 0;
    margin: 0;
    color: #e2e8f0;
    overflow-wrap: anywhere;
}
.cp-work-cta {
    margin-top: auto;
    color: #93c5fd;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
.cp-case-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
}
.cp-case-panel {
    border: 1px solid var(--line);
    border-radius: 32px;
    background: rgba(15, 23, 42, 0.8);
    padding: 28px;
}
.cp-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.cp-info {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    padding: 18px;
}
.cp-info span {
    display: block;
    color: var(--cyan);
}
.cp-testimonials {
    background: #ffffff;
    color: #020617;
}
.cp-testimonials .cp-section-lede {
    color: #475569;
}
.cp-testimonial-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 44px;
}
.cp-testimonial-list {
    display: grid;
    gap: 20px;
}
.cp-quote {
    border-radius: 32px;
    background: #020617;
    color: #ffffff;
    padding: 36px;
}
.cp-stars {
    color: #facc15;
    font-size: 18px;
    letter-spacing: 0.08em;
}
.cp-quote p {
    font-size: 22px;
    line-height: 1.5;
    font-weight: 850;
}
.cp-quote span {
    color: #cbd5e1;
    display: block;
    font-weight: 800;
}
.cp-post-type {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 900;
}
.cp-cta { padding: 0 22px 92px; }
.cp-cta-inner {
    max-width: var(--max);
    margin: 0 auto;
    border-radius: 32px;
    background: var(--cyan);
    color: #020617;
    padding: 44px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}
.cp-cta h2 {
    font-size: clamp(38px, 4vw, 56px);
    margin: 0;
}
.cp-dark-btn {
    display: inline-flex;
    border-radius: 999px;
    background: #020617;
    color: #ffffff;
    padding: 16px 26px;
    font-weight: 900;
}
.cp-footer {
    border-top: 1px solid var(--line);
    padding: 34px 22px;
    color: #94a3b8;
}
.cp-footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.cp-content {
    max-width: 980px;
    margin: 0 auto;
}
.cp-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}
.cp-page-main {
    min-width: 0;
}
.cp-page-sidebar {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 120px;
}
.cp-content-card {
    margin-top: 0;
    background:
        linear-gradient(180deg, rgba(11, 23, 48, 0.86), rgba(5, 12, 31, 0.86));
}
.cp-empty-content {
    min-height: 300px;
    display: grid;
    align-content: center;
}
.cp-empty-content h2 {
    max-width: 680px;
    margin-top: 0;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}
.cp-empty-content p {
    max-width: 700px;
    font-size: 18px;
}
.cp-project-fallback h2 {
    margin-top: 0;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}
.cp-project-lede {
    max-width: 760px;
    font-size: 18px;
}
.cp-project-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 30px;
}
.cp-project-detail-grid section {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    padding: 22px;
}
.cp-project-detail-grid span {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.cp-project-detail-grid p {
    margin: 12px 0 0;
    color: #cbd5e1;
    line-height: 1.65;
}
.cp-mini-panel {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(12, 23, 48, 0.86), rgba(4, 10, 26, 0.86));
    padding: 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}
.cp-mini-panel span {
    display: inline-flex;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.cp-mini-panel strong {
    display: block;
    margin-top: 14px;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.2;
}
.cp-mini-panel p {
    margin: 10px 0 0;
    color: #cbd5e1;
    line-height: 1.6;
}
.cp-content-card h2,
.cp-content-card h3,
.cp-content-card h4 {
    color: #ffffff;
}
.cp-content-card img {
    border-radius: 18px;
    margin-bottom: 24px;
}
.cp-content-card form,
.cp-content-card .wpcf7,
.cp-content-card .wpforms-container,
.cp-content-card .gform_wrapper {
    width: 100%;
}
.cp-content-card label {
    display: block;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 8px;
}
.cp-content-card form p,
.cp-content-card form span,
.cp-content-card form strong,
.cp-content-card form b,
.cp-content-card .wpcf7-form p,
.cp-content-card .wpcf7-form span,
.cp-content-card .wpcf7-form strong,
.cp-content-card .wpcf7-form b,
.cp-content-card .wpforms-container .wpforms-title,
.cp-content-card .wpforms-container .wpforms-description,
.cp-content-card .wpforms-container .wpforms-field,
.cp-content-card .wpforms-container .wpforms-field-label,
.cp-content-card .wpforms-container .wpforms-field-sublabel,
.cp-content-card .wpforms-container .wpforms-field-description,
.cp-content-card .wpforms-container legend,
.wpforms-container label,
.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-sublabel,
.wpforms-container .wpforms-field-description,
.wpforms-container legend,
.gform_wrapper label,
.gform_wrapper .gfield_label {
    color: #ffffff !important;
}
.cp-content-card form strong,
.cp-content-card form b,
.cp-content-card .wpcf7-form strong,
.cp-content-card .wpcf7-form b,
.cp-content-card .wpforms-container .wpforms-field-label,
.cp-content-card .wpforms-container legend,
.wpforms-container .wpforms-field-label,
.wpforms-container legend,
.gform_wrapper .gfield_label {
    font-weight: 800 !important;
}
.cp-content-card .required,
.cp-content-card .wpcf7-form .required,
.cp-content-card .wpcf7-not-valid-tip,
.wpforms-container .wpforms-required-label,
.wpforms-container .wpforms-error,
.gform_wrapper .gfield_required,
.gform_wrapper .validation_message {
    color: #fca5a5;
    font-weight: 800;
}
.cp-content-card input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.cp-content-card textarea,
.cp-content-card select,
.cp-content-card .wpcf7-form-control-wrap,
.wpcf7 input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 textarea,
.wpcf7 select,
.wpforms-container input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.wpforms-container textarea,
.wpforms-container select,
.gform_wrapper input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.gform_wrapper textarea,
.gform_wrapper select {
    width: 100%;
    max-width: 100%;
}
.cp-content-card input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.cp-content-card textarea,
.cp-content-card select,
.cp-content-card .wpcf7-form-control,
.cp-content-card .wpforms-field input,
.cp-content-card .wpforms-field textarea,
.cp-content-card .wpforms-field select,
.cp-content-card .ginput_container input,
.cp-content-card .ginput_container textarea,
.cp-content-card .ginput_container select,
.wpcf7 input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 textarea,
.wpcf7 select,
.wpforms-container input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.wpforms-container textarea,
.wpforms-container select,
.gform_wrapper input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.gform_wrapper textarea,
.gform_wrapper select {
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 12px !important;
    background: rgba(2, 6, 23, 0.72) !important;
    color: #ffffff !important;
    padding: 14px 16px !important;
    font: inherit !important;
    box-shadow: none !important;
    -webkit-text-fill-color: #ffffff;
}
.cp-content-card textarea,
.cp-content-card .wpcf7 textarea,
.cp-content-card .wpforms-field textarea,
.cp-content-card .ginput_container textarea,
.wpcf7 textarea,
.wpforms-container textarea,
.gform_wrapper textarea {
    min-height: 150px !important;
    resize: vertical;
    color: #ffffff !important;
    background: rgba(2, 6, 23, 0.72) !important;
}
.cp-content-card input::placeholder,
.cp-content-card textarea::placeholder,
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder,
.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder,
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.52);
}
.cp-content-card input:focus,
.cp-content-card textarea:focus,
.cp-content-card select:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus,
.wpforms-container input:focus,
.wpforms-container textarea:focus,
.wpforms-container select:focus,
.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.8) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
}
.cp-content-card input[type="submit"],
.cp-content-card button[type="submit"],
.wpcf7 input[type="submit"],
.wpforms-container button[type="submit"],
.wpforms-container .wpforms-submit,
.gform_wrapper input[type="submit"],
.gform_wrapper .gform_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 8px;
    background: linear-gradient(105deg, #1458ff, #7c3cff) !important;
    color: #ffffff !important;
    padding: 15px 22px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 18px 48px rgba(20, 88, 255, 0.38);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.cp-content-card input[type="submit"]:hover,
.cp-content-card button[type="submit"]:hover,
.wpcf7 input[type="submit"]:hover,
.wpforms-container button[type="submit"]:hover,
.wpforms-container .wpforms-submit:hover,
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper .gform_button:hover {
    color: #ffffff !important;
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 22px 56px rgba(20, 88, 255, 0.48);
}
.cp-text-link {
    color: #93c5fd;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
.cp-notice {
    border: 1px dashed rgba(34, 211, 238, 0.45);
    border-radius: 18px;
    padding: 22px;
    color: #cbd5e1;
}

@keyframes cpWave {
    50% { transform: perspective(720px) rotateX(62deg) rotateZ(-8deg) translateY(-24px); }
}
@keyframes cpFloat {
    50% { transform: rotate(-3deg) translateY(-12px); }
}

@media (max-width: 1240px) {
    .cp-header-inner { padding-inline: 26px; }
    .cp-brand { min-width: 260px; }
    .cp-brand-title { font-size: 20px; }
    .cp-nav ul { gap: 22px; }
    .cp-hero { padding-inline: 26px; }
    .cp-hero-inner { grid-template-columns: 0.9fr 1fr; }
    .cp-hero h1 { font-size: clamp(48px, 6vw, 72px); }
    .cp-hero-features { grid-template-columns: repeat(2, 1fr); }
    .cp-hero-features > div:nth-child(2n) { border-right: 0; }
    .cp-hero-features > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
}

@media (max-width: 1100px) {
    .cp-nav,
    .cp-header-cta { display: none; }
    .cp-menu-toggle { display: block; }
    .cp-mobile-open .cp-nav {
        display: block;
        position: absolute;
        left: 18px;
        right: 18px;
        top: 82px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #020617;
        padding: 18px;
    }
    .cp-mobile-open .cp-nav ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .cp-hero-inner,
    .cp-internal-hero-inner,
    .cp-page-layout,
    .cp-case-layout,
    .cp-testimonial-grid {
        grid-template-columns: 1fr;
    }
    .cp-page-sidebar {
        position: static;
        grid-template-columns: repeat(3, 1fr);
    }
    .cp-internal-visual {
        min-height: 280px;
        place-items: start;
    }
    .cp-hero-copy { max-width: 820px; }
    .cp-showcase { min-height: 620px; }
    .cp-hero-image-card {
        left: 0;
        right: auto;
        width: min(850px, 100%);
    }
    .cp-visual-metrics {
        left: 24px;
        right: 24px;
    }
    .cp-grid-3,
    .cp-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .cp-logo-row { grid-template-columns: repeat(3, 1fr); }
    .cp-cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .cp-header-inner { padding: 16px 18px; }
    .cp-brand {
        min-width: 0;
        gap: 10px;
    }
    .cp-mark {
        width: 42px;
        height: 42px;
        border-width: 6px;
        font-size: 18px;
    }
    .cp-brand-title { font-size: 16px; }
    .cp-brand-sub {
        font-size: 9px;
        letter-spacing: 0.28em;
    }
    .cp-hero {
        padding: 108px 18px 30px;
        min-height: auto;
    }
    .cp-internal-hero {
        padding: 110px 18px 48px;
    }
    .cp-internal-hero h1 {
        font-size: 42px;
    }
    .cp-internal-hero p,
    .cp-entry-summary {
        font-size: 17px;
        line-height: 1.65;
    }
    .cp-internal-visual {
        min-height: auto;
    }
    .cp-visual-window,
    .cp-featured-image-card {
        min-height: 250px;
        border-radius: 18px;
    }
    .cp-visual-window {
        padding: 62px 24px 28px;
    }
    .cp-visual-window strong {
        font-size: 30px;
    }
    .cp-kicker {
        margin-bottom: 28px;
        font-size: 11px;
        line-height: 1.4;
    }
    .cp-hero h1 {
        font-size: 46px;
        letter-spacing: -0.035em;
    }
    .cp-lede {
        font-size: 17px;
        line-height: 1.65;
    }
    .cp-actions {
        gap: 14px;
    }
    .cp-btn {
        width: 100%;
        min-height: 54px;
    }
    .cp-showcase {
        min-height: auto;
        padding-bottom: 0;
    }
    .cp-hero-image-card {
        position: relative;
        top: 20px;
        transform: none;
        border-radius: 18px;
    }
    .cp-visual-metrics {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: 36px;
        grid-template-columns: repeat(2, 1fr);
    }
    .cp-metric:nth-child(2n) { border-right: 0; }
    .cp-metric:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
    .cp-trusted { margin-top: 26px; }
    .cp-trusted-label {
        font-size: 11px;
        line-height: 1.6;
        letter-spacing: 0.28em;
    }
    .cp-logo-row {
        grid-template-columns: repeat(2, 1fr);
        font-size: 18px;
    }
    .cp-hero-features {
        grid-template-columns: 1fr;
        margin-top: 26px;
    }
    .cp-hero-features > div {
        grid-template-columns: 56px 1fr;
        padding: 22px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .cp-hero-features > div:last-child { border-bottom: 0; }
    .cp-hero-features span {
        width: 46px;
        height: 46px;
    }
    .cp-grid-3,
    .cp-portfolio-grid,
    .cp-info-grid,
    .cp-project-detail-grid { grid-template-columns: 1fr; }
    .cp-page-sidebar {
        grid-template-columns: 1fr;
    }
    .cp-section-row { align-items: flex-start; flex-direction: column; }
    .cp-footer-inner { flex-direction: column; }
}
