/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    /* Colors */
    --color-primary: #0D9488;
    /* Teal */
    --color-primary-hover: #0F766E;
    /* Darker Teal for hover states */
    --color-accent: #F59E0B;
    /* Amber */
    --color-text: #1E293B;
    /* Dark Slate */
    --color-bg: #F8FAFC;
    /* Background */
    --color-white: #FFFFFF;

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Spacing & Transitions */
    --transition-speed: 0.3s;
    --border-radius-pill: 9999px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) ease,
        background-color var(--transition-speed) ease,
        border-color var(--transition-speed) ease,
        transform var(--transition-speed) ease,
        box-shadow var(--transition-speed) ease;
}

button {
    transition: color var(--transition-speed) ease,
        background-color var(--transition-speed) ease,
        border-color var(--transition-speed) ease,
        transform var(--transition-speed) ease,
        box-shadow var(--transition-speed) ease;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* --- Navigation Bar --- */
.navbar {
    background-color: rgba(248, 250, 252, 0.85);
    /* Slightly transparent background */
    backdrop-filter: blur(8px);
    /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo & Brand Identity */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform var(--transition-speed) cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-speed) cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow var(--transition-speed) ease;
    border-radius: 11px;
}

.logo:hover .logo-mark {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 10px 20px -5px rgba(13, 148, 136, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
}

.logo-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    transition: color var(--transition-speed) ease;
}

.logo:hover .logo-name {
    color: var(--color-primary);
}

.logo-dot {
    color: var(--color-accent);
}

.logo-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-speed) ease;
}

/* Animated underline effect for links */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width var(--transition-speed) ease;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
    width: 100%;
}

/* --- Primary Button --- */
.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.625rem 1.75rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.1), 0 2px 4px -1px rgba(13, 148, 136, 0.06);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--color-primary-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(13, 148, 136, 0.2), 0 4px 6px -2px rgba(13, 148, 136, 0.1);
}

.btn-primary:active {
    transform: translateY(0);
}

/* --- Mobile Menu Button --- */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease,
        background-color 0.3s ease;
    transform-origin: center;
}

/* Hamburger to X Animation */
.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--color-primary);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--color-primary);
}

/* --- Global Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 100vh;
    padding: 6rem 0;
    display: flex;
    align-items: center;
    background-color: var(--color-bg);
    --mouse-x: 50%;
    --mouse-y: 45%;
}

/* Ambient Lighting Sweep Canvas (Two Large Orbs with filter: blur(100px) on an 18s Cycle) */
.hero-sweep-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.sweep-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

/* 1. Cool Teal Orb: filter: blur(100px) */
.sweep-orb-teal {
    top: -16%;
    left: -12%;
    width: 60vw;
    height: 60vw;
    max-width: 840px;
    max-height: 840px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.14) 0%, rgba(45, 212, 191, 0.06) 45%, transparent 70%);
    filter: blur(100px);
    animation: sweepMotionTeal 18s ease-in-out infinite alternate;
}

/* 2. Warm Amber Orb: filter: blur(100px) */
.sweep-orb-amber {
    top: 14%;
    right: -12%;
    width: 65vw;
    height: 65vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(circle, rgba(217, 119, 6, 0.15) 0%, rgba(245, 158, 11, 0.06) 45%, transparent 70%);
    filter: blur(100px);
    animation: sweepMotionAmber 18s ease-in-out infinite alternate;
}

/* 18-second keyframe cycle: slowly shifting and scaling across canvas */
@keyframes sweepMotionTeal {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    33% {
        transform: translate3d(14vw, 10vh, 0) scale(1.12);
    }
    66% {
        transform: translate3d(6vw, -8vh, 0) scale(0.92);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes sweepMotionAmber {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    33% {
        transform: translate3d(-15vw, -10vh, 0) scale(0.92);
    }
    66% {
        transform: translate3d(-6vw, 12vh, 0) scale(1.14);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sweep-orb-teal,
    .sweep-orb-amber {
        animation: none !important;
        transform: none !important;
    }
}

/* Full-Width 28px Dot-Matrix Grid with Smooth Vignette Mask */
.hero-grid-pattern,
.hero-dot-grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    /* Faint 28px dot-matrix grid at ~7–9% opacity */
    background-image: radial-gradient(circle at 1.5px 1.5px, rgba(100, 116, 139, 0.09) 1.25px, transparent 1.25px);
    background-size: 28px 28px;
    background-position: center center;
    /* Ambient Light Mask: smooth radial mask fading gently toward outer margins */
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at center, #000 25%, rgba(0, 0, 0, 0.45) 60%, transparent 88%);
    mask-image: radial-gradient(ellipse 80% 70% at center, #000 25%, rgba(0, 0, 0, 0.45) 60%, transparent 88%);
    -webkit-mask-size: 120% 120%;
    mask-size: 120% 120%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation: gridLightMaskMotion 14s ease-in-out infinite alternate;
    will-change: mask-position, transform, opacity;
}

@keyframes gridLightMaskMotion {
    0% {
        -webkit-mask-position: 48% 46%;
        mask-position: 48% 46%;
        opacity: 0.88;
        transform: scale(1);
    }
    50% {
        -webkit-mask-position: 52% 51%;
        mask-position: 52% 51%;
        opacity: 1;
        transform: scale(1.015);
    }
    100% {
        -webkit-mask-position: 49% 53%;
        mask-position: 49% 53%;
        opacity: 0.90;
        transform: scale(0.99);
    }
}

/* Interactive Mouse-Reactive Spotlight (~400px radius, amber & teal @ ~10% opacity) */
.hero-spotlight {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    /* Combines warm amber (#d97706) and cool teal (#0d9488) at ~10% opacity */
    background: radial-gradient(
        400px circle at var(--mouse-x, 50%) var(--mouse-y, 45%),
        rgba(217, 119, 6, 0.10) 0%,
        rgba(13, 148, 136, 0.10) 35%,
        rgba(13, 148, 136, 0.035) 65%,
        transparent 100%
    );
    opacity: 1;
    transition: opacity 0.4s ease;
    will-change: background, transform;
}

/* Idle State: When cursor is still (>3.5s) or pointer leaves, default to soft drifting centered ambient glow */
.hero:not(.is-tracking) .hero-spotlight {
    background: radial-gradient(
        460px circle at var(--mouse-x, 50%) var(--mouse-y, 45%),
        rgba(217, 119, 6, 0.10) 0%,
        rgba(13, 148, 136, 0.09) 38%,
        rgba(13, 148, 136, 0.025) 70%,
        transparent 100%
    );
    animation: idleSpotlightPulse 10s ease-in-out infinite alternate;
}

@keyframes idleSpotlightPulse {
    0% {
        transform: translate3d(0, 0, 0) scale(0.96);
        opacity: 0.88;
    }
    50% {
        transform: translate3d(14px, -10px, 0) scale(1.04);
        opacity: 1;
    }
    100% {
        transform: translate3d(-10px, 12px, 0) scale(0.98);
        opacity: 0.92;
    }
}

/* Mobile & Touch Fallback: Soft, drifting centered ambient glow behind content */
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
    .hero-spotlight {
        background: radial-gradient(
            380px circle at 50% 42%,
            rgba(217, 119, 6, 0.11) 0%,
            rgba(13, 148, 136, 0.10) 38%,
            rgba(13, 148, 136, 0.025) 72%,
            transparent 100%
        ) !important;
        animation: idleSpotlightPulse 9s ease-in-out infinite alternate !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-grid-pattern,
    .hero-dot-grid,
    .hero-spotlight,
    .hero:not(.is-tracking) .hero-spotlight {
        animation: none !important;
        transform: none !important;
    }
}

/* Tactile Noise/Grain Texture Overlay (3–5% Opacity with mix-blend-mode) */
.hero-grain-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.04;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='tactileNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23tactileNoise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
}

@media (prefers-color-scheme: dark) {
    .hero-grid-pattern,
    .hero-dot-grid {
        background-image: radial-gradient(circle at 1.5px 1.5px, rgba(226, 232, 240, 0.09) 1.25px, transparent 1.25px);
    }

    .hero-spotlight {
        background: radial-gradient(
            400px circle at var(--mouse-x, 50%) var(--mouse-y, 45%),
            rgba(245, 158, 11, 0.14) 0%,
            rgba(20, 184, 166, 0.13) 35%,
            rgba(20, 184, 166, 0.04) 65%,
            transparent 100%
        );
    }

    .hero:not(.is-tracking) .hero-spotlight {
        background: radial-gradient(
            460px circle at var(--mouse-x, 50%) var(--mouse-y, 45%),
            rgba(245, 158, 11, 0.14) 0%,
            rgba(20, 184, 166, 0.12) 38%,
            rgba(20, 184, 166, 0.03) 70%,
            transparent 100%
        );
    }

    .sweep-orb-teal {
        background: radial-gradient(circle, rgba(13, 148, 136, 0.22) 0%, rgba(45, 212, 191, 0.10) 45%, transparent 70%);
    }

    .sweep-orb-amber {
        background: radial-gradient(circle, rgba(217, 119, 6, 0.20) 0%, rgba(245, 158, 11, 0.08) 45%, transparent 70%);
    }

    .hero-grain-overlay {
        opacity: 0.045;
        mix-blend-mode: overlay;
    }
}

/* Tightened Hero Container: binds left narrative and right visual into a unified unit */
.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.16fr 0.84fr;
    gap: 3.5rem;
    align-items: center;
}

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

/* Eyebrow Badge */
.hero-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.95rem;
    border-radius: var(--border-radius-pill);
    background-color: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #334155;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.hero-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
    flex-shrink: 0;
}

/* Name Title: Solid, high-contrast dark tone (no two-tone split) */
.hero-name,
.hero-title {
    font-size: clamp(2.5rem, 4.2vw, 3.35rem);
    font-weight: 800;
    line-height: 1.08;
    color: #0F172A;
    letter-spacing: -0.03em;
    margin-bottom: 0.65rem;
}

/* Role Subhead directly beneath name */
.hero-role-subhead {
    font-size: clamp(1.15rem, 1.9vw, 1.35rem);
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.01em;
    margin-bottom: 1.35rem;
}

.gradient-text {
    background: linear-gradient(135deg, #D97706 0%, #0D9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline;
    white-space: nowrap;
}

/* Ensure gradient text pops brilliantly on dark backgrounds (e.g. CTA cards, mockups) */
.cta-card .gradient-text,
.case-mockup-wrapper .gradient-text,
.dark-section .gradient-text {
    background: linear-gradient(135deg, #FDE047 0%, #FBBF24 25%, #2DD4BF 70%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline;
    font-weight: 800;
    filter: drop-shadow(0 2px 14px rgba(45, 212, 191, 0.45));
}

/* System, Browser & Extension Dark Mode support */
@media (prefers-color-scheme: dark) {
    .gradient-text {
        background: linear-gradient(135deg, #FDE047 0%, #FBBF24 25%, #2DD4BF 70%, #38BDF8 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        color: transparent !important;
        filter: drop-shadow(0 2px 14px rgba(45, 212, 191, 0.45)) !important;
    }
}

/* Injected dark theme classes from browser extensions or dark toggles */
[data-theme="dark"] .gradient-text,
.dark .gradient-text,
.dark-mode .gradient-text {
    background: linear-gradient(135deg, #FDE047 0%, #FBBF24 25%, #2DD4BF 70%, #38BDF8 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    filter: drop-shadow(0 2px 14px rgba(45, 212, 191, 0.45)) !important;
}

.hero-desc {
    font-size: 1.125rem;
    line-height: 1.68;
    color: #475569;
    /* Slate 600 */
    margin-bottom: 2.25rem;
    max-width: 530px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--color-text);
    padding: 0.625rem 1.75rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid var(--color-text);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background-color: var(--color-text);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(30, 41, 59, 0.2), 0 4px 6px -2px rgba(30, 41, 59, 0.1);
}

.btn-outline:active {
    transform: translateY(0);
}

/* Hero Image & Composition Wrapper */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 410px;
    margin: 0 auto;
}

/* Subtle, ambient radial blur behind right-hand image container */
.hero-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 135%;
    height: 135%;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, rgba(245, 158, 11, 0.15) 0%, rgba(13, 148, 136, 0.18) 40%, rgba(45, 212, 191, 0.08) 65%, transparent 75%);
    filter: blur(54px);
    pointer-events: none;
    z-index: 1;
}

/* The Portrait Container with soft shadow and smooth rounded corners */
.hero-image-container {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 1.75rem;
    overflow: hidden;
    background-color: #FFFFFF;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.12),
                0 0 0 1px rgba(226, 232, 240, 0.85);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
}

.hero-image-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 55px -15px rgba(13, 148, 136, 0.22),
                0 0 0 1px rgba(13, 148, 136, 0.3);
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-photo {
    transform: scale(1.03);
}

/* Docked Availability Pill near bottom of photo container with active pulsing green dot */
.hero-availability-dock,
.hero-image-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.5rem 1.15rem;
    border-radius: var(--border-radius-pill);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 8px 20px -3px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #0F172A;
    white-space: nowrap;
    z-index: 3;
    pointer-events: auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-availability-dock:hover,
.hero-image-badge:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.16);
}

.pulse-dot-green,
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10B981;
    position: relative;
    flex-shrink: 0;
}

.pulse-dot-green::after,
.badge-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.6);
    animation: greenPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes greenPulse {
    0% {
        transform: scale(0.85);
        opacity: 1;
    }
    100% {
        transform: scale(2.3);
        opacity: 0;
    }
}

/* Two Clean, Anchored Micro-Cards */
.hero-micro-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.95rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.10),
                0 4px 10px -2px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    pointer-events: auto;
}

.hero-micro-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 36px -6px rgba(15, 23, 42, 0.14),
                0 6px 14px -2px rgba(15, 23, 42, 0.06);
}

/* Anchored Positioning */
.card-clinical {
    top: 1.5rem;
    left: -2.25rem;
}

.card-design {
    bottom: 2.25rem;
    right: -2.5rem;
    max-width: 270px;
}

/* Micro Card Icons */
.micro-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 0.65rem;
    flex-shrink: 0;
}

.icon-pulse {
    background: #FEF3C7;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.icon-layers {
    background: #CCFBF1;
    border: 1px solid rgba(13, 148, 136, 0.25);
}

/* Micro Card Typography */
.micro-card-body {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.micro-card-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #D97706;
    margin-bottom: 2px;
}

.micro-card-value {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0F172A;
    letter-spacing: -0.01em;
}

.micro-card-sub {
    font-size: 0.7188rem;
    font-weight: 500;
    color: #64748B;
    margin-top: 2px;
    line-height: 1.3;
}

@media (prefers-color-scheme: dark) {
    .hero-micro-card {
        background: rgba(15, 23, 42, 0.94);
        border-color: #334155;
        box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.4);
    }
    .hero-micro-card .micro-card-value {
        color: #F8FAFC;
    }
    .hero-micro-card .micro-card-sub {
        color: #94A3B8;
    }
    .hero-availability-dock,
    .hero-image-badge {
        background: rgba(15, 23, 42, 0.94);
        border-color: #334155;
        color: #F8FAFC;
        box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.35);
    }
    .hero-eyebrow-badge {
        background-color: rgba(30, 41, 59, 0.85);
        border-color: #334155;
        color: #CBD5E1;
    }
    .hero-name,
    .hero-title {
        color: #F8FAFC;
    }
    .hero-role-subhead {
        color: #2DD4BF;
    }
    .hero-desc {
        color: #94A3B8;
    }
}

/* --- Transferable Skills Stats Bar --- */
.stats-section {
    padding: 0 0 5rem 0;
}

.stats-card {
    background-color: var(--color-white);
    border-radius: 1.25rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.stats-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.stat-item {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    border-right: 1px solid #E2E8F0;
    transition: background-color var(--transition-speed) ease;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background-color: #F8FAFC;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    font-size: 1.85rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748B;
    letter-spacing: 0.01em;
}

/* --- Featured Projects Section --- */
.work-section {
    padding: 2rem 0 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3.5rem auto;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748B;
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    background-color: var(--color-white);
    border-radius: 1.25rem;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 10px 20px -3px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.08), 0 10px 15px -5px rgba(13, 148, 136, 0.06);
    border-color: rgba(13, 148, 136, 0.35);
}

.project-thumbnail {
    height: 160px;
    background: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    transition: background 0.3s ease;
}

.project-card:hover .project-thumbnail {
    background: linear-gradient(135deg, #E6FFFA 0%, #CCFBF1 100%);
}

.thumbnail-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    transition: all 0.3s ease;
}

.project-card:hover .thumbnail-title {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}

.project-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    flex-grow: 1;
}

.project-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: rgba(13, 148, 136, 0.1);
    padding: 0.35rem 0.8rem;
    border-radius: var(--border-radius-pill);
    letter-spacing: 0.02em;
}

.project-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.35;
    transition: color 0.2s ease;
}

.project-card:hover .project-title {
    color: var(--color-primary);
}

.project-desc {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: auto;
}

.project-link {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.project-card:hover .project-link {
    gap: 0.6rem;
    color: var(--color-primary-hover);
}

/* --- About Page: Hero Section --- */
.text-center {
    text-align: center;
}

.badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: rgba(13, 148, 136, 0.12);
    padding: 0.4rem 1.1rem;
    border-radius: var(--border-radius-pill);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-hero {
    padding: 5.5rem 0 3.5rem 0;
}

.about-hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.15;
    max-width: 860px;
    margin: 0 auto 1.5rem auto;
    letter-spacing: -0.02em;
}

.about-hero-subtitle {
    font-size: 1.2rem;
    color: #64748B;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- About Page: Story Blocks --- */
.story-section {
    padding: 2rem 0 6rem 0;
}

.story-container {
    max-width: 860px;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.story-block {
    background-color: var(--color-white);
    border-radius: 1.5rem;
    border: 1px solid #E2E8F0;
    padding: 3.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.story-block:hover {
    box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.05);
}

.step-badge {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 0.6rem;
}

.story-heading {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.story-content {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.75;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.story-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0.5rem 0;
    padding-left: 0.25rem;
}

.story-list li {
    position: relative;
    padding-left: 1.75rem;
}

.story-list li::before {
    content: '•';
    position: absolute;
    left: 0.25rem;
    top: -0.1rem;
    color: var(--color-primary);
    font-size: 1.5rem;
    line-height: 1;
}

.insight-box {
    background-color: #F8FAFC;
    border-left: 4px solid var(--color-primary);
    border-radius: 0 1rem 1rem 0;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 0.5rem;
}

.insight-icon {
    font-size: 1.35rem;
    line-height: 1.4;
    flex-shrink: 0;
}

.insight-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* --- Toolkit 2x2 Grid --- */
.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 0.75rem 0;
}

.toolkit-card {
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.toolkit-card:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 148, 136, 0.4);
}

.toolkit-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toolkit-header h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
}

.toolkit-icon {
    font-size: 1.35rem;
}

.toolkit-card p {
    font-size: 0.925rem;
    color: #64748B;
    line-height: 1.55;
    margin: 0;
}

/* --- Skill Tags --- */
.skill-tags-wrapper {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skill-tags-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.tag {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1.1rem;
    border-radius: var(--border-radius-pill);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Care-related tags: amber/soft yellow */
.tag-amber {
    background-color: #FEF3C7;
    color: #B45309;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Engineering-related tags: teal */
.tag-teal {
    background-color: #CCFBF1;
    color: #0F766E;
    border: 1px solid rgba(13, 148, 136, 0.3);
}

/* --- CTA Section --- */
.cta-section {
    padding: 2rem 0 6rem 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--color-text) 0%, #0F172A 100%);
    color: var(--color-white);
    border-radius: 2rem;
    padding: 4.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.15);
}

.cta-card .badge {
    background-color: rgba(13, 148, 136, 0.25);
    color: #2DD4BF;
    border: 1px solid rgba(45, 212, 191, 0.3);
}

.cta-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.cta-text,
.cta-card .cta-desc {
    font-size: 1.15rem;
    color: #CBD5E1;
    max-width: 640px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.cta-card .btn-outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.45);
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cta-card .btn-outline:hover,
.cta-card .btn-outline:focus-visible {
    background-color: var(--color-white);
    color: var(--color-text);
    border-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.35);
}

.btn-cta {
    font-size: 1.05rem;
    padding: 0.875rem 2.5rem;
    margin-top: 0.5rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-white);
    border-top: 1px solid #E2E8F0;
    padding: 2.25rem 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-left .copyright {
    font-size: 0.9rem;
    color: #64748B;
    font-weight: 500;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-social-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #64748B;
    transition: color var(--transition-speed) ease;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
    color: var(--color-primary);
}

/* --- Scroll-Triggered Fade-Up Animations --- */
/* Resilient default: content is visible by default so missing or slow JS never renders a blank page */
.fade-up {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

/* When JS is initialized, hide un-intersected elements to animate smoothly */
html.js-ready .fade-up:not(.visible) {
    opacity: 0;
    transform: translateY(24px);
}

.fade-up.visible,
html.js-ready .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* --- Responsive Design --- */
@media screen and (max-width: 1024px) {
    .hero-container {
        gap: 2.5rem;
    }

    .card-clinical {
        left: -1rem;
    }

    .card-design {
        right: -1rem;
        max-width: 245px;
    }

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

@media screen and (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .logo-name {
        font-size: 0.95rem;
    }

    .logo-tag {
        font-size: 0.625rem;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.5s ease,
            visibility 0.5s;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .btn-primary {
        font-size: 1.1rem;
        padding: 0.875rem 2.5rem;
        margin-top: 1rem;
    }

    /* Hero Responsive */
    .hero {
        padding: 4rem 0 4.5rem 0;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.25rem;
        text-align: center;
    }

    .hero-eyebrow-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-name,
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-role-subhead {
        font-size: 1.15rem;
        justify-content: center;
    }

    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        width: 100%;
        max-width: 300px;
        margin: 0;
    }

    .hero-image-wrapper {
        aspect-ratio: 4 / 5;
        max-width: 350px;
        margin: 0 auto;
    }

    .card-clinical {
        top: 0.75rem;
        left: -0.5rem;
        padding: 0.6rem 0.85rem;
    }

    .card-design {
        bottom: 1.75rem;
        right: -0.5rem;
        padding: 0.6rem 0.85rem;
        max-width: 230px;
    }

    /* Stats Bar Responsive */
    .stats-section {
        padding-bottom: 3.5rem;
    }

    .stats-card {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 1rem;
    }

    .stat-item {
        padding: 1.75rem 1rem;
        border-right: none;
        border-bottom: none;
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid #E2E8F0;
    }

    .stat-item:nth-child(-n+2) {
        border-bottom: 1px solid #E2E8F0;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8125rem;
    }

    /* Projects Responsive */
    .work-section {
        padding-bottom: 4rem;
    }

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

    .projects-grid {
        grid-template-columns: 1fr;
    }

    /* About Page Responsive */
    .about-hero {
        padding: 4rem 0 2.5rem 0;
    }

    .about-hero-title {
        font-size: 2.25rem;
    }

    .story-block {
        padding: 2.25rem 1.5rem;
    }

    .story-heading {
        font-size: 1.5rem;
    }

    .toolkit-grid {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 3.25rem 1.5rem;
    }

    .cta-heading {
        font-size: 1.85rem;
    }

    .footer-container {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    .footer-social-links {
        gap: 1.75rem;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 3.25rem 0 3.75rem 0;
    }

    .hero-name,
    .hero-title {
        font-size: 2.15rem;
    }

    .hero-role-subhead {
        font-size: 1.05rem;
    }

    .hero-desc {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-image-wrapper {
        max-width: 300px;
    }

    .card-clinical {
        top: -0.65rem;
        left: 0.25rem;
        padding: 0.5rem 0.75rem;
    }

    .card-design {
        bottom: -0.65rem;
        right: 0.25rem;
        padding: 0.5rem 0.75rem;
        max-width: 210px;
    }

    .hero-availability-dock {
        bottom: 0.85rem;
        font-size: 0.75rem;
        padding: 0.4rem 0.85rem;
    }
}

/* ==========================================================================
   Case Study Page Template Styles
   ========================================================================== */

.case-study-hero {
    padding: 3.5rem 0 2rem 0;
    background: radial-gradient(circle at 50% 0%, rgba(13, 148, 136, 0.06) 0%, transparent 65%);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748B;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
    color: var(--color-primary);
    transform: translateX(-4px);
}

.case-hero-header {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.case-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-primary);
    background-color: rgba(13, 148, 136, 0.1);
    padding: 0.4rem 1.1rem;
    border-radius: var(--border-radius-pill);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.case-title {
    font-size: 3.15rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.case-subtitle {
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.65;
    max-width: 780px;
    margin: 0 auto 2.75rem auto;
}

/* Case Metadata Grid */
.case-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: var(--color-white);
    padding: 1.85rem 2.25rem;
    border-radius: 1.25rem;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    margin: 0 auto 3.5rem auto;
    max-width: 1000px;
    text-align: left;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94A3B8;
}

.meta-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

.meta-value.highlight {
    color: var(--color-primary);
    font-weight: 700;
}

/* Product Hero Mockup Showcase */
.case-mockup-wrapper {
    max-width: 1000px;
    margin: 0 auto 4rem auto;
    background: #0F172A;
    border-radius: 1.25rem;
    border: 1px solid #334155;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.mockup-window-header {
    background: #1E293B;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #334155;
}

.mockup-traffic-lights {
    display: flex;
    gap: 6px;
}

.traffic-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.traffic-dot.red {
    background-color: #EF4444;
}

.traffic-dot.yellow {
    background-color: #F59E0B;
}

.traffic-dot.green {
    background-color: #10B981;
}

.mockup-address-bar {
    background: rgba(15, 23, 42, 0.6);
    color: #94A3B8;
    font-size: 0.75rem;
    padding: 0.35rem 1.2rem;
    border-radius: var(--border-radius-pill);
    margin-left: auto;
    margin-right: auto;
    font-family: monospace;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.mockup-dashboard {
    padding: 2.25rem;
    background: linear-gradient(180deg, #0F172A 0%, #115E59 100%);
    color: #F8FAFC;
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 1.75rem;
}

.dashboard-card {
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.dash-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #F8FAFC;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dash-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: #34D399;
    background: rgba(52, 211, 153, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: var(--border-radius-pill);
}

.handover-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.handover-item {
    background: rgba(15, 23, 42, 0.55);
    border-left: 3px solid var(--color-primary);
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.handover-item.urgent {
    border-left-color: var(--color-accent);
}

.handover-resident {
    font-weight: 600;
    color: #F1F5F9;
}

.handover-note {
    font-size: 0.75rem;
    color: #94A3B8;
}

.pulse-tracker {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pulse-meter {
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.pulse-bar {
    height: 100%;
    width: 86%;
    background: linear-gradient(90deg, #14B8A6 0%, #F59E0B 100%);
    border-radius: 4px;
}

.pulse-stats-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #94A3B8;
}

/* Sticky Quick-Nav / Table of Contents */
.case-nav-sticky {
    position: sticky;
    top: calc(var(--nav-height) + 1rem);
    z-index: 100;
    margin-bottom: 3.5rem;
}

.case-nav-bar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid #E2E8F0;
    border-radius: var(--border-radius-pill);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 700px;
    margin: 0 auto;
    overflow-x: auto;
}

.case-nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748B;
    text-decoration: none;
    padding: 0.45rem 1rem;
    border-radius: var(--border-radius-pill);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.case-nav-link:hover {
    color: var(--color-primary);
    background: rgba(13, 148, 136, 0.08);
}

/* Case Study Article Content */
.case-article {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem 1.5rem;
}

.case-section {
    padding-top: 5rem;
    margin-top: -3.5rem;
    margin-bottom: 4.5rem;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 4.5rem;
}

.case-section:last-of-type {
    border-bottom: none;
    padding-bottom: 2rem;
}

.section-tag-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    background: rgba(13, 148, 136, 0.1);
    padding: 0.35rem 0.85rem;
    border-radius: var(--border-radius-pill);
    margin-bottom: 1rem;
}

.case-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.case-paragraph {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
}

.case-paragraph strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Callout Box */
.case-callout {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.06) 0%, rgba(245, 158, 11, 0.06) 100%);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 1rem 1rem 0;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
}

.case-callout.amber-border {
    border-left-color: var(--color-accent);
}

.callout-quote {
    font-size: 1.2rem;
    font-weight: 500;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.callout-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Insight & Problem Cards */
.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-box {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-box-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(13, 148, 136, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.feature-box-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
}

.feature-box-text {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.6;
}

/* Workflow Comparison Table / Container */
.workflow-compare-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.25rem;
    overflow: hidden;
    margin: 2.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.compare-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #F8FAFC;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid #E2E8F0;
}

.compare-header>div {
    padding: 1rem 1.5rem;
}

.compare-header .col-before {
    color: #EF4444;
    border-right: 1px solid #E2E8F0;
}

.compare-header .col-after {
    color: var(--color-primary);
}

.compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.95rem;
    line-height: 1.55;
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-row>div {
    padding: 1.25rem 1.5rem;
}

.compare-row .col-before {
    border-right: 1px solid #F1F5F9;
    color: #64748B;
}

.compare-row .col-after {
    color: #1E293B;
    font-weight: 500;
}

/* Impact Metrics Grid */
.impact-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin: 2.5rem 0;
}

.impact-metric-box {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.25rem;
    padding: 2rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease;
}

.impact-metric-box:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 148, 136, 0.4);
}

.impact-metric-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.impact-metric-number.amber {
    color: var(--color-accent);
}

.impact-metric-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

.impact-metric-desc {
    font-size: 0.8rem;
    color: #64748B;
    line-height: 1.4;
}

/* Learnings List */
.learning-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.learning-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    background: rgba(13, 148, 136, 0.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.learning-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.learning-content p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* Next Case Study Banner */
.next-case-wrapper {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.25rem;
    padding: 2.5rem;
    margin: 4rem 0 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.next-case-wrapper:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.next-case-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.next-case-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-primary);
}

.next-case-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.next-case-desc {
    font-size: 0.95rem;
    color: #64748B;
    margin: 0;
}

.next-case-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(13, 148, 136, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.next-case-wrapper:hover .next-case-arrow {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateX(6px);
}

/* Responsive Media Queries for Case Study */
@media screen and (max-width: 1024px) {
    .case-title {
        font-size: 2.6rem;
    }

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

    .mockup-dashboard {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .case-title {
        font-size: 2.15rem;
    }

    .case-subtitle {
        font-size: 1.1rem;
    }

    .case-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 1.5rem;
    }

    .card-grid-2,
    .card-grid-3 {
        grid-template-columns: 1fr;
    }

    .compare-header,
    .compare-row {
        grid-template-columns: 1fr;
    }

    .compare-header .col-before,
    .compare-row .col-before {
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
    }

    .case-nav-bar {
        justify-content: flex-start;
    }

    .next-case-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .logo-tag {
        display: none;
    }

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

    .impact-metrics-grid {
        grid-template-columns: 1fr;
    }

    .learning-card {
        flex-direction: column;
        gap: 1rem;
    }

    .float-healthcare {
        left: 2px;
    }

    .float-healthtech {
        right: 2px;
    }
}

/* ==========================================================================
   Download Resume Button Styles
   ========================================================================== */

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-white);
    color: var(--color-text);
    padding: 0.625rem 1.4rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid #CBD5E1;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-download:hover,
.btn-download:focus-visible {
    border-color: var(--color-accent);
    color: #B45309;
    background-color: #FFFBEB;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -2px rgba(245, 158, 11, 0.2);
}

.btn-download .pdf-icon {
    color: #EF4444;
    /* PDF Red */
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-download:hover .pdf-icon {
    transform: translateY(2px);
}

.file-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    background-color: rgba(239, 68, 68, 0.12);
    color: #DC2626;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    letter-spacing: 0.04em;
    margin-left: 0.25rem;
}

/* Navbar Download Resume */
.btn-download-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    background: rgba(241, 245, 249, 0.85);
    border: 1px solid #CBD5E1;
    padding: 0.35rem 0.85rem;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.btn-download-nav .pdf-icon {
    color: #EF4444;
}

.btn-download-nav:hover {
    background-color: #FFFBEB;
    border-color: var(--color-accent);
    color: #B45309;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.15);
}

/* Footer Resume Download Link */
.footer-resume-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #CBD5E1;
    text-decoration: none;
    padding: 0.35rem 0.85rem;
    border-radius: var(--border-radius-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

.footer-resume-link svg {
    color: #F87171;
}

.footer-resume-link:hover {
    color: var(--color-white);
    background: rgba(13, 148, 136, 0.25);
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

/* ==========================================================================
   Testimonials Section (Homepage)
   ========================================================================== */

.testimonials-section {
    padding: 5.5rem 0 6.5rem 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(241, 245, 249, 0.75) 100%);
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.25rem;
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 10px 20px -3px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.08), 0 10px 15px -5px rgba(13, 148, 136, 0.08);
    border-color: rgba(13, 148, 136, 0.4);
}

.testimonial-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-pill {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--border-radius-pill);
}

.testimonial-pill.teal {
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--color-primary);
}

.testimonial-pill.amber {
    background-color: rgba(245, 158, 11, 0.12);
    color: #B45309;
}

.quote-stars {
    display: flex;
    gap: 3px;
    color: var(--color-accent);
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    font-style: italic;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #F1F5F9;
    padding-top: 1.25rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0D9488 0%, #1E293B 100%);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    border: 2px solid #FFFFFF;
}

.author-avatar.amber {
    background: linear-gradient(135deg, #F59E0B 0%, #B45309 100%);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
}

.author-role {
    font-size: 0.8rem;
    color: #64748B;
    line-height: 1.35;
}

/* ==========================================================================
   Skills Visual Representation (About Page)
   ========================================================================== */

.skills-visual-container {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 10px 20px -3px rgba(15, 23, 42, 0.03);
    margin-top: 3.5rem;
}

.skills-visual-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem auto;
}

.skills-visual-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.skills-visual-subtitle {
    font-size: 1.05rem;
    color: #64748B;
    line-height: 1.6;
}

.skills-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3.5rem;
    align-items: center;
}

/* Radar Chart */
.radar-chart-card {
    background: radial-gradient(circle at 50% 50%, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
    border-radius: 1.25rem;
    border: 1px solid #F1F5F9;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.radar-chart-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    overflow: visible;
}

.radar-legend {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.35rem;
}

.legend-dot.amber {
    background-color: var(--color-accent);
}

.legend-dot.teal {
    background-color: var(--color-primary);
}

/* Skill Bars Stack */
.skill-bars-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-bar-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-bar-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.skill-category-tag.care {
    background-color: rgba(245, 158, 11, 0.12);
    color: #B45309;
}

.skill-category-tag.tech {
    background-color: rgba(13, 148, 136, 0.1);
    color: var(--color-primary);
}

.skill-bar-percent {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-text);
}

.skill-bar-percent.amber {
    color: var(--color-accent);
}

.skill-bar-percent.teal {
    color: var(--color-primary);
}

.skill-bar-track {
    width: 100%;
    height: 10px;
    background-color: #F1F5F9;
    border-radius: var(--border-radius-pill);
    overflow: hidden;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    border-radius: var(--border-radius-pill);
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-bar-fill.amber {
    background: linear-gradient(90deg, #FBBF24 0%, #F59E0B 100%);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.skill-bar-fill.teal {
    background: linear-gradient(90deg, #2DD4BF 0%, #0D9488 100%);
    box-shadow: 0 0 10px rgba(13, 148, 136, 0.35);
}

.skill-bar-subtext {
    font-size: 0.8rem;
    color: #64748B;
    line-height: 1.4;
}

/* ==========================================================================
   Blog Section & Blog Page Styles
   ========================================================================== */

.blog-section {
    padding: 5.5rem 0 6.5rem 0;
    background: var(--color-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.blog-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 10px 20px -3px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.08), 0 10px 15px -5px rgba(13, 148, 136, 0.06);
    border-color: rgba(13, 148, 136, 0.35);
}

.blog-card-thumbnail {
    height: 190px;
    background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1.5rem;
    transition: background 0.3s ease;
}

.blog-card:hover .blog-card-thumbnail {
    background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
}

.blog-thumb-icon {
    font-size: 2.75rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card:hover .blog-thumb-icon {
    transform: scale(1.15) rotate(3deg);
}

.blog-card-body {
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.85rem;
}

.blog-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #64748B;
}

.blog-category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--border-radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-category-tag.career {
    background-color: rgba(245, 158, 11, 0.12);
    color: #B45309;
}

.blog-category-tag.design {
    background-color: rgba(99, 102, 241, 0.12);
    color: #4F46E5;
}

.blog-category-tag.engineering {
    background-color: rgba(13, 148, 136, 0.12);
    color: var(--color-primary);
}

.blog-category-tag.ai {
    background-color: rgba(16, 185, 129, 0.12);
    color: #065F46;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.35;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--color-primary);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: auto;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #F1F5F9;
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.blog-read-more {
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.blog-card:hover .blog-read-more {
    gap: 0.6rem;
    color: var(--color-primary-hover);
}

.blog-read-time {
    color: #94A3B8;
    font-size: 0.8rem;
}

/* Category Filter Pills on Blog Page */
.blog-filter-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2.5rem 0 3.5rem 0;
}

.filter-btn {
    background: var(--color-white);
    border: 1px solid #CBD5E1;
    color: #64748B;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.contact-section {
    padding: 4rem 0 7rem 0;
    background: radial-gradient(circle at 50% 0%, rgba(13, 148, 136, 0.05) 0%, transparent 65%);
}

.contact-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.contact-subtitle {
    font-size: 1.15rem;
    color: #64748B;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3.5rem;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 10px 20px -3px rgba(15, 23, 42, 0.03);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(13, 148, 136, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.contact-icon-box.amber {
    background: rgba(245, 158, 11, 0.12);
    color: #B45309;
}

.contact-item-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94A3B8;
    margin-bottom: 0.25rem;
}

.contact-item-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.contact-item-value:hover {
    color: var(--color-primary);
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #065F46;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

.availability-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10B981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: pulse 2s infinite;
}

/* Contact Form Card */
.contact-form-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.5rem;
    padding: 3rem 2.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 10px 20px -3px rgba(15, 23, 42, 0.03);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-label span.required {
    color: #EF4444;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1.15rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--color-text);
    background: #F8FAFC;
    border: 1.5px solid #CBD5E1;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    background: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3.5px rgba(13, 148, 136, 0.15);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-status {
    display: none;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid #10B981;
    color: #065F46;
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #EF4444;
    color: #991B1B;
}

.form-status a {
    color: inherit;
    text-decoration: underline;
    font-weight: 700;
}

/* ==========================================================================
   Vertical Animated Timeline (About Page)
   ========================================================================== */

.timeline-section {
    margin: 4.5rem 0;
    padding: 4rem 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(241, 245, 249, 0.7) 100%);
}

.timeline-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
}

.timeline-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.timeline-subtitle {
    font-size: 1.05rem;
    color: #64748B;
    line-height: 1.6;
}

.timeline-container {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 1rem 0;
}

/* Vertical Connecting Stem */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 31px;
    width: 3px;
    background: linear-gradient(180deg, #F59E0B 0%, #0D9488 60%, #14B8A6 100%);
    border-radius: 3px;
    z-index: 1;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3.5rem;
    z-index: 2;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-node {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
    box-shadow: 0 8px 16px -2px rgba(13, 148, 136, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.timeline-item.amber .timeline-node {
    border-color: var(--color-accent);
    box-shadow: 0 8px 16px -2px rgba(245, 158, 11, 0.25);
}

.timeline-item:hover .timeline-node {
    transform: scale(1.12);
    box-shadow: 0 12px 24px -2px rgba(13, 148, 136, 0.35);
}

.timeline-item.amber:hover .timeline-node {
    box-shadow: 0 12px 24px -2px rgba(245, 158, 11, 0.35);
}

.timeline-content-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 10px 20px -3px rgba(15, 23, 42, 0.03);
    flex-grow: 1;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-content-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13, 148, 136, 0.35);
}

.timeline-year-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--border-radius-pill);
    margin-bottom: 0.75rem;
}

.timeline-year-badge.amber {
    background-color: rgba(245, 158, 11, 0.12);
    color: #B45309;
}

.timeline-year-badge.teal {
    background-color: rgba(13, 148, 136, 0.12);
    color: var(--color-primary);
}

.timeline-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

.timeline-subheading {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.timeline-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* ==========================================================================
   Responsive Adjustments for Blog, Contact, and Timeline
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .skills-dual-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .skills-visual-container {
        padding: 2rem 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline,
    .hero-buttons .btn-download {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .contact-title {
        font-size: 2.35rem;
    }

    .contact-form-card {
        padding: 2rem 1.5rem;
    }

    .timeline-container::before {
        left: 23px;
    }

    .timeline-node {
        width: 48px;
        height: 48px;
        font-size: 1.35rem;
    }

    .timeline-item {
        gap: 1.25rem;
    }

    .timeline-content-card {
        padding: 1.5rem;
    }
}

/* Keyframe Animations */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.15);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Mentorship Page Styles
   ========================================================================== */

.mentorship-hero {
    padding: 5rem 0 3.5rem 0;
    text-align: center;
}

.mentorship-hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.18;
    max-width: 860px;
    margin: 0 auto 1.5rem auto;
    letter-spacing: -0.025em;
}

.mentorship-hero-subtitle {
    font-size: 1.25rem;
    color: #64748B;
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.65;
}

.mentorship-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Mentorship Section Base */
.mentorship-section {
    padding: 4.5rem 0;
    border-top: 1px solid #E2E8F0;
}

.mentorship-section:nth-of-type(even) {
    background-color: var(--color-white);
}

.mentorship-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.mentorship-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.mentorship-section-subtitle {
    font-size: 1.1rem;
    color: #64748B;
    line-height: 1.6;
}

/* Why I'm Doing This Story Block */
.story-personal-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.75rem;
    padding: 3.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 10px 20px -3px rgba(15, 23, 42, 0.03);
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
    overflow: hidden;
}

.story-personal-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2.5rem;
    font-size: 8rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(13, 148, 136, 0.08);
    pointer-events: none;
}

.story-personal-p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.75;
    margin: 0;
}

.story-personal-p strong {
    color: var(--color-text);
}

.story-callout-box {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.07) 0%, rgba(245, 158, 11, 0.07) 100%);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 1rem 1rem 0;
    padding: 1.5rem 1.75rem;
    margin-top: 0.5rem;
}

.story-callout-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

/* 8-Item What You'll Get Grid */
.mentorship-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.mentorship-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.mentorship-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(13, 148, 136, 0.05);
    border-color: rgba(13, 148, 136, 0.4);
}

.mentorship-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(13, 148, 136, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mentorship-card:hover .mentorship-icon-box {
    transform: scale(1.12);
}

.mentorship-card:nth-child(even) .mentorship-icon-box {
    background: rgba(245, 158, 11, 0.12);
}

.mentorship-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.mentorship-card-desc {
    font-size: 0.925rem;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Who This Is For Checklist */
.checklist-container {
    max-width: 820px;
    margin: 0 auto;
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.75rem;
    padding: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 10px 20px -3px rgba(15, 23, 42, 0.03);
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.check-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.2rem;
    font-weight: 700;
}

.check-text {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.65;
}

.check-text strong {
    color: var(--color-text);
}

/* How It Works Steps Grid */
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.25rem;
    padding: 2.25rem 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
}

.step-number {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(13, 148, 136, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: var(--border-radius-pill);
    display: inline-block;
    align-self: flex-start;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.step-desc {
    font-size: 0.925rem;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Application Form Card */
.apply-wrapper {
    max-width: 780px;
    margin: 0 auto;
}

.apply-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.75rem;
    padding: 3.25rem 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 10px 25px -3px rgba(15, 23, 42, 0.04);
}

/* Mentorship Responsive Adjustments */
@media screen and (max-width: 1024px) {
    .mentorship-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media screen and (max-width: 768px) {
    .mentorship-grid {
        grid-template-columns: 1fr;
    }

    .process-steps-grid {
        grid-template-columns: 1fr;
    }

    .story-personal-card {
        padding: 2.25rem 1.5rem;
    }

    .checklist-container {
        padding: 2rem 1.5rem;
    }

    .apply-card {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   Long-Form Blog Article & Reading Styles
   ========================================================================== */

.article-section {
    padding: 3.5rem 0 6rem 0;
    background: radial-gradient(circle at 50% 0%, rgba(13, 148, 136, 0.04) 0%, transparent 60%);
}

.article-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-back-nav {
    margin-bottom: 2.25rem;
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.4rem 0.9rem;
    border-radius: var(--border-radius-pill);
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.2);
    transition: all var(--transition-speed) ease;
}

.article-back-link:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.article-header {
    margin-bottom: 3rem;
}

.article-meta-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.article-title {
    font-size: clamp(2.1rem, 4.2vw, 3rem);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.22;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
}

.article-lead {
    font-size: 1.225rem;
    line-height: 1.7;
    color: #475569;
    font-weight: 450;
    margin-bottom: 2rem;
}

.article-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.article-author-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.article-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0D9488 0%, #1E293B 100%);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.article-author-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.article-author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
}

.article-author-role {
    font-size: 0.8rem;
    color: #64748B;
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #64748B;
}

.article-meta-bullet {
    color: #CBD5E1;
}

/* Article Body Typography */
.article-body {
    padding: 2.5rem 0;
    color: #334155;
    font-size: 1.1rem;
    line-height: 1.85;
}

.article-body p {
    margin-bottom: 1.75rem;
}

.article-body h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 3rem 0 1.25rem 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.article-body h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 2.25rem 0 0.85rem 0;
    line-height: 1.4;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0 2rem 1.5rem;
    padding-left: 0.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

.article-body strong {
    color: var(--color-text);
    font-weight: 700;
}

.article-body blockquote {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05) 0%, rgba(241, 245, 249, 0.6) 100%);
    border-left: 4px solid var(--color-primary);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.75;
    color: #0F172A;
}

.article-callout {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-left: 4px solid var(--color-accent);
    border-radius: 0 16px 16px 0;
    padding: 1.75rem 2rem;
    margin: 2.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.article-callout-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #B45309;
    margin-bottom: 0.6rem;
}

.article-callout p {
    margin: 0;
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.7;
}

.article-takeaways-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 1.5rem;
    padding: 2.5rem 2.25rem;
    color: white;
    margin: 3.5rem 0;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2);
}

.article-takeaways-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.article-takeaways-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-takeaways-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: #CBD5E1;
    line-height: 1.6;
    margin: 0;
}

.article-takeaway-num {
    background: rgba(13, 148, 136, 0.3);
    color: #2DD4BF;
    font-weight: 700;
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Author Box at Bottom of Article */
.article-author-bio-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.5rem;
    padding: 2.25rem;
    margin: 3.5rem 0;
    display: flex;
    gap: 1.75rem;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.author-bio-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0D9488 0%, #1E293B 100%);
    color: white;
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(13, 148, 136, 0.25);
}

.author-bio-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

.author-bio-content p {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.author-bio-links {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.author-bio-links a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-bio-links a:hover {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

/* Article Navigation / Read Next Section */
.article-next-section {
    border-top: 1px solid #E2E8F0;
    padding-top: 3rem;
    margin-top: 3rem;
}

.article-next-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-next-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media screen and (max-width: 768px) {
    .article-title {
        font-size: 2.1rem;
    }

    .article-lead {
        font-size: 1.1rem;
    }

    .article-body {
        font-size: 1.05rem;
    }

    .article-author-bio-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .author-bio-links {
        justify-content: center;
    }

    .article-next-grid {
        grid-template-columns: 1fr;
    }
}

/* Article Hero Cover & Figures */
.article-cover-figure {
    margin: 2rem 0 3rem 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 30px -6px rgba(15, 23, 42, 0.12), 0 4px 8px -2px rgba(13, 148, 136, 0.08);
    border: 1px solid #E2E8F0;
    background: #0F172A;
}

.article-cover-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 480px;
}

.article-cover-caption {
    padding: 0.85rem 1.25rem;
    background: #F8FAFC;
    color: #64748B;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    border-top: 1px solid #E2E8F0;
}

/* Medium External Article Badge */
.medium-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: #000000;
    color: #FFFFFF !important;
    font-size: 0.825rem;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.medium-badge-link:hover {
    background: #242424;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.medium-badge-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Blog Thumbnail Image Support */
.blog-card-thumbnail.has-image {
    padding: 0;
    overflow: hidden;
    background: #0F172A;
}

.blog-card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-card:hover .blog-card-thumb-img {
    transform: scale(1.06);
}

/* ==========================================================================
   ENHANCED WORK BENTO SHOWCASE & MOCKUP PREVIEWS
   ========================================================================== */
.work-bento-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Flagship Spotlight Card */
.spotlight-project-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.spotlight-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 40px -12px rgba(15, 23, 42, 0.12), 0 12px 20px -6px rgba(13, 148, 136, 0.08);
    border-color: rgba(13, 148, 136, 0.4);
}

.spotlight-mockup-wrapper {
    background: linear-gradient(145deg, #0B0F17 0%, #151D2A 100%);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #E2E8F0;
}

.spotlight-mockup-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spotlight-project-card:hover .spotlight-mockup-img {
    transform: scale(1.025);
}

.spotlight-body {
    padding: 2.75rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
}

.spotlight-badge-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.spotlight-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.85rem;
    border-radius: var(--border-radius-pill);
    background: rgba(13, 148, 136, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.spotlight-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.25;
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}

.spotlight-project-card:hover .spotlight-title {
    color: var(--color-primary);
}

.spotlight-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.65;
}

.spotlight-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: #F8FAFC;
    padding: 1rem 1.25rem;
    border-radius: 0.85rem;
    border: 1px solid #E2E8F0;
    margin: 0.5rem 0;
}

.spotlight-metric-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.spotlight-metric-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.2;
}

.spotlight-metric-val.amber {
    color: #D97706;
}

.spotlight-metric-lbl {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 600;
    line-height: 1.3;
}

.spotlight-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spotlight-tech-pill {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 0.4rem;
    background: #F1F5F9;
    color: #475569;
    font-weight: 500;
}

.spotlight-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #F1F5F9;
}

.spotlight-read-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.spotlight-project-card:hover .spotlight-read-link {
    gap: 0.7rem;
    color: var(--color-primary-hover);
}

/* Secondary Modular Projects Grid (2 columns) */
.modular-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.modular-project-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 6px 16px -4px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.modular-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.1);
    border-color: rgba(13, 148, 136, 0.4);
}

.modular-mockup-wrapper {
    background: #0B0F17;
    padding: 1.25rem;
    border-bottom: 1px solid #E2E8F0;
    overflow: hidden;
}

.modular-mockup-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modular-project-card:hover .modular-mockup-img {
    transform: scale(1.03);
}

.modular-body {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-grow: 1;
}

.modular-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    transition: color 0.2s ease;
}

.modular-project-card:hover .modular-title {
    color: var(--color-primary);
}

.modular-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: auto;
}

/* ==========================================================================
   TRANSLATION BRIDGE (BEDSIDE TO BROWSER DUAL CARDS)
   Refactored for Enhanced Visual Hierarchy, Scannability & Visual Proof
   ========================================================================== */
.translation-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    border-bottom: 1px solid #E2E8F0;
}

.translation-bridge-card {
    background: #0B132B;
    background: radial-gradient(circle at 50% 0%, #172554 0%, #0B132B 60%, #090E1A 100%);
    border-radius: 1.75rem;
    padding: 3.5rem 2.75rem;
    color: #F8FAFC;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.translation-bridge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #F59E0B 0%, #2DD4BF 50%, #38BDF8 100%);
}

.translation-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 3rem auto;
}

.translation-badge-wrapper {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.trans-step-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.775rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2DD4BF;
    background: rgba(13, 148, 136, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.3);
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.1);
}

.trans-tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F59E0B;
    box-shadow: 0 0 8px #F59E0B;
    animation: tagPulse 2.5s infinite ease-in-out;
}

@keyframes tagPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 12px #2DD4BF; background: #2DD4BF; }
}

.translation-title {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin: 0.5rem 0 0 0;
}

.translation-subtitle {
    font-size: 1.05rem;
    color: #94A3B8;
    line-height: 1.65;
    margin-top: 0.85rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Interactive Affordance Pill */
.trans-interactive-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #94A3B8;
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    margin-top: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(45, 212, 191, 0.2);
    color: #2DD4BF;
    font-size: 0.85rem;
    font-weight: 800;
}

/* 3-Column Responsive Grid */
.translation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

/* ==========================================================================
   OPTION A: INTERACTIVE 3D FLIP CARDS
   ========================================================================== */
.trans-flip-card {
    perspective: 1200px;
    height: 100%;
    min-height: 470px;
    cursor: pointer;
    outline: none;
    user-select: none;
}

.trans-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 470px;
    transition: transform 0.65s cubic-bezier(0.2, 0.85, 0.35, 1.15);
    transform-style: preserve-3d;
    border-radius: 1.4rem;
}

/* Hover flip on desktop */
@media (hover: hover) {
    .trans-flip-card:hover .trans-flip-inner {
        transform: rotateY(180deg);
    }
}

/* Click/active toggle on mobile & keyboard */
.trans-flip-card.is-flipped .trans-flip-inner {
    transform: rotateY(180deg) !important;
}

/* Common Card Face Styling */
.trans-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 1.4rem;
    padding: 2.25rem 1.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Front Face: Bedside Reality (Warm Amber Accent) */
.trans-face-front {
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.12) 0%, #0F172A 75%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-top: 4px solid #F59E0B;
}

.trans-flip-card:hover .trans-face-front {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 20px 45px -12px rgba(245, 158, 11, 0.25), 0 0 25px -5px rgba(245, 158, 11, 0.15);
}

/* Back Face: Engineering Architecture (Teal Accent) */
.trans-face-back {
    background: radial-gradient(circle at bottom right, rgba(13, 148, 136, 0.16) 0%, #091724 75%);
    border: 1px solid rgba(45, 212, 191, 0.38);
    border-top: 4px solid #2DD4BF;
    transform: rotateY(180deg);
}

.trans-flip-card:hover .trans-face-back,
.trans-flip-card.is-flipped .trans-face-back {
    border-color: rgba(45, 212, 191, 0.6);
    box-shadow: 0 20px 45px -12px rgba(13, 148, 136, 0.28), 0 0 30px -5px rgba(45, 212, 191, 0.2);
}

/* Face Top Section */
.trans-face-top {
    display: flex;
    flex-direction: column;
}

.trans-face-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
}

.trans-badge-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.trans-badge-eyebrow.eyebrow-amber {
    color: #FBBF24;
}

.trans-badge-eyebrow.eyebrow-teal {
    color: #2DD4BF;
}

.trans-condition-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.12);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.25);
    white-space: nowrap;
}

.trans-tech-tag {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    background: rgba(13, 148, 136, 0.15);
    color: #2DD4BF;
    border: 1px solid rgba(45, 212, 191, 0.3);
    white-space: nowrap;
}

.trans-headline {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 0.85rem 0;
    letter-spacing: -0.015em;
    color: #FFFFFF;
}

.trans-body {
    font-size: 0.925rem;
    color: #CBD5E1;
    line-height: 1.65;
    margin: 0 0 1.25rem 0;
}

.trans-context-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.775rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    border-radius: 0.55rem;
    background: rgba(245, 158, 11, 0.08);
    color: #FCD34D;
    border: 1px solid rgba(245, 158, 11, 0.22);
    margin-top: 0.25rem;
}

.chip-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.chip-pulse-dot.amber {
    background: #F59E0B;
    box-shadow: 0 0 6px #F59E0B;
}

.chip-pulse-dot.teal {
    background: #2DD4BF;
    box-shadow: 0 0 6px #2DD4BF;
}

/* Flip Trigger Action Buttons */
.trans-face-bottom {
    margin-top: 1.5rem;
}

.trans-flip-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem;
    border-radius: 0.85rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-to-arch {
    background: rgba(245, 158, 11, 0.12);
    color: #FCD34D;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.trans-flip-card:hover .btn-to-arch {
    background: #F59E0B;
    color: #0F172A;
    border-color: #F59E0B;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}

.btn-to-arch svg {
    transition: transform 0.25s ease;
}

.trans-flip-card:hover .btn-to-arch svg {
    transform: translateX(4px);
}

.btn-to-front {
    background: rgba(13, 148, 136, 0.15);
    color: #2DD4BF;
    border: 1px solid rgba(45, 212, 191, 0.35);
}

.trans-flip-card:hover .btn-to-front,
.trans-flip-card.is-flipped .btn-to-front {
    background: #0D9488;
    color: #FFFFFF;
    border-color: #2DD4BF;
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.4);
}

.btn-to-front svg {
    transition: transform 0.25s ease;
}

.trans-flip-card:hover .btn-to-front svg {
    transform: translateX(-4px);
}

/* Tangible Micro-Proof Elements on Back Face */
.trans-proof-box {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(45, 212, 191, 0.24);
    border-radius: 0.85rem;
    padding: 0.9rem 1rem;
    margin-top: 0.5rem;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.proof-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
}

.proof-meta-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.proof-chip-state.teal-state {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    background: rgba(13, 148, 136, 0.16);
    color: #2DD4BF;
    border: 1px solid rgba(45, 212, 191, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Micro-Proof 1: 2-Tap Rule */
.proof-visual-flow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flow-pill {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.5rem;
    background: #1E293B;
    border: 1px solid #334155;
}

.flow-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #334155;
    color: #F8FAFC;
    font-size: 0.7rem;
    font-weight: 800;
}

.flow-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #F1F5F9;
    white-space: nowrap;
}

.flow-pill.active-pill {
    background: rgba(13, 148, 136, 0.22);
    border-color: #2DD4BF;
}

.flow-pill.active-pill .flow-step {
    background: #0D9488;
    color: #FFFFFF;
}

.flow-arrow {
    color: #64748B;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Micro-Proof 2: IndexedDB Local Sync */
.proof-sync-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.sync-node {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.5rem;
    background: #1E293B;
    border: 1px solid #334155;
    font-size: 0.725rem;
    font-weight: 700;
    color: #F1F5F9;
    white-space: nowrap;
}

.sync-pulse-line {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 0.35rem;
}

.sync-label {
    font-size: 0.65rem;
    color: #2DD4BF;
    font-weight: 700;
    display: block;
    border-bottom: 1px dashed rgba(45, 212, 191, 0.5);
    padding-bottom: 3px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Micro-Proof 3: Discovery Pipeline */
.proof-pipeline-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
}

.track-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 0.55rem;
    border-radius: 0.45rem;
    background: #1E293B;
    color: #94A3B8;
    border: 1px solid #334155;
    text-align: center;
    white-space: nowrap;
}

.track-pill.active-track {
    background: rgba(13, 148, 136, 0.22);
    color: #2DD4BF;
    border-color: rgba(45, 212, 191, 0.5);
}

.track-arrow {
    color: #64748B;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Mobile & Tablet Responsiveness */
@media screen and (max-width: 1024px) {
    .translation-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trans-flip-card,
    .trans-flip-inner {
        min-height: 440px;
    }

    .translation-bridge-card {
        padding: 2.75rem 2rem;
    }
}

@media screen and (max-width: 640px) {
    .translation-section {
        padding: 3.5rem 0;
    }

    .translation-bridge-card {
        padding: 2rem 1.25rem;
        border-radius: 1.25rem;
    }

    .trans-face {
        padding: 1.75rem 1.25rem;
    }

    .trans-headline {
        font-size: 1.2rem;
    }

    .trans-body {
        font-size: 0.875rem;
    }

    .trans-flip-card,
    .trans-flip-inner {
        min-height: 460px;
    }

    .trans-condition-tag, .trans-tech-tag {
        font-size: 0.65rem;
    }

    .flow-label, .sync-node, .track-pill {
        font-size: 0.675rem;
    }
}

/* ==========================================================================
   AUTHENTIC ASYMMETRIC TESTIMONIALS
   ========================================================================== */
.testimonials-asymmetric-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

/* Anchor Featured Quote */
.testimonial-anchor-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border: 1px solid #CBD5E1;
    border-left: 5px solid var(--color-primary);
    border-radius: 1.25rem;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.testimonial-quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    opacity: 0.07;
    fill: var(--color-primary);
    pointer-events: none;
}

.testimonial-anchor-quote {
    font-size: 1.2rem;
    line-height: 1.75;
    color: #1E293B;
    font-weight: 500;
    font-style: italic;
    position: relative;
    z-index: 1;
    margin-bottom: 1.75rem;
}

/* Secondary Testimonial Notes Grid */
.testimonial-notes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.testimonial-note-card {
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-note-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08);
}

.testimonial-note-card.amber {
    border-top: 3px solid #F59E0B;
}

.testimonial-note-card.teal {
    border-top: 3px solid #0D9488;
}

.testimonial-note-quote {
    font-size: 1rem;
    line-height: 1.65;
    color: #334155;
    font-style: italic;
}

/* ==========================================================================
   ABOUT PAGE VISUAL ENHANCEMENTS
   ========================================================================== */
.about-portrait-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
    background: var(--color-white);
    border: 1px solid #E2E8F0;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.06);
    margin-bottom: 4rem;
    align-items: center;
}

.about-portrait-img-box {
    width: 100%;
    height: 100%;
    min-height: 380px;
    background: #0F172A;
    position: relative;
    overflow: hidden;
}

.about-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-portrait-content {
    padding: 2.5rem 2.5rem 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-visual-container {
    margin: 3.5rem 0;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.2);
    border: 1px solid #334155;
    background: #0F172A;
}

.about-visual-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media screen and (max-width: 1024px) {
    .spotlight-project-card {
        grid-template-columns: 1fr;
    }

    .spotlight-mockup-wrapper {
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
        padding: 1.5rem;
    }

    .translation-grid {
        grid-template-columns: 1fr;
    }

    .about-portrait-card {
        grid-template-columns: 1fr;
    }

    .about-portrait-content {
        padding: 2rem;
    }

    .about-portrait-img-box {
        min-height: 320px;
        max-height: 380px;
    }
}

@media screen and (max-width: 768px) {
    .modular-projects-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-notes-grid {
        grid-template-columns: 1fr;
    }

    .spotlight-body {
        padding: 1.75rem 1.5rem;
    }

    .spotlight-metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .translation-bridge-card {
        padding: 2rem 1.5rem;
    }
}