* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container, .container-wide {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

img, .about-photo {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navigation from Mockup 1 */
nav {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 1.5rem 0 !important;
    box-shadow: none !important;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: #667eea;
    font-weight: 700;
    border-bottom: 2px solid #667eea;
}

/* Hero Section from Mockup 1 */
.hero {
    padding: 10rem 0 8rem;
    background:
        radial-gradient(circle at 50% 40%, rgba(255,255,255,0.18) 0%, rgba(102,126,234,0.08) 40%, transparent 70%),
        linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.025)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 0;
    animation: hero-breathe 7s ease-in-out infinite;
}

.hero-content, .hero-columns, .hero-left, .hero-right, .stats, .stat-container, .stat {
    position: relative;
    z-index: 1;
}

@keyframes hero-breathe {
    0% {
        filter: brightness(1) blur(0px);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.07) blur(1.5px);
        transform: scale(1.04);
    }
    100% {
        filter: brightness(1) blur(0px);
        transform: scale(1);
    }
}

.hero-content .subtitle,
.hero-content .description {
    text-align: left;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    text-align: left;
}

.hero .subtitle {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.hero .description {
    font-size: 1.25rem;
    margin-top: .5rem;
    margin-bottom: 4rem;
    max-width: 540px;
    opacity: 0.9;
    line-height: 1.6;
    color: #e6e6ea;
    text-align: left;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-bottom: 4rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.stat-container {
    position: relative;
    flex: 1 1 0;
    max-width: 220px;
    z-index: 1;
}

.stat-bg {
    position: absolute;
    top: 12px;
    left: 12px;
    right: -12px;
    bottom: -12px;
    background: #6B7280;
    border-radius: 20px;
    transform: rotate(-3deg);
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
}

.stat {
    position: relative;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
    backdrop-filter: blur(18px);
    border: 1.5px solid rgba(255,255,255,0.28);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px 0 rgba(90, 106, 203, 0.18), 0 2px 16px 0 rgba(255,255,255,0.18);
    z-index: 1;
}

.stat::after {
    content: none;
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    display: block;
    letter-spacing: -1px;
    color: #6B7280;
    text-shadow: none;
}

.stat-label {
    font-size: 0.75rem;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    font-weight: 700;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: stretch;
}

.cta-button,
.cta-button.secondary {
    padding: 0.75rem 2rem;
    border-width: 2px;
    box-sizing: border-box;
    min-height: 56px;
}

.cta-button {
    background: white;
    color: #667eea;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
    border: 2px solid #667eea;
    width: 200px;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    opacity: 0.85;
    border-color: #4b5fc7;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    width: 200px;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.cta-button .arrow {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(.4,2,.6,1);
}

.cta-button:hover .arrow {
    transform: translateX(8px);
}

/* Case Studies from Mockup 2 - Updated with purple theme */
.work-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, #fafbff 0%, #f8f9ff 100%);
    padding-bottom: 4.5rem;
    padding-top: 4rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.375rem;
    color: #6e6e73;
    text-align: center;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.case-studies {
    display: grid;
    gap: 6rem;
    margin-top: 6rem;
}

.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
}

.case-study:nth-child(even) {
    direction: rtl;
}

.case-study:nth-child(even) > * {
    direction: ltr;
}

.case-study-content {
    padding: 3rem 0;
}

.case-tag {
    display: inline-block;
    position: relative;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: #2d2254;
    padding: 0.25em 1em;
    border-radius: 0.75em;
    background: none;
    box-shadow: none;
    z-index: 1;
    max-width: max-content;
    width: max-content;
}

.case-tag::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0.30;
    border-radius: 0.75em;
    z-index: -1;
    filter: blur(1.5px);
    pointer-events: none;
    display: block;
}

.case-study h3 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #1a1a1a;
}

.case-metrics {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    letter-spacing: -0.5px;
}

.metric-label {
    font-size: 0.8rem;
    color: #6e6e73;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.case-study p {
    color: #6e6e73;
    margin-bottom: 3rem;
    font-size: 1.25rem;
    line-height: 1.7;
}

.case-study-link {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.case-study-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(102, 126, 234, 0.3);
}

.case-study-visual {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 24px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.1);
}

.case-study-visual::before,
.case-study-visual::after {
    content: none;
}

.case-study-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    border-radius: 24px;
    display: block;
}

/* Hover Insights */
.insight-tooltip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.82);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    max-width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(102, 126, 234, 0.18), 0 2px 24px 0 rgba(0,0,0,0.32);
}

.insight-tooltip::before {
    content: '"';
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: -5px;
    left: 20px;
    font-weight: 900;
}

.insight-tooltip::after {
    content: '"';
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    bottom: -15px;
    right: 20px;
    font-weight: 900;
}

.case-study-visual:hover .insight-tooltip {
    opacity: 1;
    visibility: visible;
}

.case-study-visual:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 75px rgba(102, 126, 234, 0.2);
}

.case-study:first-child .case-study-visual .insight-tooltip {
    background: rgba(0, 0, 0, 0.75);
    max-width: 270px;
}
.case-study:first-child .case-study-visual .insight-tooltip::before,
.case-study:first-child .case-study-visual .insight-tooltip::after {
    background: none;
    color: #ff0000 !important;
    -webkit-text-fill-color: #ff0000 !important;
}
.case-study:first-child .case-study-visual.quote-dimmed::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.18);
    z-index: 2;
    pointer-events: none;
    border-radius: 24px;
}
.case-study:first-child .case-study-visual .insight-tooltip {
    z-index: 3;
}

.case-study:first-child .case-study-visual:hover .insight-tooltip {
    box-shadow: 0 0 32px 8px rgba(255,255,255,0.32), 0 4px 32px 0 rgba(0,0,0,0.18);
}

.case-study:nth-child(2) > .case-study-visual:hover .insight-tooltip,
.case-study:nth-child(2) .case-study-visual:hover .insight-tooltip {
    box-shadow: 0 0 48px 16px rgba(255,255,255,0.45), 0 4px 40px 0 rgba(0,0,0,0.22) !important;
}
.case-study:nth-child(2) .case-study-visual .insight-tooltip::before,
.case-study:nth-child(2) .case-study-visual .insight-tooltip::after {
    background: none;
    color: #a86c3c;
    -webkit-text-fill-color: #a86c3c;
}

.case-study:nth-child(3) .case-study-visual .insight-tooltip {
    background: rgba(0, 0, 0, 0.75);
    max-width: 270px;
}
.case-study:nth-child(3) .case-study-visual .insight-tooltip::before,
.case-study:nth-child(3) .case-study-visual .insight-tooltip::after {
    background: none;
    color: #174fa3;
    -webkit-text-fill-color: #174fa3;
}
.case-study:nth-child(3) > .case-study-visual:hover .insight-tooltip,
.case-study:nth-child(3) .case-study-visual:hover .insight-tooltip {
    box-shadow: 0 0 48px 16px rgba(255,255,255,0.45), 0 4px 40px 0 rgba(0,0,0,0.22) !important;
}

/* Process Section from Mockup 2 - Updated with purple theme */
.process-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, #f8f9ff, #f0f4ff);
    padding-bottom: 6.7rem;
    padding-top: 2rem !important;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    margin-top: 6rem;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s ease-in-out;
    border-radius: 2px;
}

.process-steps.animate-line::before {
    transform: scaleX(1);
}

.process-step {
    background: white;
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.08);
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.step-description {
    color: #6e6e73;
    font-size: 1rem;
    line-height: 1.7;
}

/* About Section from Mockup 1 */
.about-section {
    background: linear-gradient(135deg, #f8f9ff, #f0f4ff);
    padding: 5.5rem 0;
    padding-top: 5.5rem;
    padding-bottom: 6.5rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.skill-item {
    position: relative;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid #e8e8ed;
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.skill-emoji {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.6rem;
    pointer-events: none;
    user-select: none;
}

.skill-title {
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.skill-desc {
    font-size: 0.9rem;
    color: #666;
}

.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 500px;
}

.photo-bg-box {
    position: absolute;
    width: 416px;
    height: 416px;
    border-radius: 24px;
    z-index: 1;
    opacity: 0.7;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18);
}
.box1 {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: rotate(-8deg) translate(-18px, -18px);
}
.box2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: rotate(8deg) translate(18px, 18px);
    opacity: 0.5;
}

.about-photo {
    width: 352px !important;
    height: 352px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.18), 0 0 40px 8px rgba(118, 75, 162, 0.25);
    border: 6px solid #fff;
    background: #fff;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

/* Contact Section from Mockup 1 - Updated styling */
.contact-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 10rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

.contact-content {
    position: relative;
    z-index: 10;
}

.contact-content h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-content p {
    font-size: 1.5rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: none;
    border-radius: 0;
    border: none;
    padding: 0;
    box-shadow: none;
    margin: 0 1.5rem 0 0;
}

.contact-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Footer from Mockup 1 - Updated with purple theme */
footer {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: white;
    padding: 6rem 0 3rem;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
    font-size: 1.125rem;
}

.footer-links h4 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.125rem;
    letter-spacing: -0.5px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #667eea;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    padding-top: 3rem;
    text-align: center;
    opacity: 0.6;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container, .container-wide, .case-studies, .case-study {
        max-width: 100vw !important;
        min-width: 0 !important;
        width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .about-visual {
        min-height: 320px;
        order: 1;
        margin-bottom: 2rem;
    }
    .about-photo {
        width: 186px;
        height: 186px;
    }
    .photo-bg-box {
        width: 226px;
        height: 226px;
    }
    .section-title {
        font-size: 2rem;
    }
    .design-sprints-title {
        font-size: 2rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .stat-container {
        width: 220px;
        max-width: 220px;
    }
    .stat {
        width: 100%;
    }
    .skills-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .skill-item {
        min-width: 0;
        width: 100%;
    }
    .hero h1 {
        font-size: 3rem;
    }
    
    .case-study,
    .case-study:nth-child(2),
    .case-study:nth-child(3) {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .case-study-content,
    .case-metrics {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .process-steps::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 30px;
        width: 3px;
        height: calc(100% - 60px);
        background: linear-gradient(180deg, #667eea, #764ba2);
        z-index: 1;
        transform: translateX(-50%);
        border-radius: 2px;
        display: block;
    }
    
    .about-content {
        display: block;
    }
    .about-text {
        width: 100%;
        max-width: 100%;
        margin: 0 0 2rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
    }
    
    nav {
        width: 100vw !important;
        left: 0 !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }
    nav .container {
        width: 100vw !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden !important;
    }
    .logo {
        font-size: 2rem;
        line-height: 1.1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .logo-last {
        margin-top: 0.1em;
    }
    nav ul {
        flex-direction: column;
        gap: 0.2rem;
        align-items: flex-end;
        width: auto;
        margin: 0;
    }
    nav a {
        font-size: 0.9rem;
        padding: 0.25rem 0.5rem;
    }
    .case-study-visual {
        display: none;
    }
    .design-project-visual {
        display: none;
    }
    .work-section {
        padding-bottom: 0.9rem;
        padding-top: 3rem;
    }
    .design-sprints-section {
        padding-bottom: 2rem !important;
        padding-top: 3rem;
    }
    .process-section {
        padding-top: 2rem !important;
    }
    .process-step {
        padding: 1.5rem 1rem;
        max-width: 270px;
        margin-left: auto;
        margin-right: auto;
    }
    .step-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    .step-title {
        font-size: 1.1rem;
    }
    .step-description {
        font-size: 0.95rem;
    }
    .about-section {
        padding-top: 5.5rem;
    }
    .section-subtitle {
        margin-bottom: 0.5rem;
    }
    .design-sprints-subtitle {
        margin-bottom: 0.5rem;
    }
    .case-studies {
        gap: 4rem;
        margin-bottom: 2rem;
    }
    .design-projects {
        gap: 4rem;
        margin-bottom: 2rem;
    }
    .about-section .section-title {
        margin-bottom: 0.7rem;
    }
    .about-visual.mobile-only {
        margin-bottom: 0;
        padding-top: 0.15rem;
        padding-bottom: 0.15rem;
    }
    .about-content {
        margin-top: 0;
    }
    .contact-section {
        padding-top: 5rem;
    }
    .contact-section .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .contact-section .cta-button,
    .contact-section .cta-button.secondary {
        width: 220px;
        min-width: 0;
        max-width: none;
        text-align: center;
        justify-content: center;
    }
    .process-section .section-title {
        margin-top: 2rem;
    }
    .hero .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .hero .cta-button,
    .hero .cta-button.secondary {
        min-width: 180px;
        width: 100%;
        max-width: 240px;
        text-align: center;
        justify-content: center;
    }
    nav a.active {
        color: #667eea;
        font-weight: 700;
        border-bottom: none;
    }
    nav a.active::after {
        width: 0;
    }
    nav a:hover::after {
        width: 100%;
    }
    nav a::after {
        bottom: -1px;
        height: 2px;
    }
    .case-study:nth-child(even),
    .case-study:nth-child(even) > * {
        direction: ltr !important;
    }
    .case-metrics .metric:nth-child(3) {
        display: none !important;
    }
    .project-metrics .metric:nth-child(3) {
        display: none !important;
    }
    .case-study h3 {
        font-size: 2rem !important;
    }
    .design-project h3 {
        font-size: 2rem !important;
    }
    .case-tag {
        position: relative;
        display: inline-block;
        padding: 0.25em 0.75em 0.25em 1.25em;
        border-radius: 0.75em;
        overflow: hidden;
        background: none;
        z-index: 1;
    }
    .case-tag::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
        opacity: 0.30;
        border-radius: 0.75em;
        z-index: -1;
        filter: blur(1.5px);
        pointer-events: none;
        display: block;
    }
    .project-tag {
        position: relative;
        display: inline-block;
        padding: 0.25em 0.75em 0.25em 1.25em;
        border-radius: 0.75em;
        overflow: hidden;
        background: none;
        z-index: 1;
    }
    .project-tag::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
        opacity: 0.30;
        border-radius: 0.75em;
        z-index: -1;
        filter: blur(1.5px);
        pointer-events: none;
        display: block;
    }
    .about-section .about-content {
        width: 100vw;
        padding: 0;
        margin: 0;
    }
    .about-section .about-text {
        padding-right: 1.75rem;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }
    .about-section .skills-grid {
        width: 100vw;
        margin-left: 0;
        margin-right: 0;
        gap: 0.75rem;
        padding-right: 1.75rem;
    }
    .skill-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
    }
    .skill-emoji {
        position: static;
        display: block;
        margin: 0 auto 0.5rem auto;
        font-size: 2rem;
        text-align: center;
    }
    .skill-title {
        text-align: center;
    }
    .skill-desc {
        text-align: center;
    }
}

@media (min-width: 769px) {
    .about-visual.desktop-only {
        width: 416px;
        height: 416px;
        min-width: unset;
        min-height: unset;
        max-width: unset;
        max-height: unset;
    }
}

.about-visual.mobile-only { display: none; }
.about-visual.desktop-only { display: flex; }

@media (max-width: 768px) {
  .about-visual.mobile-only {
    display: flex;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .about-visual.desktop-only { display: none; }
}

.hero .cta-buttons {
  gap: 1.5rem;
}
.hero .cta-button,
.hero .cta-button.secondary {
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  justify-content: center;
}

.contact-section .cta-buttons {
  gap: 1.5rem;
  justify-content: center;
}
.contact-section .cta-button,
.contact-section .cta-button.secondary {
  width: 200px;
  min-width: 0;
  max-width: none;
  text-align: center;
  justify-content: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.subtitle-line {
    width: 48px;
    height: 4px;
    margin: 1.2rem auto 6rem auto;
    border-radius: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    display: block;
}

/* Remove the subtitle-dots styles */
.subtitle-dots,
.subtitle-dots span {
    display: none !important;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.highlight {
    position: relative;
    display: inline-block;
    background: linear-gradient(
        90deg,
        #ffb6c1 0%,
        #ff1493 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: default;
}

.highlight:hover {
    background: linear-gradient(
        90deg,
        #ffb6c1 0%,
        #ffb6c1 35%,
        #fff 50%,
        #ffb6c1 65%,
        #ff1493 100%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

@media (max-width: 600px) {
  header {
    padding-top: 1rem;
  }
  .hero-content {
    margin-top: 2rem;
  }
  .case-study-visual-mobile {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
  }
  .case-study-visual-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
  }
  .case-metrics {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-right: 0.5rem;
  }
  .metric {
    text-align: center;
  }
  .metric-label {
    text-align: center;
  }
  /* Negative left margin for Modea case study mobile H3 */
  .case-study-content .mobile-only {
    margin-left: -0.3rem;
  }
}

/* --- Desktop/Mobile Only Utility Classes (moved to end for highest specificity) --- */
body .desktop-only { display: block !important; }
body .mobile-only { display: none !important; }

@media (max-width: 600px) {
  body .desktop-only { display: none !important; }
  body .mobile-only { display: block !important; }
}

.case-study-visual-mobile { display: none; }

@media (max-width: 600px) {
  .case-study-visual-mobile {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
  }
  .case-study-visual-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
  }
  .design-project-visual-mobile {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
  }
  .design-project-visual-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
  }
}

/* === Hero Section 2-Column Layout === */
.hero-columns {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}
.hero-left {
  flex: 1 1 0;
  min-width: 320px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-right {
  flex: 1 1 0;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  transform: translateX(-2rem);
}
.hero-right .stats {
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-end;
  margin-bottom: 0;
  margin-top: 0;
}
@media (max-width: 900px) {
  .hero-columns {
    flex-direction: column;
    gap: 2.5rem;
    align-items: stretch;
  }
  .hero-left, .hero-right {
    max-width: 100%;
    align-items: stretch;
  }
  .hero-right .stats {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
  }
}

.hero .container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.hero-right .stat {
  width: 100%;
  min-width: 260px;
  max-width: 320px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.05) !important;
  color: #fff;
  position: relative;
}
.hero-right .stat::before {
  content: '';
  position: absolute;
  top: 10px;
  right: 14px;
  width: 26px;
  height: 10px;
  border-radius: 6px 8px 8px 6px / 5px 5px 5px 5px;
  background: transparent;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.09);
  z-index: 2;
  pointer-events: none;
}
.hero-right .stat-number,
.hero-right .stat-label {
  color: #fff;
}
.hero-right .stats {
  width: 100%;
  align-items: flex-end;
}

@media (max-width: 900px) {
  .hero-right .stat {
    min-width: 180px;
    max-width: 220px;
  }
}
@media (max-width: 600px) {
  .hero-right .stats {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem;
  }
  .hero-right {
    align-items: center;
    justify-content: center;
    width: 100%;
    transform: none;
  }
  .hero-content .cta-buttons {
    margin-bottom: 1rem;
  }
  .hero-content .subtitle {
    margin-bottom: 2rem;
  }
}

.hero-right .stat-bg {
  display: none;
}

/* Design Sprints Section */
.design-sprints-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #fafbff 0%, #f8f9ff 100%);
    padding-bottom: 0rem;
    padding-top: 4rem;
}

.design-projects {
    display: flex;
    flex-direction: row;
    gap: 2.5rem;
    align-items: stretch;
    justify-content: center;
}

.design-project {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(76, 45, 136, 0.22);
    border-radius: 16px;
    background: #fff;
    border: 1px solid #ececff;
    padding: 2rem 1.5rem 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.design-project::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 2;
    opacity: 1;
    filter: none;
    pointer-events: none;
}

.design-project:nth-child(even) {
    direction: rtl;
}

.design-project:nth-child(even) > * {
    direction: ltr;
}

.design-project-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.design-project-link {
    display: inline-block;
    margin-left: 0;
    margin-right: 0;
}

.design-sprints-section .design-sprint-tag {
    color: #666;
    background: #f3f3f7 !important;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.2px;
    margin-top: 1.75rem;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5rem 1.25rem;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.project-tag {
    display: inline-block;
    position: relative;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    color: #2d2254;
    padding: 0.25em 1em;
    border-radius: 0.75em;
    background: none;
    box-shadow: none;
    z-index: 1;
    max-width: max-content;
    width: max-content;
}

.project-tag::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0.30;
    border-radius: 0.75em;
    z-index: -1;
    filter: blur(1.5px);
    pointer-events: none;
    display: block;
}

.design-project h3 {
    font-size: 2.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    line-height: 1.2;
    color: #1a1a1a;
}

.project-metrics {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.metric-btn {
    border: none;
    outline: none;
    border-radius: 999px;
    padding: 0.35em 1.1em;
    font-size: 1rem;
    font-weight: 500;
    background: #f5f6fa;
    color: #6e6e73;
    box-shadow: none;
    margin: 0;
    cursor: default;
    transition: background 0.2s;
    letter-spacing: 0.01em;
    display: inline-block;
}
.metric-btn-primary {
    color: #4f6eea;
    background: #f5f8ff;
}
.metric-btn-secondary {
    color: #888;
    background: #f3f3f7;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    letter-spacing: -0.5px;
}

.metric-label {
    font-size: 0.8rem;
    color: #6e6e73;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.design-project p {
    color: #6e6e73;
    margin-bottom: 3rem;
    font-size: 1.25rem;
    line-height: 1.7;
}

.design-project-link {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.design-project-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(102, 126, 234, 0.3);
}

.design-project-visual {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 24px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.1);
    margin-bottom: 2rem;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
    height: 260px;
}
.design-sprints-section .design-project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-left: 0;
    margin-right: 0;
    display: block;
    box-sizing: border-box;
}

@media (max-width: 600px) {
  .design-sprints-section .design-project-visual {
    height: 140px;
  }
}

/* Move these to the very end of the file for highest specificity: */
.design-sprints-section .design-project-visual {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.design-sprints-section .design-project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-left: 0;
    margin-right: 0;
    display: block;
    box-sizing: border-box;
}

.design-sprints-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.design-sprints-subtitle {
    font-size: 1.375rem;
    color: #6e6e73;
    text-align: center;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (max-width: 1000px) {
  .design-projects {
    flex-direction: column;
    gap: 2.5rem;
  }
}

.carousel-wrapper {
  transform: scale(0.9);
  transform-origin: top center;
}

.carousel {
  position: relative;
  width: 100%;
  margin: 0 auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.9);
  transform-origin: top center;
}

.carousel-viewport {
  width: 100%;
  max-width: 1400px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  min-height: 700px;
}

.carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
  align-items: stretch;
  transform-style: preserve-3d;
}

.carousel-card {
  flex: 0 0 420px;
  margin: 0;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.7s cubic-bezier(0.77, 0, 0.18, 1), z-index 0.4s;
  will-change: transform, opacity;
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
  transform: scale(0.9);
}

.carousel-card.carousel-center {
  transform: scale(0.9) rotateY(0deg) translateY(0);
  z-index: 3;
  opacity: 1;
}

.carousel-card.carousel-left {
  transform: scale(0.765) rotateY(-25deg) translateX(0px) translateY(20px);
  z-index: 2;
  opacity: 0.4;
}

.carousel-card.carousel-right {
  transform: scale(0.765) rotateY(25deg) translateX(0px) translateY(20px);
  z-index: 2;
  opacity: 0.4;
}

.carousel-card.carousel-hidden {
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transform: scale(0.63) translateY(60px);
}

@media (max-width: 1100px) {
  .carousel-card { flex-basis: 340px; }
}

@media (max-width: 900px) {
  .carousel-viewport { max-width: 100vw; }
  .carousel-card { flex-basis: 90vw; margin: 0 -10vw; }
  .carousel-card.carousel-left,
  .carousel-card.carousel-right,
  .carousel-card.carousel-hidden {
    display: none !important;
  }
  .carousel-card.carousel-center {
    display: block !important;
    transform: none !important;
    opacity: 1 !important;
    margin: 0 auto !important;
  }
}

@media (min-width: 601px) {
  .design-sprint-tags {
    margin-top: 1rem;
  }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.95);
  border: none;
  border-radius: 12px;
  width: 44px;
  height: 64px;
  font-size: 2rem;
  color: #764ba2;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.18);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  opacity: 0.85;
}
.carousel-arrow.left { left: 0; }
.carousel-arrow.right { right: 0; }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; }
.carousel-arrow > * {
  position: relative;
  top: -3px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0;
  width: 100%;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e0e0ef;
  border: none;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.active {
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-visual.desktop-only {
    justify-self: center;
} 