/* ==========================================
   LAURENS PORTFOLIO - STYLES
   Modern, Minimalist, Apple-inspired
   Next-level animations & effects
   ========================================== */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Colors */
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f7;
    --color-gray-200: #e8e8ed;
    --color-gray-300: #d2d2d7;
    --color-gray-400: #86868b;
    --color-gray-500: #6e6e73;
    --color-gray-600: #424245;
    --color-gray-700: #1d1d1f;
    --color-gray-800: #141414;
    --color-gray-900: #0a0a0a;
    
    /* Accent - Green for positive/active states */
    --color-accent: #00d26a;
    --color-accent-glow: rgba(0, 210, 106, 0.3);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;
    
    /* Font sizes with better scale */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-2xl: 12rem;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Layout */
    --container-width: 1400px;
    --nav-height: 80px;
    --top-bar-height: 44px;
}

/* ==========================================
   TOP BAR
   ========================================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--top-bar-height);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1001;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.813rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.top-bar-item:hover {
    color: rgba(255, 255, 255, 1);
}

.top-bar-item svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.top-bar-lang {
    gap: 0.4rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-flag {
    font-size: 0.95rem;
    line-height: 1;
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.6rem;
    line-height: 1;
}

/* Responsive top bar */
@media (max-width: 768px) {
    .top-bar {
        height: 36px;
    }
    
    .top-bar-content {
        padding: 0 1rem;
    }
    
    .top-bar-left {
        gap: 0.5rem;
    }
    
    .top-bar-item {
        font-size: 0.75rem;
        gap: 0.35rem;
    }
    
    .top-bar-item svg {
        width: 12px;
        height: 12px;
    }
    
    .top-bar-item span {
        display: none;
    }
    
    .top-bar-lang span {
        display: inline;
    }
    
    .top-bar-divider {
        display: none;
    }
}

/* ==========================================
   WHATSAPP FLOAT BUTTON
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    letter-spacing: -0.01em;
}

body.loading {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

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

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ==========================================
   SCROLL PROGRESS BAR
   ========================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), rgba(255, 255, 255, 0.8));
    z-index: 10000;
    transition: width 0.1s ease-out;
    pointer-events: none;
}

/* ==========================================
   NOISE OVERLAY
   ========================================== */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ==========================================
   GRADIENT BLOB - Following Mouse
   ========================================== */
.gradient-blob {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.gradient-blob::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 100, 100, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    transform: translate(-50%, -50%);
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
    transition: left 0.5s ease-out, top 0.5s ease-out;
}

/* ==========================================
   FLOATING SHAPES - Disabled
   ========================================== */
.floating-shapes {
    display: none;
}

/* ==========================================
   CUSTOM CURSOR - Disabled
   ========================================== */
.cursor,
.cursor-follower {
    display: none;
}

/* ==========================================
   LOADER - Calligraphy Style
   ========================================== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-text {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
}

.loader-name {
    font-family: var(--font-accent);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-white);
    opacity: 0;
    letter-spacing: 0.02em;
    animation: calligraphy-reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-300) 50%, var(--color-white) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gray-400), transparent);
    animation: line-reveal 0.8s ease forwards;
    animation-delay: 0.6s;
}

@keyframes calligraphy-reveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(10px);
    }
    50% {
        opacity: 0.5;
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes line-reveal {
    to {
        transform: translateX(-50%) scaleX(1);
    }
}

.loader-bar {
    width: 120px;
    height: 1px;
    background: var(--color-gray-800);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 2rem;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gray-500), var(--color-white));
    width: 0;
    animation: progress 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes progress {
    to { width: 100%; }
}

.loader-tagline {
    font-family: var(--font-accent);
    color: var(--color-gray-500);
    font-size: 0.875rem;
    font-style: italic;
    letter-spacing: 0.15em;
    opacity: 0;
    animation: tagline-in 0.8s ease forwards;
    animation-delay: 0.5s;
}

@keyframes tagline-in {
    to { 
        opacity: 0.6; 
    }
}
/* ==========================================
   NAVIGATION
   ========================================== */
.nav {
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-md);
    z-index: 1000;
    background: rgba(0, 0, 0, 0.98);
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
    position: relative;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-white);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link--cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-white);
    color: var(--color-black);
    padding: 0.85rem 1.5rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform var(--transition-spring), box-shadow var(--transition-base);
    margin-left: 1rem;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.nav-link--cta svg {
    width: 16px;
    height: 16px;
}

.nav-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    margin-left: auto;
}

.nav-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
    position: absolute;
    left: 0;
}

.nav-menu-btn span:first-child {
    top: 6px;
}

.nav-menu-btn span:last-child {
    bottom: 6px;
}

.nav-menu-btn.active span:first-child {
    top: 11px;
    transform: rotate(45deg);
}

.nav-menu-btn.active span:last-child {
    bottom: 11px;
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-menu-btn {
        display: flex;
    }
}

/* ==========================================
   MOBILE MENU
   ========================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--color-black);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    padding: 0 2rem;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: right;
    width: 100%;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-end;
}

.mobile-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    color: var(--color-white);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity var(--transition-base), transform var(--transition-base);
    text-decoration: none;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-link-number {
    font-size: 0.7rem;
    color: var(--color-gray-500);
    font-weight: 500;
    order: 2;
}

.mobile-link-text {
    font-size: 1.75rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.02em;
    order: 1;
}

.mobile-menu-footer {
    margin-top: 3rem;
    display: flex;
    justify-content: flex-end;
}

.mobile-menu-social {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.mobile-menu-social a {
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.mobile-menu-social a:hover {
    color: var(--color-white);
}

.mobile-menu-social svg {
    width: 22px;
    height: 22px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: var(--nav-height) var(--space-md) var(--space-lg);
    position: relative;
    overflow: hidden;
}

/* Text-only hero - Scroll-based text reveal */
.hero--text-only {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: calc(var(--top-bar-height) + var(--nav-height)) 0 2rem;
    position: relative;
    background: #000000;
    overflow: hidden;
}

.hero-text-container {
    position: relative;
    width: 100%;
    min-height: 160px;
    display: block;
    padding: 0 clamp(2rem, 6vw, 6rem);
    pointer-events: none;
    z-index: 10;
    text-align: left;
}

.hero-word {
    position: relative;
    display: block;
    opacity: 0;
    pointer-events: none;
    /* Override any animations */
    animation: none !important;
    transform: none !important;
    /* Smooth opacity transition */
    transition: opacity 0.5s ease;
}

/* Group for IK and BEN to animate together */
.hero-word-group {
    position: relative;
    display: block;
    opacity: 0;
    pointer-events: none;
    animation: none !important;
    transform: none !important;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: row;
    gap: 0.5em;
}

.hero-word-group .word-fill {
    font-size: clamp(4rem, 17vw, 16rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    display: block;
    color: #ffffff;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-word-group.active {
    opacity: 1 !important;
}

.hero-word .word-fill {
    font-size: clamp(4rem, 17vw, 16rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.9;
    display: block;
    color: #ffffff;
    /* Clip mask for fill effect - smooth transition */
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Words that appear instantly (no fill animation) */
.hero-word.instant .word-fill {
    transition: none !important;
}

/* Active word is visible */
.hero-word.active {
    opacity: 1 !important;
}

/* Hero Photos - appear after animation */
.hero-photos {
    position: relative;
    width: 100%;
    height: clamp(350px, 50vh, 550px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.8s ease;
    margin-top: 1rem;
}

.hero-photos.visible {
    opacity: 1;
    pointer-events: auto;
}

.hero-photo {
    position: absolute;
    width: clamp(200px, 30vw, 400px);
    height: clamp(280px, 42vw, 550px);
    border-radius: 16px;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

/* First phase: photos appear stacked (overlapping) */
.hero-photos.visible .hero-photo {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Second phase: photos spread apart */
.hero-photos.spread .hero-photo--left {
    transform: translateX(calc(-50% - 1rem)) translateY(0) scale(1);
}

.hero-photos.spread .hero-photo--right {
    transform: translateX(calc(50% + 1rem)) translateY(0) scale(1);
}

.hero-photo--left {
    transition-delay: 0s;
    z-index: 10;
}

.hero-photo--right {
    transition-delay: 0.1s;
    z-index: 9;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.4s ease, transform 0.6s ease;
}

.hero-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-photo-placeholder svg {
    width: 48px;
    height: 48px;
}

.photo-placeholder-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.hero-photo:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Floating Icons around photos - BEHIND photos, wide spread */
.hero-floating-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease 0.5s;
    z-index: 5; /* Behind photos (photos are z-index 9-10) */
}

.hero-photos.visible .hero-floating-icons {
    opacity: 1;
}

.floating-icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: rgba(255, 255, 255, 0.25);
}

.floating-icon svg {
    width: 26px;
    height: 26px;
}

/* Position icons spread across the entire viewport */
.floating-icon--1 {
    top: 15%;
    left: 8%;
    animation: floatSlow1 20s ease-in-out infinite;
}

.floating-icon--2 {
    top: 10%;
    right: 12%;
    animation: floatSlow2 22s ease-in-out infinite;
}

.floating-icon--3 {
    top: 35%;
    left: 5%;
    animation: floatSlow3 18s ease-in-out infinite;
}

.floating-icon--4 {
    top: 30%;
    right: 6%;
    animation: floatSlow4 24s ease-in-out infinite;
}

.floating-icon--5 {
    bottom: 35%;
    left: 10%;
    animation: floatSlow5 21s ease-in-out infinite;
}

.floating-icon--6 {
    bottom: 30%;
    right: 8%;
    animation: floatSlow6 19s ease-in-out infinite;
}

.floating-icon--7 {
    bottom: 15%;
    left: 15%;
    animation: floatSlow7 23s ease-in-out infinite;
}

.floating-icon--8 {
    bottom: 12%;
    right: 15%;
    animation: floatSlow8 17s ease-in-out infinite;
}

.floating-icon--9 {
    top: 20%;
    left: 25%;
    animation: floatSlow1 25s ease-in-out infinite reverse;
}

.floating-icon--10 {
    top: 18%;
    right: 28%;
    animation: floatSlow2 19s ease-in-out infinite reverse;
}

.floating-icon--11 {
    bottom: 22%;
    left: 22%;
    animation: floatSlow3 26s ease-in-out infinite reverse;
}

.floating-icon--12 {
    bottom: 18%;
    right: 25%;
    animation: floatSlow4 21s ease-in-out infinite reverse;
}

/* Slow floating animations - gentle movement around photos */
@keyframes floatSlow1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(15px, 20px); }
    50% { transform: translate(-10px, 35px); }
    75% { transform: translate(20px, 10px); }
}

@keyframes floatSlow2 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-20px, 15px); }
    50% { transform: translate(10px, 30px); }
    75% { transform: translate(-15px, 8px); }
}

@keyframes floatSlow3 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(25px, -10px); }
    50% { transform: translate(15px, 25px); }
    75% { transform: translate(30px, 5px); }
}

@keyframes floatSlow4 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-25px, 15px); }
    50% { transform: translate(-10px, -20px); }
    75% { transform: translate(-20px, 25px); }
}

@keyframes floatSlow5 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, 15px); }
    50% { transform: translate(30px, -10px); }
    75% { transform: translate(10px, 20px); }
}

@keyframes floatSlow6 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-15px, -20px); }
    50% { transform: translate(-25px, 10px); }
    75% { transform: translate(-10px, -15px); }
}

@keyframes floatSlow7 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, -25px); }
    50% { transform: translate(-15px, -15px); }
    75% { transform: translate(20px, -30px); }
}

@keyframes floatSlow8 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-20px, -15px); }
    50% { transform: translate(15px, -25px); }
    75% { transform: translate(-10px, -10px); }
}

/* Responsive floating icons */
@media (max-width: 768px) {
    .floating-icon {
        width: 32px;
        height: 32px;
    }
    
    .floating-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ==========================================
   SCROLL INDICATOR
   ========================================== */
.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 25;
    opacity: 0;
    animation: fadeInScroll 0.8s ease forwards;
    animation-delay: 3s;
}

.scroll-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes fadeInScroll {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 100% {
        top: 0;
        opacity: 1;
    }
    50% {
        top: calc(100% - 8px);
        opacity: 0.5;
    }
}

/* Hide scroll indicator when scrolled */
.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Hero Badges - Compact badges onder foto's */
.hero-badges {
    position: relative;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    width: 90%;
    max-width: 900px;
    margin: 2rem auto 0;
    padding-bottom: 4rem;
    pointer-events: none;
}

.hero-badges.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: fadeInUpBadges 0.8s ease forwards;
}

@keyframes fadeInUpBadges {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badges-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-badge i,
.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.hero-badge-emoji {
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.hero-badge-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 210, 106, 0.15);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-badge-icon i {
    color: var(--color-accent);
}

.hero-badge-icon svg {
    width: 16px;
    height: 16px;
}

.hero-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Hero Languages */
.hero-languages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin: 0 auto;
    max-width: fit-content;
}

.hero-languages > i,
.hero-languages > svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.hero-languages-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
}

.hero-languages-flags {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.hero-language {
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform var(--transition-fast);
    filter: grayscale(0.3) opacity(0.85);
}

.hero-language--text {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    filter: none;
}

.hero-language:hover {
    transform: scale(1.15);
    filter: grayscale(0) opacity(1);
}

/* Hero Quote - appears after photos with word-by-word fill animation */
.hero-quote {
    position: absolute;
    bottom: -15%;
    left: 5%;
    text-align: left;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 20;
    max-width: 600px;
}

.hero-quote.visible {
    opacity: 1;
}

.quote-word {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    letter-spacing: -0.02em;
    display: inline-block;
    margin-right: 0.3em;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.quote-word--accent {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

.quote-word--accent em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Quote word fill animation - triggered by class on each word */
.quote-word.filled {
    clip-path: inset(0 0% 0 0);
}

@media (max-width: 768px) {
    .hero-quote {
        bottom: -20%;
        left: 5%;
        right: 5%;
        max-width: none;
    }
    
    .quote-word {
        font-size: clamp(1.1rem, 5vw, 1.4rem);
    }
    
    .hero-badges {
        bottom: 10%;
        max-width: 95%;
    }
    
    .hero-badges-grid {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .hero-badge {
        padding: 0.5rem 0.75rem;
    }
    
    .hero-badge-emoji {
        font-size: 1rem;
    }
    
    .hero-badge-icon {
        width: 24px;
        height: 24px;
    }
    
    .hero-badge-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .hero-badge-text {
        font-size: 0.7rem;
    }
    
    .hero-languages {
        padding: 0.6rem 1rem;
        gap: 0.75rem;
    }
    
    .hero-languages-label {
        font-size: 0.65rem;
    }
    
    .hero-language {
        font-size: 1.1rem;
    }
    
    .scroll-indicator {
        bottom: 1rem;
    }
}

/* Hide text when photos are visible */
.hero-text-container.photos-visible {
    opacity: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    transition: opacity 0.5s ease, height 0.5s ease, min-height 0.5s ease;
}

/* Centered hero layout */
.hero--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + var(--space-md)) var(--space-md) var(--space-md);
    min-height: 100vh;
}

.hero-content--centered {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-content--centered .hero-cta {
    justify-content: center;
}

.hero-content--centered .hero-roles {
    justify-content: center;
}

.hero-title--large .hero-word {
    font-size: clamp(3.5rem, 10vw, 7rem);
}

.hero-title--large .hero-word--accent {
    font-size: clamp(4rem, 12vw, 9rem);
}

.hero-visual--bottom {
    width: 100%;
    max-width: 700px;
    margin: var(--space-lg) auto 0;
    padding: 0;
    height: auto;
    position: relative;
    z-index: 10;
}

.hero-stats--bottom {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-bottom: var(--space-md);
    position: relative;
    z-index: 10;
}

.hero-scroll-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1rem;
    max-width: 90vw;
    pointer-events: none;
    z-index: 1;
}

.scroll-word {
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--color-gray-200);
    opacity: 0.15;
    transform: translateY(20px) scale(0.95);
    transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    will-change: color, opacity, transform;
}

.scroll-word.active {
    color: var(--color-black);
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-word--accent {
    font-family: var(--font-accent);
    font-style: italic;
}

.scroll-word--accent.active {
    background: linear-gradient(135deg, var(--color-black), var(--color-gray-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hide scroll text after hero */
.hero-scroll-text.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Responsive scroll text */
@media (max-width: 1200px) {
    .hero--text-only .scroll-word {
        font-size: clamp(3rem, 14vw, 12rem);
    }
}

@media (max-width: 768px) {
    .hero--text-only {
        min-height: 400vh;
    }
    
    .hero--text-only .scroll-word {
        font-size: clamp(2.5rem, 16vw, 6rem);
    }
    
    .hero-scroll-container {
        padding: 0 1rem;
    }
    
    .hero-scroll-hint {
        bottom: 30px;
        left: 1rem;
        font-size: 0.75rem;
    }
}

.hero-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.hero-line {
    position: absolute;
    background: linear-gradient(to bottom, transparent, var(--color-gray-200), transparent);
    width: 1px;
    height: 100%;
    opacity: 0.5;
}

.hero-line:nth-child(1) { left: 25%; animation: line-move 8s ease-in-out infinite; }
.hero-line:nth-child(2) { left: 50%; animation: line-move 8s ease-in-out infinite 2s; }
.hero-line:nth-child(3) { left: 75%; animation: line-move 8s ease-in-out infinite 4s; }

@keyframes line-move {
    0%, 100% { transform: scaleY(0.3); opacity: 0.2; }
    50% { transform: scaleY(1); opacity: 0.5; }
}

.hero-content {
    z-index: 1;
}

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

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-gray-100);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    animation: fade-slide-up 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-label-icon {
    color: var(--color-accent);
}

.hero-label-icon svg {
    width: 16px;
    height: 16px;
}

.hero-label-text {
    font-size: 0.875rem;
    font-weight: 500;
}

@keyframes fade-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    margin-bottom: var(--space-sm);
}

.hero-title-line {
    display: block;
    overflow: hidden;
}

/* Hero word animation for regular hero (not text-only) */
.hero:not(.hero--text-only) .hero-word {
    display: inline-block;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: word-slide-up 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: translateY(100%);
    position: relative;
    left: auto;
}

.hero-title-line:nth-child(1) .hero-word:nth-child(1) { animation-delay: 0.4s; }
.hero-title-line:nth-child(1) .hero-word:nth-child(2) { animation-delay: 0.45s; }
.hero-title-line:nth-child(1) .hero-word:nth-child(3) { animation-delay: 0.5s; }
.hero-title-line:nth-child(2) .hero-word { animation-delay: 0.55s; }

@keyframes word-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-word--accent {
    font-family: var(--font-accent);
    font-style: italic;
    background: linear-gradient(135deg, var(--color-black), var(--color-gray-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-roles {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
    animation: fade-slide-up 0.8s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.hero-role {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gray-500);
}

.hero-role-divider {
    color: var(--color-gray-300);
}

.hero-subtitle {
    margin-bottom: var(--space-md);
    animation: fade-slide-up 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-subtitle-line {
    display: block;
    font-size: 1.125rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--space-lg);
    animation: fade-slide-up 0.8s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: var(--space-lg);
    animation: fade-slide-up 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: var(--space-md);
}

.hero-image-stack {
    position: relative;
    display: flex;
    gap: 1.5rem;
    width: 100%;
    max-width: 650px;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    opacity: 0;
    flex: 1;
    transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.8s ease;
}

/* Main photo - starts collapsed, unfolds on load */
.hero-image--main {
    z-index: 2;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    transform: scale(0.6) rotate(-15deg) translateX(80px);
}

/* Secondary photo - starts collapsed, unfolds on load */
.hero-image--secondary {
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    transform: scale(0.6) rotate(15deg) translateX(-80px);
}

/* Unfold animation on page load */
body.loaded .hero-image--main {
    opacity: 1;
    transform: scale(1) rotate(-3deg) translateX(0);
    transition-delay: 0.2s;
}

body.loaded .hero-image--secondary {
    opacity: 1;
    transform: scale(0.95) rotate(5deg) translateY(30px);
    transition-delay: 0.5s;
}

/* Subtle hover effect */
.hero-visual:hover .hero-image--main {
    transform: scale(1.02) rotate(-1deg);
}

.hero-visual:hover .hero-image--secondary {
    transform: scale(0.97) rotate(3deg) translateY(30px);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-image--secondary img {
    height: auto;
}

.hero-image-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    pointer-events: none;
}

/* Hero Badges - OLD STYLE (disabled for new badges in hero)
.hero-badge--old {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-white);
    padding: 0.75rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: badge-float 3s ease-in-out infinite;
}
*/

.hero-badge--floating svg {
    width: 16px;
    height: 16px;
}

.hero-badge--location {
    position: absolute;
    top: 10%;
    right: 5%;
    animation-delay: 0s;
}

.hero-badge--status {
    position: absolute;
    bottom: 20%;
    left: 0;
    animation-delay: 1.5s;
}

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

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Hero Scroll Indicator - Hidden */
.hero-scroll {
    display: none;
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .hero--centered {
        padding-top: calc(var(--nav-height) + var(--space-sm));
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-visual--bottom {
        order: 0;
        max-width: 100%;
        padding: 0 var(--space-sm);
    }
    
    .hero-image-stack {
        max-width: 500px;
        margin: 0 auto;
        gap: 1rem;
    }
    
    .hero-image img {
        height: auto;
    }
    
    .hero-badge--floating {
        display: none;
    }
    
    .hero-roles {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-stats--bottom {
        gap: var(--space-md);
    }
    
    .hero-title--large .hero-word {
        font-size: clamp(2.5rem, 8vw, 5rem);
    }
    
    .hero-title--large .hero-word--accent {
        font-size: clamp(3rem, 10vw, 6rem);
    }
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

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

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

.btn--ghost {
    background: transparent;
    color: var(--color-black);
    border: 1px solid var(--color-gray-300);
}

.btn--ghost:hover {
    background: var(--color-gray-100);
    border-color: var(--color-gray-400);
}

.btn--large {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

/* ==========================================
   MARQUEE
   ========================================== */
.marquee {
    padding: var(--space-lg) 0;
    background: var(--color-black);
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.marquee-item {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
}

.marquee-dot {
    width: 6px;
    height: 6px;
    background: var(--color-gray-600);
    border-radius: 50%;
    flex-shrink: 0;
}

.marquee-dot svg {
    display: none;
}

/* Icon Marquee */
.marquee--icons {
    padding: var(--space-md) 0;
}

.marquee--icons .marquee-content {
    gap: 4rem;
    animation: marquee 25s linear infinite;
}

.marquee-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--color-white);
    opacity: 0.7;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.marquee-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.marquee-icon svg {
    width: 28px;
    height: 28px;
}

/* ==========================================
   SECTION LABEL
   ========================================== */
.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--space-md);
}

.section-label-line {
    width: 40px;
    height: 1px;
    background: var(--color-black);
}

.section-label--light .section-label-line {
    background: var(--color-white);
}

.section-label-text {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-500);
}

.section-label--light .section-label-text {
    color: var(--color-gray-400);
}

/* ==========================================
   STORY SECTION
   ========================================== */
.story {
    padding: var(--space-2xl) 0;
    background: #000000;
    color: #ffffff;
}

.story-header {
    max-width: 900px;
    margin-bottom: var(--space-xl);
}

.story-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.story-title em {
    font-family: var(--font-accent);
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* Story Block - Intro */
.story-block--intro {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--space-md);
    align-items: start;
}

.story-icon-float {
    width: 80px;
    height: 80px;
    background: var(--color-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}

.story-icon-float svg {
    width: 32px;
    height: 32px;
    color: var(--color-gray-600);
}

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

.story-lead {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-gray-700);
}

/* Story Block - Full */
.story-block--full {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
    background: var(--color-gray-50);
    padding: var(--space-lg);
    border-radius: 24px;
}

.story-block-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.story-block-title svg {
    width: 24px;
    height: 24px;
    color: var(--color-gray-500);
}

.story-block-content p {
    font-size: 1.0625rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.story-block-content p:last-child {
    margin-bottom: 0;
}

.story-block-content strong {
    color: var(--color-black);
    font-weight: 600;
}

.story-quote {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: var(--space-md);
    background: var(--color-white);
    border-radius: 16px;
    border-left: 3px solid var(--color-black);
}

.story-quote svg {
    width: 24px;
    height: 24px;
    color: var(--color-gray-400);
}

.story-quote span {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--color-gray-600);
}

/* Countries Grid */
.story-countries {
    background: var(--color-gray-50);
    padding: var(--space-lg);
    border-radius: 24px;
}

.story-countries-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.story-countries-title svg {
    width: 28px;
    height: 28px;
    color: var(--color-gray-500);
}

.story-countries-intro {
    color: var(--color-gray-500);
    margin-bottom: var(--space-md);
    max-width: 600px;
}

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

.country-card {
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: 16px;
    transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.country-flag {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.country-info {
    margin-bottom: 0.75rem;
}

.country-name {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
}

.country-years {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.country-desc {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.5;
}

/* Languages */
.story-languages {
    max-width: 600px;
}

.story-languages-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.story-languages-title svg {
    width: 24px;
    height: 24px;
    color: var(--color-gray-500);
}

.language-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.language-item {
    display: grid;
    grid-template-columns: 100px 1fr 80px;
    align-items: center;
    gap: 1rem;
}

.language-name {
    font-weight: 500;
}

.language-bar {
    height: 6px;
    background: var(--color-gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.language-fill {
    height: 100%;
    width: 0;
    background: var(--color-black);
    border-radius: 3px;
    /* Animation is triggered via JavaScript */
}

.language-level {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    text-align: right;
}

/* Story Block - Highlight */
.story-block--highlight {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-lg);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.story-block--highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.story-block-number {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.2;
}

.story-block--highlight .story-block-title {
    color: var(--color-white);
}

.story-block--highlight .story-block-title svg {
    color: var(--color-accent);
}

.story-block--highlight p {
    color: var(--color-gray-300);
}

.story-block--highlight strong {
    color: var(--color-white);
}

/* Bring Grid */
.story-bring {
    text-align: center;
}

.story-bring-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.story-bring-intro {
    color: var(--color-gray-500);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

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

.bring-grid--compact {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.bring-grid--compact .bring-item {
    padding: var(--space-sm);
}

.bring-grid--compact .bring-item p {
    display: none;
}

.bring-item {
    padding: var(--space-md);
    background: var(--color-gray-50);
    border-radius: 16px;
    text-align: center;
    transition: transform var(--transition-spring), background var(--transition-base);
}

.bring-item:hover {
    transform: translateY(-5px);
    background: var(--color-gray-100);
}

.bring-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.bring-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-gray-700);
}

.bring-item h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bring-item p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* Statement */
.story-statement {
    text-align: center;
    padding: var(--space-xl) 0;
}

.statement-text {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.3;
}

.statement-line {
    display: block;
}

.statement-line--accent {
    color: var(--color-gray-400);
}

.statement-line--accent em {
    font-family: var(--font-accent);
    color: var(--color-black);
}

@media (max-width: 1024px) {
    .story-block--intro {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .story-icon-float {
        margin: 0 auto;
    }
    
    .story-block--full {
        grid-template-columns: 1fr;
    }
    
    .story-countries-grid {
        grid-template-columns: 1fr;
    }
    
    .language-item {
        grid-template-columns: 80px 1fr 70px;
    }
    
    .story-block--highlight {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .story-block-number {
        font-size: 4rem;
    }
    
    .bring-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .bring-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   JOURNEY / TIMELINE
   ========================================== */
.journey {
    padding: var(--space-2xl) 0;
    background: var(--color-black);
    color: var(--color-white);
}

.journey-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-xl);
    max-width: 600px;
}

.journey-title em {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--color-gray-400);
}

.timeline {
    position: relative;
    padding-left: 60px;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-gray-700);
}

.timeline-line-progress {
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-gray-600));
    transition: height 0.5s ease;
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-lg);
}

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

.timeline-marker {
    position: absolute;
    left: -52px;
    width: 44px;
    height: 44px;
    background: var(--color-gray-800);
    border: 2px solid var(--color-gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.timeline-marker svg {
    width: 20px;
    height: 20px;
    color: var(--color-gray-400);
}

.timeline-item:hover .timeline-marker {
    border-color: var(--color-accent);
    background: var(--color-gray-700);
}

.timeline-item:hover .timeline-marker svg {
    color: var(--color-accent);
}

.timeline-content {
    background: var(--color-gray-800);
    padding: var(--space-md);
    border-radius: 16px;
    transition: transform var(--transition-spring);
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
}

.timeline-period {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--color-gray-400);
    line-height: 1.6;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.timeline-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--color-gray-700);
    border-radius: 100px;
    color: var(--color-gray-300);
}

.timeline-item--future .timeline-marker {
    border-color: var(--color-accent);
    box-shadow: 0 0 20px var(--color-accent-glow);
}

.timeline-item--future .timeline-marker svg {
    color: var(--color-accent);
}

.timeline-future-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--color-accent-glow), transparent);
    border: 1px solid var(--color-accent);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--color-accent);
}

.timeline-future-badge svg {
    width: 16px;
    height: 16px;
}

/* Journey Credentials */
.journey-credentials {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-gray-700);
}

.journey-credentials h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-gray-400);
}

.credentials-list {
    display: flex;
    gap: var(--space-md);
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--color-gray-800);
    border-radius: 100px;
}

.credential svg {
    width: 20px;
    height: 20px;
    color: var(--color-gray-400);
}

.credential span {
    font-size: 0.9375rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 50px;
    }
    
    .timeline-marker {
        left: -42px;
        width: 36px;
        height: 36px;
    }
    
    .timeline-marker svg {
        width: 16px;
        height: 16px;
    }
    
    .credentials-list {
        flex-direction: column;
    }
}

/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills {
    padding: var(--space-2xl) 0;
    background: #000000;
}

.skills-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-xl);
}

.skills-title em {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--color-gray-400);
}

/* Lighthouse */
.lighthouse-section {
    background: var(--color-gray-50);
    padding: var(--space-lg);
    border-radius: 24px;
    margin-bottom: var(--space-xl);
}

.lighthouse-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
    justify-content: center;
}

.lighthouse-header svg {
    width: 24px;
    height: 24px;
    color: var(--color-gray-500);
}

.lighthouse-header span {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-500);
}

.lighthouse-scores {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.lighthouse-score {
    text-align: center;
}

.score-circle {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 0.75rem;
}

.score-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: var(--color-gray-200);
    stroke-width: 8;
}

.score-fill {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.5s ease-out;
}

.score-circle.animated .score-fill {
    stroke-dashoffset: calc(283 - (283 * var(--score, 100) / 100));
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
}

.score-label {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

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

.skill-category {
    background: var(--color-gray-50);
    padding: var(--space-md);
    border-radius: 16px;
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.skill-category-header svg {
    width: 24px;
    height: 24px;
    color: var(--color-gray-500);
}

.skill-category-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

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

.skill-tag {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    background: var(--color-white);
    border-radius: 100px;
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition-spring);
    cursor: default;
}

.skill-tag:hover {
    transform: translateY(-2px);
    background: var(--color-black);
    color: var(--color-white);
}

/* Tech Stack Slider */
.tech-slider-section {
    margin-top: var(--space-xl);
    text-align: center;
}

.tech-slider-label {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--color-gray-500);
    margin-bottom: var(--space-md);
}

.tech-slider {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.tech-slider-track {
    display: flex;
    gap: 1.5rem;
    animation: tech-slide 20s linear infinite;
    width: max-content;
}

@keyframes tech-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tech-slider:hover .tech-slider-track {
    animation-play-state: paused;
}

.tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.tech-item:hover {
    border-color: var(--color-black);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tech-item svg {
    width: 24px;
    height: 24px;
    color: var(--color-gray-600);
    transition: color var(--transition-fast);
}

.tech-item:hover svg {
    color: var(--color-black);
}

@media (max-width: 768px) {
    .tech-slider-track {
        gap: 2rem;
    }
    
    .tech-item {
        padding: 0.75rem 1.25rem;
    }
    
    .tech-item svg {
        width: 18px;
        height: 18px;
    }
    
    .tech-item span {
        font-size: 0.875rem;
    }
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.projects {
    padding: var(--space-2xl) 0;
    background: #000000;
    color: var(--color-white);
}

.projects-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-xl);
}

.projects-title em {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--color-gray-400);
}

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

.project-card {
    background: var(--color-gray-800);
    border-radius: 20px;
    overflow: hidden;
    transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.project-card--featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
}

.project-card-visual {
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-mockup {
    width: 100%;
}

.mockup-browser {
    background: var(--color-gray-700);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mockup-browser-header {
    display: flex;
    gap: 6px;
    padding: 12px;
    background: var(--color-gray-600);
}

.mockup-browser-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-gray-500);
}

.mockup-browser-header span:first-child { background: #ff5f57; }
.mockup-browser-header span:nth-child(2) { background: #febc2e; }
.mockup-browser-header span:nth-child(3) { background: #28c840; }

.mockup-browser-content {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-gray-500);
}

.mockup-placeholder svg {
    width: 48px;
    height: 48px;
}

.project-mockup--phone .mockup-phone {
    width: 120px;
    background: var(--color-gray-700);
    border-radius: 24px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mockup-phone-content {
    background: var(--color-gray-600);
    border-radius: 18px;
    aspect-ratio: 9 / 16;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card-info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gray-400);
    margin-bottom: 0.75rem;
}

.project-category svg {
    width: 14px;
    height: 14px;
}

.project-card-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-card-info p {
    color: var(--color-gray-400);
    margin-bottom: 1rem;
    line-height: 1.5;
}

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

.project-tech span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--color-gray-700);
    border-radius: 100px;
    color: var(--color-gray-300);
}

.projects-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: var(--space-md);
    background: var(--color-gray-800);
    border-radius: 12px;
    color: var(--color-gray-500);
    margin-bottom: var(--space-lg);
}

.projects-note svg {
    width: 20px;
    height: 20px;
}

.projects-cta {
    text-align: center;
}

.projects-cta p {
    color: var(--color-gray-400);
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card--featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    padding: var(--space-2xl) 0;
    background: var(--color-white);
}

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

.contact-header .section-label {
    justify-content: center;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-title em {
    font-family: var(--font-accent);
    font-style: italic;
}

.contact-subtitle {
    color: var(--color-gray-500);
    font-size: 1.125rem;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: var(--space-md);
    background: var(--color-gray-50);
    border-radius: 16px;
    transition: transform var(--transition-spring);
}

.contact-method:hover {
    transform: translateX(10px);
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-method-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-gray-600);
}

.contact-method-label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin-bottom: 0.25rem;
}

.contact-method-value {
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-method:hover .contact-method-value {
    color: var(--color-gray-600);
}

.contact-availability {
    margin-top: auto;
    padding: var(--space-md);
    background: var(--color-gray-50);
    border-radius: 16px;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-white);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.availability-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-500);
}

.availability-location svg {
    width: 18px;
    height: 18px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-gray-50);
    padding: var(--space-lg);
    border-radius: 24px;
}

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

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

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-group label svg {
    width: 16px;
    height: 16px;
    color: var(--color-gray-400);
}

.form-group label .optional {
    color: var(--color-gray-400);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-400);
}

.form-message {
    text-align: center;
    font-size: 0.875rem;
}

.form-message.success {
    color: var(--color-accent);
}

.form-message.error {
    color: #ff5f57;
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   CONTACT MODAL/POPUP - Calligraphy Style
   ========================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

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

.modal-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(30px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.modal.active .modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-content {
    background: var(--color-white);
    border-radius: 32px;
    padding: 3rem 2.5rem;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    cursor: pointer;
    z-index: 10;
}

.modal-close:hover {
    background: var(--color-black);
    border-color: var(--color-black);
    transform: rotate(90deg);
}

.modal-close:hover svg {
    color: var(--color-white);
}

.modal-close svg {
    width: 18px;
    height: 18px;
    color: var(--color-gray-500);
    transition: color var(--transition-fast);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-right: 0;
}

.modal-label {
    display: inline-block;
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 0.875rem;
    color: var(--color-gray-400);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.modal-header h3 {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.modal-header h3 em {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
}

.modal-header p {
    color: var(--color-gray-400);
    font-size: 0.9375rem;
}

.modal-form .form-group {
    margin-bottom: 1.25rem;
}

.modal-form .form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gray-600);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.modal-form .form-group label .optional {
    font-weight: 400;
    color: var(--color-gray-400);
}

.modal-form .form-group input,
.modal-form .form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    background: var(--color-gray-50);
    transition: all var(--transition-fast);
}

.modal-form .form-group input:focus,
.modal-form .form-group textarea:focus {
    outline: none;
    border-color: var(--color-black);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.modal-form .form-group input::placeholder,
.modal-form .form-group textarea::placeholder {
    color: var(--color-gray-400);
}

.modal-form .form-group textarea {
    resize: none;
    min-height: 100px;
}

.modal-form .btn--full {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1.125rem 2rem;
    font-size: 1rem;
}

.modal-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-gray-100);
}

.modal-footer span {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    margin-right: 0.5rem;
}

.modal-footer a {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 0.9375rem;
    color: var(--color-black);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity var(--transition-fast);
}

.modal-footer a:hover {
    opacity: 0.6;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: var(--space-lg) 0;
    background: var(--color-black);
    color: var(--color-white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-gray-700);
    margin-bottom: var(--space-md);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-brand p {
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: var(--space-md);
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--color-gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-gray-700);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    color: var(--color-gray-400);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-bottom svg {
    width: 14px;
    height: 14px;
    color: #ff5f57;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================
   ANIMATIONS - Fade Up (Continuous)
   ========================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

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

/* Staggered animations for cards and items */
.timeline-item,
.country-card,
.bring-item,
.skill-category,
.project-card,
.contact-method,
.credential {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.animate-in,
.country-card.animate-in,
.bring-item.animate-in,
.skill-category.animate-in,
.project-card.animate-in,
.contact-method.animate-in,
.credential.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.country-card:nth-child(1) { transition-delay: 0s; }
.country-card:nth-child(2) { transition-delay: 0.1s; }
.country-card:nth-child(3) { transition-delay: 0.2s; }

.bring-item:nth-child(1) { transition-delay: 0s; }
.bring-item:nth-child(2) { transition-delay: 0.1s; }
.bring-item:nth-child(3) { transition-delay: 0.2s; }
.bring-item:nth-child(4) { transition-delay: 0.3s; }

.skill-category:nth-child(1) { transition-delay: 0s; }
.skill-category:nth-child(2) { transition-delay: 0.15s; }
.skill-category:nth-child(3) { transition-delay: 0.3s; }

.project-card:nth-child(1) { transition-delay: 0s; }
.project-card:nth-child(2) { transition-delay: 0.1s; }
.project-card:nth-child(3) { transition-delay: 0.2s; }
.project-card:nth-child(4) { transition-delay: 0.3s; }

.timeline-item:nth-child(1) { transition-delay: 0s; }
.timeline-item:nth-child(2) { transition-delay: 0.05s; }
.timeline-item:nth-child(3) { transition-delay: 0.1s; }
.timeline-item:nth-child(4) { transition-delay: 0.15s; }
.timeline-item:nth-child(5) { transition-delay: 0.2s; }
.timeline-item:nth-child(6) { transition-delay: 0.25s; }
.timeline-item:nth-child(7) { transition-delay: 0.3s; }
.timeline-item:nth-child(8) { transition-delay: 0.35s; }

.contact-method:nth-child(1) { transition-delay: 0s; }
.contact-method:nth-child(2) { transition-delay: 0.1s; }

.credential:nth-child(1) { transition-delay: 0s; }
.credential:nth-child(2) { transition-delay: 0.1s; }

/* Language bar fill animation */
@keyframes language-fill-in {
    from {
        width: 0;
    }
    to {
        width: var(--level);
    }
}

.language-fill {
    width: 0;
}

/* ==========================================
   RESPONSIVE UTILITIES
   ========================================== */
@media (max-width: 640px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 5rem;
        --space-2xl: 7rem;
    }
}

/* ==========================================
   DARK THEME FOR SEAMLESS SCROLL
   Story section and below in dark mode
   ========================================== */

/* Story section dark overrides */
.story .section-label-text {
    color: rgba(255, 255, 255, 0.6);
}

.story .section-label-line {
    background: rgba(255, 255, 255, 0.3);
}

.story-icon-float {
    background: rgba(255, 255, 255, 0.1);
}

.story-icon-float svg {
    color: #ffffff;
}

.story-lead {
    color: rgba(255, 255, 255, 0.8);
}

.story-block--full {
    background: rgba(255, 255, 255, 0.05);
}

.story-block-title {
    color: #ffffff;
}

.story-block-title svg {
    color: rgba(255, 255, 255, 0.6);
}

.story-block-content p {
    color: rgba(255, 255, 255, 0.7);
}

.story-block-content strong {
    color: #ffffff;
}

.story-quote {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #ffffff;
}

.story-quote svg {
    color: rgba(255, 255, 255, 0.4);
}

.story-quote span {
    color: rgba(255, 255, 255, 0.7);
}

.story-countries {
    background: rgba(255, 255, 255, 0.05);
}

.story-countries-title {
    color: #ffffff;
}

.story-countries-title svg {
    color: rgba(255, 255, 255, 0.6);
}

.story-countries-intro {
    color: rgba(255, 255, 255, 0.6);
}

.country-card {
    background: rgba(255, 255, 255, 0.08);
}

.country-card:hover {
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.05);
}

.country-name {
    color: #ffffff;
}

.country-years {
    color: rgba(255, 255, 255, 0.5);
}

.country-desc {
    color: rgba(255, 255, 255, 0.6);
}

.story-languages-title {
    color: #ffffff;
}

.story-languages-title svg {
    color: rgba(255, 255, 255, 0.6);
}

.language-name {
    color: #ffffff;
}

.language-bar {
    background: rgba(255, 255, 255, 0.2);
}

.language-fill {
    background: #ffffff;
}

.language-level {
    color: rgba(255, 255, 255, 0.5);
}

.story-bring-title {
    color: #ffffff;
}

.bring-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.bring-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.bring-icon {
    background: rgba(255, 255, 255, 0.1);
}

.bring-icon svg {
    color: #ffffff;
}

.bring-item h4 {
    color: #ffffff;
}

.story-statement {
    color: #ffffff;
}

.statement-line--accent {
    color: rgba(255, 255, 255, 0.6);
}

/* Journey section - also dark */
.journey {
    background: #000000;
}

.journey-title {
    color: #ffffff;
}

.journey-title em {
    color: rgba(255, 255, 255, 0.6);
}

.timeline-line {
    background: rgba(255, 255, 255, 0.1);
}

.timeline-line-progress {
    background: #ffffff;
}

.timeline-marker {
    background: #000000;
    border-color: rgba(255, 255, 255, 0.3);
}

.timeline-marker svg {
    color: #ffffff;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
}

.timeline-period {
    color: rgba(255, 255, 255, 0.5);
}

.timeline-content h3 {
    color: #ffffff;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.7);
}

.timeline-tags span {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.timeline-future-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.journey-credentials {
    background: rgba(255, 255, 255, 0.05);
}

.journey-credentials h3 {
    color: #ffffff;
}

.credential {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.credential svg {
    color: rgba(255, 255, 255, 0.6);
}

/* Skills section - also dark */
.skills {
    background: #000000;
}

.skills .section-label-text {
    color: rgba(255, 255, 255, 0.6);
}

.skills .section-label-line {
    background: rgba(255, 255, 255, 0.3);
}

.skills-title {
    color: #ffffff;
}

.skills-title em {
    color: rgba(255, 255, 255, 0.6);
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
}

.skill-category-header h3 {
    color: #ffffff;
}

.skill-category-header svg {
    color: rgba(255, 255, 255, 0.6);
}

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tech-slider-label {
    color: rgba(255, 255, 255, 0.5);
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

/* Projects section - also dark */
.projects {
    background: #000000;
}

.projects-title {
    color: #ffffff;
}

.projects-title em {
    color: rgba(255, 255, 255, 0.6);
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

.project-category {
    color: rgba(255, 255, 255, 0.6);
}

.project-card-info h3 {
    color: #ffffff;
}

.project-card-info p {
    color: rgba(255, 255, 255, 0.7);
}

.project-tech span {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.mockup-browser {
    background: rgba(255, 255, 255, 0.1);
}

.mockup-browser-content {
    background: rgba(255, 255, 255, 0.05);
}

.mockup-placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.mockup-phone {
    background: rgba(255, 255, 255, 0.1);
}

.mockup-phone-content {
    background: rgba(255, 255, 255, 0.05);
}

.projects-cta p {
    color: rgba(255, 255, 255, 0.6);
}

/* Contact section - also dark */
.contact {
    background: #000000;
}

.contact .section-label-text {
    color: rgba(255, 255, 255, 0.6);
}

.contact .section-label-line {
    background: rgba(255, 255, 255, 0.3);
}

.contact-title {
    color: #ffffff;
}

.contact-title em {
    color: rgba(255, 255, 255, 0.6);
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact-method {
    background: rgba(255, 255, 255, 0.05);
}

.contact-method-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.contact-method-label {
    color: rgba(255, 255, 255, 0.5);
}

.contact-method-value {
    color: #ffffff;
}

.contact-availability {
    background: rgba(255, 255, 255, 0.05);
}

.availability-badge {
    color: #ffffff;
}

.availability-location {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
}

.contact-form label {
    color: #ffffff;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.3);
}

.optional {
    color: rgba(255, 255, 255, 0.4);
}

/* Footer - also dark */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    color: #ffffff;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-social a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   NEW STORY SCREENS - FULL PAGE EXPERIENCE
   ========================================== */

.story {
    position: relative;
    z-index: 50;
    background: #000000;
}

.story-screen {
    min-height: 100vh;
    padding: clamp(4rem, 10vh, 8rem) var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* First intro screen - now with grid layout */
.story-screen--intro {
    min-height: auto;
    padding: clamp(3rem, 6vh, 5rem) var(--space-md) clamp(6rem, 12vh, 10rem);
}

/* Compact screens for journey cards */
.story-screen--journey {
    min-height: auto;
    padding: clamp(5rem, 10vh, 8rem) var(--space-md);
}

/* ==========================================
   STORY GRID - Two Column Layout
   ========================================== */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.story-grid-left {
    text-align: left;
}

.story-grid-right {
    text-align: left;
}

/* Tech Pills */
.story-tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.story-tech-pills span {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-base);
}

.story-tech-pills span:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* Origin Story Card */
.story-origin {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    position: relative;
}

.story-origin-age {
    font-family: var(--font-accent);
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    flex-shrink: 0;
}

.story-origin-content {
    flex: 1;
}

.story-origin-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.story-origin-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
}

.story-origin-content p:last-child {
    margin-bottom: 0;
}

.story-origin-highlight {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Story Badges - Certifications & Skills */
.story-badges {
    margin-top: 2rem;
}

.story-badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.story-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.story-badge:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.story-badge-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 210, 106, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.story-badge-icon i {
    color: var(--color-accent);
}

.story-badge-icon svg {
    width: 18px;
    height: 18px;
}

.story-badge-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.story-badge-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
}

.story-badge-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
}

/* Languages Section */
.story-languages {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.story-languages-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.story-languages-flags {
    display: flex;
    gap: 0.5rem;
}

.story-language {
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform var(--transition-fast);
    filter: grayscale(0.3);
}

.story-language:hover {
    transform: scale(1.15) translateY(-2px);
    filter: grayscale(0);
}

/* Story Stats */
.story-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.story-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.story-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.story-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

/* Story Expertise Items */
.story-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.expertise-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.expertise-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.expertise-item--primary {
    background: rgba(0, 210, 106, 0.1);
    border-color: rgba(0, 210, 106, 0.2);
    color: var(--color-accent);
}

.expertise-item--primary svg {
    opacity: 1;
    color: var(--color-accent);
}

.story-screen-content {
    max-width: 900px;
    text-align: center;
    position: relative;
}

/* Section numbers for visual hierarchy */
.story-screen-content::before {
    content: attr(data-section);
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-primary);
}

.story-screen-content--left {
    text-align: left;
    max-width: 700px;
    margin-right: auto;
    margin-left: 10%;
}

.story-screen-content--left::before {
    left: 0;
    transform: none;
}

.story-screen-content--right {
    text-align: right;
    max-width: 700px;
    margin-left: auto;
    margin-right: 10%;
}

.story-screen-content--right::before {
    left: auto;
    right: 0;
    transform: none;
}

/* Story Labels */
.story-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: var(--space-md);
}

/* Story Number (big background number) */
.story-number {
    font-family: var(--font-accent);
    font-size: clamp(8rem, 20vw, 16rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    line-height: 1;
    pointer-events: none;
}

/* Story Headlines */
.story-headline {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.story-headline em {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.story-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.story-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.story-subtext {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0;
}

/* Story Link */
.story-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.story-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.story-link svg {
    width: 14px;
    height: 14px;
}

/* Language Tags */
.story-languages {
    margin-top: 1.5rem;
}

.language-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.language-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.language-tag--native {
    color: rgba(255, 255, 255, 0.8);
}

/* About Card */
.about-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.about-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.about-card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.about-card-text:last-of-type {
    margin-bottom: 1.25rem;
}

.about-card-traits {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.about-card-traits span {
    padding: 0.35rem 0.75rem;
    background: rgba(0, 210, 106, 0.08);
    border: 1px solid rgba(0, 210, 106, 0.15);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-accent);
}

/* Story Tags */
.story-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.story-tags span {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.story-tags-inline {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.story-tags-inline span {
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   COMPACT JOURNEY CARDS
   ========================================== */
.journey-cards-compact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.journey-card-compact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.journey-card-compact:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.journey-card-compact .journey-flag {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.journey-card-compact .journey-place {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.journey-card-compact .journey-years {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.15rem;
}

.journey-card-compact--highlight {
    background: linear-gradient(135deg, rgba(0, 21, 48, 0.5) 0%, rgba(0, 40, 80, 0.3) 100%);
    border-color: rgba(100, 150, 255, 0.15);
}

.journey-card-compact--active {
    background: rgba(0, 210, 106, 0.08);
    border-color: rgba(0, 210, 106, 0.2);
}

.journey-card-compact--active .journey-place {
    color: var(--color-accent);
}

/* ==========================================
   JOURNEY SELECTOR - INTERACTIVE
   ========================================== */
.journey-detail {
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.journey-detail-content {
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.journey-detail-content[style*="display: none"] {
    animation: none;
}

.journey-detail-quote {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.journey-detail-skills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.journey-detail-skills span {
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

/* Journey Languages / Skill Meters */
.journey-languages {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.journey-language {
    display: grid;
    grid-template-columns: 110px 1fr 70px;
    align-items: center;
    gap: 0.75rem;
}

.journey-language-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.journey-language-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.journey-language-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), rgba(0, 210, 106, 0.6));
    border-radius: 3px;
    transition: width 0.6s ease;
}

.journey-language-level {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.journey-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.journey-selector-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    cursor: pointer;
    transition: border-color 0.3s ease;
    position: relative;
}

/* Active state - only the indicator changes */
.journey-selector-item.active {
    border-left-color: var(--color-accent);
}

/* Remove special highlight styling - keep all items consistent */
.journey-selector-item--highlight,
.journey-selector-item--active {
    background: transparent;
}

.journey-selector-item--highlight.active {
    border-left-color: var(--color-accent);
}

.journey-selector .journey-flag {
    font-size: 1.25rem;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.journey-selector-item.active .journey-flag {
    opacity: 1;
}

.journey-selector-info {
    flex: 1;
}

.journey-selector-info .journey-place {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.journey-selector-item.active .journey-place {
    color: #ffffff;
}

.journey-selector-item--highlight.active .journey-place {
    color: #ffffff;
}

.journey-selector-info .journey-years {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.journey-selector-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}

.journey-selector-item.active .journey-selector-indicator {
    background: var(--color-accent);
    box-shadow: 0 0 8px rgba(0, 210, 106, 0.5);
}

.journey-selector-item--highlight.active .journey-selector-indicator {
    background: var(--color-accent);
    box-shadow: 0 0 8px rgba(0, 210, 106, 0.5);
}

/* Future item - special styling for upcoming plans */
.journey-selector-item--future {
    background: linear-gradient(135deg, rgba(255, 140, 50, 0.08) 0%, rgba(255, 100, 50, 0.04) 100%);
    border-left-color: rgba(255, 140, 50, 0.3);
}

.journey-selector-item--future:hover {
    background: linear-gradient(135deg, rgba(255, 140, 50, 0.12) 0%, rgba(255, 100, 50, 0.06) 100%);
    border-left-color: rgba(255, 140, 50, 0.5);
}

.journey-selector-item--future.active {
    border-left-color: #ff8c32;
}

.journey-selector-item--future.active .journey-selector-indicator {
    background: #ff8c32;
    box-shadow: 0 0 8px rgba(255, 140, 50, 0.5);
}

.journey-selector-item--future .journey-years {
    color: rgba(255, 140, 50, 0.6);
}

/* Future timeline item styling */
.journey-timeline-item--future .journey-timeline-dot {
    background: rgba(255, 140, 50, 0.3);
    border-color: #ff8c32;
}

.journey-timeline-item--future.active .journey-timeline-dot {
    background: #ff8c32;
    box-shadow: 0 0 12px rgba(255, 140, 50, 0.6);
}

.journey-timeline-item--future .journey-timeline-label {
    color: rgba(255, 140, 50, 0.8);
}

/* ==========================================
   DESIGN SHOWCASE SECTION
   ========================================== */
.story-screen--designs {
    background: linear-gradient(180deg, #000000 0%, #050505 100%);
    min-height: auto;
    padding: clamp(4rem, 8vh, 6rem) 0 clamp(3rem, 6vh, 4rem);
    overflow: hidden;
}

.designs-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    margin-bottom: 2.5rem;
}

.designs-text {
    max-width: 500px;
}

.designs-text .story-headline {
    margin-top: 0.5rem;
}

.designs-text .story-subtext {
    margin-top: 1rem;
}

/* ==========================================
   TEMPLATES CAROUSEL
   ========================================== */
.templates-carousel-wrapper {
    overflow: hidden;
    margin: 0;
    padding: 1rem 0;
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.templates-carousel {
    display: flex;
    gap: 1.5rem;
    animation: scrollCarousel 25s linear infinite;
    width: max-content;
}

.templates-carousel:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

.template-item {
    flex-shrink: 0;
    width: 220px;
}

.template-mockup {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.template-mockup:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.template-browser {
    background: #2a2a2a;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.template-browser-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.template-browser-dot:nth-child(1) { background: #ff5f57; }
.template-browser-dot:nth-child(2) { background: #ffbd2e; }
.template-browser-dot:nth-child(3) { background: #28c840; }

.template-content {
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
}

/* Individual Template Styles */
/* Restaurant Template */
.template-restaurant {
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 1rem;
    height: 100%;
}

.template-restaurant .t-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.template-restaurant .t-logo {
    font-size: 0.6rem;
    font-weight: 800;
    color: #fff;
}

.template-restaurant .t-logo span { color: #f97316; }

.template-restaurant .t-nav {
    display: flex;
    gap: 0.5rem;
    font-size: 0.35rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
}

.template-restaurant .t-hero {
    position: relative;
    height: 50%;
    background: url('https://images.unsplash.com/photo-1544025162-d76694265947?w=400&q=80') center/cover;
    border-radius: 8px;
    overflow: hidden;
}

.template-restaurant .t-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #1a1a1a, transparent);
}

.template-restaurant .t-hero-text {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    z-index: 1;
}

.template-restaurant .t-pre {
    font-size: 0.3rem;
    color: #f97316;
    font-family: monospace;
}

.template-restaurant .t-title {
    font-size: 0.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.template-restaurant .t-title span {
    background: linear-gradient(90deg, #f97316, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.template-restaurant .t-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
}

.template-restaurant .t-stars {
    display: flex;
    gap: 2px;
}

.template-restaurant .t-star {
    width: 6px;
    height: 6px;
    background: #f97316;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.template-restaurant .t-btn {
    background: #f97316;
    color: #fff;
    font-size: 0.35rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 100px;
}

/* Coffee Template */
.template-coffee {
    background: #0a0a0a;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.template-coffee .t-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.template-coffee .t-logo {
    font-size: 0.65rem;
    font-weight: 900;
    color: #fff;
}

.template-coffee .t-logo span { color: #D4AF37; }

.template-coffee .t-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.template-coffee .t-pre {
    font-size: 0.3rem;
    color: #D4AF37;
    font-family: monospace;
    letter-spacing: 0.1em;
}

.template-coffee .t-title {
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 0.9;
    margin: 0.3rem 0;
}

.template-coffee .t-title .brown { color: #8B5A2B; }
.template-coffee .t-title .gold { 
    background: linear-gradient(90deg, #D4AF37, #B8960C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.template-coffee .t-desc {
    font-size: 0.4rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
    max-width: 80%;
}

.template-coffee .t-image {
    height: 35%;
    background: url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?w=300&q=80') center/cover;
    border-radius: 8px;
    margin-top: auto;
}

.template-coffee .t-btn {
    background: #D4AF37;
    color: #000;
    font-size: 0.45rem;
    font-weight: 800;
    text-align: center;
    padding: 0.4rem;
    margin-top: 0.5rem;
}

/* Fashion Template */
.template-fashion {
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.template-fashion .t-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.template-fashion .t-logo {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #1a1a1a;
}

.template-fashion .t-cart {
    position: relative;
}

.template-fashion .t-cart-icon {
    width: 10px;
    height: 10px;
    border: 1px solid #1a1a1a;
    border-radius: 2px;
}

.template-fashion .t-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.25rem;
    color: #fff;
}

.template-fashion .t-hero {
    flex: 1;
    margin: 0.5rem;
    background: url('https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?w=400&q=80') center/cover;
    border-radius: 6px;
    position: relative;
}

.template-fashion .t-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    border-radius: 6px;
}

.template-fashion .t-hero-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #000;
    color: #fff;
    font-size: 0.35rem;
    font-weight: 500;
    padding: 0.15rem 0.4rem;
    z-index: 1;
}

.template-fashion .t-hero-text {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    z-index: 1;
}

.template-fashion .t-hero-title {
    font-size: 0.6rem;
    font-weight: 500;
    color: #fff;
}

.template-fashion .t-hero-sub {
    font-size: 0.4rem;
    color: rgba(255,255,255,0.7);
}

.template-fashion .t-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.5rem;
}

.template-fashion .t-product {
    text-align: left;
}

.template-fashion .t-product-img {
    aspect-ratio: 3/4;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 0.3rem;
}

.template-fashion .t-product:first-child .t-product-img {
    background: url('https://images.unsplash.com/photo-1521572163474-6864f9cf17ab?w=150&q=80') center/cover;
}

.template-fashion .t-product:last-child .t-product-img {
    background: url('https://images.unsplash.com/photo-1594938298603-c8148c4dae35?w=150&q=80') center/cover;
}

.template-fashion .t-product-name {
    font-size: 0.4rem;
    color: #1a1a1a;
}

.template-fashion .t-product-price {
    font-size: 0.4rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Gym Template */
.template-gym {
    background: #111111;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
}

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

.template-gym .t-logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.template-gym .t-logo-icon {
    width: 14px;
    height: 14px;
    background: #dc2626;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-gym .t-logo-text {
    font-size: 0.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.05em;
}

.template-gym .t-join {
    background: #dc2626;
    color: #fff;
    font-size: 0.3rem;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.template-gym .t-hero {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=400&q=80') center/cover;
    border-radius: 8px;
    margin: 0.5rem 0;
    position: relative;
}

.template-gym .t-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #111, transparent 60%);
    border-radius: 8px;
}

.template-gym .t-hero-text {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    z-index: 1;
}

.template-gym .t-pre {
    font-size: 0.3rem;
    color: #dc2626;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.template-gym .t-title {
    font-size: 0.75rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}

.template-gym .t-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
}

.template-gym .t-stat {
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 0.4rem;
    text-align: center;
}

.template-gym .t-stat-value {
    font-size: 0.5rem;
    font-weight: 900;
    color: #dc2626;
}

.template-gym .t-stat-label {
    font-size: 0.25rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Law Firm Template */
.template-law {
    background: #0f1419;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.template-law .t-logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.template-law .t-logo-icon {
    width: 12px;
    height: 12px;
    border: 1px solid #c9a227;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-law .t-logo-icon::after {
    content: '⚖';
    font-size: 0.35rem;
}

.template-law .t-logo-text {
    font-size: 0.4rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.05em;
}

.template-law .t-logo-sub {
    font-size: 0.2rem;
    color: #c9a227;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.template-law .t-hero {
    flex: 1;
    background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=400&q=80') center/cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0.75rem;
}

.template-law .t-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0f1419, transparent);
}

.template-law .t-hero-content {
    position: relative;
    z-index: 1;
}

.template-law .t-divider {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.3rem;
}

.template-law .t-divider::before {
    content: '';
    width: 15px;
    height: 1px;
    background: #c9a227;
}

.template-law .t-divider span {
    font-size: 0.25rem;
    color: #c9a227;
    letter-spacing: 0.2em;
}

.template-law .t-tagline {
    font-size: 0.3rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.template-law .t-tagline span {
    color: #c9a227;
}

.template-law .t-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0.5rem 0.75rem;
    background: rgba(201, 162, 39, 0.05);
    border-top: 1px solid rgba(201, 162, 39, 0.1);
}

.template-law .t-stat {
    text-align: center;
}

.template-law .t-stat-value {
    font-size: 0.4rem;
    font-weight: 600;
    color: #c9a227;
}

.template-law .t-stat-label {
    font-size: 0.2rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.05em;
}

.template-law .t-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
}

.template-law .t-btn {
    background: #c9a227;
    color: #0f1419;
    font-size: 0.35rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
}

.template-law .t-location {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.3rem;
    color: rgba(255,255,255,0.4);
}

/* Bakery Template */
.template-bakery {
    background: #faf6f1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.template-bakery .t-header {
    background: #8b4513;
    padding: 0.6rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-bakery .t-logo {
    font-family: var(--font-accent);
    font-size: 0.6rem;
    font-style: italic;
    color: #f5deb3;
}

.template-bakery .t-order {
    font-size: 0.35rem;
    color: rgba(245, 222, 179, 0.7);
}

.template-bakery .t-hero {
    margin: 0.5rem;
    height: 35%;
    background: url('https://images.unsplash.com/photo-1509440159596-0249088772ff?w=400&q=80') center/cover;
    border-radius: 8px;
    position: relative;
}

.template-bakery .t-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(93,58,26,0.95), transparent);
    border-radius: 8px;
}

.template-bakery .t-hero-content {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.template-bakery .t-pre {
    font-size: 0.3rem;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.template-bakery .t-title {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    color: #fff;
    line-height: 1.2;
    margin-top: 0.2rem;
}

.template-bakery .t-stars {
    display: flex;
    gap: 2px;
    margin-top: 0.3rem;
}

.template-bakery .t-star {
    width: 5px;
    height: 5px;
    background: #f5deb3;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.template-bakery .t-products {
    flex: 1;
    padding: 0 0.5rem;
}

.template-bakery .t-section-title {
    font-size: 0.5rem;
    font-weight: 500;
    color: #5d3a1a;
    margin-bottom: 0.4rem;
}

.template-bakery .t-product {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border-radius: 8px;
    padding: 0.4rem;
    margin-bottom: 0.3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.template-bakery .t-product-img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    flex-shrink: 0;
}

.template-bakery .t-product:first-child .t-product-img {
    background: url('https://images.unsplash.com/photo-1549931319-a545dcf3bc73?w=100&q=80') center/cover;
}

.template-bakery .t-product:last-child .t-product-img {
    background: url('https://images.unsplash.com/photo-1555507036-ab1f4038808a?w=100&q=80') center/cover;
}

.template-bakery .t-product-info {
    flex: 1;
}

.template-bakery .t-product-name {
    font-size: 0.45rem;
    font-weight: 500;
    color: #5d3a1a;
}

.template-bakery .t-product-desc {
    font-size: 0.3rem;
    color: #999;
}

.template-bakery .t-product-price {
    font-size: 0.45rem;
    font-weight: 600;
    color: #8b4513;
}

.template-bakery .t-cta {
    margin: 0.5rem;
    background: #8b4513;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-bakery .t-cta-text {
    color: #fff;
}

.template-bakery .t-cta-title {
    font-size: 0.45rem;
    font-weight: 500;
}

.template-bakery .t-cta-sub {
    font-size: 0.3rem;
    opacity: 0.6;
}

.template-bakery .t-cta-arrow {
    color: #f5deb3;
    font-size: 0.5rem;
}

/* Photography Template */
.template-photo {
    background: #0a0a0a;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.template-photo .t-logo {
    font-size: 0.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: #fff;
}

.template-photo .t-nav {
    font-size: 0.35rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.1em;
}

.template-photo .t-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    padding: 0.4rem;
}

.template-photo .t-grid-item {
    background: #1a1a1a;
    border-radius: 4px;
}

.template-photo .t-grid-item:nth-child(1) {
    background: url('https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?w=200&q=80') center/cover;
}

.template-photo .t-grid-item:nth-child(2) {
    background: url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?w=200&q=80') center/cover;
}

.template-photo .t-grid-item:nth-child(3) {
    background: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&q=80') center/cover;
}

.template-photo .t-grid-item:nth-child(4) {
    background: url('https://images.unsplash.com/photo-1543168256-418811576931?w=200&q=80') center/cover;
}

.template-photo .t-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.template-photo .t-available {
    font-size: 0.4rem;
    font-weight: 500;
    color: #fff;
}

.template-photo .t-location {
    font-size: 0.3rem;
    color: rgba(255,255,255,0.4);
}

.template-photo .t-btn {
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 0.35rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
}

/* Designer Template */
.template-designer {
    background: #f8f5f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.template-designer .t-logo {
    font-family: var(--font-accent);
    font-size: 0.55rem;
    font-style: italic;
    color: #1a1a1a;
}

.template-designer .t-nav {
    font-size: 0.35rem;
    color: rgba(0,0,0,0.4);
    letter-spacing: 0.05em;
}

.template-designer .t-hero {
    flex: 1;
    margin: 0.5rem;
    background: url('https://images.unsplash.com/photo-1558171813-4c088753af8f?w=400&q=80') center/cover;
    border-radius: 6px;
    position: relative;
}

.template-designer .t-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    border-radius: 6px;
}

.template-designer .t-hero-content {
    position: absolute;
    bottom: 0.6rem;
    left: 0.6rem;
    z-index: 1;
}

.template-designer .t-pre {
    font-size: 0.3rem;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.template-designer .t-title {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: #fff;
    line-height: 1.2;
    margin-top: 0.2rem;
}

.template-designer .t-collection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding: 0 0.5rem 0.5rem;
}

.template-designer .t-item {
    aspect-ratio: 3/4;
    border-radius: 4px;
}

.template-designer .t-item:nth-child(1) {
    background: url('https://images.unsplash.com/photo-1539109136881-3be0616acf4b?w=100&q=80') center/cover;
}

.template-designer .t-item:nth-child(2) {
    background: url('https://images.unsplash.com/photo-1509631179647-0177331693ae?w=100&q=80') center/cover;
}

.template-designer .t-item:nth-child(3) {
    background: url('https://images.unsplash.com/photo-1485968579169-6bc2441e0988?w=100&q=80') center/cover;
}

/* Mobile responsive for templates - handled by mobile-first.css */

/* ==========================================
   STORY HIGHLIGHT CARD
   ========================================== */
.story-highlight-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 21, 48, 0.4) 0%, rgba(0, 40, 80, 0.2) 100%);
    border: 1px solid rgba(100, 150, 255, 0.1);
    border-radius: 20px;
}

.story-highlight-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.story-highlight-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   STORY FUTURE CARD
   ========================================== */
.story-future-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 140, 50, 0.08) 0%, rgba(255, 100, 50, 0.04) 100%);
    border: 1px solid rgba(255, 140, 50, 0.15);
    border-radius: 20px;
    position: relative;
}

.story-future-year {
    font-family: var(--font-accent);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 140, 50, 0.2);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.story-future-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.story-future-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.story-cta-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: #ffffff;
    border-radius: 100px;
    color: #000000;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-base);
}

.story-cta-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

.story-cta-small svg {
    width: 14px;
    height: 14px;
}

/* ==========================================
   PROJECT SHOWCASE CARD
   ========================================== */
.project-showcase {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 210, 106, 0.08) 0%, rgba(0, 150, 80, 0.04) 100%);
    border: 1px solid rgba(0, 210, 106, 0.15);
    border-radius: 20px;
    position: relative;
}

.project-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 210, 106, 0.15);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.project-showcase-badge svg {
    width: 12px;
    height: 12px;
}

.project-showcase-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.project-showcase-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
}

.project-showcase-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.project-showcase-features span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.project-showcase-features svg {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
    opacity: 0.8;
}

.project-showcase-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-showcase-tech span {
    padding: 0.3rem 0.7rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   REVIEWS INLINE (in Webstability section)
   ========================================== */
.reviews-inline {
    margin-top: var(--space-md);
}

.review-platforms-inline {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Platform badges */
.review-platforms {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.review-platform {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.review-platform:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.review-platform-icon {
    width: 16px;
    height: 16px;
}

.review-platform-icon--trustpilot {
    color: #00b67a;
    fill: #00b67a;
}

.review-platform-score {
    font-weight: 700;
    color: var(--color-white);
    font-size: 0.9rem;
}

.review-platform-name {
    color: var(--color-gray-400);
    font-size: 0.85rem;
}

/* Reviews slider */
.reviews-slider {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.reviews-track {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    animation: scrollReviews 30s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes scrollReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Review card */
.review-card {
    flex-shrink: 0;
    width: 320px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-align: left;
    transition: var(--transition-fast);
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars svg {
    width: 14px;
    height: 14px;
}

.review-stars--trustpilot svg {
    color: #00b67a;
    fill: #00b67a;
}

.review-stars--google svg {
    color: #FBBC05;
    fill: #FBBC05;
}

.review-card-platform {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-500);
}

.review-card-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-gray-300);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.review-card-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gray-300);
}

.review-card-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-white);
}

/* ==========================================
   FUTURE SECTION - CENTERED
   ========================================== */
.story-screen--future {
    background: linear-gradient(180deg, 
        #0a0a0a 0%, 
        rgba(255, 140, 50, 0.06) 50%,
        #0a0a0a 100%
    );
    text-align: center;
    padding: clamp(6rem, 12vh, 10rem) var(--space-md);
}

.story-future-year-large {
    font-family: var(--font-accent);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    color: rgba(255, 140, 50, 0.15);
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.story-screen--projects {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    padding: clamp(5rem, 10vh, 8rem) var(--space-md);
}

.projects-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.projects-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

/* Project Card - Compact */
.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.project-card--featured {
    background: rgba(0, 210, 106, 0.04);
    border-color: rgba(0, 210, 106, 0.15);
}

.project-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.project-card-badge svg {
    width: 10px;
    height: 10px;
}

.project-card--featured .project-card-badge {
    color: var(--color-accent);
}

.project-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.project-card-desc {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
}

.project-card-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s ease;
}

.project-card-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.project-card-link svg {
    width: 14px;
    height: 14px;
}

/* Projects grid mobile styles handled by mobile-first.css */

/* Projects intro text */
.projects-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.75rem;
}

/* Tech Ticker - Moving pills */
.tech-ticker {
    margin-top: 2rem;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.tech-ticker-track {
    display: flex;
    gap: 0.75rem;
    width: max-content;
    animation: ticker-scroll 25s linear infinite;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tech-ticker:hover .tech-ticker-track {
    animation-play-state: paused;
}

.tech-ticker:hover .tech-pill {
    color: rgba(255, 255, 255, 0.7);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.project-card-link:hover {
    color: #ffffff;
}

.project-card-link svg {
    width: 14px;
    height: 14px;
}

/* CTA Card */
.project-card--cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.15);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.project-card--cta:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.project-card-cta-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.project-card-cta-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.25rem;
}

/* Grid reverse for alternating layout */
.story-grid--reverse {
    direction: rtl;
}

.story-grid--reverse > * {
    direction: ltr;
}

/* Story Screen Variants */
.story-screen--intro {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    min-height: auto;
}

.story-screen--dark {
    background: #000000;
    min-height: auto;
}

.story-screen--journey {
    background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 100%);
    min-height: auto;
    padding: clamp(5rem, 10vh, 8rem) var(--space-md);
}

.story-screen--marine {
    background: linear-gradient(135deg, #000510 0%, #001530 50%, #000510 100%);
    min-height: auto;
}

.story-screen--now {
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    min-height: auto;
    padding: clamp(5rem, 10vh, 8rem) var(--space-md);
}

.story-screen--future {
    background: linear-gradient(180deg, 
        #0a0a0a 0%, 
        rgba(255, 140, 50, 0.05) 50%,
        #0a0a0a 100%
    );
    min-height: auto;
}

/* Journey Cards - old, kept for compatibility */
.journey-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: var(--space-lg);
}

.journey-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
}

.journey-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.journey-flag {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.journey-years {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

.journey-place {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
}

/* Tech Stack */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: var(--space-md);
}

.tech-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-base);
}

.tech-icon:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.tech-icon svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

/* Story CTA Button */
.story-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    border-radius: 100px;
    margin-top: var(--space-md);
    transition: all var(--transition-base);
}

.story-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
}

.story-cta svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.story-cta:hover svg {
    transform: translateX(4px);
}

/* Story Contact Info */
.story-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: var(--space-md);
}

.story-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    border-radius: 12px;
    transition: all var(--transition-base);
}

.story-contact-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.story-contact-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

/* ==========================================
   REVEAL ANIMATIONS
   ========================================== */

.reveal-text,
.reveal-fade,
.reveal-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-text.is-visible,
.reveal-fade.is-visible,
.reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-card {
    transition-delay: calc(var(--card-index, 0) * 0.1s);
}

/* ==========================================
   NEW MARQUEE - TEXT BASED
   ========================================== */

.marquee--dark {
    position: relative;
    z-index: 100;
    background: #000000;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.marquee--dark .marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: marquee-scroll 20s linear infinite;
    white-space: nowrap;
}

.marquee--dark .marquee-text {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.marquee--dark .marquee-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   CONTACT MODAL
   ========================================== */

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-modal-content {
    position: relative;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 3rem 2rem;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.contact-modal-content::-webkit-scrollbar {
    width: 6px;
}

.contact-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.contact-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.contact-modal.active .contact-modal-content {
    transform: translateY(0) scale(1);
}

.contact-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.contact-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: rotate(90deg);
}

.contact-modal-close svg {
    width: 20px;
    height: 20px;
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.contact-headline {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-headline em {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.contact-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto;
}

/* Contact Grid - Two Columns */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 300px 1fr;
        gap: 4rem;
    }
}

/* Left Side - Photo & Contact Info */
.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .contact-left {
        align-items: flex-start;
    }
}

.contact-photo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.contact-info-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-info-item a {
    color: inherit;
    text-decoration: none;
}

/* Right Side - Form */
.contact-right {
    width: 100%;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

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

.contact-form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.01em;
}

.contact-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.contact-input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 210, 106, 0.1);
}

.contact-textarea {
    resize: vertical;
    min-height: 130px;
    font-family: inherit;
}

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.1rem 2rem;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    color: #000000;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: 0.5rem;
    letter-spacing: -0.01em;
}

.contact-submit:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.contact-submit:active {
    transform: translateY(0);
}

.contact-submit svg {
    width: 18px;
    height: 18px;
}

/* Success Message */
.contact-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    gap: 1rem;
}

.contact-success.active {
    display: flex;
}

.contact-success svg {
    width: 64px;
    height: 64px;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.contact-success h4 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-success p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hide form when success is shown */
.contact-form.submitted {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-modal-content {
        padding: 2rem 1.5rem;
    }
    
    .contact-header {
        margin-bottom: 2rem;
    }
    
    .contact-headline {
        font-size: 2.5rem;
    }
    
    .contact-grid {
        gap: 2rem;
    }
    
    .contact-photo {
        width: 100px;
        height: 100px;
    }
    
    .contact-form-title {
        font-size: 1.25rem;
    }
}

.contact-link--primary {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.contact-link--primary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

.contact-link svg {
    width: 18px;
    height: 18px;
}

.contact-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    justify-content: center;
    margin-top: 1rem;
}

.contact-availability .availability-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    background-color: #000000 !important;
}

/* ==========================================
   NEW FOOTER - MINIMAL
   ========================================== */

.footer {
    background: #000000;
    padding: var(--space-md) var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-copy {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   MOBILE RESPONSIVE - STORY SCREENS
   ========================================== */

@media (max-width: 968px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-grid--reverse {
        direction: ltr;
    }
    
    .story-grid-left,
    .story-grid-right {
        text-align: center;
    }
    
    .story-tech-pills {
        justify-content: center;
    }
    
    .story-link {
        margin-left: auto;
        margin-right: auto;
    }
    
    .journey-cards-compact {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile styles are now handled by mobile-first.css */
/* The max-width media queries below are deprecated - kept for reference only */

