/*
Theme Name:     Clarvity Digital
Theme URI:      https://clarvity.com
Template:       hello-elementor
Author:         Clarvity Digital
Author URI:     https://clarvity.com
Description:    Custom child theme for Clarvity Digital — a premium digital studio. Built on Hello Elementor with a bespoke design system: Syne + Kanit typography, purple/lavender/black palette, liquid glass hero support, and Elementor-friendly CSS classes for building sections that match the Clarvity brand.
Version:        1.1.0
Requires PHP:   7.4
Tested up to:   6.6
License:        GPL-2.0-or-later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    clarvity
Tags:           elementor, child-theme, dark, purple, agency, portfolio, one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   CLARVITY DIGITAL — DESIGN TOKENS
   Applied globally; can be overridden per-element in Elementor
   ============================================================ */

:root {
    /* -------- Palette (matches Numérique / onemorekrishna vibe) -------- */
    --clv-purple:            #6754E9;
    --clv-purple-deep:       #4338CA;
    --clv-purple-vivid:      #6C5CE7;
    --clv-purple-soft:       #8B7FE8;
    --clv-lavender:          #E9E5FF;
    --clv-lavender-mid:      #DDD8FE;
    --clv-off-white:         #F7F7FA;
    --clv-white:             #FFFFFF;
    --clv-dark:              #000000;
    --clv-dark-2:            #1E1E2C;
    --clv-text:              #000000;
    --clv-text-muted:        rgba(0, 0, 0, 0.7);
    --clv-text-dim:          rgba(0, 0, 0, 0.5);
    --clv-line:              #E2E2E2;
    --clv-line-purple:       rgba(103, 84, 233, 0.15);
    --clv-yellow:            #FFBE11;
    --clv-yellow-soft:       #F5C542;

    /* -------- Glass surfaces (for liquid glass sections) -------- */
    --clv-glass-white:       rgba(255, 255, 255, 0.14);
    --clv-glass-white-strong:rgba(255, 255, 255, 0.22);
    --clv-glass-purple:      rgba(139, 127, 232, 0.12);

    /* -------- Typography -------- */
    --clv-font-display:      'Syne', system-ui, sans-serif;
    --clv-font-body:         'Kanit', system-ui, sans-serif;

    /* -------- Spacing rhythm -------- */
    --clv-space-xs:          8px;
    --clv-space-sm:          16px;
    --clv-space-md:          24px;
    --clv-space-lg:          40px;
    --clv-space-xl:          64px;
    --clv-space-2xl:         100px;

    /* -------- Radius -------- */
    --clv-radius-sm:         12px;
    --clv-radius-md:         20px;
    --clv-radius-lg:         28px;
    --clv-radius-pill:       999px;

    /* -------- Shadow -------- */
    --clv-shadow-sm:         0 4px 16px rgba(15, 15, 26, 0.06);
    --clv-shadow-md:         0 12px 30px rgba(15, 15, 26, 0.10);
    --clv-shadow-lg:         0 20px 60px rgba(15, 15, 26, 0.15);
    --clv-shadow-glass:      0 20px 50px rgba(15, 15, 26, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    --clv-shadow-purple:     0 8px 32px rgba(103, 84, 233, 0.28);
}

/* ============================================================
   GLOBAL BASE OVERRIDES
   These make Elementor-built pages inherit Clarvity's look
   without you having to set fonts/colors on every widget
   ============================================================ */

body,
body.elementor-default {
    font-family: var(--clv-font-body), sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.55;
    color: var(--clv-text);
    background: var(--clv-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
    font-family: var(--clv-font-display), sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--clv-text);
}

h1 { font-size: clamp(40px, 6vw, 66px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.03em; }
h3 { font-size: clamp(26px, 3.2vw, 40px); }
h4 { font-size: clamp(22px, 2.6vw, 30px); }
h5 { font-size: 20px; }
h6 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.1em; }

a { color: var(--clv-purple); text-decoration: none; transition: color 0.2s ease; }
a:hover, a:focus { color: var(--clv-purple-deep); }

p { margin-bottom: 1em; }
strong { font-weight: 600; }

/* ============================================================
   CLARVITY UTILITY CLASSES
   Add these as "CSS Classes" in any Elementor widget's Advanced tab
   to instantly apply Clarvity's design language.
   ============================================================ */

/* ---- Buttons ---- */
.clv-btn-primary,
.elementor-button.clv-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 30px !important;
    background: var(--clv-dark) !important;
    color: var(--clv-white) !important;
    border: none !important;
    border-radius: var(--clv-radius-pill) !important;
    font-family: var(--clv-font-body) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.04em !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
}
.clv-btn-primary:hover,
.elementor-button.clv-btn-primary:hover {
    background: var(--clv-dark-2) !important;
    transform: translateY(-2px);
    color: var(--clv-white) !important;
}

.clv-btn-purple,
.elementor-button.clv-btn-purple {
    background: var(--clv-purple) !important;
    color: var(--clv-white) !important;
    border: none !important;
    border-radius: var(--clv-radius-pill) !important;
    padding: 15px 30px !important;
    font-family: var(--clv-font-body) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    box-shadow: var(--clv-shadow-purple);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.clv-btn-purple:hover {
    background: var(--clv-purple-deep) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(103, 84, 233, 0.4);
    color: var(--clv-white) !important;
}

.clv-btn-ghost,
.elementor-button.clv-btn-ghost {
    background: transparent !important;
    color: var(--clv-text) !important;
    border: 1.5px solid var(--clv-line) !important;
    border-radius: var(--clv-radius-pill) !important;
    padding: 14px 28px !important;
    font-family: var(--clv-font-body) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: border-color 0.2s ease, color 0.2s ease !important;
}
.clv-btn-ghost:hover {
    border-color: var(--clv-purple) !important;
    color: var(--clv-purple) !important;
}

/* ---- Highlight text (yellow underline behind a word) ---- */
.clv-highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.clv-highlight::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0.08em;
    height: 0.16em;
    background: var(--clv-yellow);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.9;
}

/* ---- Eyebrow labels ---- */
.clv-eyebrow {
    display: inline-block;
    font-family: var(--clv-font-body);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clv-text);
    margin-bottom: 22px;
}

.clv-eyebrow-purple { color: var(--clv-purple); }
.clv-eyebrow-white  { color: var(--clv-white); }

/* Eyebrow with a leading dot (like onemorekrishna) */
.clv-eyebrow-dot::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--clv-yellow);
    box-shadow: 0 0 12px var(--clv-yellow);
    margin-right: 10px;
    vertical-align: middle;
}

/* ---- Glass surfaces — the liquid glass effect ---- */
.clv-glass {
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--clv-radius-lg);
    box-shadow: 0 8px 32px rgba(15, 15, 26, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.clv-glass-purple {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(139, 127, 232, 0.12) 50%,
        rgba(94, 82, 217, 0.08) 100%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    backdrop-filter: blur(32px) saturate(200%);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--clv-radius-lg);
    box-shadow:
        0 40px 100px rgba(67, 56, 202, 0.35),
        0 10px 40px rgba(15, 15, 26, 0.2),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(94, 82, 217, 0.2);
}

.clv-glass-white {
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--clv-radius-md);
    box-shadow: var(--clv-shadow-glass);
}

/* ---- Section backgrounds ---- */
.clv-bg-purple {
    background: linear-gradient(180deg, var(--clv-purple) 0%, var(--clv-purple-deep) 100%);
    color: var(--clv-white);
    position: relative;
    overflow: hidden;
}
.clv-bg-purple h1, .clv-bg-purple h2, .clv-bg-purple h3,
.clv-bg-purple h4, .clv-bg-purple h5, .clv-bg-purple h6 { color: var(--clv-white); }
.clv-bg-purple p { color: rgba(255, 255, 255, 0.82); }

.clv-bg-lavender { background: var(--clv-lavender); }
.clv-bg-off-white { background: var(--clv-off-white); }
.clv-bg-dark {
    background: var(--clv-dark);
    color: var(--clv-white);
}
.clv-bg-dark h1, .clv-bg-dark h2, .clv-bg-dark h3,
.clv-bg-dark h4, .clv-bg-dark h5, .clv-bg-dark h6 { color: var(--clv-white); }

/* Ambient light orbs — add to any purple section container */
.clv-orbs { position: relative; overflow: hidden; }
.clv-orbs::before, .clv-orbs::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.clv-orbs::before {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(139, 127, 232, 0.5), transparent 70%);
    top: -180px; right: 20%;
    animation: clvFloatOrb 24s ease-in-out infinite;
}
.clv-orbs::after {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255, 122, 89, 0.28), transparent 70%);
    bottom: -150px; left: 10%;
    animation: clvFloatOrb 20s ease-in-out infinite reverse;
}
.clv-orbs > * { position: relative; z-index: 1; }

@keyframes clvFloatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(60px, -40px) scale(1.15); }
}

/* ---- Cards ---- */
.clv-card {
    background: var(--clv-white);
    border: 1px solid var(--clv-line);
    border-radius: var(--clv-radius-md);
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.clv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--clv-shadow-md);
    border-color: var(--clv-purple);
}
.clv-card-featured {
    border-bottom: 4px solid var(--clv-purple);
}

/* ---- Service card (with hover accent bar on top) ---- */
.clv-service-card {
    background: var(--clv-off-white);
    border: 1px solid var(--clv-line);
    border-radius: var(--clv-radius-md);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.clv-service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--clv-purple);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.clv-service-card:hover {
    transform: translateY(-4px);
    border-color: var(--clv-purple);
}
.clv-service-card:hover::before { transform: scaleX(1); }

/* ---- Bullet list with purple dot (like onemorekrishna) ---- */
.clv-bullets ul,
ul.clv-bullets {
    list-style: none;
    padding: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.clv-bullets ul li,
ul.clv-bullets li {
    display: flex; align-items: center; gap: 12px;
    font-size: 14.5px;
    color: var(--clv-text);
    font-weight: 500;
}
.clv-bullets ul li::before,
ul.clv-bullets li::before {
    content: '';
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--clv-lavender);
    border: 2px solid var(--clv-purple);
    flex-shrink: 0;
}

/* ---- Stat with dot marker (for horizontal stat rows) ---- */
.clv-stat-dot {
    position: relative;
    padding-top: 40px;
}
.clv-stat-dot::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--clv-purple);
    box-shadow: 0 0 0 6px rgba(103, 84, 233, 0.15);
}

/* ---- Section link (underlined with arrow) ---- */
.clv-section-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--clv-text);
    text-decoration: none !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1.5px solid var(--clv-text);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.clv-section-link::after {
    content: '→';
    transition: transform 0.2s ease;
}
.clv-section-link:hover {
    color: var(--clv-purple);
    border-color: var(--clv-purple);
}
.clv-section-link:hover::after { transform: translateX(3px); }

/* ---- Metric number ---- */
.clv-metric {
    font-family: var(--clv-font-display);
    font-weight: 700;
    font-size: clamp(36px, 4.5vw, 56px);
    color: var(--clv-purple);
    letter-spacing: -0.03em;
    line-height: 1;
}
.clv-metric-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--clv-text-muted);
    letter-spacing: 0.05em;
    margin-top: 8px;
}

/* ---- Sparkle decoration ---- */
.clv-sparkle {
    display: inline-block;
    color: var(--clv-yellow);
    animation: clvTwinkle 3s ease-in-out infinite;
}
@keyframes clvTwinkle {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50%      { opacity: 1; transform: scale(1.1); }
}

/* ============================================================
   LIQUID GLASS HERO — signature 3D shard component
   Use inside an Elementor HTML widget with CSS class clv-glass-shard-wrap
   ============================================================ */

.clv-glass-shard-wrap {
    position: relative;
    aspect-ratio: 1;
    max-width: 500px;
    margin: 0 auto;
    perspective: 1200px;
}
.clv-glass-shard {
    position: absolute;
    top: 15%; left: 15%; right: 15%; bottom: 15%;
    border-radius: 32px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.22) 0%,
        rgba(139, 127, 232, 0.12) 50%,
        rgba(94, 82, 217, 0.08) 100%);
    -webkit-backdrop-filter: blur(32px) saturate(200%);
    backdrop-filter: blur(32px) saturate(200%);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 40px 100px rgba(67, 56, 202, 0.4),
        0 10px 40px rgba(15, 15, 26, 0.2),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(94, 82, 217, 0.2);
    transform-style: preserve-3d;
    animation: clvShardFloat 22s ease-in-out infinite;
    transition: transform 0.15s ease-out;
    display: flex; align-items: center; justify-content: center;
}
.clv-glass-shard::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 32px;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.28) 50%,
        transparent 70%);
    pointer-events: none;
}
.clv-shard-mark {
    font-family: var(--clv-font-display);
    font-weight: 800;
    font-size: clamp(80px, 15vw, 130px);
    color: var(--clv-white);
    text-shadow: 0 8px 40px rgba(255, 255, 255, 0.5);
    transform: translateZ(60px);
    letter-spacing: -0.05em;
    line-height: 1;
}

/* Floating stat cards around the shard */
.clv-stat-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--clv-radius-md);
    padding: 16px 18px;
    box-shadow: 0 20px 50px rgba(15, 15, 26, 0.2);
    animation: clvCardFloat 8s ease-in-out infinite;
    color: var(--clv-text);
    min-width: 140px;
}
.clv-stat-card-1 { top: 4%;    right: -8%; animation-delay: 0s; }
.clv-stat-card-2 { bottom: 18%; left: -12%; animation-delay: -3s; }
.clv-stat-card-3 { bottom: -4%; right: 6%;  animation-delay: -5s; }

.clv-stat-card-label {
    font-size: 11px;
    color: var(--clv-text-muted);
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.clv-stat-card-value {
    font-family: var(--clv-font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--clv-text);
    display: flex; align-items: baseline; gap: 6px;
}
.clv-stat-card-value .plus { color: var(--clv-purple); }

@keyframes clvShardFloat {
    0%, 100% { transform: rotateY(-8deg) rotateX(6deg) translateY(0); }
    50%      { transform: rotateY(8deg) rotateX(-3deg) translateY(-10px); }
}
@keyframes clvCardFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ============================================================
   FLOATING GLASS NAV (optional — for use in a custom header)
   ============================================================ */

.clv-nav {
    position: fixed;
    top: 20px; left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex; align-items: center; gap: 28px;
    padding: 8px 8px 8px 24px;
    background: rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--clv-radius-pill);
    box-shadow: 0 8px 32px rgba(15, 15, 26, 0.12);
}

/* ============================================================
   ELEMENTOR CONTAINER TWEAKS
   Makes Elementor sections respect Clarvity's spacing rhythm
   ============================================================ */

/* Give all Elementor sections consistent generous padding by default;
   Elementor's own section padding controls still override this per-section. */
.elementor-section:not(.elementor-section-boxed) {
    padding-left: 0;
    padding-right: 0;
}

/* When you set a section's CSS class to clv-section-generous,
   it applies our standard vertical rhythm */
.elementor-section.clv-section-generous > .elementor-container {
    padding-top: var(--clv-space-2xl);
    padding-bottom: var(--clv-space-2xl);
}
@media (max-width: 768px) {
    .elementor-section.clv-section-generous > .elementor-container {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

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

@media (max-width: 960px) {
    .clv-stat-card-1 { top: 0; right: -4%; }
    .clv-stat-card-2 { bottom: 10%; left: -6%; }
    .clv-stat-card-3 { bottom: -6%; right: 0; }
    .clv-glass-shard-wrap { max-width: 380px; }
}
@media (max-width: 600px) {
    .clv-glass-shard-wrap { max-width: 300px; }
    .clv-stat-card { min-width: 120px; padding: 12px 14px; }
    .clv-stat-card-value { font-size: 18px; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .clv-glass-shard,
    .clv-stat-card,
    .clv-orbs::before,
    .clv-orbs::after,
    .clv-sparkle { animation: none !important; }
    * { transition-duration: 0.01ms !important; }
}

/* Screen reader only utility */
.clv-sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   V1.1 ADDITIONS — INNER PAGE COMPONENTS
   Patterns extracted from onemorekrishna.in inner page templates
   ============================================================ */

/* ---- 1. Arc divider (signature curved hairline) ---- */
.clv-arc-divider {
    display: block;
    width: 100%;
    max-width: 800px;
    height: 30px;
    margin: 40px auto;
    color: var(--clv-line);
    opacity: 0.7;
}
.clv-arc-divider svg { width: 100%; height: 100%; display: block; }

/* ---- 2. Value dot row (horizontal dashed baseline with purple dots) ---- */
.clv-value-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-top: 30px;
}
.clv-value-row::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    border-top: 1px dashed var(--clv-line);
}
.clv-value-row > * {
    position: relative;
    padding-top: 40px;
    font-family: var(--clv-font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--clv-text);
    line-height: 1.4;
    max-width: 220px;
}
.clv-value-row > *::before {
    content: '';
    position: absolute;
    top: -6px; left: 0;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--clv-purple);
    box-shadow: 0 0 0 6px rgba(103, 84, 233, 0.15);
}
@media (max-width: 768px) { .clv-value-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .clv-value-row { grid-template-columns: 1fr; } }

/* ---- 3. Benefit card (with purple check circle) ---- */
.clv-benefit-card {
    background: var(--clv-white);
    border: 1px solid var(--clv-line);
    border-radius: var(--clv-radius-lg);
    padding: 36px 32px;
    box-shadow: 0 2px 8px rgba(15, 15, 26, 0.03);
}
.clv-benefit-check {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--clv-lavender);
    color: var(--clv-purple);
    margin-bottom: 24px;
}
.clv-benefit-check svg { width: 20px; height: 20px; }
.clv-benefit-title {
    font-family: var(--clv-font-display);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--clv-text);
    letter-spacing: -0.02em;
}
.clv-benefit-body {
    font-size: 14.5px;
    color: var(--clv-text);
    line-height: 1.55;
}
.clv-benefit-body p:last-child { margin-bottom: 0; }

/* ---- 4. Team card (portrait + LinkedIn in red-dashed circle) ---- */
.clv-team-card { position: relative; max-width: 320px; }
.clv-team-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--clv-radius-lg);
    overflow: hidden;
    background: var(--clv-off-white);
    margin-bottom: 20px;
}
.clv-team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.clv-team-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.clv-team-name {
    font-family: var(--clv-font-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--clv-text);
    margin: 0 0 4px;
    line-height: 1.2;
}
.clv-team-role {
    font-family: var(--clv-font-body);
    font-size: 14px;
    color: var(--clv-text-muted);
    margin: 0;
    line-height: 1.3;
}
.clv-team-linkedin {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px dashed #E85454;
    color: var(--clv-text);
    text-decoration: none;
    transition: all 0.2s ease;
    background: var(--clv-white);
}
.clv-team-linkedin:hover {
    border-style: solid;
    background: var(--clv-purple);
    color: var(--clv-white);
}
.clv-team-linkedin svg { width: 16px; height: 16px; }

/* ---- 5. Quote block (lavender rounded, purple quote mark) ---- */
.clv-quote-block {
    background: var(--clv-off-white);
    border-radius: var(--clv-radius-lg);
    padding: 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}
.clv-quote-single { grid-template-columns: 1fr; max-width: 720px; }
.clv-quote-mark { color: var(--clv-purple); margin-bottom: 22px; display: block; }
.clv-quote-mark svg { width: 40px; height: 40px; }
.clv-quote-text {
    font-family: var(--clv-font-body);
    font-style: italic;
    font-size: 17px;
    color: var(--clv-text);
    line-height: 1.55;
    margin-bottom: 28px;
    font-weight: 400;
}
.clv-quote-role {
    font-family: var(--clv-font-body);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--clv-text);
    margin-bottom: 4px;
}
.clv-quote-name {
    font-family: var(--clv-font-body);
    font-size: 14px;
    color: var(--clv-text-muted);
}
.clv-quote-visual {
    aspect-ratio: 4/3;
    border-radius: var(--clv-radius-md);
    overflow: hidden;
    background: var(--clv-lavender);
}
.clv-quote-visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .clv-quote-block { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---- 6. Bottom CTA (persistent "See how we can help" block) ---- */
.clv-bottom-cta {
    background: var(--clv-lavender);
    border-radius: var(--clv-radius-lg);
    padding: 56px 60px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 60px 0 40px;
}
.clv-bottom-cta-title {
    font-family: var(--clv-font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--clv-text);
    margin: 0;
}
.clv-bottom-cta-right { text-align: right; }
.clv-bottom-cta-note {
    font-size: 13px;
    color: var(--clv-text-muted);
    margin-bottom: 8px;
}
.clv-bottom-cta-phone {
    font-family: var(--clv-font-body);
    font-weight: 700;
    font-size: 16px;
    color: var(--clv-text);
    margin-bottom: 22px;
    display: block;
    text-decoration: none;
}
@media (max-width: 768px) {
    .clv-bottom-cta { grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; }
    .clv-bottom-cta-right { text-align: left; }
}

/* ---- 7. Partner strip ("A PARTNER, NOT A VENDOR" + ROAS) ---- */
.clv-partner-strip {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 32px 0;
    border-top: 1px solid var(--clv-line);
    border-bottom: 1px solid var(--clv-line);
    margin: 40px 0;
}
.clv-partner-label {
    font-family: var(--clv-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clv-text);
    line-height: 1.4;
}
.clv-partner-roas { text-align: right; max-width: 280px; }
.clv-partner-roas-big {
    font-family: var(--clv-font-display);
    font-weight: 700;
    font-size: 40px;
    letter-spacing: -0.03em;
    color: var(--clv-text);
    line-height: 1;
}
.clv-partner-roas-big small { font-size: 16px; font-weight: 500; }
.clv-partner-roas-note {
    font-size: 12px;
    color: var(--clv-text-muted);
    margin-top: 8px;
    line-height: 1.4;
}

/* ---- 8. Blog featured (lavender featured post block) ---- */
.clv-blog-featured {
    background: var(--clv-lavender);
    border-radius: var(--clv-radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}
.clv-blog-featured-date {
    font-size: 14px;
    color: var(--clv-text-muted);
    margin-bottom: 20px;
}
.clv-blog-featured-title {
    font-family: var(--clv-font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--clv-text);
    margin-bottom: 28px;
}
.clv-blog-featured-image {
    aspect-ratio: 4/3;
    border-radius: var(--clv-radius-md);
    overflow: hidden;
    background: var(--clv-lavender-mid);
}
.clv-blog-featured-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .clv-blog-featured { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; } }

/* ---- 9. Case study card (image bg + overlaid metric + tag pills) ---- */
.clv-case-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--clv-radius-lg);
    overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 28px;
    color: var(--clv-white);
    isolation: isolate;
}
.clv-case-card-tall { aspect-ratio: 3/5; }
.clv-case-card-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    z-index: -2;
}
.clv-case-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.55) 100%);
    z-index: -1;
}
/* Overlay tint variants */
.clv-case-orange .clv-case-card-overlay { background: linear-gradient(180deg, rgba(199,110,68,0.35) 0%, rgba(0,0,0,0.55) 100%); }
.clv-case-purple .clv-case-card-overlay { background: linear-gradient(180deg, rgba(103,84,233,0.4) 0%, rgba(30,20,80,0.6) 100%); }
.clv-case-green  .clv-case-card-overlay { background: linear-gradient(180deg, rgba(41,79,63,0.35) 0%, rgba(0,0,0,0.55) 100%); }
.clv-case-dark   .clv-case-card-overlay { background: linear-gradient(180deg, rgba(30,30,44,0.5) 0%, rgba(0,0,0,0.7) 100%); }
.clv-case-name {
    font-family: var(--clv-font-body);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: absolute; top: 24px; left: 24px;
    color: var(--clv-white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.clv-case-metric {
    font-family: var(--clv-font-display);
    font-weight: 700;
    font-size: 44px;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--clv-white);
    margin-bottom: 6px;
}
.clv-case-metric-label {
    font-family: var(--clv-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clv-white);
    opacity: 0.9;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
.clv-case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.clv-case-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255,255,255,0.95);
    color: var(--clv-text);
    border-radius: var(--clv-radius-pill);
    font-size: 11px;
    font-weight: 500;
}

/* ---- 10. Award timeline item (vertical dashed line + badge + text) ---- */
.clv-award-list {
    position: relative;
    padding-bottom: 20px;
}
.clv-award-list::before {
    content: '';
    position: absolute;
    top: 90px; bottom: 0; left: 190px;
    width: 1px;
    background-image: linear-gradient(to bottom, var(--clv-line) 50%, transparent 50%);
    background-size: 1px 8px;
    background-repeat: repeat-y;
}
.clv-award-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    align-items: start;
}
.clv-award-item::before {
    content: '';
    position: absolute;
    top: 80px; left: 190px;
    width: 10px; height: 10px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--clv-purple);
    z-index: 1;
}
.clv-award-badge {
    aspect-ratio: 1;
    border-radius: var(--clv-radius-md);
    background: var(--clv-off-white);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    padding: 20px;
}
.clv-award-badge img { max-width: 100%; max-height: 100%; }
.clv-award-year {
    font-family: var(--clv-font-body);
    font-size: 14px;
    color: var(--clv-text-muted);
    margin-bottom: 8px;
}
.clv-award-title {
    font-family: var(--clv-font-display);
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--clv-text);
    margin-bottom: 12px;
}
.clv-award-category {
    font-family: var(--clv-font-body);
    font-size: 14px;
    color: var(--clv-text-muted);
}
@media (max-width: 768px) {
    .clv-award-item { grid-template-columns: 90px 1fr; gap: 20px; }
    .clv-award-list::before { display: none; }
    .clv-award-item::before { display: none; }
}

/* ---- Bonus: inner-page hero pattern with lavender bg + photo card ---- */
.clv-inner-hero {
    background: var(--clv-lavender);
    border-radius: var(--clv-radius-lg);
    padding: 80px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}
.clv-inner-hero-photo {
    aspect-ratio: 4/3;
    border-radius: var(--clv-radius-lg);
    overflow: hidden;
    background: var(--clv-lavender-mid);
}
.clv-inner-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.clv-inner-hero-title {
    font-family: var(--clv-font-display);
    font-weight: 700;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--clv-text);
    margin-bottom: 20px;
}
.clv-inner-hero-intro {
    font-size: 16px;
    color: var(--clv-text);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 28px;
}
@media (max-width: 768px) {
    .clv-inner-hero { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
}
