/**
 * KB Studio Custom Styles
 * Migrated from WordPress Customizer > Additional CSS
 *
 * NOTE (2026-07-24 LCP fix): design tokens/nav/base/buttons now live in
 * custom-core.css (loads before this file); the homepage scroll-zoom stage
 * lives in custom-home-stage.css (homepage only). On the homepage THIS file
 * is loaded async (see kb_studio_async_custom_css in functions.php), so
 * nothing above the fold on the homepage may depend on it.
 *
 * @package KB_Studio
 */

/* ==========================================================================
   Hero Section
   ========================================================================== */

.kb-hero {
    padding: 120px 20px 100px;
    background: linear-gradient(135deg, #f8f8fc 0%, #ffffff 50%, #f0f0ff 100%);
    position: relative;
    overflow: hidden;
}

.kb-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2333006c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.kb-hero-dark {
    background: var(--kb-gradient-dark);
    color: white;
}

.kb-hero-dark h1,
.kb-hero-dark h2 {
    color: white;
}

.kb-hero-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.kb-hero-content {
    position: relative;
    z-index: 2;
}

.kb-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.kb-hero h1 span {
    background: var(--kb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kb-hero p {
    font-size: 1.25rem;
    color: var(--kb-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.kb-hero-trust {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--kb-gray);
    font-size: 0.95rem;
}

.kb-hero-trust-avatars {
    display: flex;
}

.kb-hero-trust-avatars span {
    width: 40px;
    height: 40px;
    background: var(--kb-gradient);
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
}

.kb-hero-trust-avatars span:first-child {
    margin-left: 0;
}

.kb-hero-guarantees {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2rem;
}

.kb-hero-guarantee {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--kb-text);
}

.kb-hero-guarantee svg {
    width: 24px;
    height: 24px;
    color: var(--kb-cyan);
    flex-shrink: 0;
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */

.kb-trust-bar {
    background: white;
    padding: 60px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.kb-trust-bar-gradient {
    background: linear-gradient(135deg, #220047 0%, #310066 100%);
    padding: 20px;
    text-align: center;
}

.kb-trust-bar-gradient .kb-trust-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    color: white;
    font-size: 0.95rem;
}

.kb-trust-bar-gradient .kb-trust-content span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kb-trust-bar-gradient .kb-trust-content strong {
    color: var(--kb-teal);
}

.kb-trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.kb-trust-stat {
    padding: 20px;
}

.kb-trust-stat-number {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--kb-purple);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.kb-trust-stat-label {
    color: var(--kb-gray);
    font-weight: 500;
    font-size: 1rem;
}

/* ==========================================================================
   Client Logos
   ========================================================================== */

.kb-client-logos {
    padding: 60px 20px;
    background: var(--kb-light);
}

.kb-client-logos-header {
    text-align: center;
    margin-bottom: 40px;
}

.kb-client-logos-header p {
    color: var(--kb-gray);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.kb-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

/* 9 logos in a 4-col grid leaves one stranded on row 3. Centre the trailing
   item across the row instead of letting it sit hard left. Only fires when the
   count is exactly 9 (4+4+1), so adding a 10th restores clean rows. */
.kb-logos-grid > .kb-logo-item:nth-child(9):last-child {
    grid-column: 1 / -1;
}

.kb-logo-item {
    opacity: 0.5;
    transition: all 0.4s ease;
    filter: grayscale(100%);
}

.kb-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.kb-logo-item img {
    max-width: 138px; /* 120px + 15% */
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.kb-section {
    padding: 120px 20px;
}

.kb-section-light {
    background: var(--kb-light);
}

.kb-section-white {
    background: white;
}

.kb-section-dark {
    background: var(--kb-dark);
}

.kb-section-dark h2,
.kb-section-dark h3 {
    color: white;
}

.kb-section-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.kb-section-dark .kb-section-header .kb-label {
    color: var(--kb-teal);
    background: rgba(255, 255, 255, 0.1);
}

.kb-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.kb-section-header .kb-label,
.kb-testi-header .kb-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--kb-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    background: rgba(51, 0, 108, 0.08);
    padding: 10px 24px;
    border-radius: 50px;
}

.kb-section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.kb-section-header p {
    font-size: 1.2rem;
    color: var(--kb-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   Value Cards
   ========================================================================== */

.kb-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.kb-value-card {
    padding: 44px 36px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(51, 0, 108, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    background: #fff;
}

/* Subtle radial glow per card — brand purple with one gold accent */
.kb-value-card::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.18;
    z-index: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.kb-value-card:nth-child(1)::before {
    background: var(--kb-purple);
    top: -60px;
    right: -60px;
}

.kb-value-card:nth-child(2)::before {
    background: var(--kb-purple-light);
    bottom: -50px;
    left: -50px;
}

.kb-value-card:nth-child(3)::before {
    background: var(--kb-cyan);
    top: -40px;
    left: -60px;
    opacity: 0.15;
}

.kb-value-card:nth-child(4)::before {
    background: var(--kb-purple);
    bottom: -60px;
    right: -40px;
}

.kb-value-card:nth-child(5)::before {
    background: var(--kb-purple-light);
    top: -50px;
    right: -50px;
}

.kb-value-card:nth-child(6)::before {
    background: var(--kb-purple-dark);
    bottom: -50px;
    left: -40px;
}

/* Fine grid texture overlay */
.kb-value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(51, 0, 108, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 0, 108, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
    pointer-events: none;
    border-radius: 12px;
}

.kb-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(51, 0, 108, 0.12);
    border-color: rgba(51, 0, 108, 0.25);
}

.kb-value-card:hover::before {
    opacity: 0.28;
}

.kb-value-icon {
    width: 56px;
    height: 56px;
    background: rgba(51, 0, 108, 0.06);
    border: 1px solid rgba(51, 0, 108, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.kb-value-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.kb-value-card p {
    color: var(--kb-gray);
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.kb-value-card .kb-emph {
    color: var(--kb-dark);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--kb-purple);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.kb-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.kb-service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 44px 36px;
    border-radius: 12px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Per-card gradient orb — dark mode version */
.kb-service-card::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    z-index: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.kb-service-card:nth-child(1)::before {
    background: var(--kb-teal);
    top: -50px;
    right: -50px;
}

.kb-service-card:nth-child(2)::before {
    background: var(--kb-purple-light);
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    opacity: 0.2;
}

.kb-service-card:nth-child(3)::before {
    background: var(--kb-teal);
    bottom: -40px;
    left: -40px;
    opacity: 0.1;
}

/* Subtle grid texture — light lines on dark */
.kb-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
    pointer-events: none;
    border-radius: 12px;
}

.kb-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.kb-service-card:hover::before {
    opacity: 0.22;
}

/* Featured middle card — slightly elevated */
.kb-service-card:nth-child(2) {
    border-color: rgba(74, 0, 153, 0.5);
    background: rgba(74, 0, 153, 0.12);
}

.kb-service-card:nth-child(2):hover {
    border-color: rgba(74, 0, 153, 0.7);
    box-shadow: 0 20px 60px rgba(74, 0, 153, 0.25);
}

.kb-service-icon {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

.kb-service-card h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.kb-service-card > p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.kb-service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.kb-service-features li {
    padding: 11px 0;
    padding-left: 28px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.kb-service-features li:last-child {
    border-bottom: none;
}

.kb-service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--kb-teal);
    font-weight: 700;
}

.kb-service-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: 2rem;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.kb-service-card-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    gap: 12px;
}

/* Featured card CTA — purple fill */
.kb-service-card:nth-child(2) .kb-service-card-cta {
    background: var(--kb-purple-light);
    border-color: var(--kb-purple-light);
}

.kb-service-card:nth-child(2) .kb-service-card-cta:hover {
    background: var(--kb-purple);
    border-color: var(--kb-purple);
}

/* ==========================================================================
   Testimonials — Bento Grid
   ========================================================================== */

.kb-testi {
    padding: 100px 0;
    background: var(--kb-light);
}

.kb-testi-header {
    text-align: center;
    margin-bottom: 60px;
}

.kb-testi-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--kb-dark);
    margin-bottom: 12px;
}

.kb-testi-header p {
    color: var(--kb-gray);
    font-size: 1.1rem;
    max-width: 480px;
    margin: 0 auto;
}

/* Bento Grid */

/* Card base */

/* Large card — spans both rows on left */

/* Dark card */

/* Star rating row */

/* Quote icon (legacy) */

/* Body */

/* Footer */

/* Review bar */
.kb-testi-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #e8e5ec;
}

.kb-testi-bar-left span {
    color: var(--kb-gray);
    font-size: 0.9rem;
}

.kb-testi-bar-right {
    flex-shrink: 0;
}

.kb-testi-review-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--kb-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.kb-testi-review-link:hover {
    color: var(--kb-purple);
}

.kb-testimonial-highlight {
    background: var(--kb-light);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.kb-testimonial-highlight::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse at center, rgba(51, 0, 108, 0.08) 0%, rgba(51, 0, 108, 0.03) 40%, transparent 70%);
    pointer-events: none;
}

.kb-testimonial-highlight-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.kb-testimonial-highlight-quote {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--kb-text);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.kb-testimonial-highlight-quote::before {
    content: '"';
    font-size: 5rem;
    color: var(--kb-purple);
    opacity: 0.15;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
    line-height: 1;
}

.kb-testimonial-highlight-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.kb-testimonial-highlight-avatar {
    width: 60px;
    height: 60px;
    background: var(--kb-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.kb-testimonial-highlight-info h4 {
    font-weight: 700;
    color: var(--kb-dark);
    font-size: 1.1rem;
}

.kb-testimonial-highlight-info p {
    color: var(--kb-gray);
    font-size: 0.9rem;
}

.kb-testimonial-highlight-result {
    display: inline-block;
    background: var(--kb-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: var(--kb-radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* ==========================================================================
   Process Number badge — reused as a benefit-icon on service pages
   (homepage step grid removed; superseded by the Kaizen Cycle below)
   ========================================================================== */

.kb-process-number {
    width: 80px;
    height: 80px;
    background: var(--kb-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--kb-font-heading, 'Fira Sans', sans-serif);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 auto 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 8px white;
}

/* ==========================================================================
   How We Work — Kaizen Cycle (homepage process section)
   ========================================================================== */

.kb-section-cycle {
    background: var(--kb-gradient-dark);
    position: relative;
    overflow: hidden;
}
.kb-section-cycle::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.5;
    pointer-events: none;
}
.kb-section-cycle .kb-section-header {
    position: relative;
    z-index: 1;
}
.kb-section-cycle .kb-section-header h2 {
    color: #fff;
}
.kb-section-cycle .kb-section-header p {
    color: rgba(255, 255, 255, 0.6);
}
.kb-section-cycle .kb-label {
    color: var(--kb-teal);
    background: rgba(255, 255, 255, 0.1);
}

.kb-cycle-wrap {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    z-index: 1;
}
.kb-cycle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}
.kb-cycle-cell {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--kb-radius-lg);
    padding: 28px 26px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
/* Place clockwise (01 TL, 02 TR, 03 BR, 04 BL) while keeping DOM order 1->4 for a11y */
.kb-cycle-cell:nth-child(3) { grid-column: 2; grid-row: 2; }
.kb-cycle-cell:nth-child(4) { grid-column: 1; grid-row: 2; }
/* Reserve a clear band at the center so text never hides behind the hub */
.kb-cycle-cell:nth-child(1),
.kb-cycle-cell:nth-child(2) { padding-bottom: 44px; }
.kb-cycle-cell:nth-child(3),
.kb-cycle-cell:nth-child(4) { padding-top: 44px; }

.kb-cycle-grid.is-visible .kb-cycle-cell {
    opacity: 1;
    transform: translateY(0);
}
.kb-cycle-grid.is-visible .kb-cycle-cell:nth-child(2) { transition-delay: 0.12s; }
.kb-cycle-grid.is-visible .kb-cycle-cell:nth-child(3) { transition-delay: 0.36s; }
.kb-cycle-grid.is-visible .kb-cycle-cell:nth-child(4) { transition-delay: 0.24s; }

.kb-cycle-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.kb-cycle-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--kb-teal);
    box-shadow: 0 0 0 4px rgba(0, 212, 250, 0.15);
}
.kb-cycle-idx {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--kb-teal);
}
.kb-cycle-cell h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.kb-cycle-cell p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Central Kaizen hub */
.kb-cycle-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--kb-purple);
    border: 1px solid rgba(0, 212, 250, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(36, 0, 73, 0.8), 0 0 40px rgba(0, 212, 250, 0.22);
    z-index: 2;
}
.kb-cycle-kanji {
    font-size: 2rem;
    color: #fff;
    line-height: 1;
}
.kb-cycle-kanji-label {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--kb-teal);
    margin-top: 5px;
}
.kb-cycle-arc {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 212, 250, 0.35);
    border-top-color: var(--kb-teal);
    animation: kb-cycle-spin 22s linear infinite;
}
@keyframes kb-cycle-spin {
    to { transform: rotate(360deg); }
}

.kb-cycle-foot {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}
.kb-cycle-foot strong {
    color: var(--kb-teal);
    font-weight: 600;
}

@media (max-width: 720px) {
    .kb-cycle-hub { display: none; }
    .kb-cycle-cell:nth-child(3),
    .kb-cycle-cell:nth-child(4) { grid-column: auto; grid-row: auto; }
    /* no hub on mobile — drop the center-clearance padding for even spacing */
    .kb-cycle-cell { padding: 28px 26px; }
}
@media (max-width: 460px) {
    .kb-cycle-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .kb-cycle-arc { animation: none; }
    .kb-cycle-cell { transition: none; }
}

/* ==========================================================================
   Contact Page Hero
   ========================================================================== */

.kb-contact-hero {
    padding: 60px 20px 50px;
    position: relative;
}

.kb-contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 60%;
    background: radial-gradient(ellipse at 50% 100%, rgba(51, 0, 108, 0.07) 0%, rgba(51, 0, 108, 0.03) 40%, transparent 70%);
    pointer-events: none;
}

.kb-contact-hero-compact {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.kb-contact-hero-compact h1 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
}

.kb-contact-hero-subtitle {
    font-size: 1.1rem;
    color: var(--kb-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.kb-contact-hero-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.kb-hero-guarantees-stacked {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.kb-google-reviews-prominent {
    border: 1px solid #ccc;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.kb-google-reviews-prominent:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.kb-contact-location {
    color: var(--kb-purple);
    font-weight: 600;
}

.kb-label-teal {
    color: var(--kb-cyan);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.kb-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.kb-contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.kb-contact-info > p {
    font-size: 1.1rem;
    color: var(--kb-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.kb-contact-methods {
    margin-bottom: 2rem;
}

.kb-contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.kb-contact-method:first-child {
    padding-top: 0;
}

.kb-contact-method:last-child {
    border-bottom: none;
}

.kb-contact-method-icon {
    width: 55px;
    height: 55px;
    background: var(--kb-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.kb-contact-method-content h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.kb-contact-method-content a {
    color: var(--kb-purple);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.kb-contact-method-content a:hover {
    color: var(--kb-cyan);
}

.kb-contact-method-content p {
    color: var(--kb-gray);
    font-size: 0.9rem;
    margin-top: 5px;
}

.kb-response-box {
    background: var(--kb-gradient);
    border-radius: var(--kb-radius-md);
    padding: 30px;
    color: white;
    margin-bottom: 2rem;
}

.kb-response-box h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.kb-response-box p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

.kb-response-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--kb-gradient);
    color: white;
    padding: 12px 24px;
    border-radius: var(--kb-radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.kb-contact-form-wrap {
    background: white;
    border-radius: var(--kb-radius-lg);
    padding: 50px;
    box-shadow: var(--kb-shadow-lg);
    border: 1px solid rgba(51, 0, 108, 0.05);
}

.kb-contact-form-wrap h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.kb-contact-form-wrap > p {
    color: var(--kb-gray);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.kb-contact-form label {
    display: block;
    font-weight: 600;
    color: var(--kb-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.kb-contact-form input[type="text"],
.kb-contact-form input[type="email"],
.kb-contact-form input[type="tel"],
.kb-contact-form input[type="url"],
.kb-contact-form select,
.kb-contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(51, 0, 108, 0.1);
    border-radius: var(--kb-radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--kb-light);
    margin-bottom: 20px;
}

.kb-contact-form input:focus,
.kb-contact-form select:focus,
.kb-contact-form textarea:focus {
    outline: none;
    border-color: var(--kb-purple);
    background: white;
    box-shadow: 0 0 0 4px rgba(51, 0, 108, 0.1);
}

.kb-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.kb-contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%2333006c'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 50px;
}

.kb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.kb-contact-form button[type="submit"],
.kb-contact-form input[type="submit"] {
    width: 100%;
    padding: 13px 26px;
    background: var(--kb-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    margin-top: 10px;
}

.kb-contact-form button[type="submit"]:hover,
.kb-contact-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--kb-shadow-md);
}

.kb-form-note {
    text-align: center;
    color: var(--kb-gray-light);
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* ==========================================================================
   Certifications & Reviews
   ========================================================================== */

.kb-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 2rem;
}

.kb-certification-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--kb-cyan);
    padding: 10px 18px;
    border-radius: var(--kb-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

a.kb-google-reviews,
.kb-google-reviews {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px 25px;
    border-radius: var(--kb-radius-sm);
    box-shadow: var(--kb-shadow-sm);
    text-decoration: none;
    transition: box-shadow 0.3s ease;
}

a.kb-google-reviews:hover {
    box-shadow: var(--kb-shadow-md);
}

.kb-google-reviews-stars {
    color: #f9ab00;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.kb-google-reviews-text {
    font-size: 0.95rem;
    color: var(--kb-text);
}

.kb-google-reviews-text strong {
    color: var(--kb-dark);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.kb-cta-section {
    padding: 140px 20px;
    background: var(--kb-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kb-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(51, 0, 108, 0.6) 0%, transparent 50%);
}

.kb-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.kb-cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: white;
    margin-bottom: 1.5rem;
}

.kb-cta-section p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.kb-cta-contact {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.kb-cta-contact a {
    color: var(--kb-teal);
    text-decoration: none;
    font-weight: 600;
}

.kb-cta-note {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

/* ==========================================================================
   Giving Banner
   ========================================================================== */

.kb-giving-banner {
    background: var(--kb-gradient);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.kb-giving-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.kb-giving-banner h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.kb-giving-banner p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.kb-giving-banner a {
    color: var(--kb-teal);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.kb-giving-banner a:hover {
    gap: 12px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.kb-faq-section {
    background: var(--kb-light);
    padding: 100px 20px;
}

.kb-faq-section .kb-section-header h2 {
    color: var(--kb-dark);
}

.kb-faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.kb-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--kb-radius-md);
    padding: 35px;
    transition: all 0.3s ease;
}

.kb-faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 250, 0.3);
}

.kb-faq-item h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1rem;
}

.kb-faq-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FAQ Accordion */
.kb-faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.kb-faq-acc-item {
    background: #fff;
    border: 1px solid var(--kb-line);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.kb-faq-acc-item.kb-faq-acc-active {
    background: var(--kb-purple-tint);
    border-color: rgba(51, 0, 108, 0.18);
}

.kb-faq-acc-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    color: var(--kb-dark);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    transition: color 0.3s ease, background 0.3s ease;
}

/* :hover/:focus beat GeneratePress's global `button:hover/:focus` (dark bg, white
   text) which otherwise outranks the base class via pseudo-class specificity. */
.kb-faq-acc-trigger:hover,
.kb-faq-acc-trigger:focus {
    background: transparent;
    color: var(--kb-purple);
}

.kb-faq-acc-trigger:focus-visible {
    outline: 2px solid var(--kb-cyan);
    outline-offset: -2px;
}

.kb-faq-acc-active .kb-faq-acc-trigger {
    color: var(--kb-purple);
}

.kb-faq-acc-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--kb-gray);
    transition: transform 0.3s ease;
}

.kb-faq-acc-active .kb-faq-acc-icon {
    transform: rotate(180deg);
}

.kb-faq-acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.kb-faq-acc-active .kb-faq-acc-panel {
    max-height: 400px;
}

.kb-faq-acc-panel p {
    color: var(--kb-gray);
    font-size: 1rem;
    line-height: 1.7;
    padding: 10px 24px 22px;
    margin: 0;
}

/* ==========================================================================
   Founder Card
   ========================================================================== */

.kb-founder-card {
    background: white;
    border-radius: 12px;
    padding: 44px 40px;
    border: 1px solid rgba(51, 0, 108, 0.12);
    box-shadow: 0 12px 40px rgba(51, 0, 108, 0.06);
    text-align: center;
}

.kb-founder-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 5px solid var(--kb-light);
}

.kb-founder-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
}

.kb-founder-card .kb-founder-title {
    color: var(--kb-purple);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.kb-founder-card .kb-founder-message {
    color: var(--kb-gray);
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.kb-founder-card .kb-founder-signature {
    font-family: 'Georgia', serif;
    font-size: 1.3rem;
    color: var(--kb-purple);
}

.kb-founder-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.kb-founder-stat {
    text-align: center;
}

.kb-founder-stat-number {
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kb-purple);
}

.kb-founder-stat-label {
    font-size: 0.8rem;
    color: var(--kb-gray);
}

/* ==========================================================================
   About Page - Full Width Breakout
   ========================================================================== */

/* Full-width breakout — applies to all KB Studio templates.
   overflow-x must be clip (not hidden) wherever supported: hidden makes
   .kb-page a scroll container and kills position:sticky for the homepage
   zoom stage. hidden stays first as the legacy fallback. */
.kb-page,
.kb-about-page {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow-x: hidden;
    overflow-x: clip;
}

.kb-page .site-content,
.kb-page .content-area,
.kb-page .inside-article,
.kb-about-page .site-content,
.kb-about-page .content-area,
.kb-about-page .inside-article {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

/* GP container override for all custom page templates (+ the 404, whose body
   class is error404, not page-template) */
body.page-template .site.grid-container,
body.error404 .site.grid-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

body.page-template .site-content,
body.page-template .content-area,
body.page-template .inside-article,
body.error404 .site-content,
body.error404 .content-area {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ==========================================================================
   About Page - Hero
   ========================================================================== */

.kb-about-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a0035 0%, #240049 30%, #33006c 70%, #2a0058 100%);
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.kb-about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 25% 40%, rgba(51, 0, 108, 0.7) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 75% 60%, rgba(74, 0, 153, 0.5) 0%, transparent 60%),
        radial-gradient(circle at 50% 100%, rgba(0, 212, 250, 0.1) 0%, transparent 40%);
}

.kb-about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.kb-about-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--kb-teal);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2rem;
}

.kb-about-hero-label::before,
.kb-about-hero-label::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--kb-teal);
}

.kb-about-hero h1 {
    font-size: clamp(2.85rem, 6.65vw, 5.225rem);
    color: white;
    margin-bottom: 2rem;
}

/* Same 120deg purple-to-cyan sweep as .kbs-grad on the services hero, re-anchored
   for this dark hero: --kb-purple would vanish into the background and #fff would
   blend into the surrounding h1 text, so the sweep starts on a light purple tint
   that keeps the phrase reading as a highlight. Lands on --kb-teal, the on-dark
   cyan per the brand guidelines. */
.kb-about-hero h1 .kb-gradient-text {
    color: var(--kb-teal);
    -webkit-text-fill-color: var(--kb-teal);
    background: linear-gradient(120deg, #b98cff, var(--kb-teal));
    -webkit-background-clip: text;
    background-clip: text;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .kb-about-hero h1 .kb-gradient-text {
        -webkit-text-fill-color: transparent;
    }
}

.kb-about-hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.kb-about-hero-metrics {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.kb-about-metric {
    text-align: center;
}

.kb-about-metric-value {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.kb-about-metric-value span {
    color: var(--kb-teal);
}

.kb-about-metric-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   About Page - Beliefs Section
   ========================================================================== */

.kb-beliefs-section {
    padding: 140px 20px;
    background: white;
}

.kb-beliefs-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 100px;
}

.kb-beliefs-intro h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    line-height: 1.15;
}

.kb-beliefs-intro p {
    font-size: 1.3rem;
    color: var(--kb-gray);
    line-height: 1.9;
}

.kb-beliefs-intro p strong {
    color: var(--kb-dark);
}

.kb-narrative-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.kb-narrative-card {
    background: #fff;
    border-radius: 12px;
    padding: 44px 36px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(51, 0, 108, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.kb-narrative-card::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    background: var(--kb-purple);
    top: -50px;
    right: -50px;
}

.kb-narrative-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(51, 0, 108, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 0, 108, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
    pointer-events: none;
    border-radius: 12px;
}

.kb-narrative-card:hover::before {
    opacity: 0.25;
}

.kb-narrative-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(51, 0, 108, 0.12);
    border-color: rgba(51, 0, 108, 0.25);
}

.kb-narrative-icon {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 0, 108, 0.06);
    border: 1px solid rgba(51, 0, 108, 0.1);
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

.kb-narrative-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    position: relative;
    z-index: 1;
}

.kb-narrative-card p {
    color: var(--kb-gray);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.kb-narrative-card .kb-comparison {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.kb-comparison .kb-old {
    color: var(--kb-gray-light);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.kb-comparison .kb-arrow {
    color: var(--kb-cyan);
}

.kb-comparison .kb-new {
    color: var(--kb-purple);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ==========================================================================
   About Page - Principles Section
   ========================================================================== */

.kb-principles-section {
    padding: 140px 20px;
    background: var(--kb-dark);
    position: relative;
    overflow: hidden;
}

.kb-principles-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 50%;
    background: radial-gradient(ellipse at 50% 100%, rgba(85, 85, 85, 0.65) 0%, rgba(85, 85, 85, 0.45) 8.4%, rgba(85, 85, 85, 0.25) 19.6%, transparent 35%);
    pointer-events: none;
}

.kb-principles-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.kb-principles-header .kb-label {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.kb-principles-header h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.kb-principles-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

.kb-principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.kb-principle-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 44px 36px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.kb-principle-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    z-index: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    background: var(--kb-purple-light);
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.kb-principle-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
    pointer-events: none;
    border-radius: 12px;
}

.kb-principle-card:hover::before {
    opacity: 0.2;
}

.kb-principle-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.kb-principle-kanji {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

.kb-principle-name {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.kb-principle-translation {
    font-size: 0.85rem;
    color: var(--kb-teal);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.kb-principle-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   About Page - Kaizen Section
   ========================================================================== */

.kb-kaizen-section {
    padding: 0;
    background: white;
}

.kb-kaizen-section > .kb-container-wide:first-child {
    padding-top: 120px;
    padding-bottom: 120px;
}

.kb-kaizen-section > .kb-container-wide:last-child {
    padding-top: 60px;
    padding-bottom: 120px;
    position: relative;
}

.kb-kaizen-section > .kb-container-wide:last-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #f9f5fd;
    z-index: -1;
}

/* Split layout: purple left, white right */
.kb-kaizen-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.kb-kaizen-split-left {
    background: var(--kb-gradient-dark);
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-kaizen-split-left::before {
    content: '改善';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 12rem;
    font-weight: 300;
    opacity: 0.06;
    line-height: 1;
}

.kb-kaizen-split-left-inner {
    padding: 100px 70px;
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin-left: auto;
}

.kb-kaizen-split-left h3 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.kb-kaizen-tagline {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.kb-kaizen-parts {
    display: flex;
    gap: 20px;
}

.kb-kaizen-part {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px 30px;
    text-align: center;
    flex: 1;
    backdrop-filter: blur(10px);
    cursor: default;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.4s ease,
                border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.kb-kaizen-part:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(0, 212, 250, 0.2),
                0 0 40px rgba(0, 212, 250, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.kb-kaizen-char {
    font-size: 3rem;
    margin-bottom: 8px;
}

.kb-kaizen-reading {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.kb-kaizen-meaning {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* White right half */
.kb-kaizen-split-right {
    background: white;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.kb-kaizen-split-right::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    height: 50%;
    background: radial-gradient(ellipse at 100% 100%, #dedede 0%, rgba(222, 222, 222, 0.3) 40%, transparent 70%);
    pointer-events: none;
}

.kb-kaizen-split-right-inner {
    padding: 100px 70px;
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.kb-kaizen-split-right-inner h4 {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3.125rem;
    font-weight: 700;
    color: var(--kb-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.kb-kaizen-split-right-inner h4 span {
    color: var(--kb-purple);
}

.kb-kaizen-split-right-inner p {
    font-size: 1.1rem;
    color: var(--kb-gray);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.kb-kaizen-split-right-inner strong {
    color: var(--kb-dark);
}

.kb-method-showcase {
    background: transparent;
    border-radius: 0;
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.kb-method-visual {
    text-align: center;
}

.kb-method-equation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.kb-method-num {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1;
}

.kb-method-num.kb-start,
.kb-method-num.kb-method-start {
    font-size: 5rem;
    color: var(--kb-gray);
    animation: kb-pulse 2.5s ease-in-out infinite;
}

@keyframes kb-pulse {
    0%, 100% { transform: scale(0.95); }
    50% { transform: scale(1.25); }
}

.kb-method-num.kb-result,
.kb-method-num.kb-method-result {
    font-size: 8rem;
    color: var(--kb-purple);
}

.kb-method-operator {
    font-size: 3.5rem;
    color: var(--kb-cyan);
    font-weight: 300;
}

.kb-method-num small {
    display: block;
    font-size: 1.1rem;
    color: var(--kb-gray);
    font-weight: 500;
    margin-top: 8px;
}

.kb-method-content h4 {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--kb-dark);
    margin-bottom: 1.5rem;
}

.kb-method-content p {
    font-size: 1.1rem;
    color: var(--kb-gray);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.kb-method-quote {
    margin-top: 2.5rem;
}

.kb-method-quote blockquote {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--kb-dark);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.kb-method-quote cite {
    color: var(--kb-purple);
    font-style: normal;
    font-weight: 600;
}

/* ==========================================================================
   About Page - Kintsugi Section
   ========================================================================== */

.kb-kintsugi-section {
    padding: 140px 20px;
    background: radial-gradient(ellipse at 50% 0%, #3d3020 0%, #2e2318 8.4%, #1e1610 19.6%, #13100c 35%, #0a0a0a 63%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.kb-kintsugi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 L100 50 L50 100 L0 50 Z' fill='none' stroke='%23d4a574' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.kb-kintsugi-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.kb-kintsugi-text h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.kb-kintsugi-text h2 span {
    background: var(--kb-gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kb-kintsugi-text .kb-lead {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.kb-kintsugi-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.kb-kintsugi-text strong {
    color: var(--kb-gold);
}

.kb-kintsugi-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kb-kintsugi-symbol {
    width: 350px;
    height: 350px;
    border: 3px solid var(--kb-gold);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: kb-pulse 4s ease-in-out infinite;
}

.kb-kintsugi-symbol::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 50%;
}

.kb-kintsugi-symbol::after {
    content: '';
    position: absolute;
    inset: -40px;
    border: 1px solid rgba(212, 165, 116, 0.15);
    border-radius: 50%;
}

.kb-kintsugi-inner {
    text-align: center;
}

.kb-kintsugi-kanji {
    font-size: 6rem;
    color: var(--kb-gold);
    line-height: 1;
    margin-bottom: 1rem;
}

.kb-kintsugi-meaning {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes kb-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.9;
    }
}

/* ==========================================================================
   About Page - Founder Section
   ========================================================================== */

.kb-founder-section {
    padding: 140px 20px;
    background: white;
}

.kb-founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 100px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.kb-founder-image-wrap {
    position: sticky;
    top: 120px;
}

.kb-founder-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(51, 0, 108, 0.15);
    position: relative;
    max-width: 80%;
}

.kb-founder-image img {
    display: block;
    border-radius: 30px;
}

.kb-founder-image-placeholder {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #e8e0f0 0%, #d4c8e8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--kb-purple);
}

.kb-founder-image-placeholder svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.kb-founder-name-badge {
    position: absolute;
    bottom: -20px;
    right: 30px;
    background: var(--kb-gradient);
    color: white;
    padding: 25px 35px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(51, 0, 108, 0.3);
}

.kb-founder-name-badge h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: white;
}

.kb-founder-name-badge span {
    font-size: 0.9rem;
    opacity: 0.85;
}

.kb-founder-content {
    padding-top: 40px;
}

.kb-founder-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--kb-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.kb-founder-label::before {
    content: '';
    width: 40px;
    height: 3px;
    background: var(--kb-cyan);
    border-radius: 2px;
}

.kb-founder-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.kb-founder-content h2 span {
    color: var(--kb-purple);
}

.kb-founder-story {
    font-size: 1.2rem;
    color: var(--kb-gray);
    line-height: 2;
}

.kb-founder-story p {
    margin-bottom: 1.5rem;
}

.kb-founder-story strong {
    color: var(--kb-dark);
}

.kb-founder-values {
    display: flex;
    gap: 30px;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.kb-founder-value {
    text-align: center;
    flex: 1;
}

.kb-founder-value-icon {
    width: 65px;
    height: 65px;
    background: var(--kb-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.6rem;
}

.kb-founder-value-text {
    font-weight: 700;
    color: var(--kb-dark);
    font-size: 0.95rem;
}

.kb-team-banner {
    background: var(--kb-dark);
    padding: 80px 60px;
    text-align: center;
    margin-top: 100px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
}

.kb-team-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(51, 0, 108, 0.4) 0%, transparent 70%);
}

.kb-team-banner h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.kb-team-banner p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.kb-team-banner strong {
    color: var(--kb-teal);
}

/* ==========================================================================
   About Page - Giving Section
   ========================================================================== */

.kb-giving-section {
    padding: 160px 20px;
    background: linear-gradient(180deg, #d8d8d8 0%, #e8e8e8 15%, var(--kb-light) 35%);
}

.kb-giving-header {
    text-align: center;
    margin-bottom: 80px;
}

.kb-giving-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.kb-giving-header p {
    font-size: 1.3rem;
    color: var(--kb-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.kb-giving-mission {
    background: white;
    border-radius: 40px;
    padding: 60px 80px;
    max-width: 900px;
    margin: 0 auto 80px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.kb-giving-mission p {
    font-size: 1.25rem;
    color: var(--kb-text);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.kb-giving-mission p:last-child {
    margin-bottom: 0;
}

.kb-giving-mission strong {
    color: var(--kb-purple);
}

.kb-giving-cta {
    background: var(--kb-gradient);
    border-radius: 40px;
    padding: 80px;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.kb-giving-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
}

.kb-giving-cta h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    color: white;
}

.kb-giving-cta p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.kb-giving-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--kb-purple);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.kb-giving-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   About Page - Difference Section
   ========================================================================== */

.kb-difference-section {
    padding: 140px 20px;
    background: white;
}

.kb-difference-prominent {
    background: #f0f0f0;
    padding: 120px 20px 140px;
}

.kb-difference-prominent .kb-difference-header .kb-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--kb-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: rgba(51, 0, 108, 0.08);
    padding: 10px 24px;
    border-radius: 50px;
}

.kb-difference-header {
    text-align: center;
    margin-bottom: 80px;
}

.kb-difference-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--kb-dark);
}

.kb-difference-header p {
    font-size: 1.2rem;
    color: var(--kb-gray);
}

.kb-difference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.kb-difference-card {
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: white;
    border: 1px solid rgba(51, 0, 108, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Per-card gradient orb */
.kb-difference-card::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    z-index: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Subtle grid texture overlay */
.kb-difference-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(51, 0, 108, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 0, 108, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
    pointer-events: none;
    border-radius: 12px;
}

/* Card 1 orb: teal */
.kb-diff-card-1::before {
    background: var(--kb-cyan);
    top: -50px;
    right: -50px;
}

/* Card 2 orb: purple-light */
.kb-diff-card-2::before {
    background: var(--kb-purple-light);
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    opacity: 0.15;
}

/* Card 3 orb: cyan */
.kb-diff-card-3::before {
    background: var(--kb-cyan);
    bottom: -40px;
    left: -40px;
    opacity: 0.1;
}

.kb-difference-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(51, 0, 108, 0.1);
    border-color: rgba(51, 0, 108, 0.15);
}

.kb-difference-card:hover::before {
    opacity: 0.22;
}

/* Hide photo backgrounds */
.kb-diff-card-bg {
    display: none;
}

/* Card content — now on white background */
.kb-diff-card-content {
    position: relative;
    z-index: 2;
    padding: 44px 36px;
    background: none;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.kb-difference-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--kb-dark);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.kb-difference-card p {
    color: var(--kb-gray);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* ==========================================================================
   Responsive - Tablet (1200px and below)
   ========================================================================== */

@media (max-width: 1200px) {
    .kb-principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .kb-services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Testimonial bento → stack on tablet */

    .kb-testi-bar {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .kb-faq-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* ==========================================================================
   Responsive - Tablet Portrait (968px and below)
   ========================================================================== */

@media (max-width: 968px) {
    .kb-hero-grid,
    .kb-contact-grid,
    .kb-contact-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .kb-trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .kb-value-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    .kb-container-wide {
        padding: 0 20px;
    }
    .kb-form-row {
        grid-template-columns: 1fr;
    }
    .kb-about-hero-metrics {
        flex-wrap: wrap;
        gap: 40px;
    }
    .kb-narrative-grid {
        grid-template-columns: 1fr;
    }
    .kb-kaizen-split-grid,
    .kb-kintsugi-content,
    .kb-founder-grid,
    .kb-method-showcase {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .kb-founder-image-wrap {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }
    .kb-difference-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .kb-difference-card {
        min-height: 340px;
    }
    .kb-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    .kb-team-banner {
        margin-top: 60px;
        padding: 60px 40px;
    }
    .kb-kintsugi-visual {
        height: 350px;
    }
    .kb-kintsugi-symbol {
        width: 250px;
        height: 250px;
    }
    .kb-kintsugi-kanji {
        font-size: 4rem;
    }
}

/* ==========================================================================
   Responsive - Mobile (768px and below)
   ========================================================================== */

@media (max-width: 768px) {
    .kb-hero {
        padding: 80px 20px 60px;
    }
    .kb-section {
        padding: 80px 20px;
    }
    .kb-btn-primary,
    .kb-btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .kb-trust-stats {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .kb-trust-stat-number {
        font-size: 2.2rem;
    }
    .kb-value-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
    .kb-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .kb-contact-form-wrap {
        padding: 35px 25px;
    }
    .kb-trust-bar-gradient .kb-trust-content {
        flex-direction: column;
        gap: 15px;
    }
    .kb-founder-stats {
        flex-direction: column;
        gap: 15px;
    }
    .kb-testimonial-highlight-quote {
        font-size: 1.15rem;
    }
    .kb-about-hero {
        padding: 120px 20px 80px;
    }
    .kb-about-hero h1 {
        font-size: 2.5rem;
    }
    .kb-about-hero-subtitle {
        font-size: 1.1rem;
    }
    .kb-principles-grid {
        grid-template-columns: 1fr;
    }
    .kb-kaizen-split-left-inner,
    .kb-kaizen-split-right-inner {
        padding: 60px 25px;
    }
    .kb-method-showcase,
    .kb-giving-mission,
    .kb-giving-cta {
        padding: 40px 25px;
        border-radius: 25px;
    }
    .kb-method-equation {
        flex-direction: column;
        gap: 20px;
    }
    .kb-method-num.kb-start {
        font-size: 3rem;
    }
    .kb-method-num.kb-result {
        font-size: 5rem;
    }
    .kb-founder-values {
        flex-wrap: wrap;
        gap: 20px;
    }
    .kb-founder-value {
        flex: 0 0 calc(50% - 10px);
    }
    .kb-beliefs-section,
    .kb-principles-section,
    .kb-kaizen-section,
    .kb-kintsugi-section,
    .kb-founder-section,
    .kb-giving-section,
    .kb-difference-section {
        padding: 80px 20px;
    }
}

/* ==========================================================================
   Landing Page Styles (Tallahassee SEO & reusable LP components)
   ========================================================================== */

/* Break LP out of GeneratePress container constraints */
.kb-lp-page {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow-x: hidden;
}

.kb-lp-page .site-content,
.kb-lp-page .content-area,
.kb-lp-page .inside-article {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
}

.kb-lp-hero {
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, #f8f8fc 0%, #ffffff 50%, #f0f0ff 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.kb-lp-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2333006c' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.kb-lp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.kb-lp-hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--kb-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: rgba(51, 0, 108, 0.08);
    padding: 8px 20px;
    border-radius: var(--kb-radius-full);
}

.kb-lp-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.kb-lp-hero h1 span {
    background: var(--kb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kb-lp-hero-sub {
    font-size: 1.25rem;
    color: var(--kb-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.kb-lp-hero-hook {
    font-size: 1.1rem;
    color: var(--kb-text);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.kb-lp-hero-hook strong {
    color: var(--kb-purple);
}

.kb-hero-cta-wrap {
    margin-bottom: 1.5rem;
}

.kb-hero-note {
    font-size: 0.9rem;
    color: var(--kb-gray-light);
}

/* Landing Page Trust Bar */
.kb-lp-trust-bar {
    background: var(--kb-gradient);
    padding: 18px 20px;
}

.kb-lp-trust-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.kb-lp-trust-content span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kb-lp-trust-content strong {
    color: var(--kb-teal);
}

/* Landing Page Section Headers */
.kb-lp-benefits {
    padding: 100px 20px;
    background: var(--kb-white);
}

.kb-lp-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.kb-lp-section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--kb-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.kb-lp-section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.kb-lp-section-header p {
    font-size: 1.15rem;
    color: var(--kb-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Benefits Grid */
.kb-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.kb-benefit-item {
    background: var(--kb-light);
    padding: 32px 28px;
    border-radius: var(--kb-radius-md);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.kb-benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--kb-shadow-sm);
    background: white;
}

.kb-benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--kb-gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kb-benefit-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.kb-benefit-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.kb-benefit-text p {
    font-size: 0.95rem;
    color: var(--kb-gray);
    line-height: 1.6;
}

/* What's Included */
.kb-lp-included {
    padding: 100px 20px;
    background: var(--kb-light);
}

.kb-included-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.kb-included-item {
    background: white;
    padding: 30px 20px;
    border-radius: var(--kb-radius-sm);
    text-align: center;
    box-shadow: var(--kb-shadow-sm);
    transition: all 0.3s ease;
}

.kb-included-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--kb-shadow-md);
}

.kb-included-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.kb-included-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Landing Page Testimonial */
.kb-lp-testimonial {
    padding: 80px 20px;
    background: var(--kb-white);
}

.kb-testimonial-card-lp {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 45px;
    border-radius: 12px;
    border: 1px solid rgba(51, 0, 108, 0.12);
    position: relative;
}

.kb-testimonial-card-lp::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--kb-purple);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    left: 25px;
    font-family: Georgia, serif;
    line-height: 1;
}

.kb-testimonial-card-lp blockquote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--kb-text);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.kb-testimonial-author-lp {
    display: flex;
    align-items: center;
    gap: 15px;
}

.kb-testimonial-avatar-lp {
    width: 50px;
    height: 50px;
    background: var(--kb-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.kb-testimonial-name {
    font-weight: 700;
    color: var(--kb-dark);
    font-size: 1rem;
}

.kb-testimonial-role {
    font-size: 0.9rem;
    color: var(--kb-gray);
}

/* Landing Page CTA */
.kb-lp-cta {
    padding: 100px 20px;
    background: var(--kb-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kb-lp-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(51, 0, 108, 0.6) 0%, transparent 50%);
}

.kb-lp-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.kb-lp-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: white;
    margin-bottom: 1rem;
}

.kb-lp-cta p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.kb-lp-cta .kb-btn-primary {
    background: white;
    color: var(--kb-purple);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.kb-lp-cta .kb-btn-primary:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.kb-cta-price {
    display: block;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.kb-cta-price strong {
    color: var(--kb-teal);
}

/* Landing Page About */
.kb-lp-about {
    padding: 100px 20px;
    background: var(--kb-white);
}

.kb-about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.kb-about-card {
    background: var(--kb-light);
    border-radius: var(--kb-radius-lg);
    padding: 40px;
    text-align: center;
}

.kb-about-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid var(--kb-light);
    box-shadow: var(--kb-shadow-sm);
}

.kb-about-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kb-about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.kb-about-card .kb-about-title {
    color: var(--kb-purple);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.kb-about-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.kb-about-stat {
    text-align: center;
}

.kb-about-stat-number {
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kb-purple);
    line-height: 1;
}

.kb-about-stat-label {
    font-size: 0.75rem;
    color: var(--kb-gray);
    margin-top: 4px;
}

.kb-about-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1.5rem;
}

.kb-about-text p {
    font-size: 1.05rem;
    color: var(--kb-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.kb-about-text p strong {
    color: var(--kb-dark);
}

.kb-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
}

.kb-credential {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--kb-light);
    padding: 8px 16px;
    border-radius: var(--kb-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--kb-dark);
}

.kb-credential svg {
    width: 14px;
    height: 14px;
    color: var(--kb-cyan);
}

/* Landing Page Objections */
.kb-lp-objections {
    padding: 100px 20px;
    background: var(--kb-light);
}

.kb-objections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.kb-objection-card {
    background: white;
    padding: 36px;
    border-radius: 12px;
    border: 1px solid rgba(51, 0, 108, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.kb-objection-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(51, 0, 108, 0.08);
    border-color: rgba(51, 0, 108, 0.22);
}

.kb-objection-q {
    font-family: 'Fira Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--kb-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.kb-objection-q span {
    color: var(--kb-purple);
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.kb-objection-a {
    font-size: 0.95rem;
    color: var(--kb-gray);
    line-height: 1.7;
    padding-left: 30px;
}

/* Landing Page Form Section */
.kb-lp-form-section {
    padding: 100px 20px;
    background: var(--kb-light);
}

.kb-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.kb-form-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.kb-form-info > p {
    font-size: 1.05rem;
    color: var(--kb-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.kb-form-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.kb-form-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--kb-text);
    font-weight: 500;
}

.kb-form-checklist li svg {
    width: 20px;
    height: 20px;
    color: var(--kb-cyan);
    flex-shrink: 0;
}

.kb-form-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--kb-gradient);
    color: white;
    padding: 14px 24px;
    border-radius: var(--kb-radius-full);
    font-weight: 700;
    font-size: 1rem;
}

.kb-form-price-badge small {
    font-weight: 400;
    opacity: 0.85;
    font-size: 0.85rem;
}

.kb-form-wrap {
    background: white;
    border-radius: var(--kb-radius-lg);
    padding: 45px;
    box-shadow: var(--kb-shadow-lg);
    border: 1px solid rgba(51, 0, 108, 0.05);
}

.kb-form-wrap h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.kb-form-wrap > p {
    color: var(--kb-gray);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Gravity Forms style overrides for landing pages */
.kb-form-wrap .gform_wrapper input[type="text"],
.kb-form-wrap .gform_wrapper input[type="email"],
.kb-form-wrap .gform_wrapper input[type="tel"],
.kb-form-wrap .gform_wrapper input[type="url"],
.kb-form-wrap .gform_wrapper textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(51, 0, 108, 0.1);
    border-radius: var(--kb-radius-sm);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--kb-light);
}

.kb-form-wrap .gform_wrapper input:focus,
.kb-form-wrap .gform_wrapper textarea:focus {
    outline: none;
    border-color: var(--kb-purple);
    background: white;
    box-shadow: 0 0 0 4px rgba(51, 0, 108, 0.1);
}

.kb-form-wrap .gform_wrapper textarea {
    min-height: 100px;
    resize: vertical;
}

.kb-form-wrap .gform_wrapper .gform_button,
.kb-form-wrap .gform_wrapper input[type="submit"] {
    width: 100%;
    padding: 13px 26px;
    background: var(--kb-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    margin-top: 10px;
}

.kb-form-wrap .gform_wrapper .gform_button:hover,
.kb-form-wrap .gform_wrapper input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--kb-shadow-md);
}

.kb-form-secure {
    text-align: center;
    color: var(--kb-gray-light);
    font-size: 0.8rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.kb-form-secure svg {
    width: 14px;
    height: 14px;
}

/* Fade-in animations */
.kb-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.kb-fade-up.kb-visible {
    opacity: 1;
    transform: translateY(0);
}

.kb-delay-1 { transition-delay: 0.1s; }
.kb-delay-2 { transition-delay: 0.2s; }
.kb-delay-3 { transition-delay: 0.3s; }
.kb-delay-4 { transition-delay: 0.4s; }
.kb-delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   Landing Page Responsive
   ========================================================================== */

@media (max-width: 968px) {
    .kb-about-grid,
    .kb-form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kb-about-card {
        max-width: 350px;
        margin: 0 auto;
    }

    .kb-included-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .kb-lp-hero {
        padding: 70px 20px 60px;
    }

    .kb-benefits-grid,
    .kb-objections-grid {
        grid-template-columns: 1fr;
    }

    .kb-included-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kb-lp-trust-content {
        flex-direction: column;
        gap: 10px;
    }

    .kb-testimonial-card-lp {
        padding: 30px 25px;
    }

    .kb-form-wrap {
        padding: 30px 25px;
    }

    .kb-about-stats {
        gap: 16px;
    }

    .kb-credentials {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .kb-included-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   Landing Page: Sticky CTA & Process Numbers
   ========================================================================== */

.kb-sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.kb-sticky-cta.kb-sticky-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.kb-sticky-cta .kb-btn-primary {
    box-shadow: 0 5px 18px rgba(51, 0, 108, 0.35);
}

@media (max-width: 768px) {
    .kb-sticky-cta {
        bottom: 16px;
        right: 16px;
        left: 16px;
        text-align: center;
    }

    .kb-sticky-cta .kb-btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   KB Studio Footer
   ========================================================================== */

/* Hide default GeneratePress footer sitewide */
.site-footer,
.site-info,
footer.site-footer {
    display: none !important;
}

.kb-footer {
    background: linear-gradient(150deg, var(--kb-purple), var(--kb-purple-dark) 70%, #1a0035); /* ds-ok: #1a0035 is the gradient end-stop, no global token */
    color: rgba(255, 255, 255, 0.75);
    padding: 0 40px 26px;
    font-size: 0.875rem;
    line-height: 1.7;
}

.kb-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Closing CTA bar */
.kb-footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    padding: 58px 0 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.kb-footer-cta h2 {
    color: #fff;
    font-family: 'Fira Sans', sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.15;
    max-width: 22ch;
    margin: 0;
}

/* Teal CTA: the one place teal carries a filled button, on dark only (10:1 contrast with purple-dark text) */
.kb-footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, var(--kb-teal), #00b8e6); /* ds-ok: teal button on the dark footer only, 10:1 with purple-dark text */
    color: var(--kb-purple-dark) !important;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    padding: 14px 26px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 18px -8px rgba(0, 212, 250, 0.55);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.kb-footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(0, 212, 250, 0.7);
    color: var(--kb-purple-dark) !important;
}

.kb-footer-cta-btn svg {
    flex: none;
    transition: transform 0.18s ease;
}

.kb-footer-cta-btn:hover svg {
    transform: translateX(3px);
}

.kb-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding: 52px 0 46px;
}

.kb-footer-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 18px;
    opacity: 0.95;
}

.kb-footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 34ch;
    margin: 0 0 18px;
}

.kb-footer-social {
    display: flex;
    gap: 12px;
}

.kb-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    transition: background 0.2s ease, color 0.2s ease;
}

.kb-footer-social a:hover {
    background: rgba(0, 212, 250, 0.18);
    color: var(--kb-teal);
}

/* Google "add preferred source" button (injected by publisher.js; reserve height to avoid shift) */
.kb-footer-preferred {
    margin-top: 16px;
    min-height: 60px;
}

/* Giving line + its About link */
.kb-footer-give {
    margin: 18px 0 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.5);
    max-width: 38ch;
}

.kb-footer-give a {
    color: var(--kb-teal);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.kb-footer-give a:hover {
    color: #fff;
}

.kb-footer-col h4 {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.kb-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kb-footer-col ul li {
    margin-bottom: 11px;
}

.kb-footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.15s ease;
}

.kb-footer-col ul li a:hover {
    color: var(--kb-teal);
}

/* "Rooted in Tallahassee" location link */
.kb-footer-rooted a {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.kb-footer-rooted svg {
    flex: none;
    margin-top: 4px;
    stroke: var(--kb-teal);
}

.kb-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.kb-footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.kb-footer-kaizen span {
    color: var(--kb-teal);
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 968px) {
    .kb-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 580px) {
    .kb-footer {
        padding: 0 20px 24px;
    }
    .kb-footer-cta {
        padding: 44px 0 34px;
    }
    .kb-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 0 34px;
    }
}

/* ==========================================================================
   Services Page
   ========================================================================== */

/* Sticky Nav */

/* Service Sections */

/* Benefit Cards */

/* SEO cards */

/* PPC cards */

/* Web Design cards */

/* Email cards */

/* What's Included */

/* Portfolio Showcase */

/* Service CTA */
.kb-svc-cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a0035 0%, #33006c 100%);
    text-align: center;
}

.kb-svc-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.kb-svc-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.kb-svc-cta p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Case Studies - Archive
   ========================================================================== */

.kb-cs-archive-hero {
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #f8f8fc 0%, #ffffff 50%, #f0f0ff 100%);
    text-align: center;
}

.kb-cs-archive-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.kb-cs-archive-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.kb-cs-archive-hero > div > p {
    color: var(--kb-gray);
    font-size: 1.15rem;
    line-height: 1.7;
}

.kb-cs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Video testimonials (case-studies page). Column ratio matches the two sources'
   aspects (1:1 and 16:9) so both players end up the same height. */
.kb-vt-grid {
    display: grid;
    grid-template-columns: 1fr 1.778fr;
    gap: 24px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.kb-vt-card {
    margin: 0;
}

.kb-vt-card video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--kb-radius-lg);
    border: 1px solid var(--kb-line);
    box-shadow: var(--kb-shadow-sm);
    background: #000; /* ds-ok: video letterbox, not a surface colour */
}

.kb-vt-card figcaption {
    margin-top: 12px;
    font-size: 15px;
    color: var(--kb-gray);
}

.kb-vt-card figcaption b {
    color: var(--kb-text);
    font-weight: 600;
}

.kb-vt-card figcaption span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
}

.kb-cs-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(51, 0, 108, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.kb-cs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(51, 0, 108, 0.12);
    border-color: rgba(51, 0, 108, 0.22);
}

.kb-cs-card-image {
    height: 220px;
    background: var(--kb-gradient);
    overflow: hidden;
}

.kb-cs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.kb-cs-card:hover .kb-cs-card-image img {
    transform: scale(1.05);
}

.kb-cs-card-content {
    padding: 35px;
}

.kb-cs-card-industry {
    display: inline-block;
    background: var(--kb-light);
    color: var(--kb-purple);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--kb-radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.kb-cs-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.kb-cs-card-result {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--kb-purple);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.kb-cs-card-content > p {
    color: var(--kb-gray);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.kb-cs-card-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.kb-cs-card-services span {
    font-size: 0.75rem;
    color: var(--kb-gray);
    background: var(--kb-light);
    padding: 4px 12px;
    border-radius: var(--kb-radius-full);
    font-weight: 500;
}

.kb-cs-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--kb-purple);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 10px 24px;
    border: 1px solid rgba(51, 0, 108, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.kb-cs-card-link:hover {
    gap: 12px;
    background: rgba(51, 0, 108, 0.04);
    border-color: rgba(51, 0, 108, 0.35);
}

.kb-cs-empty {
    text-align: center;
    padding: 80px 20px;
}

.kb-cs-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.kb-cs-empty p {
    color: var(--kb-gray);
    font-size: 1.1rem;
}

.kb-cs-empty a {
    color: var(--kb-purple);
    font-weight: 600;
}

/* ==========================================================================
   Case Studies - Single Page
   ========================================================================== */

.kb-cs-hero {
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, #240049 0%, #33006c 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kb-cs-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 250, 0.1) 0%, transparent 50%);
}

.kb-cs-hero .kb-container-wide {
    position: relative;
    z-index: 2;
}

.kb-cs-hero-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--kb-teal);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: var(--kb-radius-full);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.kb-cs-hero h1 {
    color: white;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.kb-cs-hero h1 span {
    color: var(--kb-teal);
}

.kb-cs-services-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.kb-cs-services-list span {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 20px;
    border-radius: var(--kb-radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.kb-cs-content-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

.kb-cs-sidebar {
    position: sticky;
    top: 100px;
    background: var(--kb-light);
    border-radius: var(--kb-radius-lg);
    padding: 40px;
}

.kb-cs-sidebar-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.kb-cs-sidebar-item:last-child {
    border-bottom: none;
}

.kb-cs-sidebar-label {
    font-size: 0.8rem;
    color: var(--kb-gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4px;
}

.kb-cs-sidebar-value {
    font-weight: 700;
    color: var(--kb-dark);
    font-size: 1.05rem;
}

.kb-cs-sidebar-metric {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--kb-purple);
    line-height: 1.2;
}

.kb-cs-block {
    margin-bottom: 60px;
}

.kb-cs-block h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.kb-cs-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--kb-text);
}

.kb-cs-results-content {
    max-width: 800px;
    margin: 0 auto 40px;
}

.kb-cs-results-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--kb-text);
}

.kb-cs-results-image {
    border-radius: var(--kb-radius-lg);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.kb-cs-results-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonial */
.kb-cs-testimonial {
    padding: 100px 20px;
    background: var(--kb-gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kb-cs-testimonial::before {
    content: '\201C';
    font-size: 12rem;
    color: rgba(255, 255, 255, 0.08);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
    line-height: 1;
}

.kb-cs-testimonial blockquote {
    font-size: 1.5rem;
    color: white;
    line-height: 1.7;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}

.kb-cs-testimonial cite {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    font-style: normal;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Screenshot Showcase — Column-Count Technique */
.kb-cs-showcase {
    padding: 80px 20px;
    background: var(--kb-light);
}

.kb-cs-showcase-columns {
    --col-height: 700px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.kb-cs-showcase-col {
    height: var(--col-height);
    background-image: var(--showcase-img);
    background-size: 100% auto;
    background-position-y: calc(var(--col-index) * -1 * var(--col-height));
    background-repeat: no-repeat;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(51, 0, 108, 0.08);
    border: 1px solid rgba(51, 0, 108, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.kb-cs-showcase-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(51, 0, 108, 0.14);
}

/* Metrics Cards */
.kb-cs-metrics {
    padding: 60px 20px 20px;
    background: white;
}

.kb-cs-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.kb-cs-metric-card {
    background: var(--kb-light);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(51, 0, 108, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kb-cs-metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(51, 0, 108, 0.08);
}

.kb-cs-metric-value {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--kb-purple);
    line-height: 1;
    margin-bottom: 8px;
}

.kb-cs-metric-label {
    color: var(--kb-gray);
    font-size: 1rem;
    font-weight: 500;
}

/* Before & After Comparison */
.kb-cs-before-after {
    padding: 80px 20px;
    background: white;
}

.kb-cs-ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.kb-cs-ba-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.kb-cs-ba-label {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--kb-dark);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.kb-cs-ba-label-after {
    background: var(--kb-purple);
}

.kb-cs-ba-card img {
    width: 100%;
    display: block;
}

/* ==========================================================================
   Resources Page
   ========================================================================== */

.kb-resource-hero {
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #f8f8fc 0%, #ffffff 50%, #f0f0ff 100%);
    text-align: center;
}

.kb-resource-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.kb-resource-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.kb-resource-hero-content > p {
    color: var(--kb-gray);
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Filter Tabs */
.kb-resources-filters {
    padding: 0 20px;
    background: white;
}

.kb-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.kb-filter-tab {
    background: var(--kb-light);
    border: 2px solid transparent;
    color: var(--kb-gray);
    padding: 10px 24px;
    border-radius: var(--kb-radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.kb-filter-tab:hover {
    border-color: var(--kb-purple);
    color: var(--kb-purple);
}

.kb-filter-tab.kb-filter-active {
    background: var(--kb-gradient);
    color: white;
    border-color: transparent;
}

/* Featured Post */
.kb-resource-featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(51, 0, 108, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.kb-resource-featured-card:hover {
    box-shadow: 0 20px 50px rgba(51, 0, 108, 0.1);
    border-color: rgba(51, 0, 108, 0.22);
    transform: translateY(-6px);
}

.kb-resource-featured-image {
    overflow: hidden;
    min-height: 400px;
}

.kb-resource-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.kb-resource-featured-card:hover .kb-resource-featured-image img {
    transform: scale(1.03);
}

.kb-resource-featured-content {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kb-resource-featured-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.kb-resource-featured-content h2 a {
    color: var(--kb-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.kb-resource-featured-content h2 a:hover {
    color: var(--kb-purple);
}

.kb-resource-featured-content > p {
    color: var(--kb-gray);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* Category Tag */
.kb-resource-cat-tag {
    display: inline-block;
    background: var(--kb-light);
    color: var(--kb-purple);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--kb-radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Meta */
.kb-resource-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--kb-gray-light);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Resource Grid */
.kb-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.kb-resource-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(51, 0, 108, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.kb-resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(51, 0, 108, 0.12);
    border-color: rgba(51, 0, 108, 0.22);
}

.kb-resource-card-image {
    height: 200px;
    overflow: hidden;
    background: var(--kb-light);
}

.kb-resource-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.kb-resource-card:hover .kb-resource-card-image img {
    transform: scale(1.05);
}

.kb-resource-card-content {
    padding: 30px;
}

.kb-resource-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.kb-resource-card-content h3 a {
    color: var(--kb-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.kb-resource-card-content h3 a:hover {
    color: var(--kb-purple);
}

.kb-resource-card-content > p {
    color: var(--kb-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Pagination */
.kb-pagination {
    text-align: center;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.kb-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--kb-gray);
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.06);
}

.kb-pagination .page-numbers:hover {
    border-color: var(--kb-purple);
    color: var(--kb-purple);
}

.kb-pagination .page-numbers.current {
    background: var(--kb-gradient);
    color: white;
    border-color: transparent;
}

.kb-pagination .page-numbers.prev,
.kb-pagination .page-numbers.next {
    width: auto;
    padding: 0 20px;
    border-radius: var(--kb-radius-full);
}

/* ==========================================================================
   New Templates - Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .kb-cs-grid,
    .kb-resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .kb-cs-showcase-columns {
        --col-height: 600px;
    }
}

@media (max-width: 968px) {
    .kb-resource-featured-card {
        grid-template-columns: 1fr;
    }
    .kb-resource-featured-image {
        min-height: 280px;
    }
    .kb-cs-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .kb-cs-sidebar {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
    .kb-cs-showcase-columns {
        grid-template-columns: 1fr;
        --col-height: 500px;
        max-width: 500px;
    }
    .kb-cs-showcase-columns .kb-cs-showcase-col:nth-child(2) {
        display: none;
    }
    .kb-cs-metrics-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
    }
    .kb-cs-ba-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .kb-cs-grid,
    .kb-resources-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    .kb-vt-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 30px;
    }
    .kb-cs-hero {
        padding: 80px 20px 60px;
    }
    .kb-cs-showcase {
        padding: 60px 20px;
    }
    .kb-cs-showcase-columns {
        grid-template-columns: 1fr;
        --col-height: 450px;
        max-width: 100%;
        gap: 16px;
    }
    .kb-cs-showcase-columns .kb-cs-showcase-col:nth-child(2) {
        display: none;
    }
    .kb-cs-metric-value {
        font-size: 2.4rem;
    }
    .kb-cs-before-after {
        padding: 60px 20px;
    }
    .kb-resource-featured-content {
        padding: 30px 25px;
    }
    .kb-filter-tabs {
        gap: 8px;
    }
    .kb-filter-tab {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    .kb-svc-cta h2 {
        font-size: 2rem;
    }
    .kb-cs-testimonial blockquote {
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   BRAND v1.0 REDESIGN — homepage (added 2026-06-10)
   Ref: docs/kb-studio-brand-guidelines.html. Overrides earlier rules by cascade.
   ========================================================================== */

/* Body type: larger, comfortable reading size */
.kb-page { font-size: 20px; }
.kb-hero p,
.kb-section-header p,
.kb-cta-content p,
.kb-giving-banner-content p { font-size: 20px; line-height: 1.6; }

/* Hero eyebrow uses interactive cyan on light */

/* --- Hero: headline + large showcase image below --- */
@keyframes kb-floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- Hero: Editorial + Capability Bar (homepage) --- */
.kb-hero-editorial {
    padding: 72px 20px 60px;
    background: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.kb-hero-editorial::before { display: none; } /* drop default hero texture; bg layer handles it */

/* Background layer: subtle brand-tint radial glows only. The photo layer was removed 2026-07-22
   for a clean editorial hero (the ::before/::after below are disabled). */
/* Photo layer dropped 2026-07-22 for a clean editorial hero. The .kb-hero-editorial-bg
   brand glows above are the whole background now. */
.kb-hero-editorial .kb-container { position: relative; z-index: 1; }
.kb-hero-editorial h1 {
    font-size: clamp(2rem, 4.4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

/* Capability cards (larger, individual, glow on hover) */
.kb-hero-cap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1040px;
    margin: 56px auto 0;
}
.kb-hero-cap-cell {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 32px 28px;
    text-align: left;
    position: relative;
    background: #fff;
    border: 1px solid #e7e3f0;
    border-radius: 16px;
    box-shadow: var(--kb-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.kb-hero-cap-cell::before {
    content: '';
    display: block;
    width: 28px;
    height: 3px;
    background: var(--kb-gradient);
    border-radius: 3px;
    margin-bottom: 18px;
    transition: width 0.3s ease;
}
.kb-hero-cap-cell:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 158, 219, 0.45);
    box-shadow: 0 22px 46px -16px rgba(51, 0, 108, 0.4), 0 0 24px -6px rgba(0, 212, 250, 0.4);
}
.kb-hero-cap-cell:hover::before { width: 48px; }
.kb-hero-cap-k {
    display: block;
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--kb-cyan);
    margin-bottom: 10px;
}
.kb-hero-cap-cell h3 { font-size: 1.28rem; color: var(--kb-purple); margin-bottom: 8px; }
.kb-hero-editorial .kb-hero-cap-cell p { font-size: 0.92rem; color: var(--kb-gray); line-height: 1.55; margin: 0; }

@media (max-width: 780px) { .kb-hero-cap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .kb-hero-cap { grid-template-columns: 1fr; } }

/* --- Line icons replace emoji in value/service cards --- */
.kb-value-icon, .kb-service-icon { font-size: 0; }
.kb-value-icon svg { width: 26px; height: 26px; color: var(--kb-purple); }
.kb-service-icon svg { width: 26px; height: 26px; color: var(--kb-teal); } /* teal OK on dark section */

/* --- Testimonials: drag-to-scroll quote rail (replaces bento) --- */
.kb-qr-frame { border: 1px solid #e8e5ec; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 22px -12px rgba(51, 0, 108, 0.25); background: #fff; }
.kb-qr { display: flex; overflow-x: auto; cursor: grab; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.kb-qr::-webkit-scrollbar { display: none; }
.kb-qr.is-grabbing { cursor: grabbing; }
.kb-qr-card {
    flex: 0 0 430px; scroll-snap-align: start; padding: 38px 40px; position: relative;
    user-select: none; display: flex; flex-direction: column; min-height: 330px;
    border-right: 1px solid #e8e5ec; background: #fff;
}
.kb-qr-glyph { position: absolute; top: 24px; right: 34px; font-family: Georgia, serif; font-size: 54px; line-height: 0; color: var(--kb-gold); opacity: .5; pointer-events: none; }
.kb-qr-top { display: flex; align-items: center; gap: 14px; }
.kb-qr-idx { font-family: 'Fira Sans', sans-serif; font-weight: 700; font-size: 14px; color: var(--kb-cyan); letter-spacing: .16em; }
.kb-qr-tag { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--kb-purple); background: #f5f0ff; border: 1px solid #e8e5ec; border-radius: 999px; padding: 6px 13px; }
.kb-qr-text { font-family: 'Fira Sans', sans-serif; font-weight: 500; font-size: 1.3rem; line-height: 1.42; color: var(--kb-text); margin: 26px 0 auto; }
.kb-qr-src { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.kb-qr-mono { width: 48px; height: 48px; border-radius: 13px; background: #f5f0ff; border: 1px solid #e8e5ec; display: flex; align-items: center; justify-content: center; font-family: 'Fira Sans', sans-serif; font-weight: 700; color: var(--kb-purple); font-size: 16px; flex: 0 0 auto; }
.kb-qr-id { min-width: 0; }
.kb-qr-id h4 { font-family: 'Fira Sans', sans-serif; color: var(--kb-purple-dark); font-size: 16px; margin: 0 0 1px; }
.kb-qr-id p { color: var(--kb-gray); font-size: 13px; margin: 0; }
/* Scoped to .kb-qr-card so it outranks `.kb-page img` (0-1-1), which was beating a
   bare `.kb-qr-logo` (0-1-0) and forcing max-width:100% + height:auto. That let the
   HTML width/height attrs and max-height clamp each axis independently, stretching
   every logo to the card width. width/height:auto keeps the intrinsic ratio. */
.kb-qr-card .kb-qr-logo { width: auto; height: auto; max-width: 120px; max-height: 32px; object-fit: contain; object-position: left center; margin-top: 6px; opacity: .7; display: block; }
.kb-qr-source { margin-left: auto; flex: 0 0 auto; opacity: .6; align-self: flex-start; }
.kb-qr-card.is-feature { background: linear-gradient(155deg, #33006c, #240049 68%, #1a0035); }
.kb-qr-card.is-feature .kb-qr-idx { color: #7fd3f3; }
.kb-qr-card.is-feature .kb-qr-text { color: #fff; font-weight: 600; font-size: 1.4rem; }
.kb-qr-card.is-feature .kb-qr-tag { color: #fff; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); }
.kb-qr-card.is-feature .kb-qr-mono { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.kb-qr-card.is-feature .kb-qr-id h4 { color: #fff; }
.kb-qr-card.is-feature .kb-qr-id p { color: rgba(255, 255, 255, 0.62); }
.kb-qr-card.is-feature .kb-qr-logo { filter: brightness(0) invert(1); opacity: .85; }
.kb-qr-card.is-feature .kb-qr-source svg path { fill: rgba(255, 255, 255, 0.55); }
.kb-qr-prog { height: 4px; background: var(--kb-light); border-top: 1px solid #e8e5ec; }
.kb-qr-prog i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--kb-purple), var(--kb-cyan)); }
@media (max-width: 600px) { .kb-qr-card { flex-basis: 300px; padding: 30px 26px; min-height: 300px; } .kb-qr-text { font-size: 1.15rem; } }

/* ==========================================================================
   SERVICES PAGE REDESIGN — v1.0 (added 2026-06-10)
   50/50 alternating sections, branded visual mocks, before/after sliders.
   Ref: docs/kb-studio-brand-guidelines.html
   ========================================================================== */

.kbs-eyebrow{display:inline-block;font-size:.8rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--kb-cyan);margin-bottom:.6rem}
.kbs-grad{background:linear-gradient(120deg,var(--kb-purple),var(--kb-cyan));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

/* hero */
.kbs-hero{text-align:center;padding:72px 20px 46px;background:linear-gradient(180deg,#fbfaff,#fff)}
.kbs-hero h1{font-size:clamp(2rem,4.5vw,2.9rem);font-weight:800;max-width:780px;margin:.5rem auto 1rem;letter-spacing:-.01em}
.kbs-hero p{font-size:1.25rem;max-width:620px;margin:0 auto 1.6rem;color:#4a4a4a;line-height:1.6}
.kbs-hero-cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* sticky nav */
.kbs-nav{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border-top:1px solid #e8e5ec;border-bottom:1px solid #e8e5ec}
.kbs-nav .kb-container{display:flex;gap:8px;height:60px;align-items:center;justify-content:center;overflow-x:auto;scrollbar-width:none}
.kbs-nav .kb-container::-webkit-scrollbar{display:none}
.kbs-nav-link{font-size:15px;font-weight:600;color:var(--kb-gray);padding:9px 18px;border-radius:999px;white-space:nowrap;text-decoration:none;transition:.15s}
.kbs-nav-link:hover{color:var(--kb-purple)}
.kbs-nav-link.active{background:#f5f0ff;color:var(--kb-purple)}

/* split section */
.kbs-svc{padding:74px 0;border-bottom:1px solid #e8e5ec}
.kbs-svc.kbs-alt{background:var(--kb-light)}
.kbs-split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.kbs-split.kbs-rev .kbs-txt{order:2}
.kbs-txt .kbs-eyebrow{display:block;margin-bottom:12px}
.kbs-txt h2{font-size:clamp(1.6rem,3vw,2.1rem);margin-bottom:16px}
.kbs-desc{font-size:1.125rem;color:#4a4a4a;margin-bottom:24px;line-height:1.6}
.kbs-benefits{list-style:none;display:grid;gap:14px;margin:0 0 26px;padding:0}
.kbs-benefits li{display:flex;gap:13px;align-items:flex-start}
.kbs-benefits svg{flex:0 0 auto;margin-top:3px}
.kbs-benefits b{font-family:'Fira Sans',sans-serif;font-weight:600;color:var(--kb-purple-dark);font-size:1.0625rem;display:block;margin-bottom:2px}
.kbs-benefits span{font-size:.95rem;color:var(--kb-gray);line-height:1.5}
.kbs-included{margin-bottom:26px}
.kbs-inc-lab{font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--kb-gray);margin-bottom:12px}
.kbs-chips{display:flex;flex-wrap:wrap;gap:9px}
.kbs-chip{font-size:.875rem;font-weight:500;color:var(--kb-purple);background:#f5f0ff;border:1px solid #e8e5ec;border-radius:999px;padding:8px 15px}

/* visual mock cards */
.kbs-mock{border-radius:var(--kb-radius-lg);aspect-ratio:1/1;box-shadow:var(--kb-shadow-md);border:1px solid #e8e5ec;position:relative;overflow:hidden;padding:30px;display:flex;flex-direction:column;justify-content:center}
.kbs-mock-tintA{background:radial-gradient(600px 280px at 80% 0,rgba(0,158,219,.16),transparent),linear-gradient(135deg,#f5f0ff,#ede6ff)}
.kbs-mock-tintB{background:radial-gradient(600px 280px at 20% 100%,rgba(0,212,250,.2),transparent),linear-gradient(135deg,#eef7ff,#e2effb)}
.kbs-panel{background:#fff;border-radius:14px;box-shadow:var(--kb-shadow-sm);padding:18px}
.kbs-panel-title{font-family:'Fira Sans',sans-serif;font-weight:600;color:var(--kb-purple-dark);font-size:.9rem;margin-bottom:14px}
.kbs-rank{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;background:var(--kb-light);margin-bottom:9px;font-size:.82rem;color:var(--kb-gray)}
.kbs-rank.top{background:#fff;box-shadow:var(--kb-shadow-sm);color:var(--kb-purple-dark);font-weight:600}
.kbs-pos{width:26px;height:26px;border-radius:7px;background:#e7e1f2;color:var(--kb-purple);font-family:'Fira Sans',sans-serif;font-weight:700;display:flex;align-items:center;justify-content:center;font-size:.8rem;flex:0 0 auto}
.kbs-rank.top .kbs-pos{background:var(--kb-purple);color:#fff}
.kbs-grow{margin-left:auto;color:#1a7a45;font-weight:700;font-size:.72rem}
.kbs-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.kbs-tile{background:#fff;border-radius:12px;padding:14px;box-shadow:var(--kb-shadow-sm)}
.kbs-tile b{font-family:'Fira Sans',sans-serif;font-size:1.4rem;color:var(--kb-purple-dark);display:block}
.kbs-tile span{font-size:.7rem;color:var(--kb-gray)}
.kbs-bars{display:flex;align-items:flex-end;gap:9px;height:84px;background:#fff;border-radius:12px;padding:16px;box-shadow:var(--kb-shadow-sm)}
.kbs-bars i{flex:1;border-radius:4px 4px 0 0;background:linear-gradient(var(--kb-purple),var(--kb-cyan))}
.kbs-browser{background:#fff;border-radius:12px;box-shadow:var(--kb-shadow-sm);overflow:hidden;width:100%}
.kbs-browser-top{height:34px;background:var(--kb-light);display:flex;align-items:center;gap:6px;padding:0 14px;border-bottom:1px solid #e8e5ec}
.kbs-browser-top i{width:9px;height:9px;border-radius:50%;background:#d9d3e3}
.kbs-browser-body{padding:18px}
.kbs-wf-hero{height:54px;border-radius:8px;background:linear-gradient(120deg,var(--kb-purple),var(--kb-purple-light));margin-bottom:12px}
.kbs-bar{height:9px;border-radius:5px;background:var(--kb-light);margin-bottom:10px}
.kbs-bar.lg{height:13px;width:60%;background:var(--kb-purple);margin-bottom:16px}
.kbs-wf-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-top:14px}
.kbs-wf-card{height:46px;border-radius:8px;background:var(--kb-light)}
.kbs-wf-card:nth-child(2){background:#eaf0fb}
.kbs-flow{display:flex;flex-direction:column;align-items:center;width:100%}
.kbs-mailrow{width:100%;background:#fff;border-radius:11px;box-shadow:var(--kb-shadow-sm);padding:13px 15px;display:flex;align-items:center;gap:12px}
.kbs-mail-dot{width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,var(--kb-purple),var(--kb-cyan));flex:0 0 auto}
.kbs-mailrow b{font-family:'Fira Sans',sans-serif;color:var(--kb-purple-dark);font-size:.9rem;display:block}
.kbs-mailrow span{color:var(--kb-gray);font-size:.78rem}
.kbs-flowline{width:2px;height:18px;background:#e8e5ec}

/* recent work showcase + before/after sliders */
.kbs-showcase{margin-top:52px;padding-top:46px;border-top:1px solid #e8e5ec}
.kbs-showcase-head{text-align:center;max-width:640px;margin:0 auto 30px}
.kbs-showcase-head .kbs-eyebrow{display:block;margin-bottom:10px}
.kbs-showcase-head h3{font-size:1.7rem;margin-bottom:8px}
.kbs-showcase-head p{font-size:1rem;color:var(--kb-gray)}
.kbs-ba-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.kbs-ba-card{border-radius:var(--kb-radius-lg);overflow:hidden;border:1px solid #e8e5ec;box-shadow:var(--kb-shadow-sm);background:#fff}
.kbs-ba{position:relative;aspect-ratio:4/3;overflow:hidden;cursor:ew-resize;touch-action:pan-y;user-select:none;background:#f3f1f7}
.kbs-ba-after{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;pointer-events:none}
.kbs-ba-before{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;clip-path:inset(0 50% 0 0)}
.kbs-ba-before-img{position:absolute;top:0;left:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:top center;pointer-events:none}
.kbs-ba-handle{position:absolute;top:0;bottom:0;left:50%;width:3px;background:#fff;transform:translateX(-50%);box-shadow:0 0 0 1px rgba(0,0,0,.06)}
.kbs-ba-handle::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:40px;height:40px;border-radius:50%;background:#fff;box-shadow:var(--kb-shadow-sm)}
.kbs-ba-handle span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;color:var(--kb-purple);font-weight:700;font-size:15px;letter-spacing:-1px}
.kbs-ba-tag{position:absolute;bottom:14px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:rgba(36,0,73,.72);padding:6px 12px;border-radius:999px}
.kbs-ba-tag.tb{left:14px}.kbs-ba-tag.ta{right:14px}
.kbs-ba-cap{padding:15px 20px;font-family:'Fira Sans',sans-serif;font-weight:600;color:var(--kb-purple-dark);display:flex;justify-content:space-between;align-items:center}
.kbs-ba-cap span{font-size:.8rem;color:var(--kb-gray);font-family:'Inter',sans-serif;font-weight:500}

/* CTA */
.kbs-cta{background:linear-gradient(155deg,#33006c,#240049 70%,#1a0035);color:#fff;text-align:center;padding:72px 20px}
.kbs-cta h2{color:#fff;font-size:clamp(1.6rem,3vw,2.1rem);margin-bottom:14px}
.kbs-cta p{color:rgba(255,255,255,.82);font-size:1.125rem;max-width:560px;margin:0 auto 1.6rem}
.kbs-cta-btn{background:#fff !important;color:var(--kb-purple) !important}
.kbs-cta-note{margin-top:18px;color:rgba(255,255,255,.6);font-size:.875rem}

/* reveal */
.kb-reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
.kb-reveal.in{opacity:1;transform:none}

@media(max-width:860px){
    .kbs-split{grid-template-columns:1fr;gap:34px}
    .kbs-split.kbs-rev .kbs-txt{order:0}
    .kbs-ba-grid{grid-template-columns:1fr}
    .kbs-mock{aspect-ratio:auto;min-height:300px}
}

/* PPC ad-preview mock */
.kbs-adstack{display:flex;flex-direction:column;gap:14px;width:100%}
.kbs-gad{background:#fff;border-radius:12px;box-shadow:var(--kb-shadow-sm);padding:16px 18px;text-align:left}
.kbs-gad-spon{display:inline-block;font-size:.68rem;font-weight:700;color:#3c4043;background:#f1f3f4;padding:2px 8px;border-radius:4px}
.kbs-gad-title{color:#1a56db;font-family:'Fira Sans',sans-serif;font-weight:600;font-size:1rem;margin:10px 0 3px;line-height:1.3}
.kbs-gad-url{color:#1a7a45;font-size:.78rem;margin-bottom:6px}
.kbs-gad-desc{color:#4a4a4a;font-size:.82rem;line-height:1.45}
.kbs-mad{background:#fff;border-radius:12px;box-shadow:var(--kb-shadow-sm);overflow:hidden}
.kbs-mad-head{display:flex;align-items:center;gap:10px;padding:12px 14px}
.kbs-mad-avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,var(--kb-purple),var(--kb-cyan));flex:0 0 auto}
.kbs-mad-head b{font-family:'Fira Sans',sans-serif;font-size:.85rem;color:var(--kb-purple-dark);display:block}
.kbs-mad-head span{font-size:.7rem;color:var(--kb-gray)}
.kbs-mad-img{height:96px;background:radial-gradient(300px 120px at 30% 0,rgba(0,158,219,.3),transparent),linear-gradient(135deg,#33006c,#240049)}
.kbs-mad-cta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;background:var(--kb-light)}
.kbs-mad-cta span{font-size:.8rem;color:var(--kb-purple-dark);font-weight:600}
.kbs-mad-cta button{border:0;background:var(--kb-purple);color:#fff;font-size:.75rem;font-weight:600;padding:7px 14px;border-radius:7px;cursor:pointer;font-family:'Inter',sans-serif;flex:0 0 auto}

/* Email performance dashboard mock */
.kbs-edash{background:#fff;border-radius:12px;box-shadow:var(--kb-shadow-sm);padding:18px;width:100%}
.kbs-edash-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.kbs-edash-head>span:first-child{font-family:'Fira Sans',sans-serif;font-weight:600;color:var(--kb-purple-dark);font-size:.95rem}
.kbs-edash-tag{font-size:.62rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--kb-cyan);background:#eef7fb;padding:3px 9px;border-radius:999px}
.kbs-erow{display:grid;grid-template-columns:1.7fr .7fr .7fr 1fr;gap:8px;align-items:center;padding:9px 8px;border-radius:8px;font-size:.8rem;color:var(--kb-purple-dark)}
.kbs-erow span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
.kbs-erow-h{font-size:.66rem;text-transform:uppercase;letter-spacing:.05em;color:var(--kb-gray);font-weight:600}
.kbs-erow:nth-child(even):not(.kbs-erow-h):not(.kbs-erow-total){background:var(--kb-light)}
.kbs-erow-total{border-top:1px solid #e8e5ec;margin-top:4px;font-weight:700;color:var(--kb-purple)}
.kbs-erow-total span:last-child{color:#1a7a45}

/* website panel — real site screenshot in a browser frame */
.kbs-browser-shot{width:100%}
.kbs-browser-url{margin-left:8px;font-size:.72rem;color:var(--kb-gray);background:#fff;border:1px solid #e8e5ec;border-radius:6px;padding:3px 12px}
.kbs-shot{overflow:hidden;aspect-ratio:16/10;background:#fff}
.kbs-shot img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block;max-width:none}
/* full-scene photo panel (e.g. website-on-laptop) */
.kbs-mock.kbs-mock-photowide{padding:0;border:1px solid #e8e5ec;aspect-ratio:auto;display:block}
.kbs-mock-photowide img{display:block;width:100%;height:auto;max-width:none}

/* SEO panel — photo with traffic-data card overlaid bottom-left */
.kbs-photo{position:relative;width:100%;height:100%;border-radius:var(--kb-radius-lg);overflow:hidden}
.kbs-photo>img{width:100%;height:100%;object-fit:cover;display:block}
.kbs-photo-card{position:absolute;left:18px;bottom:18px;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.6);border-radius:14px;box-shadow:0 18px 50px -22px rgba(51,0,108,.5);padding:14px 16px;max-width:60%}
.kbs-photo-card .t{font-family:'Fira Sans',sans-serif;font-weight:600;color:var(--kb-purple-dark);font-size:.8rem;margin-bottom:10px}
.kbs-photo-rank{display:flex;align-items:center;gap:10px;font-size:.76rem;color:var(--kb-purple-dark);margin-bottom:7px}
.kbs-photo-rank:last-child{margin-bottom:0}
.kbs-photo-rank .pos{width:22px;height:22px;border-radius:6px;background:var(--kb-purple);color:#fff;font-family:'Fira Sans',sans-serif;font-weight:700;font-size:.72rem;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.kbs-photo-rank .grow{margin-left:auto;color:#1a7a45;font-weight:700;font-size:.72rem}
.kbs-mock.kbs-mock-photo{padding:0;border:1px solid #e8e5ec}
.kbs-stat{display:flex;align-items:center;justify-content:space-between;font-size:.78rem;color:var(--kb-purple-dark);margin-bottom:7px;gap:24px}
.kbs-stat:last-child{margin-bottom:0}
.kbs-stat .up{color:#1a7a45;font-weight:700;font-size:.8rem}

/* ============================================================
   PPC PAGE VISUALS: comparison table + transparency diagram
   ============================================================ */
.kb-cmp-section { padding: 100px 20px; background: var(--kb-light); }
.kb-cmp-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; }
.kb-cmp {
    width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0;
    background: var(--kb-white); border-radius: var(--kb-radius-lg);
    box-shadow: var(--kb-shadow-sm); overflow: hidden; font-size: 1rem;
}
.kb-cmp th, .kb-cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid #eee; vertical-align: top; }
.kb-cmp thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; border-bottom: 2px solid #eee; }
.kb-cmp thead th.kb-cmp-g { color: var(--kb-purple); }
.kb-cmp thead th.kb-cmp-m { color: var(--kb-cyan); }
.kb-cmp tbody th { font-weight: 600; color: var(--kb-dark); width: 160px; background: var(--kb-light); }
.kb-cmp td strong { color: var(--kb-dark); }
.kb-cmp tbody tr:last-child th, .kb-cmp tbody tr:last-child td { border-bottom: none; }
.kb-cmp-plat { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.kb-cmp-dot { width: 9px; height: 9px; border-radius: 50%; }
.kb-cmp-dot.kb-cmp-g { background: var(--kb-purple); }
.kb-cmp-dot.kb-cmp-m { background: var(--kb-cyan); }

.kb-tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.kb-tp-card { border-radius: var(--kb-radius-lg); padding: 32px; }
.kb-tp-us { background: var(--kb-gradient); color: #fff; box-shadow: var(--kb-shadow-md); }
.kb-tp-them { background: var(--kb-light); border: 1px solid #e8e8f0; }
.kb-tp-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.kb-tp-them h3 { color: var(--kb-gray); }
.kb-tp-card ul { list-style: none; display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 0; }
.kb-tp-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; line-height: 1.5; }
.kb-tp-us li { color: rgba(255,255,255,0.95); }
.kb-tp-them li { color: var(--kb-gray); }
.kb-tp-ic { flex-shrink: 0; width: 21px; height: 21px; margin-top: 1px; }
.kb-tp-us .kb-tp-ic { color: var(--kb-teal); }
.kb-tp-them .kb-tp-ic { color: var(--kb-gray-light); }

@media (max-width: 760px) {
    .kb-tp-grid { grid-template-columns: 1fr; }
    .kb-cmp-section { padding: 70px 16px; }
}

/* ============================================================
   PPC PAGE IMAGERY: split hero + comparison image + editorial band
   ============================================================ */
/* Split hero (scoped to .kb-ppc-hero so other landing pages are unaffected) */
.kb-ppc-hero { text-align: left; }
.kb-ppc-hero-inner {
    position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center;
}
.kb-ppc-hero .kb-lp-hero-content { max-width: none; margin: 0; text-align: left; }
.kb-ppc-hero .kb-hero-cta-wrap { justify-content: flex-start; }
.kb-ppc-hero-img img { width: 100%; height: auto; display: block; }
@media (max-width: 860px) {
    .kb-ppc-hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .kb-ppc-hero, .kb-ppc-hero .kb-lp-hero-content { text-align: center; }
    .kb-ppc-hero .kb-hero-cta-wrap { justify-content: center; }
}

/* Comparison table paired with flat-lay image */
.kb-cmp-layout {
    display: grid; grid-template-columns: minmax(0,360px) minmax(0,1fr);
    gap: 44px; align-items: center; max-width: 1160px; margin: 0 auto;
}
.kb-cmp-intro { text-align: left; }
.kb-cmp-intro h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
.kb-cmp-intro p { color: var(--kb-gray); margin-bottom: 22px; }
.kb-cmp-img { width: 100%; height: auto; border-radius: var(--kb-radius-lg); box-shadow: var(--kb-shadow-sm); display: block; }
@media (max-width: 860px) { .kb-cmp-layout { grid-template-columns: 1fr; gap: 28px; } }

/* Editorial band (strategist image + copy) */
.kb-ppc-band { padding: 100px 20px; background: var(--kb-white); }
.kb-ppc-band-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
}
.kb-ppc-band-img img { width: 100%; height: auto; border-radius: var(--kb-radius-lg); box-shadow: var(--kb-shadow-md); display: block; }
.kb-ppc-band-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.kb-ppc-band-text p { color: var(--kb-gray); margin-bottom: 1rem; }
@media (max-width: 860px) {
    .kb-ppc-band-inner { grid-template-columns: 1fr; gap: 30px; }
    .kb-ppc-band-img { order: -1; }
}

/* Services page: two-button group per service section (learn more + action) */
.kbs-svc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ==========================================================================
   Giving Back — Causes by Focus Area
   ========================================================================== */
.kb-causes-lead{text-align:center;max-width:640px;margin:0 auto 40px}
.kb-causes-lead h3{font-size:1.8rem;font-weight:800;color:var(--kb-purple);letter-spacing:-.02em;margin-bottom:10px}
.kb-causes-lead p{font-size:1.05rem;color:var(--kb-gray)}
.kb-causes-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:0 auto}
.kb-cause-group{background:#fff;border:1px solid #e7e3f0;border-radius:16px;padding:34px 34px 28px;box-shadow:var(--kb-shadow-sm)}
.kb-cause-gh{display:flex;align-items:center;gap:10px;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid #f0edf6}
.kb-cause-tag{width:10px;height:10px;border-radius:3px;background:var(--kb-gradient);flex:0 0 auto}
.kb-cause-gh h4{font-size:1.18rem;color:var(--kb-purple);margin:0}
.kb-cause-ct{margin-left:auto;font-size:.76rem;font-weight:700;color:var(--kb-cyan);background:rgba(0,158,219,.1);padding:4px 11px;border-radius:20px}
.kb-cause-item{display:flex;align-items:center;gap:24px;padding:18px 0}
.kb-cause-logo{flex:0 0 152px;width:152px;display:flex;align-items:center;justify-content:center}
.kb-cause-logo img{max-width:113px;max-height:58px;width:auto;height:auto;object-fit:contain}
.kb-cause-nm{font-weight:600;color:var(--kb-text);font-size:1.05rem}
.kb-cause-fo{font-size:.85rem;color:var(--kb-gray-light);margin-left:auto}
.kb-cause-impact{font-size:.85rem;color:var(--kb-purple);font-weight:600;margin-left:auto}
@media(max-width:820px){.kb-causes-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.kb-cause-group{padding:26px 20px 20px}.kb-cause-item{gap:16px}.kb-cause-logo{flex:0 0 76px;width:76px}.kb-cause-logo img{max-width:76px;max-height:40px}}

/* ==========================================================================
   Honest Math (Growth Retainers) — extends .kb-cmp with a featured column
   ========================================================================== */
.kb-cmp .kb-cmp-kb {
    background: var(--kb-purple-tint);
    color: var(--kb-purple);
    font-weight: 600;
}

.kb-money-quote {
    margin: 34px auto 0;
    max-width: 640px;
    font-size: 24px;
    font-weight: 600;
    color: var(--kb-purple);
    text-align: center;
}

.kb-money-concede,
.kb-money-note {
    text-align: center;
    color: var(--kb-gray);
}

.kb-money-concede {
    margin: 14px auto 0;
    max-width: 700px;
    font-size: 18px;
}

.kb-money-note {
    margin: 26px auto 0;
    max-width: 760px;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .kb-money-quote { font-size: 20px; }
}

/* ==========================================================================
   Form proof card (retainers form + contact info column)
   ========================================================================== */
.kb-form-proof {
    margin-top: 28px;
    padding: 22px 24px;
    background: var(--kb-white);
    border: 1px solid var(--kb-line);
    border-radius: var(--kb-radius-lg);
    box-shadow: var(--kb-shadow-sm);
}

.kb-form-proof-quote {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--kb-text);
    font-style: italic;
}

.kb-form-proof-src {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.kb-form-proof-avatar {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: var(--kb-purple-tint);
    color: var(--kb-purple);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kb-form-proof-id { display: flex; flex-direction: column; }
.kb-form-proof-id strong { font-size: 15px; color: var(--kb-text); }
.kb-form-proof-id span { font-size: 13px; color: var(--kb-gray); }

.kb-form-proof-google {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.kb-form-proof-google .kb-google-reviews-stars { font-size: 1rem; }

/* ==========================================================================
   About Page - Tallahassee Roots (added 2026-08-24)
   ========================================================================== */

.kb-roots-section {
    padding: 120px 20px;
    background: linear-gradient(180deg, #f4fcff 0%, #ddf4fd 100%);
    position: relative;
}

.kb-roots-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 56px;
    align-items: center;
}

/* --- Left: copy --- */

.kb-roots-copy .kb-label {
    display: block;
    margin-bottom: 14px;
}

.kb-roots-copy h2 {
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 24ch;
}

.kb-roots-copy p {
    color: var(--kb-gray);
    line-height: 1.7;
    max-width: 70ch;
    margin-bottom: 1.1rem;
}

.kb-roots-copy p:last-child {
    margin-bottom: 0;
}

/* --- Right: Florida on a deep purple panel, teal linework --- */

.kb-roots-visual {
    background: var(--kb-gradient-dark);
    border-radius: var(--kb-radius-lg);
    padding: 24px 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 18px 50px -22px rgba(51, 0, 108, 0.28);
}

.kb-roots-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 32%, rgba(0, 212, 250, 0.16) 0%, transparent 62%);
    pointer-events: none;
}

.kb-roots-visual svg {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

/* Teal throughout below: the panel behind it is --kb-gradient-dark. */

.kb-roots-flgrad {
    color: var(--kb-teal); /* ds-ok: on the dark purple .kb-roots-visual panel */
}

.kb-roots-fl {
    fill: url(#kbFlFill);
    stroke: var(--kb-teal); /* ds-ok: on the dark purple .kb-roots-visual panel */
    stroke-width: 3.4;
    stroke-linejoin: round;
}

.kb-roots-keys {
    fill: var(--kb-teal); /* ds-ok: on the dark purple .kb-roots-visual panel */
}

.kb-roots-capitol {
    fill: var(--kb-teal); /* ds-ok: on the dark purple .kb-roots-visual panel */
    opacity: 0.13;
}

.kb-roots-star {
    fill: var(--kb-white);
}

.kb-roots-leader {
    fill: none;
    stroke: var(--kb-teal); /* ds-ok: on the dark purple .kb-roots-visual panel */
    stroke-width: 1.6;
    opacity: 0.7;
}

.kb-roots-city {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    fill: var(--kb-white);
}

@media (max-width: 1024px) {
    .kb-roots-grid {
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .kb-roots-section {
        padding: 80px 20px;
    }
    .kb-roots-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
    .kb-roots-copy h2 {
        max-width: none;
    }
    .kb-roots-visual {
        max-width: 320px;
        margin: 0 auto;
    }
}
