/* ============================================
   KIMMAURICE.COM - RESPONSIVE CSS FIXES
   Mobile-First Approach
   ============================================ */

/* ============================================
   VARIABLES CSS (No changes)
   ============================================ */
:root {
    scroll-padding-top: 100px; 
    scroll-behavior: smooth;

    --black: #1a1a1a;
    --white: #FFFEF9;
    --cream: #FFF9E6;      
    --warm-gray: #8B8378; 
    --line: rgba(0, 0, 0, 0.1);

    --coral: #1e577a;
    --sun: #FFD93D;
    
    --peach: var(--coral);    
    --mint: var(--coral);     
    --lavender: var(--coral); 
    --forest: var(--sun);
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* ============================================
   RESET & BASE (Mobile-First)
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-y: scroll; 
    transform: none !important; 
    -webkit-transform: none !important; 
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.65;
    overflow-x: hidden;
    /* MOBILE-FIRST: Smaller padding - MUST MATCH HEADER HEIGHT */
    padding-top: 64px; 
}

/* ============================================
   ÉLÉMENTS DÉCORATIFS
   ============================================ */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    pointer-events: none;
    will-change: transform;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
        box-shadow: 0 0 0 0 rgba(255, 217, 61, 0.7); 
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.2); 
        box-shadow: 0 0 0 10px rgba(255, 217, 61, 0); 
    }
}

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

@keyframes bounceIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ============================================
   NAVIGATION FIXE (Mobile-First)
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* MOBILE-FIRST: Smaller padding */
    padding: 10px 5vw; 
    background: rgba(255, 254, 249, 0.9);
    backdrop-filter: blur(10px);
    z-index: 50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 64px;
}

.site-logo {
    font-family: "Neue Haas Grotesk", Icons;
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    z-index: 60;
    font-style: normal;
}

.main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 5vw;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 45;
    gap: 0;
}

.main-nav.open {
    display: flex;
}

.nav-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s, border-bottom 0.2s;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    display: block;
}

.nav-link:last-child {
    border-bottom: none;
}

.nav-link:hover,
.nav-link.current {
    color: var(--coral);
}

.nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--black);
    z-index: 55;
    padding: 3px 4px;
    line-height: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   HERO SECTION (Mobile-First)
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 5vw 60px;
    position: relative;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE8D6 50%, #FFD6D6 100%);
    overflow: hidden;
    margin-top: 0;
}

.hero .blob:nth-child(1) {
    width: 250px;
    height: 250px;
    background: var(--coral); 
    top: 50%;
    right: -80px;
    animation-delay: 0s;
}

.hero .blob:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--coral); 
    bottom: -50px;
    left: -80px;
    animation-delay: 7s;
}

.hero .blob:nth-child(3) {
    display: none;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--sun);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 55px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(255, 217, 61, 0.2);
}

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

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 9vw, 120px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--black);
}

.hero h1 .highlight {
    color: var(--coral);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(18px, 5vw, 32px);
    font-weight: 600;
    color: var(--black);
    max-width: 900px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.hero-description {
    font-size: clamp(15px, 4vw, 22px);
    color: var(--warm-gray);
    max-width: 800px;
    margin-bottom: 35px;
    line-height: 1.75;
}

.hero-meta {
    font-size: 15px;
    color: var(--warm-gray);
    font-weight: 500;
}

.hero-meta a {
    color: var(--coral);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--coral);
    transition: all 0.2s;
}

.hero-meta a:hover {
    color: var(--black);
    border-bottom-color: var(--black);
}

/* ============================================
   BUTTONS (Mobile-First)
   ============================================ */
.cta-group {
    display: flex;
    gap: 12px;
    flex-direction: column;
    margin-bottom: 40px;
}

.btn {
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    width: 100%;
}

/* HEADER BUTTONS - Smaller size */
.main-header .btn {
    padding: 12px 24px;
    font-size: 13px;
    width: auto;
    margin-left: 10px;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 87, 122, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--black);
    border: 3px solid var(--black);
}

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

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
    width: auto;
}

/* ============================================
   SECTIONS - PADDING (Mobile-First)
   ============================================ */
.mission, .values, .expertise, .experience, 
.environments, .explorations-section {
    padding: 60px 5vw;
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--coral);
    margin-bottom: 20px;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(30, 87, 122, 0.1);
    border-radius: 100px;
}

.section-title,
.mission-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 7vw, 72px);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
    line-height: 1.15;
    color: var(--black);
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE8D6 50%, #FFD6D6 100%);
    position: relative;
}

.mission-content {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-text {
    font-size: clamp(16px, 4vw, 22px);
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 25px;
}

.mission-text strong {
    color: var(--black);
    font-weight: 800;
    background: rgba(30, 87, 122, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
}

.mission-highlight {
    background: rgba(255, 217, 61, 0.2);
    border-left: 6px solid var(--sun);
    padding: 25px;
    margin: 35px 0;
    border-radius: 12px;
    font-size: clamp(16px, 4vw, 23px);
    line-height: 1.8;
    color: var(--black);
    box-shadow: 0 10px 40px rgba(255, 217, 61, 0.15);
}

.mission-highlight strong {
    color: var(--black);
    font-weight: 800;
}

.learn-more-wrapper {
    margin-top: 25px;
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--coral);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(30, 87, 122, 0.05);
    border: 2px solid transparent;
}

.learn-more:hover {
    gap: 12px;
    background: rgba(30, 87, 122, 0.1);
    border-color: var(--coral);
    transform: translateX(4px);
}

.learn-more::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.learn-more:hover::after {
    transform: translateX(4px);
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.values .blob {
    display: none;
}

.values-grid-editorial {
    max-width: 1200px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.value-item-editorial {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    transition: background 0.3s ease;
}

.value-item-editorial:hover {
    background: rgba(30, 87, 122, 0.03);
}

.value-item-editorial h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px; 
    color: var(--coral);
    line-height: 1.4;
}

.value-item-editorial p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--warm-gray);
    margin: 0;
}

/* ============================================
   EXPERTISE SECTION (Grid)
   ============================================ */
.expertise {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE8D6 50%, #FFD6D6 100%);
    color: var(--black);
    position: relative;
    overflow: hidden;
}

.expertise .blob {
    display: none;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.expertise-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 3px solid var(--black);
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 var(--black);
}

.expertise-card:hover {
    border-color: var(--coral);
    transform: translate(-2px, -2px);
    background: var(--cream);
    box-shadow: 6px 6px 0 var(--coral);
}

.expertise-card h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--black);
}

.expertise-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.expertise-card li {
    padding-left: 20px;
    position: relative;
    color: var(--warm-gray);
    font-size: 14px;
    line-height: 1.6;
}

.expertise-card li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: 700;
}

/* ============================================
   EXPERIENCE/TIMELINE
   ============================================ */
.experience {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE8D6 50%, #FFD6D6 100%);
}

.timeline {
    max-width: 1100px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    display: none;
}

.timeline-year {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--coral);
    position: relative;
    line-height: 1.2;
    font-style: italic;
}

.timeline-year::after {
    display: none;
}

.timeline-content {
    background: linear-gradient(135deg, rgba(255, 249, 230, 0.5) 0%, rgba(255, 232, 214, 0.5) 100%);
    padding: 30px;
    border-radius: 16px;
    border: 3px solid var(--black);
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.05);
}

.timeline-content:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--black);
}

.timeline-role {
    font-size: 14px;
    color: var(--coral);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-highlights {
    display: grid;
    gap: 12px;
}

.timeline-highlight {
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: #3a3a3a;
}

.timeline-highlight::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: 900;
    font-size: 16px;
}

.timeline-highlight a {
    color: var(--coral);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.timeline-highlight a:hover {
    border-bottom-color: var(--coral);
}

.timeline-highlight strong {
    color: var(--coral);
    font-weight: 800;
}

.timeline-highlight em {
    color: var(--warm-gray);
    font-style: normal;
    font-size: 13px;
}

.timeline-formation {
    background: linear-gradient(135deg, rgba(255, 217, 61, 0.1) 0%, rgba(255, 249, 230, 0.5) 100%) !important;
    border-left: 5px solid var(--sun) !important;
}

.timeline-formation h3 {
    color: var(--black);
    font-size: 22px;
}

.timeline-formation .timeline-role {
    color: #666;
    font-size: 13px;
}

/* ============================================
   ENVIRONMENTS SECTION
   ============================================ */
.environments {
    padding: 60px 5vw;
    background: var(--cream);
    color: var(--black);
    position: relative;
    overflow: hidden;
}

.environments::before {
    display: none;
}

.environments-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.environments-intro {
    font-size: clamp(16px, 4vw, 24px);
    line-height: 1.8;
    margin-bottom: 45px;
    color: rgba(0, 0, 0, 0.8);
    max-width: 900px;
    font-weight: 500;
}

.environments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.env-tag {
    background: white;
    padding: 20px 25px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    border: 3px solid var(--black);
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0 var(--black);
    cursor: default;
}

.env-tag:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--black);
    background: var(--sun);
}

/* ============================================
   EXPLORATIONS SECTION
   ============================================ */
.explorations-section {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.explorations-section .blob {
    display: none;
}

.explorations-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.explorations-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.explorations-intro {
    font-size: clamp(16px, 4vw, 22px);
    color: var(--warm-gray);
    line-height: 1.7;
    margin-top: 15px;
}

.explorations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.exploration-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 2px solid var(--black);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.exploration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--coral);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.exploration-card:hover::before {
    transform: translateX(0);
}

.exploration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--coral);
}

.card-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 36px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    font-family: 'DM Serif Display', serif;
    line-height: 1;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

.exploration-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    filter: grayscale(0);
}

.exploration-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--black);
    line-height: 1.3;
}

.exploration-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.exploration-list li {
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    color: #4a4a4a;
    transition: all 0.2s ease;
}

.exploration-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: 900;
    font-size: 14px;
    transition: all 0.2s ease;
}

.exploration-list li:hover {
    padding-left: 24px;
    color: var(--black);
}

.exploration-list li:hover::before {
    left: 4px;
}

.exploration-list a {
    color: var(--coral);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.exploration-list a:hover {
    border-bottom-color: var(--coral);
}

/* ============================================
   PROJECTS GRID (PORTFOLIO)
   ============================================ */
.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 5vw;
}

.header {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 30px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 40px auto;
    border-top: 1px solid var(--line);
    padding-top: 25px;
}

.project {
    background: transparent; 
    border: none; 
    border-radius: 0;
    overflow: hidden;
    transition: background 0.3s ease;
    box-shadow: none; 
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px;
    padding-top: 0;
}

.project.featured {
    grid-column: 1 / -1;
    border-bottom: 3px solid var(--coral);
    padding-bottom: 30px;
    margin-bottom: 10px;
}

.project.featured .project-hero {
    height: 250px;
    margin-bottom: 20px;
}

.project:hover {
    background: rgba(30, 87, 122, 0.03);
}

.project-hero {
    width: 100%;
    height: 200px; 
    background: linear-gradient(135deg, var(--coral) 0%, var(--sun) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 4px;
}

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

.project-hero-placeholder {
    font-size: 48px; 
    opacity: 0.8;
}

.project-content {
    padding: 0; 
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.project-tag {
    background: var(--coral);
    color: white; 
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 12px;
}

.project-year {
    color: var(--warm-gray);
    font-size: 13px;
}

.project-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--black);
}

.project-subtitle {
    color: var(--warm-gray);
    margin-bottom: 12px;
    font-style: normal;
    font-size: 14px;
}

.project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tool {
    background: var(--cream);
    border: 1px solid var(--line);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--coral);
    font-weight: 700;
    margin-top: 12px;
    text-decoration: none;
    border-bottom: 2px solid var(--coral);
    font-size: 14px;
}

.cta-link:hover {
    color: var(--black);
    border-bottom-color: var(--black);
}

/* ============================================
   FOOTER CTA
   ============================================ */
.footer-cta {
    padding: 60px 5vw 45px; 
    background: var(--cream); 
    text-align: center;
    color: var(--black);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.footer-cta::before {
    content: none;
}

.footer-cta-title {
    font-size: clamp(28px, 7vw, 60px); 
    margin-bottom: 20px; 
    position: relative;
    z-index: 1;
}

.footer-cta .cta-group {
    justify-content: center;
    margin-bottom: 30px; 
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px; 
}

.footer-link {
    color: var(--coral); 
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
    padding: 8px 12px; 
    border-radius: 50px;
    background: rgba(30, 87, 122, 0.1); 
    border: 1.5px solid rgba(30, 87, 122, 0.3);
}

.footer-link:hover {
    background: rgba(30, 87, 122, 0.2);
    border-color: var(--coral);
    transform: translateY(-1px);
}

.footer-copyright {
    color: var(--warm-gray); 
    font-size: 12px;
    margin-top: 15px; 
    font-weight: 500;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999; 

    background: transparent; 
    color: var(--coral);    
    border: none;           
    box-shadow: none;       
    border-radius: 0;       
    padding: 0;             
    
    width: 28px;            
    height: 28px;
    font-size: 32px;        
    font-weight: 700;
    line-height: 1;         
    
    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, color 0.2s;
}

#scrollToTopBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================================
   TABLET - RESPONSIVE (768px+)
   ============================================ */
@media (min-width: 768px) {
    /* 🚨 CRITICAL: Update body padding to match header height */
    body {
        padding-top: 74px;
    }

    .main-header {
        padding: 12px 7vw; 
        height: 74px;
    }

    .site-logo {
        font-size: 24px;
    }

    .main-nav {
        display: flex !important;
        position: static;
        flex-direction: row;
        gap: 30px;
        padding: 0;
        background: transparent;
        box-shadow: none;
        top: auto;
    }

    .nav-link {
        padding-bottom: 5px;
        border-bottom: none;
        border-bottom: 2px solid transparent;
        font-size: 15px;
    }

    .nav-link:hover,
    .nav-link.current {
        border-bottom-color: var(--coral);
    }

    .nav-toggle {
        display: none !important;
    }

    .hero {
        min-height: 100vh;
        padding: 60px 7vw;
    }

    .hero h1 {
        font-size: clamp(48px, 8vw, 100px);
        margin-bottom: 30px;
    }

    .hero-subtitle {
        font-size: clamp(20px, 3vw, 32px);
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: clamp(17px, 2vw, 22px);
        margin-bottom: 45px;
    }

    .cta-group {
        flex-direction: row;
        gap: 20px;
        margin-bottom: 50px;
    }

    .btn {
        width: auto;
        padding: 18px 40px;
        font-size: 16px;
    }

    .mission, .values, .expertise, .experience, 
    .environments, .explorations-section {
        padding: 100px 7vw;
    }

    .section-title,
    .mission-title {
        font-size: clamp(36px, 5vw, 72px);
        margin-bottom: 50px;
    }

    .mission-text {
        font-size: clamp(17px, 2.2vw, 22px);
        margin-bottom: 30px;
    }

    .mission-highlight {
        padding: 40px;
        margin: 50px 0;
        font-size: clamp(18px, 1.9vw, 23px);
    }

    .values-grid-editorial {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 40px;
    }

    .value-item-editorial {
        padding: 30px 0;
    }

    .value-item-editorial h3 {
        font-size: 19px;
    }

    .value-item-editorial p {
        font-size: 16px;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .expertise-card {
        padding: 40px;
        box-shadow: 6px 6px 0 var(--black);
    }

    .expertise-card:hover {
        box-shadow: 10px 10px 0 var(--coral);
    }

    .timeline-item {
        grid-template-columns: 140px 1fr;
        gap: 50px;
        margin-bottom: 70px;
    }

    .timeline-item::before {
        display: block;
        content: '';
        position: absolute;
        left: 70px;
        top: 100px;
        bottom: -50px;
        width: 3px;
        background: var(--coral);
        border-radius: 10px;
    }

    .timeline-year {
        font-size: 40px;
    }

    .timeline-year::after {
        display: block;
        content: '';
        position: absolute;
        right: -25px;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        background: var(--coral);
        border-radius: 50%;
        border: 4px solid white;
        box-shadow: 0 0 0 3px var(--coral);
    }

    .timeline-content {
        padding: 45px;
        box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.05);
    }

    .timeline-content h3 {
        font-size: 32px;
    }

    .environments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .env-tag {
        padding: 25px 35px;
        font-size: 18px;
        box-shadow: 5px 5px 0 var(--black);
    }

    .explorations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .exploration-card {
        padding: 40px;
    }

    .exploration-card h3 {
        font-size: 24px;
    }

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

    .project.featured {
        grid-column: 1 / -1;
    }

    .project-hero {
        height: 250px;
    }

    .project.featured .project-hero {
        height: 400px;
    }

    .project-title {
        font-size: 24px;
    }

    .footer-cta {
        padding: 80px 7vw 60px;
    }

    .footer-cta-title {
        font-size: clamp(36px, 6vw, 60px);
        margin-bottom: 25px;
    }

    #scrollToTopBtn {
        bottom: 30px;
        right: 35px;
        font-size: 36px;
    }
}

/* ============================================
   DESKTOP - RESPONSIVE (1200px+)
   ============================================ */
@media (min-width: 1200px) {
    /* 🚨 CRITICAL: Update body padding to match header height */
    body {
        padding-top: 84px;
    }

    .main-header {
        padding: 14px 8vw; 
        height: 84px;
    }

    .hero {
        padding: 60px 8vw 60px;
    }

    .mission, .values, .expertise, .experience, 
    .environments, .explorations-section {
        padding: 120px 8vw;
    }

    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .environments-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .explorations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .wrap {
        padding: 0 15px;
    }
}