/* ===================================
    Crafto - Digital agency
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
/* variable */
:root {     
    --base-color: #d4b8c2;
    --yellow: #FCBB6D;
    --medium-gray:#727272;
    --dark-gray:#2d2c2b; 
    --nero-gray:#1e1d1d;  
    --light-red: #c9a5b3;
    --alt-font: 'Space Grotesk', sans-serif;
    --primary-font: 'Inter', sans-serif;
}
/* Project hero - shared across project pages */
.header-white-bg { background: transparent; }
.header-white-bg .navbar-brand span,
.header-white-bg .nav-link { color: #fff !important; background: none !important; }
.header-white-bg .navbar-toggler-line { background-color: #fff !important; }
.header-white-bg .header-button .btn { color: #fff !important; border-color: rgba(255,255,255,0.6) !important; background: transparent !important; }
.header-white-bg .header-button .btn:hover { color: #fff !important; border-color: rgba(255,255,255,0.9) !important; background: transparent !important; }
.zoom-hero-overlay,
.project-hero-overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: 70%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    pointer-events: none;
}
/* Project hero - consistent height across all project pages */
.project-hero {
    min-height: 520px;
}

/* Project pages: hero under nav on mobile - hero extends from top, nav overlays */
@media (max-width: 991px) {
    .header-white-bg .navbar-brand span,
    .header-white-bg .nav-link {
        color: #232323 !important;
    }
    .header-white-bg .navbar-toggler-line {
        background-color: #232323 !important;
    }
    .header-white-bg .header-button .btn,
    .header-white-bg .header-button .btn:hover {
        color: #232323 !important;
        border-color: rgba(0, 0, 0, 0.3) !important;
    }
    header.header-white-bg {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        background: transparent !important;
    }
    header.header-white-bg .navbar,
    header.header-white-bg .navbar .container-fluid {
        background: transparent !important;
    }
    header.header-white-bg + section.project-hero {
        margin-top: 0 !important;
        padding-top: 140px !important;
    }
    header.header-white-bg + section.project-hero h1 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
}
/* Gainline hero - logo incorporated with title */
.gainline-hero-title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.gainline-hero-logo-inline {
    width: 140px;
    height: auto;
    filter: brightness(0) invert(1);
}
@media (max-width: 991px) {
    .gainline-hero-title-block {
        align-items: center;
    }
    .gainline-hero-logo-inline {
        width: 120px;
    }
}

/* Basecamp hero - logo above title */
.basecamp-hero-title-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.basecamp-hero-logo-inline {
    width: 140px;
    height: auto;
}
@media (max-width: 991px) {
    .basecamp-hero-title-block {
        align-items: center;
    }
    .basecamp-hero-logo-inline {
        width: 160px;
    }
}

/* Section with reduced top/bottom padding */
.section-tight {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

/* Tighter spacing between list items */
.list-tight li {
    margin-bottom: 0.125rem;
}
.list-tight li:last-child {
    margin-bottom: 0;
}

/* Component labels - smaller than section headers */
.component-label {
    font-size: 0.9rem;
}

/* h6 with alt-font - reduced from default 28px */
h6.alt-font {
    font-size: 20px;
}

/* Approach section - stylized principles with checkmarks */
.approach-principles-section {
    padding-bottom: 80px;
}
.approach-principles-card {
    background: var(--nero-gray);
    padding: 36px 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 85%;
    max-width: 935px;
    border-radius: 6px;
}
@media (max-width: 991px) {
    .approach-principles-card {
        width: 100%;
        max-width: 100%;
    }
}
.approach-principles-card .approach-principles-list {
    position: relative;
    z-index: 1;
}
.approach-principles-list li {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 6px 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.125rem;
    transition: padding-left 0.2s ease;
}
.approach-principles-list li:hover {
    padding-left: 8px;
}
.approach-principles-list li:last-child {
    border-bottom: 0;
}
.approach-law-number {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    font-family: var(--alt-font);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--base-color);
    background: rgba(212, 184, 194, 0.12);
    border-left: 2px solid var(--base-color);
}
.approach-principle {
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.approach-law-context {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    text-transform: none;
    letter-spacing: 0;
    text-align: right;
}
@media (min-width: 992px) {
    .approach-law-context {
        white-space: nowrap;
    }
}
@media (max-width: 767px) {
    .approach-principles-list li {
        grid-template-columns: auto 1fr;
        gap: 8px 16px;
    }
    .approach-law-context {
        grid-column: 2;
        text-align: left;
        white-space: nowrap;
        font-size: 0.7rem;
    }
}

/* Scannable guideline blocks */
.guideline-block {
    border-left: 3px solid var(--base-color);
    padding-left: 14px;
    margin-bottom: 16px;
}
.guideline-block:last-child {
    margin-bottom: 0;
}
.guideline-block-title {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 4px;
}
.guideline-block-desc {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--medium-gray);
    margin: 0;
}
.guideline-block-desc a {
    color: var(--dark-gray);
    text-decoration: underline;
    transition: color 0.2s ease;
}
.guideline-block-desc a:hover {
    color: var(--base-color);
}

/* Outcome callout with bullseye icon */
.outcome-block {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(212, 184, 194, 0.12);
    border-radius: 6px;
    border-left: 3px solid var(--base-color);
}
.outcome-block .outcome-icon {
    flex-shrink: 0;
    color: var(--base-color);
    font-size: 1.1em;
    margin-top: 2px;
}
.outcome-block .outcome-text {
    margin: 0;
}

/* Before/after comparison cards */
.before-after-comparison {
    margin-top: 16px;
}
.before-after-card {
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 0.95em;
}
.before-after-before {
    background: rgba(220, 49, 49, 0.06);
    border: 1px solid rgba(220, 49, 49, 0.25);
}
.before-after-before .before-after-label {
    color: var(--red);
    font-weight: 600;
    margin-bottom: 8px;
}
.before-after-after {
    background: rgba(46, 187, 121, 0.08);
    border: 1px solid rgba(46, 187, 121, 0.35);
}
.before-after-after .before-after-label {
    color: var(--green);
    font-weight: 600;
    margin-bottom: 8px;
}
.before-after-card ul li {
    padding-left: 16px;
    margin-bottom: 6px;
    position: relative;
}
.before-after-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
}
.before-after-before ul li::before { color: var(--red); }
.before-after-after ul li::before { color: var(--green); }

/* Process stages - 3-stage development sections */
.process-stage {
    padding-top: 48px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.process-stage:first-child {
    padding-top: 0;
    border-top: none;
}
.process-stage-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--base-color);
    margin-bottom: 8px;
}

/* Accessibility callout */
.accessibility-callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(0, 175, 107, 0.06);
    border-radius: 8px;
    border-left: 4px solid var(--green);
}
.accessibility-callout-icon {
    flex-shrink: 0;
    color: var(--green);
    font-size: 1.25em;
    margin-top: 2px;
}
.accessibility-callout-content {
    flex: 1;
}
.accessibility-callout-content h6 {
    margin: 0;
}

/* Toast guideline blocks */
.toast-guidelines-list .toast-guideline-block {
    margin-bottom: 12px;
}
.toast-guidelines-list .toast-guideline-block:last-of-type {
    margin-bottom: 0;
}
.toast-guideline-block {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
    border-left: 3px solid var(--base-color);
    font-size: 14px !important;
}
.toast-guideline-block * {
    font-size: inherit;
}
.toast-guideline-block h6 {
    margin: 0;
}
.toast-guideline-block ul li {
    margin-bottom: 8px;
}
.toast-guideline-block ul li:last-child {
    margin-bottom: 0;
}

/* Pattern before/after frame */
.pattern-before-after-frame {
    margin-top: 0;
}
.pattern-frame {
    margin-bottom: 0;
}
.pattern-frame-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark-gray);
    margin-bottom: 8px;
}
.pattern-frame-crop {
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.pattern-frame-box-only {
    height: 160px;
}
.pattern-frame-box-only img {
    object-fit: cover;
    object-position: top center;
    height: 100%;
    width: 100%;
}
.pattern-frame-compact > img {
    max-height: 320px;
    object-fit: contain;
    object-position: top center;
}
.pattern-frame-compact .pattern-frame-box-only {
    height: 255px;
}

/* Do / Don't sections */
.do-dont-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.do-block {
    flex: 1;
    min-width: 200px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 4px solid var(--green);
    font-size: 14px !important;
}
.do-block * {
    font-size: inherit;
}
.dont-block {
    flex: 1;
    min-width: 200px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    border-left: 4px solid var(--red);
    font-size: 14px !important;
}
.dont-block * {
    font-size: inherit;
}
.do-dont-label {
    font-weight: 600;
    margin: 0;
    color: var(--dark-gray);
}

/* Dark section style */
.section-dark {
    background-color: var(--dark-gray);
}
.section-dark.section-dark-gradient {
    background-color: transparent;
    background: linear-gradient(to bottom, #AB6C82 0%, #AB6C82 65%, #FCBB6D 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}
.section-dark.section-dark-gradient.bg-base-color {
    background-color: var(--base-color);
    background-image: linear-gradient(135deg, transparent 45%, var(--light-red) 45%, var(--light-red) 55%, transparent 0);
    background-size: 5px 5px;
}
.section-dark.section-dark-gradient::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}
.section-dark.section-dark-gradient .container {
    position: relative;
    z-index: 1;
}
.section-dark,
.section-dark .alt-font,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6,
.section-dark p,
.section-dark li,
.section-dark strong,
.section-dark em,
.section-dark div,
.section-dark span {
    color: #fff !important;
}
.section-dark p,
.section-dark li {
    opacity: 0.9;
}

/* custom cursor */
@media (hover: hover) and (pointer: fine) {
    .custom-cursor .circle-cursor-outer {
        border: 1px solid transparent;
    }
    .custom-cursor .circle-cursor-inner {
        width: 20px;
        height: 20px;
        left: -5px;
        top: -5px;
        background: var(--dark-gray);
    }
    .custom-cursor .circle-cursor-inner.cursor-link-hover {
        width: 30px;
        height: 30px;
        background: var(--white);
        opacity: 0.5 !important;
    }
}
body {
    font-size: 17px;
    line-height: 30px;
}
/* header */
header .container-fluid {
    padding-left: 65px;
    padding-right: 65px;
}
.navbar .navbar-nav .nav-link {
    font-weight: 600;
    font-size: 19px;
}
header .navbar-brand {
    padding: 35px 0;
}
header .navbar-brand img {
    max-height: 39px;
}
header .header-button .btn {
    text-transform: inherit;
    font-weight: 600;
    letter-spacing: 0;
}
header .header-button .btn.btn-switch-text > span {
    padding: 10px 24px;
}
.newsletter-style-02 input {
    padding-right: 50px !important;
    font-size: 14px;
}
/* swiper slider */ 
@media (max-width: 767px) {
    .banner-slider .swiper-slide .position-absolute.cover-background {
        background-position: center top !important;
    }
}
.banner-slider .swiper-slide .position-absolute {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    transition: 1.5s;
    opacity: 0;
}
.banner-slider .swiper-slide.swiper-slide-active .position-absolute {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    opacity: 1;
}
.fs-34 {
    font-size: 2.125rem;
    line-height: 2.20rem;
}
/* bg color */
.bg-nero-gray {
    background-color: var(--nero-gray);
}
/* bg sliding line */ 
.bg-sliding-line { 
    background-image: linear-gradient(135deg, transparent 45%, #c9a5b3 45%, #c9a5b3 55%, transparent 0);
    background-size: 5px 5px;
}
.bg-sliding-line-dark-gray { 
    background-image: linear-gradient(135deg, transparent 45%, #464646 45%, #464646 55%, transparent 0);
    background-size: 5px 5px;
}
/* bg color */ 
.bg-base-color-transparent {
    background-color: rgba(232, 224, 240, 0.6);
}
.border-color-light-red {
    border-color: var(--light-red) !important; 
}
.border-color-transparent-dark-very-light {
  border-color: rgba(35, 35, 35, 0.15) !important;
}
/* hero layout: portrait column = name card width (360px), text fills remaining */
@media (min-width: 768px) {
    .hero-portrait-col {
        width: 360px;
        flex: 0 0 360px;
        max-width: 360px;
    }
    .hero-text-col {
        flex: 1 1 0;
        min-width: 0;
    }
}
/* hero portrait image: fills full column */
.hero-portrait-image {
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    height: 100%;
}
/* hero name card: highlight on name (underline + stars) */
.hero-name-card .highlight-separator[data-shadow-animation] {
    position: relative;
    display: inline-block;
}
.hero-name-card .highlight-separator[data-shadow-animation]::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 10px;
    background-color: #FCBB6D;
    opacity: 0.9;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.4, 0.6, 0.4, 1);
}
.hero-name-card .highlight-separator.shadow-in[data-shadow-animation]::after {
    transform: scaleX(1);
}
/* hero name card: frosted glass overlay that blends with portrait; 10% shorter */
.hero-name-card {
    padding: 58px !important;
    background: rgba(45, 44, 43, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) {
    .hero-name-card {
        padding: 36px !important;
    }
}
.hero-name-card-spacing {
    margin-bottom: 27px !important;
}
.hero-name-card-subtitle h4,
.hero-subtitle {
    font-size: 1.625rem;
    color: #FCBB6D;
}
.approach-number {
    color: #FCBB6D;
    opacity: 0.85;
}
/* Testimonials section - space at bottom, center content vertically */
.testimonials-section {
    padding-bottom: 80px !important;
    display: flex;
    align-items: center;
}
.testimonials-section .container {
    flex: 1;
}
.blog-only-text .testimonial-quote {
    color: #FCBB6D;
    opacity: 0.9;
}
.blog-only-text.card {
    border-radius: 6px !important;
}
.btn.btn-box-shadow {
    border-radius: 6px !important;
}
/* hero headline: scale down so "complexity" stays on one line */
.hero-headline {
    font-size: clamp(2.5rem, 5.5vw + 1.5rem, 6.25rem);
}
/* allow hero headline to overflow so "complexity" isn't clipped on desktop */
section.full-screen.ipad-top-space-margin {
    overflow-x: visible;
}
@media (max-width: 767px) {
    .hero-headline {
        font-size: clamp(2rem, 10vw, 3.125rem);
    }
}
/* hero clarity: yellow highlight */
.hero-headline .highlight-separator[data-shadow-animation] {
    position: relative;
}
.hero-headline .highlight-separator[data-shadow-animation]::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 12px;
    background-color: #FCBB6D;
    opacity: 0.9;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.4, 0.6, 0.4, 1);
}
.hero-headline .highlight-separator.shadow-in[data-shadow-animation]::after {
    transform: scaleX(1);
}
/* clarity word: underline like other highlights, no glow */
.hero-headline .clarity-word {
    position: relative;
    display: inline-block;
}
.clarity-wrapper {
    position: relative;
    display: inline-block;
}
.clarity-word {
    color: #232323;
}
/* little stars around clarity: farther away and higher + shiny fade animation */
@keyframes clarity-star-shine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
.clarity-star {
    position: absolute;
    font-size: 0.2em;
    color: #FCBB6D;
    opacity: 0.7;
    pointer-events: none;
    animation: clarity-star-shine 2.5s ease-in-out infinite;
}
.clarity-star-1 { top: -0.55em; left: -0.75em; animation-delay: 0s; }
.clarity-star-2 { top: -0.4em; right: -0.4em; animation-delay: 0.6s; }
.clarity-star-3 { bottom: -0.55em; left: -0.5em; animation-delay: 1.2s; }
.clarity-star-4 { bottom: -0.55em; right: -0.5em; animation-delay: 1.8s; }
/* hero clarity: one bigger star on the right, bottom-left star slightly larger */
.hero-headline .clarity-wrapper .clarity-star-right {
    font-size: 0.32em;
}
.hero-headline .clarity-wrapper .clarity-star-3 {
    font-size: 0.28em;
}
.hero-headline .highlight-separator[data-shadow-animation] span img {
    opacity: 0;
}
.highlight-word-no-break {
    white-space: nowrap;
}
/* complexity word: layered glitch effect - static, no pulse */
.complexity-word {
    position: relative;
    display: inline-block;
    text-shadow:
        3px 0 0 rgba(0, 180, 216, 0.55),
        -3px 0 0 rgba(255, 100, 150, 0.5),
        0 2px 0 rgba(0, 0, 0, 0.2),
        2px 2px 0 rgba(0, 180, 216, 0.35),
        -2px -2px 0 rgba(255, 100, 150, 0.35),
        4px -2px 0 rgba(0, 0, 0, 0.12);
}
/* track record stats: little stars around each stat + shiny fade animation */
.stat-item-wrapper {
    position: relative;
}
.stat-star {
    position: absolute;
    font-size: 0.5rem;
    color: #FCBB6D;
    opacity: 0.7;
    pointer-events: none;
    animation: clarity-star-shine 2.5s ease-in-out infinite;
}
.stat-star-1 { top: -2px; right: 15%; animation-delay: 0s; }
.stat-star-2 { bottom: 20%; left: -5px; animation-delay: 0.4s; }
.stat-star-3 { top: 8px; left: 20%; animation-delay: 0.8s; }
.stat-star-4 { top: -4px; right: 10%; animation-delay: 1.2s; }
.stat-star-5 { bottom: 30%; right: -3px; animation-delay: 1.6s; }
.stat-star-6 { bottom: 15%; left: 25%; animation-delay: 2s; }
.stat-star-7 { top: 5px; left: 5%; animation-delay: 0.2s; }
.stat-star-8 { bottom: 25%; right: 15%; animation-delay: 0.6s; }
/* marquee: purple, normal size */
.marquee-slide .text-dark-gray {
    color: var(--base-color) !important;
}
.marquee-slide .text-outline-color-extra-medium-gray {
    -webkit-text-stroke-color: var(--base-color) !important;
}
/* principles marquee (tags): slightly smaller for longer phrases */
.principles-marquee .fs-140 { font-size: 4.25rem; }
.principles-marquee .lg-fs-130 { font-size: 3.83rem; }
.principles-marquee .md-fs-110 { font-size: 3.19rem; }
.principles-marquee .sm-fs-90 { font-size: 2.55rem; }
.principles-marquee .ls-minus-6px {
    letter-spacing: 0.08em !important;
}
.principles-marquee .text-dark-gray {
    color: var(--base-color) !important;
}
.principles-marquee .text-outline-color-extra-medium-gray {
    -webkit-text-stroke-color: var(--base-color) !important;
}
/* expertise/about: section labels and Colorado box accent */
.expertise-about-content span.fs-12.fw-600.text-uppercase.text-dark-gray {
    color: #FCBB6D !important;
}
.expertise-about-content .bg-very-light-gray .fw-600.text-dark-gray {
    color: #FCBB6D !important;
}
/* expertise: Experience & Education section - overlap design */
.expertise-experience-section {
    padding-top: 280px !important;
}
.expertise-experience-overlap {
    margin-top: -90px !important;
}
/* Mobile: reduce padding and overlap for better fit */
@media (max-width: 991px) {
    .expertise-experience-section {
        padding-top: 120px !important;
    }
    .expertise-experience-overlap {
        margin-top: -40px !important;
    }
}
@media (max-width: 767px) {
    .expertise-experience-section {
        padding-top: 80px !important;
    }
    .expertise-experience-overlap {
        margin-top: -24px !important;
    }
}
/* expertise: Experience & Education - horizontal timeline (starts 2010) */
:root {
    --timeline-grid: 50px;
    --timeline-line-height: 8px;
    --timeline-grid-bg: #1e1d1d;
    --timeline-grid-line: #2d2c2b;
}
.experience-timeline-horizontal {
    position: relative;
    min-height: 340px;
    min-width: 950px;
    padding: 40px 0 40px calc(var(--timeline-grid) * 2);
    background-image: linear-gradient(90deg, var(--timeline-grid-bg) 0, var(--timeline-grid-bg) calc(var(--timeline-grid) - 1px), var(--timeline-grid-line) var(--timeline-grid));
    background-size: var(--timeline-grid) var(--timeline-grid);
}
/* Timeline years axis - starts at 2010 */
.timeline-years {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 0 0 calc(var(--timeline-grid) * 2);
    margin: 0;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    list-style: none;
    font-size: 0;
}
.timeline-years li {
    position: relative;
    top: 6px;
    display: inline-block;
    width: calc(var(--timeline-grid) * 2);
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    line-height: 11px;
    text-indent: -12px;
}
.timeline-years li:last-child {
    width: var(--timeline-grid);
}
/* Timeline events - below the year axis */
.timeline-events {
    position: absolute;
    top: 24px;
    left: 0;
    padding: 0 0 0 calc(var(--timeline-grid) * 2);
    margin: 0;
    list-style: none;
    white-space: nowrap;
    font-size: 0;
}
.timeline-events h2,
.timeline-events h3 {
    margin: 0 0 1px 0;
    font-weight: normal;
    font-size: 12px;
    font-family: var(--alt-font);
}
.timeline-events h2 {
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* Event header: company name + date range above the bar */
.timeline-event-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 50px;
    margin-bottom: 4px;
}
.timeline-event-header h3 {
    margin-bottom: 0;
}
.timeline-event-header h2 {
    margin-top: 0;
}
/* Role list with connecting bars - below main line, ascending (newest at top) */
.timeline-roles {
    display: flex;
    flex-direction: column-reverse;
    margin: 28px 0 0 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    font-family: var(--alt-font);
}
.timeline-role {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
    position: relative;
}
.timeline-role:last-child {
    margin-bottom: 0;
}
.timeline-role-bar-row {
    display: flex;
    align-items: center;
    width: 100%;
}
.timeline-role-spacer {
    flex-shrink: 0;
    height: 1px;
}
.timeline-role-bar {
    flex-shrink: 0;
    height: 4px;
    border-radius: 2px;
    min-width: 20px;
}
.timeline-role-connector {
    width: 1px;
    height: 8px;
    margin-left: 0;
    flex-shrink: 0;
}
.timeline-role-info {
    display: flex;
    align-items: baseline;
}
.timeline-role-name {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}
/* Role bar positions: 50px per year. Spacer = offset, bar = duration. Info aligns to bar. */
.timeline-event-1 .timeline-role[data-start="2010"][data-end="2011"] .timeline-role-spacer { width: 0; }
.timeline-event-1 .timeline-role[data-start="2010"][data-end="2011"] .timeline-role-bar { width: 50px; background: #FCBB6D; }
.timeline-event-1 .timeline-role[data-start="2010"][data-end="2011"] .timeline-role-connector { margin-left: 0; background: #FCBB6D; }
.timeline-event-1 .timeline-role[data-start="2010"][data-end="2011"] .timeline-role-info { margin-left: 0; }
.timeline-event-1 .timeline-role[data-start="2011"][data-end="2012"] .timeline-role-spacer { width: 50px; }
.timeline-event-1 .timeline-role[data-start="2011"][data-end="2012"] .timeline-role-bar { width: 50px; background: #FCBB6D; }
.timeline-event-1 .timeline-role[data-start="2011"][data-end="2012"] .timeline-role-connector { margin-left: 50px; background: #FCBB6D; }
.timeline-event-1 .timeline-role[data-start="2011"][data-end="2012"] .timeline-role-info { margin-left: 50px; }
.timeline-event-1 .timeline-role[data-start="2012"][data-end="2014"] .timeline-role-spacer { width: 100px; }
.timeline-event-1 .timeline-role[data-start="2012"][data-end="2014"] .timeline-role-bar { width: 100px; background: #FCBB6D; }
.timeline-event-1 .timeline-role[data-start="2012"][data-end="2014"] .timeline-role-connector { margin-left: 100px; background: #FCBB6D; }
.timeline-event-1 .timeline-role[data-start="2012"][data-end="2014"] .timeline-role-info { margin-left: 100px; }
.timeline-event-1 .timeline-role[data-start="2014"][data-end="2018"] .timeline-role-spacer { width: 200px; }
.timeline-event-1 .timeline-role[data-start="2014"][data-end="2018"] .timeline-role-bar { width: 200px; background: #FCBB6D; }
.timeline-event-1 .timeline-role[data-start="2014"][data-end="2018"] .timeline-role-connector { margin-left: 200px; background: #FCBB6D; }
.timeline-event-1 .timeline-role[data-start="2014"][data-end="2018"] .timeline-role-info { margin-left: 200px; }
.timeline-event-2 .timeline-role[data-start="2018"][data-end="2019"] .timeline-role-spacer { width: 0; }
.timeline-event-2 .timeline-role[data-start="2018"][data-end="2019"] .timeline-role-bar { width: 50px; background: #D8737F; }
.timeline-event-2 .timeline-role[data-start="2018"][data-end="2019"] .timeline-role-connector { margin-left: 0; background: #D8737F; }
.timeline-event-2 .timeline-role[data-start="2018"][data-end="2019"] .timeline-role-info { margin-left: 0; }
.timeline-event-2 .timeline-role[data-start="2019"][data-end="2020"] .timeline-role-spacer { width: 50px; }
.timeline-event-2 .timeline-role[data-start="2019"][data-end="2020"] .timeline-role-bar { width: 50px; background: #D8737F; }
.timeline-event-2 .timeline-role[data-start="2019"][data-end="2020"] .timeline-role-connector { margin-left: 50px; background: #D8737F; }
.timeline-event-2 .timeline-role[data-start="2019"][data-end="2020"] .timeline-role-info { margin-left: 50px; }
.timeline-event-2 .timeline-role[data-start="2020"][data-end="2022"] .timeline-role-spacer { width: 100px; }
.timeline-event-2 .timeline-role[data-start="2020"][data-end="2022"] .timeline-role-bar { width: 100px; background: #D8737F; }
.timeline-event-2 .timeline-role[data-start="2020"][data-end="2022"] .timeline-role-connector { margin-left: 100px; background: #D8737F; }
.timeline-event-2 .timeline-role[data-start="2020"][data-end="2022"] .timeline-role-info { margin-left: 100px; }
.timeline-event-2 .timeline-role[data-start="2022"][data-end="2025"] .timeline-role-spacer { width: 200px; }
.timeline-event-2 .timeline-role[data-start="2022"][data-end="2025"] .timeline-role-bar { width: 150px; background: #D8737F; }
.timeline-event-2 .timeline-role[data-start="2022"][data-end="2025"] .timeline-role-connector { margin-left: 200px; background: #D8737F; }
.timeline-event-2 .timeline-role[data-start="2022"][data-end="2025"] .timeline-role-info { margin-left: 200px; }
.timeline-event-3 .timeline-role[data-start="2025"][data-end="2026"] .timeline-role-spacer { width: 0; }
.timeline-event-3 .timeline-role[data-start="2025"][data-end="2026"] .timeline-role-bar { width: 50px; background: var(--light-red); }
.timeline-event-3 .timeline-role[data-start="2025"][data-end="2026"] .timeline-role-connector { margin-left: 0; background: var(--light-red); }
.timeline-event-3 .timeline-role[data-start="2025"][data-end="2026"] .timeline-role-info { margin-left: 0; }
.timeline-event {
    position: absolute;
    display: inline-block;
}
.timeline-event::before {
    position: absolute;
    left: 0;
    top: 52px;
    height: var(--timeline-line-height);
    border-radius: var(--timeline-line-height);
    content: '';
    z-index: 0;
}
.timeline-event-header {
    position: relative;
    z-index: 1;
}
.timeline-role {
    z-index: 1;
}
/* Event bar positions: 50px per year, 2010=0 */
.timeline-event[data-start="2010"][data-end="2018"]::before {
    left: 0;
    width: 400px;
}
.timeline-event[data-start="2018"][data-end="2025"]::before {
    left: 0;
    width: 350px;
}
.timeline-event[data-start="2025"][data-end="2026"]::before {
    left: 0;
    width: 50px;
}
/* Event vertical stagger - ascend to top right (Victra bottom-left, Gainline top-right) */
.timeline-event:nth-child(1) { top: 128px; }
.timeline-event:nth-child(2) { top: 80px; }
.timeline-event:nth-child(3) { top: 32px; }
/* Colors */
.timeline-event-1::before { background: #FCBB6D; }
.timeline-event-1 h3 { color: #FCBB6D; }
.timeline-event-2::before { background: #D8737F; }
.timeline-event-2 h3 { color: #D8737F; }
.timeline-event-3::before {
    background: var(--light-red);
}
.timeline-event-3 h3 { color: var(--light-red); }
/* Event content positioning - 2010=0, 2018=400px, 2025=750px */
.timeline-event-1 { left: calc(var(--timeline-grid) * 2 + 0); }
.timeline-event-2 { left: calc(var(--timeline-grid) * 2 + 400px); }
.timeline-event-3 { left: calc(var(--timeline-grid) * 2 + 750px); }
/* Graduation notation - bottom of section, centered */
.timeline-graduation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-family: var(--alt-font);
}
.timeline-graduation .timeline-diamond {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background: #fff;
    transform: rotate(45deg);
    margin-right: 4px;
}
.timeline-graduation-label {
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.timeline-graduation-school {
    color: #C2E34E;
}
.timeline-graduation-degree {
    color: #fff;
    font-style: italic;
}
@media (max-width: 991px) {
    /* Contain horizontal scroll to timeline only - prevent page-wide scroll */
    .expertise-experience-section,
    .expertise-experience-overlap {
        overflow-x: hidden;
    }
    .experience-timeline-col {
        min-width: 0; /* allow flex item to shrink below content min-width */
        overflow-x: scroll; /* always show scrollbar when overflow - not hidden until hover */
        overflow-y: hidden; /* no vertical scroll - full graphic visible, horizontal only */
        -webkit-overflow-scrolling: touch;
        scrollbar-color: #8a8a8a rgba(128, 128, 128, 0.25);
        scrollbar-width: auto;
    }
    /* Grey scrollbar: always visible at bottom when content overflows (webkit) */
    .experience-timeline-col::-webkit-scrollbar {
        height: 12px;
    }
    .experience-timeline-col::-webkit-scrollbar-track {
        background: rgba(128, 128, 128, 0.25);
        border-radius: 6px;
    }
    .experience-timeline-col::-webkit-scrollbar-thumb {
        background: #8a8a8a;
        border-radius: 6px;
    }
    .experience-timeline-col::-webkit-scrollbar-thumb:hover {
        background: #9e9e9e;
    }
    .experience-timeline-horizontal {
        padding-bottom: 20px;
        overflow-y: hidden;
        min-height: 600px; /* full graphic visible - extra height for responsive spacing */
    }
    /* Responsive: prevent text from being covered by bars - more spacing */
    .timeline-event-header {
        min-height: 56px;
        margin-bottom: 10px;
    }
    .timeline-event::before {
        top: 68px; /* bar starts below header (56+10=66px) so text stays visible */
    }
}
/* signature strengths: headers scale down, body text wraps - 10% larger */
.signature-strengths .strength-title {
    white-space: nowrap;
    font-size: clamp(1.1rem, 1.98vw + 0.55rem, 1.375rem);
}
.signature-strengths .row .col span.fs-15 {
    font-size: 14px;
}
.signature-strengths .icon-extra-large.text-base-color {
    font-size: 55px;
    color: #FCBB6D !important;
}
@media (max-width: 767px) {
    .signature-strengths .strength-title {
        font-size: clamp(0.9625rem, 4.4vw, 1.2375rem);
    }
    /* Smaller screens: extra spacing so text stays above bars */
    .timeline-event-header {
        min-height: 60px;
        margin-bottom: 12px;
    }
    .timeline-event::before {
        top: 74px; /* bar starts below header (60+12=72px) */
    }
}
/* highlight separator */ 
.highlight-separator[data-shadow-animation] span {
    height: 100px;
    z-index: -1;
}
.highlight-separator[data-shadow-animation] span img {
    height: 100px;
    width: auto;
}
.highlight-separator-small .highlight-separator[data-shadow-animation] span {
    height: 45px; 
    bottom: -10px;
}
.highlight-separator-small .highlight-separator[data-shadow-animation] span img {
    height: 45px; 
    width: 100%;
}
/* highlight on light backgrounds (short, work, approach): same yellow effect as clarity */
.highlight-separator-small .highlight-separator[data-shadow-animation] {
    position: relative;
}
.highlight-separator-small .highlight-separator[data-shadow-animation]::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 12px;
    background-color: #FCBB6D;
    opacity: 0.9;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.4, 0.6, 0.4, 1);
}
.highlight-separator-small .highlight-separator.shadow-in[data-shadow-animation]::after {
    transform: scaleX(1);
}
.highlight-separator-small .highlight-separator[data-shadow-animation] span img {
    opacity: 0;
}
/* highlight visible on dark background - yellow underline */
.signature-strengths .highlight-separator[data-shadow-animation] {
    position: relative;
}
.signature-strengths .highlight-separator[data-shadow-animation]::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 12px;
    background-color: var(--yellow);
    opacity: 0.85;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.4, 0.6, 0.4, 1);
}
.signature-strengths .highlight-separator.shadow-in[data-shadow-animation]::after {
    transform: scaleX(1);
}
.signature-strengths .highlight-separator[data-shadow-animation] span img {
    opacity: 0;
}
/* where I add value: icons in yellow */
.where-i-add-value .icon-large.text-base-color {
    color: #FCBB6D !important;
}
/* where I add value: subtitle spans (that strengthens..., that scales..., that turns...) */
.where-i-add-value .offset-md-1 span.text-white.opacity-6.d-block {
    color: #FCBB6D !important;
}
/* where I add value: Let's connect link */
.where-i-add-value a.text-base-color.text-decoration-line-bottom {
    color: #FCBB6D !important;
}
.where-i-add-value a.text-base-color.text-decoration-line-bottom:hover {
    color: #FCBB6D !important;
    opacity: 0.9;
}
/* where I add value: yellow highlight (visible on dark bg) */
.where-i-add-value .highlight-separator[data-shadow-animation] {
    position: relative;
}
.where-i-add-value .highlight-separator[data-shadow-animation]::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 12px;
    background-color: #FCBB6D;
    opacity: 0.9;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(0.4, 0.6, 0.4, 1);
}
.where-i-add-value .highlight-separator.shadow-in[data-shadow-animation]::after {
    transform: scaleX(1);
}
.where-i-add-value .highlight-separator[data-shadow-animation] span img {
    opacity: 0;
}
/* btn */
.btn.btn-hover-animation-switch {
    text-transform: none;
    font-family: var(--primary-font);
}
/* blog only text */
.blog-only-text .card-body:after {
    display: none;
}
/* margin */
.mb-minus-50px {
    margin-bottom: -50px;
}
/* right */
.right-minus-40 {
    right: -40%;
}
/* page title extra large */
.page-title-extra-large h1 {
    font-size: 4.8rem;
    line-height: 4.8rem;
}
.extra-very-small-screen {
    height: 180px !important;
}
/* team style */ 
.team-style-08 figure figcaption .social-icon a {
    background-color: var(--base-color);
}
.team-style-08 figure figcaption .social-icon a:hover {
    color: var(--dark-gray);
}
.team-style-08.skrollable {
    transition: none !important; 
}
/* footer */
footer .footer-logo img {
    max-height: 48px; 
}
.newsletter-style-02 .btn { 
    padding: 10px 15px 9px 15px;  
}
footer a:hover, .footer-navbar li a:hover {
    color: var(--dark-gray);
}
/* media query responsive */
@media (max-width: 1600px) {
    .fs-140 {
        font-size: 8.125rem; 
    }
}
@media (max-width: 1199px) {
    .fs-140 {
        font-size: 6.875rem;
    }
    .lh-95 {
        line-height: 4.75rem;
    }
}
@media (max-width: 991px) {
    [data-mobile-nav-style=full-screen-menu] .navbar-full-screen-menu-inner .navbar-nav > .nav-item {
        border-bottom: 0;
        text-align: center;
        padding: 0;
    }
    [data-mobile-nav-style=full-screen-menu] .navbar-full-screen-menu-inner .navbar-nav .nav-item .nav-link {
        font-size: 36px;
        line-height: 40px;
    }
     header .navbar-brand {
        padding: 22px 0;
    }
}
@media (max-width: 767px) {
    .fs-140 {
        font-size: 5rem;
    }
    .lh-95 {
        line-height: 3.75rem;
    } 
}
/* Portfolio grid: hero images - maintain aspect, crop to fill (shorter cards) */
.portfolio-attractive .portfolio-image {
    aspect-ratio: 750 / 750;
    display: block;
}
/* Tighter padding and gap so title, tags, type fit in shorter cards */
.portfolio-attractive .portfolio-hover {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    gap: 12px;
}
.portfolio-attractive .portfolio-tags {
    margin-top: 6px !important;
    margin-bottom: 4px !important;
}
.portfolio-attractive .portfolio-achievements {
    margin-top: 4px !important;
}
@media (max-width: 991px) {
    .portfolio-attractive .portfolio-hover {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}
.portfolio-attractive .portfolio-image img {
    display: block;
}
/* Zoom settings card - zoom in to show more of laptop screen */
.portfolio-card-zoom-settings .portfolio-image {
    overflow: hidden;
}
.portfolio-card-zoom-settings .portfolio-image img {
    transform: scale(1.25);
    transform-origin: center center;
}
/* Feature naming card - white bg, image fits frame */
.portfolio-card-feature-naming-bg {
    background-color: #ffffff !important;
}
.portfolio-card-feature-naming .portfolio-image.portfolio-card-feature-naming-image {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.portfolio-card-feature-naming .portfolio-image.portfolio-card-feature-naming-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
/* UI casing card - image fills box */
.portfolio-card-ui-casing .portfolio-image {
    overflow: hidden;
}
/* Onboarding card - hero background + logo above title (matches Gainline style) */
.portfolio-card-onboarding .portfolio-image.portfolio-image-onboarding {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio-onboarding-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.portfolio-onboarding-logo {
    position: relative;
    z-index: 1;
    width: 58.5%;
    max-width: 208px;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
}
/* Prospecting card - workflow view: logos span full card, white bg, purple arrows */
.portfolio-card-prospecting .portfolio-prospecting-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
}
.portfolio-card-prospecting .portfolio-prospecting-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 100%;
}
.portfolio-card-prospecting .prospecting-flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.portfolio-card-prospecting .prospecting-flow-row-pair {
    justify-content: space-between;
    width: 100%;
    max-width: 220px;
}
.portfolio-card-prospecting .prospecting-flow-row-single {
    justify-content: center;
}
/* Diamond junction points (replacing plus signs) */
.portfolio-card-prospecting .prospecting-flow-diamond {
    width: 10px;
    height: 10px;
    background: #5a6b7d;
    transform: rotate(45deg);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
/* Connector: thin line with arrowhead (flow diagram style) */
.portfolio-card-prospecting .prospecting-flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-height: 14px;
}
.portfolio-card-prospecting .prospecting-connector-line {
    width: 2px;
    flex: 1;
    min-height: 8px;
    background: #5a6b7d;
}
.portfolio-card-prospecting .prospecting-connector-arrow {
    color: #5a6b7d;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}
.portfolio-card-prospecting .prospecting-logo {
    height: 44px;
    width: auto;
    max-width: 84px;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
    padding: 10px 14px;
    background: rgba(255, 248, 240, 0.95);
    border-radius: 10px;
    border: 1px solid rgba(90, 107, 125, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}
.portfolio-card-prospecting:hover .prospecting-logo {
    opacity: 1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 3px 8px rgba(0, 0, 0, 0.1);
}
/* Portfolio gradient: base-color + sliding-line (matches work highlights) */
.portfolio-gradient-bg,
.portfolio-image.portfolio-gradient-bg {
    background-color: var(--base-color) !important;
    background-image: linear-gradient(135deg, transparent 45%, var(--light-red) 45%, var(--light-red) 55%, transparent 0) !important;
    background-size: 5px 5px !important;
    min-height: 280px;
}
/* Prospecting card: white bg, heightened shadow on logo boxes */
.portfolio-card-prospecting .portfolio-image.portfolio-prospecting-image {
    background-color: #ffffff !important;
    background-image: none !important;
}
/* Gainline card - hero background + logo on top */
.portfolio-card-gainline .portfolio-image-gainline {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio-gainline-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.portfolio-card-gainline .portfolio-gainline-logo {
    position: relative;
    z-index: 1;
    width: 58.5%;
    max-width: 208px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}
/* Language framework card - gradient background, image fills box */
.portfolio-card-language-framework .portfolio-image.portfolio-image-ombre-bg {
    background-color: var(--base-color);
    background-image: linear-gradient(135deg, transparent 45%, var(--light-red) 45%, var(--light-red) 55%, transparent 0);
    background-size: 5px 5px;
    overflow: hidden;
}
.portfolio-card-language-framework .portfolio-image.portfolio-image-ombre-bg img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    transform: scale(1.38);
}
/* Smart name tags card - image fills box */
.portfolio-card-smart-name-tags .portfolio-image.portfolio-image-ombre-bg.portfolio-image-smart-name-tags-wireframe {
    background-color: var(--base-color);
    background-image: linear-gradient(135deg, transparent 45%, var(--light-red) 45%, var(--light-red) 55%, transparent 0);
    background-size: 5px 5px;
    overflow: hidden;
}
.portfolio-card-smart-name-tags .portfolio-image.portfolio-image-smart-name-tags-wireframe img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    transform: scale(1.21);
}
/* Portfolio cards - rounded corners to match home page work-highlight-card (6px) */
.portfolio-attractive .grid-item .portfolio-box {
    border-radius: 6px;
    overflow: hidden;
}
.portfolio-card-content-patterns .portfolio-image.portfolio-image-ombre-bg {
    background-color: #fff;
    overflow: hidden;
}
.portfolio-card-content-patterns .portfolio-image.portfolio-image-ombre-bg img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}
/* Language framework, content patterns, content guidelines, smart name tags, gainline, feature naming, UI casing - dark overlay on hover for text readability */
.portfolio-card-language-framework .portfolio-hover,
.portfolio-card-content-patterns .portfolio-hover,
.portfolio-card-content-guidelines .portfolio-hover,
.portfolio-card-smart-name-tags .portfolio-hover,
.portfolio-card-gainline .portfolio-hover,
.portfolio-card-feature-naming .portfolio-hover,
.portfolio-card-ui-casing .portfolio-hover,
.portfolio-card-onboarding .portfolio-hover {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.3) 100%);
}
/* Content guidelines card - base-color + sliding-line, image fills box */
.portfolio-card-content-guidelines .portfolio-image.portfolio-image-content-guidelines.portfolio-image-ombre-bg {
    background-color: var(--base-color);
    background-image: linear-gradient(135deg, transparent 45%, var(--light-red) 45%, var(--light-red) 55%, transparent 0);
    background-size: 5px 5px;
    overflow: hidden;
}
.portfolio-card-content-guidelines .portfolio-image.portfolio-image-content-guidelines img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

/* Zoom settings: content principles - standout cards */
.zoom-content-principles {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,248,248,0.98) 100%);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 40px 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.zoom-principle-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border-radius: 10px;
    padding: 22px 24px;
    border-left: 4px solid var(--base-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}
.zoom-principle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.zoom-principle-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #d4b8c2;
    color: #AB6C82;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.zoom-principle-icon i {
    color: inherit;
}
.zoom-principle-content {
    flex: 1;
    min-width: 0;
}
.zoom-principle-name {
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
@media (max-width: 767px) {
    .zoom-content-principles {
        padding: 28px 20px;
    }
    .zoom-principle-card {
        padding: 18px 20px;
    }
}
/* 3-column layout variant - 3 cards in 1 row at 992px+ */
@media (min-width: 992px) {
    .zoom-content-principles-3col .row > [class*="col-lg-4"],
    .zoom-content-principles-4col .row > [class*="col-lg-4"] {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
    .zoom-content-principles-3col .zoom-principle-card {
        min-width: 0;
    }
}
/* 2-column layout variant - 2x2 grid */
.zoom-content-principles-2col .zoom-principle-card {
    min-width: 0;
}
/* 4-column layout variant - 4 cards in 1 row at 992px+ */
@media (min-width: 992px) {
    .zoom-content-principles-4col .row > [class*="col-lg-3"] {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .zoom-content-principles-4col .zoom-principle-card {
        min-width: 0;
    }
    .zoom-pillar-4col > [class*="col-"] {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .zoom-pillar-4col .zoom-pillar-box {
        min-width: 0;
    }
}

/* Zoom settings: component decisions group - flex container, no outline */
.zoom-component-decisions-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* UI casing: rule cards with images and text (aligned with Research and proposal) */
.zoom-casing-rules {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.zoom-casing-rules .zoom-casing-rule-img {
    justify-self: center;
    align-self: center;
    width: 100%;
    max-width: 140px;
    height: auto;
    object-fit: contain;
}
.zoom-casing-rules .zoom-casing-rule-text {
    align-self: start;
    font-size: 14px;
    color: var(--dark-gray, #2d2c2b);
    font-weight: 500;
    text-align: center;
}

/* UI casing: scannable list format */
.zoom-casing-scan-list li {
    margin-bottom: 10px;
}
.zoom-casing-scan-list li:last-child {
    margin-bottom: 0;
}
/* Content patterns: error framework image - enhanced */
.error-framework-image-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 12px 24px rgba(0, 0, 0, 0.1), 0 24px 48px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}
.error-framework-image-wrap img,
.error-framework-image-wrap embed {
    display: block;
    width: 100%;
}
.error-framework-image-wrap img {
    height: auto;
}
.error-framework-image-wrap embed.error-framework-pdf {
    height: 650px;
    border: none;
}

/* Content patterns: empty state slideshow */
.content-patterns-empty-slider {
    padding-bottom: 40px;
}
.content-patterns-empty-slider .swiper-pagination {
    bottom: 0;
}
.content-patterns-empty-slider .swiper-button-prev,
.content-patterns-empty-slider .swiper-button-next {
    color: var(--dark-gray);
}
/* Content patterns: rotating card in empty state grid */
.content-patterns-empty-state-rotating {
    padding-bottom: 32px;
}
.content-patterns-empty-state-rotating .swiper-pagination {
    bottom: 0;
}

/* Zoom settings: language carousel */
.zoom-language-carousel {
    padding-bottom: 40px;
}
.zoom-language-carousel .swiper-pagination {
    bottom: 0;
}
.zoom-language-carousel .swiper-button-prev,
.zoom-language-carousel .swiper-button-next {
    color: var(--dark-gray);
}

/* Gainline: Interactive hero diagram (zoom-interactive-diagram pattern) */
.zoom-diagram-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 20px;
    min-height: 400px;
}
.zoom-interactive-diagram {
    padding: 20px 0;
}
.zoom-interactive-diagram .diagram-container {
    max-width: 900px;
    margin: 0 auto;
}
.zoom-interactive-diagram .image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 100%;
}
.zoom-interactive-diagram #zoom-diagram-image,
.zoom-interactive-diagram #zoom-documentation-image,
.zoom-interactive-diagram #gainline-hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 48px;
    clip-path: inset(2px round 22px);
    border: 24px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.zoom-interactive-diagram .callout {
    position: absolute;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%);
}
.zoom-interactive-diagram .callout-number {
    width: 40px;
    height: 40px;
    background: #0066ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.4);
    border: 3px solid white;
    position: relative;
    animation: gainline-diagram-pulse 2s infinite;
    transition: transform 0.2s ease;
}
.zoom-interactive-diagram .callout:hover .callout-number {
    transform: scale(1.1);
    animation: none;
}
@keyframes gainline-diagram-pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7); }
    50% { box-shadow: 0 0 0 5px rgba(0, 102, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); }
}
.zoom-interactive-diagram .popup {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 20;
    pointer-events: none;
    min-width: 250px;
    max-width: 300px;
}
.zoom-interactive-diagram .popup::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #333;
}
.zoom-interactive-diagram .callout:hover .popup,
.zoom-interactive-diagram .callout.active .popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
    pointer-events: auto;
}
.zoom-interactive-diagram .popup-content {
    background: #333;
    color: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.zoom-interactive-diagram .popup-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #4da6ff;
    font-weight: 600;
    line-height: 1;
}
.zoom-interactive-diagram .popup-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #e0e0e0;
}
@media (max-width: 768px) {
    .zoom-interactive-diagram .callout-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    .zoom-interactive-diagram .popup {
        min-width: 200px;
        max-width: 250px;
        bottom: 45px;
    }
    .zoom-interactive-diagram .popup-content {
        padding: 12px;
    }
    .zoom-interactive-diagram .popup-content h3 {
        font-size: 14px;
        line-height: 1;
    }
    .zoom-interactive-diagram .popup-content p {
        font-size: 12px;
    }
}

/* Gainline: Service structure - 70% size, 3 lines mapping to images */
.gainline-service-structure {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}
.gainline-overview-img {
    width: 100%;
    height: auto;
    display: block;
}
.gainline-service-img-wrap {
    height: 220px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.gainline-service-img-wrap .gainline-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
@media (max-width: 767px) {
    .gainline-service-structure {
        max-width: 100%;
    }
}

/* Gainline: Design preview - ties to before/after slider */
.gainline-design-preview {
    position: relative;
    display: block;
}
.gainline-design-preview img {
    display: block;
    width: 100%;
    height: auto;
}
.gainline-design-preview-label {
    display: block;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    transition: background 0.2s ease;
}
.gainline-design-preview a:hover .gainline-design-preview-label {
    background: rgba(0, 0, 0, 0.9);
}

/* Gainline: Color palette before/after - old half above, updated half below */
.gainline-palette-ba {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.gainline-palette-half {
    position: relative;
    height: 100px;
    overflow: hidden;
}
.gainline-palette-half .gainline-palette-img {
    width: 100%;
    height: 200%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.gainline-palette-old .gainline-palette-img {
    object-position: center top;
}
.gainline-palette-new .gainline-palette-img {
    object-position: center bottom;
}
.gainline-palette-label {
    position: absolute;
    right: 10px;
    bottom: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Gainline: CTA iteration slideshow */
.gainline-cta-slider {
    padding-bottom: 40px;
}
.gainline-cta-slider .swiper-pagination {
    bottom: 0;
}
.gainline-cta-slider .swiper-button-prev,
.gainline-cta-slider .swiper-button-next {
    color: var(--dark-gray);
}

/* UI casing: documentation slideshow */
.zoom-casing-doc-slider {
    padding-bottom: 40px;
}
.zoom-casing-doc-slider .swiper-pagination {
    bottom: 0;
}
.zoom-casing-doc-slider .swiper-button-prev,
.zoom-casing-doc-slider .swiper-button-next {
    color: var(--dark-gray);
}
/* documentation section: light controls on dark gradient */
.section-dark .zoom-casing-doc-slider .swiper-button-prev,
.section-dark .zoom-casing-doc-slider .swiper-button-next {
    color: #fff !important;
}
.section-dark .zoom-casing-doc-slider .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}
.section-dark .zoom-casing-doc-slider .swiper-pagination-bullet-active {
    background: #fff;
}

/* Pillar/learning boxes - card style with icon */
.zoom-pillar-box {
    background: var(--extra-light-gray, #f8f8f8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.zoom-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(0, 102, 255, 0.12);
    color: #0066ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.zoom-pillar-horizontal {
    flex-wrap: nowrap;
    gap: 1rem;
}
.zoom-pillar-horizontal .zoom-pillar-icon {
    flex-shrink: 0;
}
/* Key learnings / Why this work matters - orange bg, purple icon */
.zoom-pillar-learnings .zoom-pillar-icon,
.zoom-pillar-matters .zoom-pillar-icon {
    background: rgba(252, 134, 109, 0.2);
    color: #AB6C82;
}
/* Outcome stats - stat-style cards */
.outcome-stat {
    background: var(--extra-light-gray, #f8f8f8);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.outcome-stat-value {
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

/* Framework table - wider Final name column */
.simple-project-table .col-final-name {
    min-width: 220px;
    width: 22%;
}
.simple-project-table th:first-child,
.simple-project-table td:first-child {
    min-width: 220px;
}

/* Mobile: card layout - no sticky column, all content readable */
@media (max-width: 767px) {
    .simple-project-table .col-final-name {
        min-width: unset;
        width: unset;
    }
    .simple-project-table th:first-child,
    .simple-project-table td:first-child {
        min-width: unset;
    }
    .simple-project-table,
    .simple-project-table thead,
    .simple-project-table tbody,
    .simple-project-table tr,
    .simple-project-table th,
    .simple-project-table td {
        display: block;
    }
    .simple-project-table thead tr {
        display: none;
    }
    .simple-project-table tbody tr {
        border: 1px solid rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-bottom: 16px;
        padding: 16px;
        background: #fff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    }
    .simple-project-table tbody tr:last-child {
        margin-bottom: 0;
    }
    .simple-project-table tbody td {
        border: none;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    .simple-project-table tbody td:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .simple-project-table tbody td:first-child {
        padding-top: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 12px;
        margin-bottom: 4px;
    }
    .simple-project-table tbody td::before {
        font-weight: 600;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--medium-gray);
        display: block;
        margin-bottom: 4px;
    }
    .simple-project-table tbody td:first-child::before {
        display: none;
    }
    .simple-project-table tbody td:nth-child(2)::before { content: "Description"; }
    .simple-project-table tbody td:nth-child(3)::before { content: "When it's used"; }
    .simple-project-table tbody td:nth-child(4)::before { content: "Why this name"; }
}

/* Problem pullquote - subtle italic with thin accent */
.problem-pullquote {
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--medium-gray, #727272);
    border-left: 3px solid var(--base-color);
    padding-left: 20px;
    margin-left: 0;
}

/* Portfolio cards - hover effect (no mouse-following) */
.portfolio-attractive .grid-item .portfolio-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-attractive .grid-item:hover .portfolio-box {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.portfolio-attractive .grid-item .portfolio-image img {
    transition: transform 0.4s ease;
}
.portfolio-attractive .grid-item:hover .portfolio-image img {
    transform: scale(1.05);
}

/* Portfolio cards - tags and achievements layout */
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.portfolio-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.portfolio-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 0 20px;
    margin: 0;
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
}
.portfolio-achievements li {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    list-style: none;
    margin: 0;
}

/* ===================================
   Recent work highlights – 2x2 cards
====================================== */
.work-highlights-section {
    background: #fff;
}
.work-highlight-card {
    background: var(--nero-gray);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-highlight-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    display: block;
    flex-shrink: 0;
}
.work-highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.work-highlight-image-gradient {
    background-color: var(--base-color);
    background-image: linear-gradient(135deg, transparent 45%, var(--light-red) 45%, var(--light-red) 55%, transparent 0);
    background-size: 5px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12% 10%;
}
.work-highlight-image-gradient img {
    object-fit: contain;
    object-position: center;
}
.work-highlight-image-cover {
    padding: 0;
    display: block;
}
.work-highlight-image-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.work-highlight-image-gainline img {
    width: 58%;
    max-width: 180px;
}
/* UX content patterns - bigger image with frosted background */
.work-highlight-image-pattern {
    position: relative;
    padding: 0;
}
.work-highlight-image-pattern::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 92%;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    z-index: 0;
}
.work-highlight-image-pattern img {
    position: relative;
    z-index: 1;
    width: auto !important;
    height: 185px !important;
    max-width: 80%;
    object-fit: contain;
    transform: scale(0.88);
    transform-origin: center center;
    border-radius: 10px;
}
.work-highlight-card .work-highlight-image:first-child:not(.work-highlight-image-pattern) img {
    transform: scale(1.1);
    transform-origin: center center;
}
.work-highlight-content {
    padding: 28px 24px 24px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.work-highlight-category {
    font-size: 13px;
    font-weight: 500;
    color: var(--base-color);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.work-highlight-title {
    font-family: var(--alt-font);
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.25;
}
.work-highlight-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 18px;
}
.work-highlight-tag {
    font-size: 11px;
    color: #fff;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
}
.work-highlight-tag-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--base-color);
    flex-shrink: 0;
}
.work-highlight-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    margin-top: auto;
}
.work-highlight-stat {
    display: flex;
    flex-direction: column;
}
.work-highlight-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}
.work-highlight-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}
.work-highlight-btn {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: #AB6C82;
    padding: 12px 24px;
    border-radius: 6px;
    width: fit-content;
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
@media (max-width: 991px) {
    .work-highlight-content {
        padding: 22px 20px 20px;
    }
    .work-highlight-title {
        font-size: 20px;
    }
    .work-highlight-stats {
        gap: 20px;
    }
}