/* ==========================================================================
   Clarisse Grassi — Growth & Ops Portfolio
   Minimalist dark aesthetic with sharp typography
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
    /* Colors - Refined dark palette */
    --black: #0a0a0a;
    --grey-950: #121214;
    --grey-900: #18181b;
    --grey-850: #1e1e22;
    --grey-800: #27272a;
    --grey-700: #3f3f46;
    --grey-600: #52525b;
    --grey-500: #71717a;
    --grey-400: #a1a1aa;
    --grey-300: #d4d4d8;
    --grey-200: #e4e4e7;
    --grey-100: #f4f4f5;
    --white: #ffffff;

    /* Accent - Warm bronze/champagne for premium look */
    --accent: #b8956b;
    --accent-soft: rgba(184, 149, 107, 0.12);
    --accent-glow: rgba(184, 149, 107, 0.3);

    /* Typography */
    --font-main: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Newsreader', Georgia, serif;

    /* Spacing */
    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    --space-5xl: 10rem;

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 800px;

    /* Animation */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration: 0.6s;
    --duration-fast: 0.3s;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

body {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--grey-950);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: var(--black);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* --------------------------------------------------------------------------
   Custom Cursor (Desktop only)
   -------------------------------------------------------------------------- */
.cursor {
    display: none;
}

@media (pointer: fine) {
    .cursor {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        border: 1px solid var(--accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: width 0.2s, height 0.2s, border-color 0.2s;
        mix-blend-mode: difference;
    }

    .cursor.hovering {
        width: 40px;
        height: 40px;
        border-color: var(--white);
    }
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
    position: relative;
}

.section-label::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--white);
}

.section-title em {
    font-style: italic;
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--grey-400);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 100px;
    transition: all var(--duration-fast) ease;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--white);
    color: var(--black);
}

.btn--primary:hover {
    background: var(--grey-100);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

.btn--primary svg {
    transition: transform var(--duration-fast) ease;
}

.btn--primary:hover svg {
    transform: translateX(4px);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--grey-700);
}

.btn--ghost:hover {
    border-color: var(--grey-500);
    background: var(--grey-800);
}

.btn--light {
    background: var(--white);
    color: var(--grey-900);
}

.btn--light:hover {
    background: var(--grey-100);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 var(--space-lg);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav__logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav__logo-initials {
    display: inline;
}

.nav__logo-name {
    display: none;
    font-weight: 600;
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .nav__logo-name {
        display: inline;
    }
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--grey-400);
    transition: color var(--duration-fast);
    position: relative;
}

.nav__link:hover {
    color: var(--white);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--duration-fast) ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.5rem 1rem;
    background: var(--grey-800);
    border: 1px solid var(--grey-700);
    border-radius: 100px;
    color: var(--white);
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--grey-700);
    border-color: var(--grey-600);
}

.nav__toggle {
    display: none;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.nav__toggle span {
    width: 20px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 72px 0 0 0;
    z-index: 99;
    background: var(--grey-950);
    padding: var(--space-xl);
    flex-direction: column;
    gap: var(--space-sm);
}

.mobile-menu--open {
    display: flex;
}

.mobile-menu__link {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--white);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--grey-800);
    transition: color var(--duration-fast);
}

.mobile-menu__link:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .nav { padding: 0 var(--space-md); }
    .nav__links { display: none; }
    .nav__toggle { display: flex; }
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.anim-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration) var(--ease-out),
                transform var(--duration) var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.anim-fade.revealed {
    opacity: 1;
    transform: translateY(0);
}

.anim-slide {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s var(--ease-out),
                transform 0.8s var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.anim-slide.revealed {
    opacity: 1;
    transform: translateY(0);
}

.anim-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--duration) var(--ease-out),
                transform var(--duration) var(--ease-out);
    transition-delay: var(--delay, 0s);
}

.anim-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: calc(72px + var(--space-3xl)) var(--space-lg) var(--space-3xl);
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.hero__content {
    max-width: 680px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: var(--accent-soft);
    border: 1px solid rgba(255, 107, 74, 0.3);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: var(--space-xl);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero__title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    overflow: visible;
}

.hero__title-line {
    display: block;
    padding-bottom: 0.05em;
}

.hero__title-accent {
    background: linear-gradient(135deg, var(--white) 0%, var(--grey-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.1em;
}

.hero__text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--grey-300);
    margin-bottom: var(--space-xl);
}

.hero__text em {
    font-style: normal;
    color: var(--white);
    font-weight: 500;
}

.hero__text strong {
    color: var(--accent);
    font-weight: 600;
}

/* Process Steps */
.hero__process {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    overflow-x: auto;
}

.process-step {
    display: flex;
    flex-direction: column;
    padding: var(--space-sm) var(--space-md);
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all var(--duration-fast);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.process-step:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.process-step__number {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
}

.process-step__text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
}

.process-arrow {
    width: 20px;
    height: 20px;
    color: var(--grey-600);
    flex-shrink: 0;
}

.hero__cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.hero__badge svg {
    width: 16px;
    height: 16px;
}

.hero__stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.hero__stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.hero__stat-label {
    font-size: 0.75rem;
    color: var(--grey-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Visual */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__interactive-viz {
    position: relative;
    width: 450px;
    height: 450px;
}

.viz-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(18, 18, 18, 0.8) 100%);
    border: 1px solid rgba(212, 165, 116, 0.15);
    border-radius: 16px;
    padding: var(--space-md);
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.interactive-graphic {
    width: 100%;
    height: 100%;
}

.bar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar:hover {
    opacity: 1 !important;
    filter: brightness(1.2);
    transform: scaleY(1.05);
    transform-origin: bottom;
}

.viz-tooltip {
    position: absolute;
    background: rgba(212, 165, 116, 0.95);
    color: var(--black);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.viz-tooltip.active {
    opacity: 1;
}

.tooltip-value {
    font-size: 1rem;
    font-weight: 700;
}

.tooltip-label {
    font-size: 0.625rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.viz-replay {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    width: 40px;
    height: 40px;
    background: rgba(212, 165, 116, 0.1);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #d4a574;
}

.viz-replay:hover {
    background: rgba(212, 165, 116, 0.2);
    border-color: #d4a574;
    transform: rotate(180deg) scale(1.1);
}

.viz-replay:active {
    transform: rotate(180deg) scale(0.95);
}

/* Metric text smooth transitions */
#metricValue,
#metricLabel {
    transition: opacity 0.2s ease;
}

.hero__image-container {
    position: relative;
}

.hero__image-frame {
    width: 320px;
    height: 400px;
    background: linear-gradient(145deg, var(--grey-800) 0%, var(--grey-900) 100%);
    border: 1px solid var(--grey-700);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--grey-800) 0%, var(--grey-900) 100%);
}

.hero__image-placeholder span {
    font-size: 5rem;
    font-weight: 700;
    color: var(--grey-700);
    letter-spacing: -0.04em;
}

/* --------------------------------------------------------------------------
   About Intro Section
   -------------------------------------------------------------------------- */
.about-intro {
    padding: var(--space-5xl) var(--space-lg);
    background: var(--grey-950);
}

.about-intro__container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: var(--space-4xl);
    align-items: center;
}

.about-intro__profile {
    flex-shrink: 0;
    width: 280px;
}

.about-intro__profile-image {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(212, 165, 116, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.about-intro__profile-image:hover {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.about-intro__profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.about-intro__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-width: 0;
}

.about-intro__title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.about-intro__title em {
    font-style: normal;
    color: var(--accent);
}

.about-intro__text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--grey-300);
}

/* --------------------------------------------------------------------------
   Top Skills & Key Metrics Section
   -------------------------------------------------------------------------- */
.top-skills {
    padding: var(--space-5xl) var(--space-lg);
    background: var(--black);
}

.top-skills__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.top-skills__header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.top-skills__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.expertise-card {
    padding: var(--space-xl);
    background: rgba(26, 26, 26, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: subtle-float 4s ease-in-out infinite;
}

.expertise-card:nth-child(2) {
    animation-delay: 0.5s;
}

.expertise-card:nth-child(3) {
    animation-delay: 1s;
}

.expertise-card:hover {
    border-color: rgba(212, 165, 116, 0.4);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    background: rgba(26, 26, 26, 0.5);
    animation-play-state: paused;
}

.expertise-card:hover .expertise-card__metric {
    background: rgba(212, 165, 116, 0.15);
    border-color: rgba(212, 165, 116, 0.4);
}

@keyframes subtle-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.expertise-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.expertise-card__number {
    font-size: 2rem;
    font-weight: 700;
    color: rgba(212, 165, 116, 0.2);
    line-height: 1;
    letter-spacing: -0.02em;
}

.expertise-card__metric {
    text-align: right;
    padding: var(--space-sm) var(--space-md);
    background: rgba(212, 165, 116, 0.12);
    border-radius: 10px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.15);
    transition: all 0.3s ease;
}

.expertise-card__metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-2xs);
}

.expertise-card__metric-label {
    display: block;
    font-size: 0.6875rem;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.expertise-card__icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.expertise-card__icon svg {
    width: 100%;
    height: 100%;
}

.expertise-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.expertise-card__text {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--grey-300);
}

@media (max-width: 1024px) {
    .about-intro__container {
        flex-direction: column;
        gap: var(--space-2xl);
        align-items: center;
    }

    .about-intro__profile {
        width: 220px;
    }

    .about-intro__profile-image {
        width: 220px;
        height: 220px;
    }

    .about-intro__content {
        text-align: center;
    }

    .top-skills__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-intro {
        padding: var(--space-4xl) var(--space-md);
    }

    .top-skills {
        padding: var(--space-4xl) var(--space-md);
    }
}

.hero__stats-floating {
    position: absolute;
    bottom: -20px;
    right: -40px;
}

.floating-stat {
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    background: var(--grey-900);
    border: 1px solid var(--grey-700);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.floating-stat__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.floating-stat__label {
    font-size: 0.75rem;
    color: var(--grey-400);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero__content { max-width: 100%; }
    .hero__process { justify-content: center; }
    .hero__cta { justify-content: center; }
    .hero__visual { order: -1; }
    .hero__image-frame { width: 280px; height: 350px; }
    .hero__stats-floating { right: -20px; bottom: -15px; }
}

@media (max-width: 600px) {
    .hero { padding: calc(72px + var(--space-xl)) var(--space-md) var(--space-xl); }
    .hero__process { gap: var(--space-xs); }
    .process-step { padding: var(--space-xs) var(--space-sm); }
    .process-arrow { display: none; }
    .hero__title { font-size: clamp(2rem, 10vw, 3rem); }
    .hero__text { font-size: 1rem; }
    .hero__cta { flex-direction: column; gap: var(--space-sm); }
    .hero__cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
    .hero__badge { font-size: 0.625rem; padding: 0.375rem 0.75rem; }
    .process-step__text { font-size: 0.6875rem; }
}

/* --------------------------------------------------------------------------
   Skills Section
   -------------------------------------------------------------------------- */
.skills {
    padding: var(--space-5xl) var(--space-lg);
    background: var(--grey-950);
}

.skills__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.skills__header {
    margin-bottom: var(--space-3xl);
}

.skills__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.skill-card {
    padding: var(--space-xl);
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all var(--duration-fast);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity var(--duration-fast);
}

.skill-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    background: rgba(26, 26, 26, 0.65);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    color: var(--accent);
}

.skill-card__icon svg {
    width: 100%;
    height: 100%;
}

.skill-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.01em;
}

.skill-card__text {
    font-size: 0.9375rem;
    color: var(--grey-400);
    line-height: 1.6;
}

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

@media (max-width: 600px) {
    .skills { padding: var(--space-3xl) var(--space-md); }
    .skills__grid { grid-template-columns: 1fr; }
}

/* Sectors */
.sectors {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--grey-800);
    border-bottom: 1px solid var(--grey-800);
    margin-bottom: var(--space-3xl);
}

.sectors__title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: var(--space-md);
}

.sectors__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.sector-tag {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.25rem;
    background: var(--grey-800);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
}

.sector-tag__dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* Professional Skills */
.pro-skills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.pro-skill {
    padding: var(--space-xl);
    background: linear-gradient(145deg, var(--grey-900) 0%, var(--grey-850) 100%);
    border: 1px solid var(--grey-800);
    border-radius: 16px;
    transition: all var(--duration-fast);
}

.pro-skill:hover {
    border-color: var(--accent);
}

.pro-skill__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.pro-skill__number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--grey-600);
    letter-spacing: 0.1em;
}

.pro-skill__metric {
    text-align: right;
}

.pro-skill__metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.pro-skill__metric-label {
    font-size: 0.6875rem;
    color: var(--grey-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pro-skill__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.pro-skill__text {
    font-size: 0.9375rem;
    color: var(--grey-400);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .pro-skills { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Use Cases Section
   -------------------------------------------------------------------------- */
.cases {
    padding: var(--space-3xl) var(--space-lg) var(--space-5xl);
    background: var(--black);
}

.cases__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.cases__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-2xl);
    gap: var(--space-lg);
}

.cases__header-content {
    flex: 1;
}

.cases__subtitle {
    font-size: 1.125rem;
    color: var(--grey-400);
    margin-top: var(--space-md);
    max-width: 500px;
}

/* Carousel Navigation */
.cases__nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cases__nav-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--grey-400);
    cursor: pointer;
    transition: all var(--duration-fast);
}

.cases__nav-btn:hover {
    background: rgba(184, 149, 107, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

.cases__nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cases__nav-dots {
    display: flex;
    gap: 8px;
}

.cases__nav-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--duration-fast);
}

.cases__nav-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.cases__nav-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* Carousel Wrapper */
.cases__carousel-wrapper {
    overflow: hidden;
    margin: 0 calc(-1 * var(--space-lg));
    padding: 0 var(--space-lg);
}

.cases__carousel {
    display: flex;
    gap: var(--space-lg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 calc(var(--carousel-peek) + var(--space-lg));
    margin-left: calc(-1 * var(--carousel-peek) - var(--space-lg));
}

/* Carousel card sizing with peek preview */
:root {
    --carousel-peek: 80px; /* How much of adjacent cards to show */
}

.cases__carousel .case-card {
    flex: 0 0 calc(100% - (var(--carousel-peek) * 2) - var(--space-lg));
    max-width: calc(100% - (var(--carousel-peek) * 2) - var(--space-lg));
    opacity: 0.4;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cases__carousel .case-card.active,
.cases__carousel .case-card:only-child {
    opacity: 1;
    transform: scale(1);
}

/* Inactive cards are clickable to navigate */
.cases__carousel .case-card:not(.active) {
    cursor: pointer;
}

.cases__carousel .case-card:not(.active):hover {
    opacity: 0.6;
}

/* Desktop: show more peek */
@media (min-width: 1024px) {
    :root {
        --carousel-peek: 120px;
    }
}

/* Tablet: moderate peek */
@media (max-width: 1023px) and (min-width: 769px) {
    :root {
        --carousel-peek: 60px;
    }
}

/* Mobile: smaller peek */
@media (max-width: 768px) {
    :root {
        --carousel-peek: 30px;
    }

    .cases__carousel .case-card {
        flex: 0 0 calc(100% - (var(--carousel-peek) * 2));
        max-width: calc(100% - (var(--carousel-peek) * 2));
    }
}

/* Legacy grid - keeping for compatibility */
.cases__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.case-card {
    padding: var(--space-xl);
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all var(--duration-fast);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.case-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    background: rgba(26, 26, 26, 0.65);
}

.case-card--featured {
    background: linear-gradient(145deg, var(--grey-900) 0%, rgba(255, 107, 74, 0.05) 100%);
    border-color: rgba(255, 107, 74, 0.2);
}

.case-card--featured:hover {
    border-color: var(--accent);
}

.case-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.case-card__date {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
}

.case-card__role {
    font-size: 0.75rem;
    color: var(--grey-500);
}

.case-card__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xs);
}

.case-card__desc {
    font-size: 0.9375rem;
    color: var(--grey-400);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.case-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--grey-850);
    border-radius: 12px;
    margin-bottom: var(--space-md);
}

.case-stat {
    text-align: center;
}

.case-stat__value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.case-stat__label {
    font-size: 0.6875rem;
    color: var(--grey-500);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.case-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.case-card__tags span {
    padding: 0.375rem 0.75rem;
    background: var(--grey-800);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--grey-300);
}

@media (max-width: 768px) {
    .cases { padding: var(--space-3xl) var(--space-md); }
    .cases__header {
        flex-direction: column;
        align-items: flex-start;
    }
    .cases__nav {
        align-self: flex-end;
    }
    .cases__nav-btn {
        width: 40px;
        height: 40px;
    }
    .cases__grid { grid-template-columns: 1fr; }
    .case-card { padding: var(--space-lg); }
    .case-card__title { font-size: 1.5rem; }
    .case-card__stats { grid-template-columns: repeat(3, 1fr); gap: var(--space-xs); }
    .case-stat__value { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .case-card__stats { grid-template-columns: 1fr; gap: var(--space-sm); }
    .case-stat {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: var(--space-sm);
    }
    .case-card__tags { gap: var(--space-xs); }
    .case-card__tags span { font-size: 0.6875rem; padding: 0.25rem 0.5rem; }
}

/* --------------------------------------------------------------------------
   Venture Section
   -------------------------------------------------------------------------- */
.venture {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--black);
}

.venture__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.venture__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.venture__subtitle {
    font-size: 1.125rem;
    color: var(--grey-400);
    margin-top: var(--space-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.venture__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.venture__card {
    padding: var(--space-3xl);
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.venture__card:hover {
    border-color: rgba(212, 165, 116, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    background: rgba(26, 26, 26, 0.65);
}

.venture__logo {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(212, 165, 116, 0.05) 100%);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 20px;
    color: var(--accent);
}

.venture__name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.venture__tagline {
    font-size: 0.9375rem;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.venture__description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--grey-300);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.venture__highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.venture__highlight {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.venture__highlight-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.venture__highlight-label {
    font-size: 0.8125rem;
    color: var(--grey-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.venture__cta {
    margin: 0 auto;
    display: inline-flex;
}

.venture__teaching {
    /* Removed margin - now part of grid */
}

.teaching-card {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-2xl);
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.teaching-card:hover {
    border-color: rgba(212, 165, 116, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    background: rgba(26, 26, 26, 0.65);
}

.teaching-card__icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(212, 165, 116, 0.05) 100%);
    border: 1px solid rgba(212, 165, 116, 0.2);
    border-radius: 16px;
    color: var(--accent);
}

.teaching-card__content {
    flex: 1;
}

.teaching-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.teaching-card__school {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.teaching-card__description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey-300);
}

@media (max-width: 1024px) {
    .venture__content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .venture {
        padding: var(--space-3xl) var(--space-md);
    }

    .venture__card {
        padding: var(--space-2xl) var(--space-lg);
    }

    .venture__highlights {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .venture__highlight-number {
        font-size: 1.75rem;
    }

    .teaching-card {
        flex-direction: column;
        gap: var(--space-md);
        padding: var(--space-lg);
    }

    .teaching-card__icon {
        width: 56px;
        height: 56px;
    }
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
    padding: var(--space-5xl) var(--space-lg);
    background: var(--grey-950);
}

.testimonials__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.testimonials__header {
    margin-bottom: var(--space-3xl);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.testimonial {
    padding: var(--space-xl);
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all var(--duration-fast);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.testimonial:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(26, 26, 26, 0.65);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.testimonial__badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--accent-soft);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

.testimonial__quote {
    margin-bottom: var(--space-lg);
}

.testimonial__quote p {
    font-size: 1rem;
    color: var(--grey-300);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.testimonial__quote-highlight {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--white);
    padding-left: var(--space-md);
    border-left: 2px solid var(--accent);
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial__avatar {
    width: 48px;
    height: 48px;
    background: var(--grey-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--grey-400);
}

.testimonial__info {
    flex: 1;
}

.testimonial__name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.testimonial__role {
    font-size: 0.8125rem;
    color: var(--grey-500);
}

.testimonial__link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey-800);
    border-radius: 50%;
    color: var(--grey-400);
    transition: all var(--duration-fast);
}

.testimonial__link:hover {
    background: var(--grey-700);
    color: var(--white);
}

@media (max-width: 768px) {
    .testimonials { padding: var(--space-3xl) var(--space-md); }
    .testimonials__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about {
    padding: var(--space-3xl) var(--space-lg) var(--space-4xl);
    background: var(--white);
    color: var(--grey-900);
}

.about__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.about .section-label {
    color: var(--accent);
}

.about .section-label::before {
    background: var(--accent);
}

.about .section-title {
    color: var(--grey-900);
}

.about .section-title em {
    color: var(--grey-500);
}

.about__header {
    margin-bottom: var(--space-xl);
}

.about__content {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.about__main {
    max-width: 480px;
}

.about__lead {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--grey-800);
    margin-bottom: var(--space-md);
}

.about__main p {
    font-size: 1.0625rem;
    color: var(--grey-600);
    line-height: 1.7;
}

.about__facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.fact {
    padding: var(--space-md) var(--space-lg);
    background: var(--grey-100);
    border-radius: 12px;
    transition: all var(--duration-fast);
}

.fact:hover {
    background: var(--grey-200);
}

.fact__value {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--grey-900);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.fact__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--grey-700);
    margin-bottom: var(--space-xs);
}

.fact__detail {
    font-size: 0.8125rem;
    color: var(--grey-500);
}

@media (max-width: 900px) {
    .about__content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .about { padding: var(--space-3xl) var(--space-md); }
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact {
    padding: var(--space-5xl) var(--space-lg);
    background: var(--grey-950);
}

.contact__container {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
}

.contact__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.contact__profile {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.contact__profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--grey-700);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact__profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.contact__profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact__title {
    margin-bottom: var(--space-md);
}

.contact__subtitle {
    font-size: 1.125rem;
    color: var(--grey-400);
    max-width: 500px;
    margin: 0 auto;
}

.contact__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all var(--duration-fast);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.contact-link:hover {
    border-color: rgba(212, 165, 116, 0.5);
    transform: translateX(8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: rgba(26, 26, 26, 0.65);
}

.contact-link--static {
    cursor: default;
}

.contact-link--static:hover {
    border-color: var(--grey-800);
    transform: none;
}

.contact-link__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey-800);
    border-radius: 12px;
    color: var(--accent);
}

.contact-link__info {
    flex: 1;
}

.contact-link__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: 2px;
}

.contact-link__value {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--white);
}

.contact-link__note {
    color: var(--grey-500);
    font-weight: 400;
}

.contact-link__arrow {
    color: var(--grey-600);
    transition: transform var(--duration-fast);
}

.contact-link:hover .contact-link__arrow {
    transform: translate(4px, -4px);
    color: var(--accent);
}

@media (max-width: 600px) {
    .contact { padding: var(--space-3xl) var(--space-md); }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    padding: var(--space-xl) var(--space-lg);
    background: var(--black);
    border-top: 1px solid var(--grey-800);
}

.footer__container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer__logo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.footer__tagline {
    font-size: 0.8125rem;
    color: var(--grey-500);
}

.footer__links {
    display: flex;
    gap: var(--space-sm);
}

.footer__social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey-900);
    border: 1px solid var(--grey-800);
    border-radius: 50%;
    color: var(--grey-400);
    transition: all var(--duration-fast);
}

.footer__social:hover {
    background: var(--grey-800);
    border-color: var(--grey-700);
    color: var(--white);
}

.footer__copyright {
    width: 100%;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--grey-600);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--grey-800);
}

@media (max-width: 600px) {
    .footer { padding: var(--space-lg) var(--space-md); }
    .footer__container {
        flex-direction: column;
        text-align: center;
    }
    .footer__brand { align-items: center; }
}

/* ============================================
   WhatsApp Business Widget
   ============================================ */

.whatsapp-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-widget:active {
    transform: scale(0.95);
}

.whatsapp-widget svg {
    width: 32px;
    height: 32px;
}

/* Pulse animation */
.whatsapp-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse 2s infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-widget {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-widget svg {
        width: 28px;
        height: 28px;
    }
}

/* --------------------------------------------------------------------------
   Case Card Button
   -------------------------------------------------------------------------- */
.case-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-lg);
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration-fast);
}

.case-card__btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

.case-card__btn svg {
    transition: transform var(--duration-fast);
}

.case-card__btn:hover svg {
    transform: translateX(4px);
}

/* Case Card Link Button (for external pages) */
.case-card__btn--link {
    text-decoration: none;
    background: rgba(184, 149, 107, 0.1);
    border-color: rgba(184, 149, 107, 0.3);
    color: var(--accent);
}

.case-card__btn--link:hover {
    background: rgba(184, 149, 107, 0.2);
    border-color: rgba(184, 149, 107, 0.5);
}

/* Featured Case Card */
.case-card--featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(184, 149, 107, 0.05) 0%, rgba(184, 149, 107, 0.02) 100%);
    border-color: rgba(184, 149, 107, 0.2);
}

.case-card--featured:hover {
    border-color: rgba(184, 149, 107, 0.4);
}

/* --------------------------------------------------------------------------
   Case Study Modal
   -------------------------------------------------------------------------- */
.case-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.case-modal.active {
    opacity: 1;
    visibility: visible;
}

.case-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.case-modal__container {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    background: var(--grey-900);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
}

.case-modal.active .case-modal__container {
    transform: scale(1) translateY(0);
}

.case-modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--grey-400);
    cursor: pointer;
    transition: all var(--duration-fast);
}

.case-modal__close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.case-modal__content {
    max-height: 85vh;
    overflow-y: auto;
    padding: var(--space-2xl);
}

.case-modal__header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-modal__badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--grey-900);
    margin-bottom: var(--space-md);
}

.case-modal__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin: 0 0 var(--space-sm);
}

.case-modal__role {
    font-size: 0.9375rem;
    color: var(--grey-400);
    margin: 0;
}

.case-modal__section {
    margin-bottom: var(--space-xl);
}

.case-modal__section:last-child {
    margin-bottom: 0;
}

.case-modal__section h3 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 var(--space-md);
}

.case-modal__section p {
    font-size: 1rem;
    color: var(--grey-300);
    line-height: 1.7;
    margin: 0;
}

.case-modal__section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.case-modal__section ul li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
    color: var(--grey-300);
    line-height: 1.6;
}

.case-modal__section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.case-modal__results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.case-modal__result {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
}

.case-modal__result-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.case-modal__result-label {
    font-size: 0.75rem;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-modal__skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.case-modal__skill {
    padding: 0.5rem 1rem;
    background: var(--grey-800);
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--grey-300);
}

@media (max-width: 768px) {
    .case-modal {
        padding: var(--space-sm);
        align-items: flex-end;
    }

    .case-modal__container {
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
    }

    .case-modal__content {
        padding: var(--space-lg);
    }

    .case-modal__title {
        font-size: 1.375rem;
    }

    .case-modal__results {
        grid-template-columns: 1fr;
    }

    .case-modal__skills {
        gap: var(--space-xs);
    }

    .case-modal__skill {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .case-modal__content {
        padding: var(--space-md);
    }

    .case-modal__close {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
    }

    .case-modal__section h3 {
        font-size: 0.75rem;
    }

    .case-modal__section ul li {
        font-size: 0.875rem;
    }

    .case-modal__result-value {
        font-size: 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   ENHANCED RESPONSIVE STYLES
   Complete mobile and tablet optimizations
   -------------------------------------------------------------------------- */

/* Tablet Portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    :root {
        --space-3xl: 4rem;
        --space-4xl: 5rem;
        --space-5xl: 6rem;
    }

    .hero {
        padding: calc(72px + var(--space-2xl)) var(--space-lg) var(--space-2xl);
    }

    .hero__interactive-viz {
        width: 380px;
        height: 380px;
    }

    .hero__stats {
        gap: var(--space-lg);
    }

    .hero__stat-number {
        font-size: 1.75rem;
    }

    .expertise-card {
        padding: var(--space-lg);
    }

    .expertise-card__metric-value {
        font-size: 1.25rem;
    }

    .venture__content {
        gap: var(--space-xl);
    }

    .venture__card {
        padding: var(--space-2xl);
    }

    .venture__highlight-number {
        font-size: 1.75rem;
    }
}

/* Mobile Large (480px - 768px) */
@media (min-width: 480px) and (max-width: 767px) {
    :root {
        --space-3xl: 3rem;
        --space-4xl: 4rem;
        --space-5xl: 5rem;
    }

    body {
        font-size: 0.9375rem;
    }

    .hero {
        min-height: auto;
        padding: calc(72px + var(--space-lg)) var(--space-md) var(--space-xl);
    }

    .hero__interactive-viz {
        width: 320px;
        height: 320px;
    }

    .hero__badge {
        font-size: 0.75rem;
    }

    .hero__stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .hero__stat {
        flex: 1 1 45%;
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }

    .hero__stat-label {
        font-size: 0.6875rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .about-intro__container {
        gap: var(--space-xl);
    }

    .about-intro__profile {
        width: 180px;
    }

    .about-intro__profile-image {
        width: 180px;
        height: 180px;
    }

    .about-intro__title {
        font-size: 1.75rem;
    }

    .about-intro__text {
        font-size: 1rem;
    }

    .expertise-card {
        padding: var(--space-lg);
    }

    .expertise-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .expertise-card__metric {
        text-align: left;
    }

    .skill-card {
        padding: var(--space-lg);
    }

    .testimonial {
        padding: var(--space-lg);
    }

    .testimonial__quote p {
        font-size: 0.9375rem;
    }

    .contact-link {
        padding: var(--space-md);
    }

    .contact-link__icon {
        width: 40px;
        height: 40px;
    }

    .contact-link__value {
        font-size: 0.9375rem;
    }
}

/* Mobile Small (320px - 480px) */
@media (max-width: 479px) {
    :root {
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
        --space-4xl: 3rem;
        --space-5xl: 4rem;
    }

    body {
        font-size: 0.875rem;
    }

    .nav {
        height: 64px;
        padding: 0 var(--space-sm);
    }

    .nav__logo {
        font-size: 1rem;
    }

    .mobile-menu {
        inset: 64px 0 0 0;
        padding: var(--space-lg);
    }

    .mobile-menu__link {
        font-size: 1.5rem;
        padding: var(--space-sm) 0;
    }

    .hero {
        min-height: auto;
        padding: calc(64px + var(--space-md)) var(--space-sm) var(--space-lg);
    }

    .hero__title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
        margin-bottom: var(--space-md);
    }

    .hero__text {
        font-size: 0.9375rem;
        margin-bottom: var(--space-lg);
    }

    .hero__interactive-viz {
        width: 280px;
        height: 280px;
    }

    .viz-frame {
        padding: var(--space-sm);
    }

    .hero__process {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-xs);
    }

    .process-step {
        flex: 1 1 calc(50% - var(--space-xs));
        min-width: 0;
    }

    .process-step__number {
        font-size: 0.5625rem;
    }

    .process-step__text {
        font-size: 0.6875rem;
    }

    .hero__stats {
        flex-direction: column;
        gap: var(--space-sm);
        padding: var(--space-md) 0;
    }

    .hero__stat {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }

    .hero__cta {
        gap: var(--space-xs);
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8125rem;
    }

    .section-label {
        font-size: 0.6875rem;
        margin-bottom: var(--space-sm);
    }

    .section-label::before {
        left: -16px;
        width: 10px;
    }

    .section-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .about-intro {
        padding: var(--space-3xl) var(--space-sm);
    }

    .about-intro__profile {
        width: 150px;
    }

    .about-intro__profile-image {
        width: 150px;
        height: 150px;
        border-radius: 16px;
    }

    .about-intro__title {
        font-size: 1.5rem;
    }

    .about-intro__text {
        font-size: 0.9375rem;
    }

    .top-skills {
        padding: var(--space-3xl) var(--space-sm);
    }

    .expertise-card {
        padding: var(--space-md);
    }

    .expertise-card__number {
        font-size: 1.5rem;
    }

    .expertise-card__title {
        font-size: 1.125rem;
    }

    .expertise-card__text {
        font-size: 0.875rem;
    }

    .expertise-card__metric-value {
        font-size: 1.25rem;
    }

    .skills {
        padding: var(--space-3xl) var(--space-sm);
    }

    .skill-card {
        padding: var(--space-md);
    }

    .skill-card__icon {
        width: 40px;
        height: 40px;
    }

    .skill-card__title {
        font-size: 1rem;
    }

    .skill-card__text {
        font-size: 0.875rem;
    }

    .sectors {
        padding: var(--space-md) 0;
    }

    .sectors__list {
        gap: var(--space-xs);
    }

    .sector-tag {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }

    .cases {
        padding: var(--space-2xl) var(--space-sm);
    }

    .cases__header {
        margin-bottom: var(--space-lg);
    }

    .cases__subtitle {
        font-size: 1rem;
    }

    .case-card {
        padding: var(--space-md);
    }

    .case-card__title {
        font-size: 1.25rem;
    }

    .case-card__desc {
        font-size: 0.875rem;
    }

    .case-card__stats {
        padding: var(--space-sm);
    }

    .case-stat__value {
        font-size: 1.125rem;
    }

    .case-stat__label {
        font-size: 0.625rem;
    }

    .venture {
        padding: var(--space-2xl) var(--space-sm);
    }

    .venture__card {
        padding: var(--space-lg);
    }

    .venture__logo {
        width: 64px;
        height: 64px;
    }

    .venture__name {
        font-size: 1.5rem;
    }

    .venture__tagline {
        font-size: 0.8125rem;
    }

    .venture__description {
        font-size: 0.9375rem;
    }

    .venture__highlights {
        padding: var(--space-md) 0;
    }

    .venture__highlight-number {
        font-size: 1.5rem;
    }

    .venture__highlight-label {
        font-size: 0.75rem;
    }

    .teaching-card {
        padding: var(--space-md);
    }

    .teaching-card__icon {
        width: 48px;
        height: 48px;
    }

    .teaching-card__title {
        font-size: 1.25rem;
    }

    .teaching-card__description {
        font-size: 0.9375rem;
    }

    .testimonials {
        padding: var(--space-2xl) var(--space-sm);
    }

    .testimonial {
        padding: var(--space-md);
    }

    .testimonial__badge {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
    }

    .testimonial__quote p {
        font-size: 0.875rem;
    }

    .testimonial__quote-highlight {
        font-size: 1rem;
        padding-left: var(--space-sm);
    }

    .testimonial__avatar {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .testimonial__name {
        font-size: 0.9375rem;
    }

    .testimonial__role {
        font-size: 0.75rem;
    }

    .about {
        padding: var(--space-2xl) var(--space-sm);
    }

    .about__lead {
        font-size: 1.125rem;
    }

    .about__main p {
        font-size: 0.9375rem;
    }

    .fact {
        padding: var(--space-sm) var(--space-md);
    }

    .fact__value {
        font-size: 1.75rem;
    }

    .fact__label {
        font-size: 0.8125rem;
    }

    .fact__detail {
        font-size: 0.75rem;
    }

    .contact {
        padding: var(--space-2xl) var(--space-sm);
    }

    .contact__profile-image {
        width: 100px;
        height: 100px;
    }

    .contact__subtitle {
        font-size: 1rem;
    }

    .contact-link {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
        padding: var(--space-md);
    }

    .contact-link__icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .contact-link__label {
        font-size: 0.6875rem;
    }

    .contact-link__value {
        font-size: 0.9375rem;
    }

    .contact-link__arrow {
        display: none;
    }

    .footer {
        padding: var(--space-md) var(--space-sm);
    }

    .footer__logo {
        font-size: 0.9375rem;
    }

    .footer__tagline {
        font-size: 0.75rem;
    }

    .footer__social {
        width: 36px;
        height: 36px;
    }

    .footer__copyright {
        font-size: 0.75rem;
        margin-top: var(--space-md);
        padding-top: var(--space-md);
    }

    .whatsapp-widget {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-widget svg {
        width: 26px;
        height: 26px;
    }
}

/* Extra Small Devices (under 320px) */
@media (max-width: 319px) {
    body {
        font-size: 0.8125rem;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .hero__interactive-viz {
        width: 240px;
        height: 240px;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .about-intro__profile,
    .about-intro__profile-image {
        width: 120px;
        height: 120px;
    }

    .expertise-card__header {
        flex-direction: column;
    }

    .venture__highlight-number {
        font-size: 1.25rem;
    }
}

/* Landscape Mobile Optimizations */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: calc(64px + var(--space-md));
        padding-bottom: var(--space-lg);
    }

    .hero__visual {
        display: none;
    }

    .nav {
        height: 56px;
    }

    .mobile-menu {
        inset: 56px 0 0 0;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .case-card:hover,
    .skill-card:hover,
    .expertise-card:hover,
    .testimonial:hover,
    .contact-link:hover {
        transform: none;
    }

    .expertise-card {
        animation: none;
    }

    /* Larger touch targets */
    .nav__toggle {
        width: 44px;
        height: 44px;
    }

    .cases__nav-btn {
        width: 44px;
        height: 44px;
    }

    .footer__social {
        width: 44px;
        height: 44px;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero__image,
    .about-intro__profile-image img,
    .contact__profile-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Print Styles */
@media print {
    .nav,
    .mobile-menu,
    .whatsapp-widget,
    .hero__cta,
    .contact-link__arrow,
    .footer__links {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .hero,
    .about-intro,
    .top-skills,
    .skills,
    .cases,
    .venture,
    .testimonials,
    .about,
    .contact {
        padding: 2rem 1rem;
        background: white;
    }

    .section-title,
    .hero__title,
    .case-card__title {
        color: black;
    }

    a {
        text-decoration: underline;
    }
}
