/* Version: 2025-02-MOBILE-v12-UNBOLD-HERO-OPTION3 */
/* Last updated: Hero updated with Scale Contrast (Option 3) */
/* --------------------------------------------------
    1. ROOT VARIABLES (THE THINKER VIBE)
-------------------------------------------------- */
:root {
    --color-bg: #FAF9F7;          
    --color-text: #1A1A1A;        
    --color-accent: #DFAA25;      
    --color-card-bg: #ffffff;     
    --color-border: #1A1A1A;

    --color-bubble-left: #ffffff;
    --color-bubble-right: #FFF9E8;
    --bubble-text: #1A1A1A;       

    --font-heading: 'Crimson Pro', serif;
    --font-body: 'Source Sans 3', sans-serif;

    --space-4: 32px;
    --space-6: 120px; 
}

/* --------------------------------------------------
    2. GLOBAL BASE STYLES & TYPOGRAPHY
-------------------------------------------------- */
html, body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: auto !important;
}

body {
    overflow-x: clip;
}

/* Sticky Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1001;
    background-color: var(--color-bg);
    transition: box-shadow 0.3s ease;
}

/* Reduce navbar padding on mobile */
@media (max-width: 768px) {
    .navbar {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
}

/* Language Switcher - Inline in Navbar */
.language-switcher-inline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 15px;
}

.lang-link {
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.4;
    transition: opacity 0.2s ease, color 0.2s ease;
    padding: 5px 8px;
}

.lang-link:hover {
    opacity: 1;
    color: var(--color-accent);
}

.lang-link.lang-active {
    opacity: 1;
    color: var(--color-accent);
    font-weight: 700;
}

.lang-separator {
    color: var(--color-text);
    opacity: 0.3;
    margin: 0 4px;
}

@media (max-width: 991px) {
    .language-switcher-inline {
        padding: 10px 0;
        text-align: center;
    }
}

section { 
    padding: var(--space-6) 0; 
    background-color: var(--color-bg);
}

h1, h2 {
    color: var(--color-text) !important;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
}

/* --------------------------------------------------
    3. HERO & BRAND PROMISE (APPLE EFFECT)
-------------------------------------------------- */
/* OPTION 3: VERTICAL STACK WITH SCALE CONTRAST */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 !important; /* Override default section padding */
    background-color: var(--color-bg);
    position: relative;
}

.hero-section .container {
    max-width: 1200px;
}

.hero-section h1 {
    font-size: clamp(3rem, 12vw, 8.5rem); /* HUGE on desktop */
    line-height: 0.95;
    font-weight: 800 !important;
    letter-spacing: -0.03em; /* Tight, modern spacing */
    margin-bottom: 50px; /* Strategic gap */
    text-transform: none;
    position: relative;
}

.hero-section .lead {
    font-size: clamp(1.3rem, 2.5vw, 2.2rem); /* Elegant counterpoint */
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    opacity: 0.85;
    letter-spacing: 0.01em;
}

/* Gold text emphasis */
.hero-section .gold-text {
    color: var(--color-accent) !important;
    font-style: italic;
    font-weight: 600;
}

/* Hero elements should be visible immediately since they're at top */
.hero-section .fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* LARGE DESKTOP */
@media (min-width: 1200px) {
    .hero-section {
        min-height: 90vh;
        padding: 100px 0;
    }
    
    .hero-section h1 {
        font-size: 8.5rem; /* Massive presence */
        margin-bottom: 60px;
    }
    
    .hero-section .lead {
        font-size: 2.2rem; /* Refined elegance */
    }
}

/* EXTRA LARGE - FULL IMPACT */
@media (min-width: 1600px) {
    .hero-section h1 {
        font-size: 9.5rem; /* Even bigger */
        margin-bottom: 70px;
    }
    
    .hero-section .lead {
        font-size: 2.4rem;
        max-width: 800px;
    }
}

/* SMOOTH ENTRANCE ANIMATION */
@keyframes scaleEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-section h1 {
    animation: scaleEntrance 1s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

.hero-section .lead {
    animation: scaleEntrance 1s cubic-bezier(0.2, 0.8, 0.3, 1) 0.2s forwards;
    opacity: 0; /* Start invisible for animation */
}

/* Override if fade-in class is already present */
.hero-section .fade-in.visible {
    animation: none;
    opacity: 1;
}

/* BRAND PROMISE SECTION */
.promise-section {
    display: flex;
    justify-content: center;
    padding: 80px 12%;
    background-color: var(--color-bg);
}

.promise-text {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    font-style: italic;
    line-height: 1.45;
    text-align: center;
    color: var(--color-text);
    max-width: 1200px;
}

/* --------------------------------------------------
    4. THE ENCYCLOPEDIA SHEET (MENTALS DEFINITION)
-------------------------------------------------- */

.encyclopedia-sheet {
    background: var(--color-card-bg);
    max-width: 850px;
    margin: 0 auto;
    padding: 80px 100px;
    position: relative;
    scroll-margin-top: 20px;
    text-align: left;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 2px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    transform: rotate(-0.5deg);
    background-image: 
        repeating-linear-gradient(45deg, rgba(0,0,0,0.01) 0px, rgba(0,0,0,0.01) 1px, transparent 1px, transparent 10px),
        linear-gradient(to bottom, var(--color-card-bg), var(--color-card-bg));
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.1), 
        0 10px 0 -5px var(--color-card-bg), 
        0 10px 1px -4px rgba(0,0,0,0.1), 
        0 20px 0 -10px var(--color-card-bg), 
        0 20px 1px -9px rgba(0,0,0,0.1),
        0 40px 40px rgba(0,0,0,0.06);
}

.entry-label {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title-alt {
    font-family: var(--font-heading) !important;
    font-style: normal !important;
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
    font-weight: 700;
    margin-bottom: 5px !important;
    text-align: left !important;
    color: var(--color-text) !important;
    letter-spacing: -0.02em;
}

.entry-phonetic {
    display: block;
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.6;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.encyclopedia-viewport {
    position: relative;
    background-color: var(--color-bg);
}

.encyclopedia-sticky-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 0 80px 0;
}

.definition-block {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.def-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--color-accent);
    line-height: 1.2;
}

.definition-block p {
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 0;
}

.definition-block sup {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.85rem;
    margin-left: 2px;
}

/* Highlighter Effect */
.marker {
    position: relative;
    display: inline;
    white-space: nowrap;
    background: linear-gradient(104deg, rgba(223, 170, 37, 0.2) 0%, rgba(223, 170, 37, 0.25) 50%, rgba(223, 170, 37, 0.15) 100%);
    padding: 2px 4px;
    border-radius: 1em 0.2em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.marker:nth-child(even) {
    transform: rotate(-0.5deg);
}

/* Pencil underline */
.pencil-underline {
    position: relative;
    display: inline;
    box-shadow: inset 0 -6px 0 0 rgba(26, 26, 26, 0.15);
    padding: 0 2px;
}

.pencil-underline::after {
    content: "";
    position: absolute;
    left: -10px; 
    right: -10px;
    bottom: 2px;
    height: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10'%3E%3Cpath d='M0,7 Q50,5 100,7 T200,7' fill='none' stroke='rgba(26, 26, 26, 0.4)' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    z-index: -1;
    pointer-events: none;
}

.entry-footer {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.footnote {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-style: italic;
    opacity: 0.7;
    margin-bottom: 15px;
    color: var(--color-text);
}

.see-also {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
}

.see-also a {
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px dotted var(--color-accent);
    margin-left: 4px;
    transition: all 0.2s ease;
}

.see-also a:hover {
    color: var(--color-accent);
    border-bottom-style: solid;
}

@media (max-width: 768px) {
    .encyclopedia-sticky-wrapper {
        padding: 50px 0;
    }
    .encyclopedia-sheet {
        padding: 40px 30px;
        margin: 0 10px;
        transform: rotate(0deg);
    }
    .definition-block {
        gap: 15px;
    }
    .definition-block p {
        font-size: 1.1rem;
    }
    .section-title-alt {
        font-size: 2.8rem !important;
    }
}

/* --------------------------------------------------
    EXPANDING CIRCLE - WHO IT'S FOR
-------------------------------------------------- */

.gold-text {
    color: var(--color-accent) !important;
    font-style: normal;
    font-weight: 800; 
}

#who.expanding-circle-section {
    position: relative;
    background-color: var(--color-bg);
}

.expanding-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 5%;
}

.expanding-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 80px;
    z-index: 10;
}

.expanding-diagram {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 600px;
    overflow: visible;
}

.expanding-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
}

.expanding-ring {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 2;
    opacity: 0.3;
    transition: r 0.8s cubic-bezier(0.2, 0.8, 0.3, 1),
                opacity 0.8s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.center-core {
    fill: var(--color-text);
    opacity: 0.4;
    transition: r 0.6s cubic-bezier(0.2, 0.8, 0.3, 1),
                opacity 0.6s ease;
}

.orbit-item {
    position: absolute;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.3, 1),
                transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1),
                visibility 0.7s,
                top 0.7s cubic-bezier(0.2, 0.8, 0.3, 1),
                left 0.7s cubic-bezier(0.2, 0.8, 0.3, 1),
                right 0.7s cubic-bezier(0.2, 0.8, 0.3, 1);
    z-index: 2;
}

.orbit-item p {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    text-align: center;
    color: var(--color-text);
    max-width: 220px;
}

.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
    z-index: 3;
}

.center-text p {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    color: var(--color-accent);
    max-width: 350px;
}

/* Desktop positions — visible by default */
.orbit-1 {
    top: 12%;
    left: 20%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%) scale(1);
}

.orbit-2 {
    top: 12%;
    right: 5%;
    left: auto;
    bottom: auto;
    transform: translate(0, -50%) scale(1);
}

.orbit-3 {
    bottom: 15%;
    top: auto;
    left: 15%;
    right: auto;
    transform: translate(-50%, 0) scale(1);
}

.orbit-4 {
    bottom: 15%;
    top: auto;
    right: 5%;
    left: auto;
    transform: translate(0, 0) scale(1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .expanding-container {
        padding: 50px 5%;
    }
    .expanding-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 30px;
    }

    .expanding-diagram {
        height: 500px;
    }

    .orbit-item p {
        font-size: clamp(1.1rem, 4vw, 1.4rem) !important;
        max-width: 140px !important;
        line-height: 1.25 !important;
        font-weight: 500 !important;
    }

    #who.expanding-circle-section .expanding-container .expanding-diagram .center-text p {
        font-size: clamp(2.1rem, 7.8vw, 3rem) !important;
        max-width: 270px;
        line-height: 1.15;
    }

    /* Mobile compass - tighter spacing now that text is controlled */
    /* orbit-1: "Spaces that care about people" → TOP-LEFT */
    #who.expanding-circle-section .expanding-container .expanding-diagram .orbit-item.orbit-1 {
        top: 12% !important;
        left: 19% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translate(-50%, -50%) scale(1) !important;
        /* v11 FORCE */
    }

    /* orbit-2: "Places where conversation..." → TOP-RIGHT */
    #who.expanding-circle-section .expanding-container .expanding-diagram .orbit-item.orbit-2 {
        top: 12% !important;
        right: 19% !important;
        left: auto !important;
        bottom: auto !important;
        transform: translate(50%, -50%) scale(1) !important;
        /* v11 FORCE */
    }

    /* orbit-3: "Groups, guests, audiences..." → BOTTOM-LEFT */
    #who.expanding-circle-section .expanding-container .expanding-diagram .orbit-item.orbit-3 {
        bottom: 12% !important;
        top: auto !important;
        left: 19% !important;
        right: auto !important;
        transform: translate(-50%, 50%) scale(1) !important;
        /* v11 FORCE */
    }

    /* orbit-4: "Teams who want to feel..." → BOTTOM-RIGHT */
    #who.expanding-circle-section .expanding-container .expanding-diagram .orbit-item.orbit-4 {
        bottom: 12% !important;
        top: auto !important;
        right: 19% !important;
        left: auto !important;
        transform: translate(50%, 50%) scale(1) !important;
        /* v11 FORCE */
    }
}

/* --------------------------------------------------
    4B. THE LIVE DIALOGUE (CHAT BUBBLES)
-------------------------------------------------- */

/* ========== DESKTOP - STICKY CHAT (mirrors mobile) ========== */
#feels-like {
    padding: 80px 0 !important;
    background-color: var(--color-bg) !important;
}

#feels-like .container {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg);
}

#feels-like h2 {
    flex-shrink: 0;
    margin: 60px 0 30px 0 !important;
    padding: 0 20px;
    text-align: center;
    z-index: 2;
}

.timeline {
    flex: 1;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    overflow: hidden;
}

.timeline-item {
    position: relative;
    width: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9) translateY(20px);
    transition: none;
    flex-shrink: 0;
}

.timeline-item.bubble-visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
    transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.3, 1),
                transform 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.timeline-item.left { justify-content: flex-start; }
.timeline-item.right { justify-content: flex-end; }

.timeline-content {
    padding: 20px 28px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 65%; 
    position: relative;
}

.timeline-content h5 {
    font-size: 1.4rem !important;
    line-height: 1.4;
    margin: 0;
    color: var(--bubble-text) !important;
    font-weight: 500;
}

.timeline-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border: 14px solid transparent;
}

.timeline-item.left .timeline-content {
    background: var(--color-bubble-left) !important;
    border-bottom-left-radius: 4px;
}
.timeline-item.left .timeline-content::after {
    left: -10px;
    border-right-color: var(--color-bubble-left);
    border-bottom-color: var(--color-bubble-left);
}

.timeline-item.right .timeline-content {
    background: var(--color-bubble-right) !important;
    border-bottom-right-radius: 4px;
}
.timeline-item.right .timeline-content::after {
    right: -10px;
    border-left-color: var(--color-bubble-right);
    border-bottom-color: var(--color-bubble-right);
}

/* ========== MOBILE — STICKY CHAT WITH LARGER TEXT ========== */
@media (max-width: 768px) {
    #feels-like {
        padding: 60px 0 !important;
        background-color: var(--color-bg) !important;
    }

    #feels-like .container {
        display: flex;
        flex-direction: column;
        background-color: var(--color-bg);
    }

    #feels-like h2 {
        flex-shrink: 0;
        margin: 50px 0 24px 0 !important;
        padding: 0 20px;
        text-align: center;
        font-size: 1.9rem !important;
        z-index: 2;
    }

    .timeline {
        flex: 1;
        margin: 0;
        padding: 0 18px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 14px;
        overflow: hidden;
    }

    .timeline-item {
        margin-bottom: 0 !important;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.85) translateY(30px);
        transition: none;
        flex-shrink: 0;
    }

    .timeline-item.bubble-visible {
        opacity: 1;
        visibility: visible;
        transform: scale(1) translateY(0);
        transition: opacity 0.45s cubic-bezier(0.2, 0.8, 0.3, 1),
                    transform 0.45s cubic-bezier(0.2, 0.8, 0.3, 1);
    }

    .timeline-content {
        padding: 20px 24px;
        border-radius: 20px;
        max-width: 88%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    }

    /* LARGER FONT ON MOBILE */
    .timeline-content h5 {
        font-size: clamp(1.3rem, 4.5vw, 1.6rem) !important;
        line-height: 1.4;
        font-weight: 500;
    }

    .timeline-content::after { border-width: 13px; }
    .timeline-item.left  .timeline-content { border-bottom-left-radius: 4px; }
    .timeline-item.right .timeline-content { border-bottom-right-radius: 4px; }
    .timeline-item.left  .timeline-content::after { left: -9px; }
    .timeline-item.right .timeline-content::after { right: -9px; }
}

@media (max-width: 480px) {
    .timeline-content {
        padding: 18px 20px;
        max-width: 90%;
    }
    .timeline-content h5 {
        font-size: 1.25rem !important;
    }
}

/* --------------------------------------------------
    5. POLAROIDS / FORMATS
-------------------------------------------------- */

#formats {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-bg) !important;
}

#formats .container {
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg);
}

#formats h2 {
    flex-shrink: 0;
    margin: 60px 0 30px 0 !important;
    padding: 0 20px;
    text-align: center;
    z-index: 2;
}

.photo-stack {
    position: relative;
    max-width: 1100px;
    width: 100%;
    margin: 40px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
}

/* ========== MOBILE FORMATS ========== */
@media (max-width: 768px) {
    #formats {
        padding: 60px 0 !important;
    }

    #formats h2 {
        margin: 50px 0 24px 0 !important;
        font-size: 1.9rem !important;
    }
    
    .photo-stack {
        flex: none !important;
        height: auto !important;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding: 0 20px;
    }
    
    /* CRITICAL FIX: Prevent transform conflicts on mobile polaroids */
    .polaroid {
        transform: none !important;
    }
    
    .polaroid.presenting-mobile {
        transform: scale(1.2) translateY(-12px) !important;
        z-index: 10;
        box-shadow: 0 22px 45px rgba(0,0,0,0.25);
        transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    }
    
    .polaroid:not(.presenting-mobile) {
        transform: none !important;
        transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    }
}

/* ========== POLAROID CARDS ========== */
.polaroid {
    background: #fff;
    padding: 18px 18px 45px 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    width: 350px;
    cursor: pointer;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    display: block;
}

@media (max-width: 768px) {
    .polaroid {
        position: relative;
        width: 80%;
        max-width: 320px;
        padding: 14px 14px 30px 14px;
    }
}

.tol-photo {
    transform: rotate(-4deg);
}
.cc-photo {
    transform: rotate(3deg);
}


@media (max-width: 768px) {
    .polaroid:active {
        transform: scale(1.15) translateY(-8px);
        z-index: 10;
        transition: all 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
    }
}

.polaroid-inner img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .polaroid-inner img {
        margin-bottom: 10px;
    }
}

.polaroid h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text) !important;
    text-align: left;
}

@media (max-width: 768px) {
    .polaroid h3 {
        font-size: 1.6rem !important;
        font-weight: 700 !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }
}

.polaroid-desc {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 10px;
    color: #444;
    opacity: 0.9;
}

.polaroid-learn-more {
    display: none;
}

@media (max-width: 768px) {
    .polaroid-caption {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .polaroid-learn-more {
        display: inline-block;
        margin-top: 14px;
        padding: 10px 24px;
        background-color: var(--color-text) !important;
        color: var(--color-bg) !important;
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 600;
        border-radius: 50px;
        text-decoration: none !important;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }
}

@media (max-width: 768px) {
    .polaroid .polaroid-desc {
        display: block;
        font-size: 1.1rem;
        text-align: center;
    }
}

.mobile-description {
    display: none;
}

@media (max-width: 768px) {
    .mobile-description {
        display: block;
        position: relative;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 20px;
        background: var(--color-bg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    
    .mobile-description.visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .mobile-description h3 {
        font-family: var(--font-heading);
        font-size: 2rem;
        font-weight: 700;
        font-style: italic;
        margin: 0 0 14px 0;
        color: var(--color-text);
        text-align: center;
    }
    
    .mobile-description p {
        font-size: 1.3rem;
        line-height: 1.6;
        margin: 0;
        padding: 0 28px;
        color: var(--color-text);
        opacity: 0.85;
        text-align: center;
    }

    .mobile-desc-link {
        display: block;
        width: fit-content;
        margin: 20px auto 0;
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--color-bg);
        background-color: var(--color-text);
        border: 2px solid var(--color-text);
        text-decoration: none;
        padding: 10px 24px;
        border-radius: 50px;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .mobile-desc-link:hover,
    .mobile-desc-link:active {
        background-color: var(--color-accent);
        border-color: var(--color-accent);
        color: var(--color-bg);
    }
}

/* --------------------------------------------------
    6. RESTAURANT MENU BOOK (WHY IT WORKS)
-------------------------------------------------- */

/* Desktop menu - always visible on desktop */
.menu-book-desktop {
    display: block;
}

.menu-book-viewport {
    position: relative;
    background-color: var(--color-bg);
    padding: 100px 0;
}

.menu-book-sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
}

.menu-book {
    display: flex;
    position: relative;
    max-width: 1400px;
    width: 100%;
    min-height: 500px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    perspective: 2000px;
}

.menu-page {
    flex: 1;
    background: #FAF8F3;
    padding: 40px 40px;
    position: relative;
    overflow: hidden;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0,0,0,0.02) 2px,
            rgba(0,0,0,0.02) 4px
        );
}

.menu-left {
    border-right: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    background: linear-gradient(to right, #FAF8F3 0%, #F5F3ED 100%);
    padding-top: 15vh;
}

.menu-right {
    border-left: none;
    background: linear-gradient(to left, #FAF8F3 0%, #F5F3ED 100%);
    overflow-y: auto;
    scrollbar-width: none;
}
.menu-right::-webkit-scrollbar { display: none; }

.restaurant-name {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    font-style: italic;
    color: #1A1A1A;
    margin: 0 0 15px 0;
    letter-spacing: 0.02em;
}

.menu-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    margin-bottom: 20px;
    font-weight: 600;
}

.decorative-line {
    width: 120px;
    height: 2px;
    background: var(--color-accent);
    margin-bottom: 30px;
}

.menu-intro {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-style: italic;
    color: #1A1A1A;
    max-width: 350px;
    line-height: 1.4;
    opacity: 0.7;
}

.menu-spine {
    width: 20px;
    background: linear-gradient(to bottom, #3A3A3A 0%, #2A2A2A 50%, #3A3A3A 100%);
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    transform: translateX(-50%);
    box-shadow: 
        inset 2px 0 4px rgba(0,0,0,0.5),
        inset -2px 0 4px rgba(0,0,0,0.5);
    z-index: 10;
}

.menu-items-container { position: relative; }

.menu-item {
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.menu-item:last-child { border-bottom: none; }

.dish-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    gap: 15px;
}

.menu-dish {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    font-style: italic;
    color: #1A1A1A;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.menu-price {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 600;
    white-space: nowrap;
}

.menu-rare-badge {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    background: #C41E3A;
    padding: 4px 12px;
    border-radius: 3px;
    white-space: nowrap;
}

.menu-description {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.5;
    color: #1A1A1A;
    opacity: 0.75;
    margin: 0;
}

/* ========== MOBILE RESTAURANT MENU - STICKY SCROLL ========== */
@media (max-width: 968px) {
    .menu-book-viewport {
        padding: 60px 0;
    }

    .menu-book-sticky {
        padding: 0;
    }

    .menu-book {
        flex-direction: column;
        box-shadow: none;
        min-height: auto;
    }

    .menu-page {
        padding: 30px 25px;
    }

    .menu-left {
        justify-content: flex-start;
    }

    .menu-right {
        padding-bottom: 5px;
    }

    .menu-spine {
        display: none;
    }

    .menu-dish {
        font-size: 1.7rem !important;
    }

    .menu-description {
        font-size: 1.2rem !important;
        line-height: 1.45;
    }

    .menu-item {
        padding: 10px 0;
    }

    .dish-header {
        margin-bottom: 4px;
    }
}

@media (max-width: 768px) {
    .dish-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* --------------------------------------------------
    7. WHERE MENTALS LIVES - MAP
-------------------------------------------------- */

#where-mentals-lives {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-bg);
}

#where-mentals-lives .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-bg);
    padding: 0 20px;
}

#where-mentals-lives h2 {
    margin-bottom: 60px !important;
}

.locations-map {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-lines line {
    stroke: var(--color-accent);
    stroke-width: 1.5;
    stroke-dasharray: 4, 6;
    opacity: 0.3;
    stroke-linecap: round;
}

.location-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

.pin-cultural-venues {
    left: 25% !important;
}

.pin-historic-parks {
    left: 68%;
}

@keyframes fadeInPin {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.pin-dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-accent);
    border-radius: 50%;
    margin: 0 auto 8px;
    box-shadow: 0 2px 8px rgba(223, 170, 37, 0.3);
}

.center-dot {
    width: 16px;
    height: 16px;
    background-color: var(--color-text);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.pin-label {
    display: block;
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-text);
    text-align: center;
    white-space: nowrap;
    font-weight: 500;
    line-height: 1.3;
}

.center-label {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 600;
    white-space: normal;
    max-width: 200px;
}

/* DESKTOP ONLY - BIGGER FONTS (NOT BOLDER) */
@media (min-width: 769px) {
    .pin-label {
        font-size: 1.5rem !important; /* Increased from 1.1rem */
        font-weight: 500 !important; /* Keep original weight */
    }
    
    .center-label {
        font-size: 1.8rem !important; /* Increased from 1.4rem */
        font-weight: 600 !important; /* Keep original weight */
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    #where-mentals-lives {
        padding: 60px 0 !important;
    }
    
    #where-mentals-lives h2 {
        margin-bottom: 40px !important;
        font-size: 1.9rem !important;
    }
    
    .locations-map {
        height: 500px;
        padding: 20px 10px;
    }
    
    .pin-cultural-venues {
        left: 10% !important;
    }
    
    .pin-historic-parks {
        left: 75% !important;
    }
    
    /* BIGGER FONT FOR LOCATION PINS ON MOBILE */
    .pin-label {
        font-size: 0.95rem !important;
        font-weight: 600;
    }
    
    .center-label {
        font-size: 1.25rem !important;
        max-width: 180px;
        font-weight: 700;
    }
    
    .pin-dot {
        width: 11px;
        height: 11px;
    }
    
    .center-dot {
        width: 14px;
        height: 14px;
    }
}

/* --------------------------------------------------
    8. BUILT FOR ANY SPACE
-------------------------------------------------- */

#built-for-space {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-bg);
}

#built-for-space .container {
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg);
    padding: 0 20px;
}

#built-for-space h2 {
    flex-shrink: 0;
    margin: 60px 0 80px 0 !important;
    padding: 0 20px;
    text-align: center;
}

.built-for-space-container {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 50px;
    overflow: hidden;
}

.thought-item {
    max-width: 350px;
    flex-shrink: 0;
}

.thought-item.center {
    margin-top: 20px;
}

.thought-item.left { align-self: flex-start; margin-left: 10%; text-align: left; }
.thought-item.right { align-self: flex-end; margin-right: 10%; text-align: right; }
.thought-item.center { align-self: center; text-align: center; }

.thought-item h4 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 10px;
}

.thought-item p {
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    #built-for-space {
        height: auto !important;
        padding: 80px 0 !important;
        position: relative !important;
    }
    
    #built-for-space .container {
        height: auto !important;
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        overflow: visible !important;
        background-color: transparent !important;
    }
    
    #built-for-space h2 {
        margin: 0 0 60px 0 !important;
        font-size: 2.2rem !important; /* LARGER */
    }
    
    .built-for-space-container {
        gap: 50px; /* MORE SPACE */
        overflow: visible;
        padding: 0 20px;
    }
    
    .thought-item {
        max-width: 95%;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
    
    .thought-item.left,
    .thought-item.right,
    .thought-item.center {
        align-self: center;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
    }
    
    .thought-item h4 {
        font-size: 1.8rem !important; /* SIGNIFICANTLY LARGER */
        margin-bottom: 16px !important;
    }
    
    .thought-item p {
        font-size: 1.25rem !important; /* SIGNIFICANTLY LARGER */
        line-height: 1.6 !important;
    }
}

/* --------------------------------------------------
    9. UTILITIES
-------------------------------------------------- */
.btn-dark {
    background-color: transparent !important;
    border: 2px solid var(--color-border) !important;
    color: var(--color-text) !important;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
}

/* Navbar Invite Button */
.btn-invite {
    background-color: var(--color-text);
    border: 2px solid var(--color-text);
    color: var(--color-bg);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-invite:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(223, 170, 37, 0.3);
}

@media (max-width: 991px) {
    .btn-invite {
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
}

/* Ultra-Minimal Footer */
#contact {
    padding-bottom: 80px !important;
}

.minimal-footer {
    background-color: #F5F4F2;
    padding: 50px 0;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
    margin-top: 0;
}

.minimal-footer p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    opacity: 0.75;
    margin: 0;
    text-align: center;
    line-height: 1.6;
}

.minimal-footer a {
    color: var(--color-text);
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.minimal-footer a:hover {
    opacity: 1;
    color: var(--color-accent);
}

@media (max-width: 768px) {
    #contact {
        padding-bottom: 60px !important;
    }
    
    .minimal-footer {
        padding: 40px 20px;
    }
    
    .minimal-footer p {
        font-size: 0.85rem;
        line-height: 2;
    }
}

.fade-in { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: 0.8s all ease;
}
.fade-in.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* --------------------------------------------------
    10. CONTACT MODAL
-------------------------------------------------- */

.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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.modal-active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
}

.contact-modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    background: var(--color-card-bg);
    border-radius: 2px;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.1), 
        0 10px 0 -5px var(--color-card-bg), 
        0 10px 1px -4px rgba(0,0,0,0.1), 
        0 20px 0 -10px var(--color-card-bg), 
        0 20px 1px -9px rgba(0,0,0,0.1),
        0 40px 60px rgba(0,0,0,0.15);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.contact-modal.modal-active .contact-modal-content {
    transform: scale(1);
}

.contact-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--color-text);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.contact-modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.contact-form-wrapper {
    padding: 60px 70px;
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 40px 30px;
    }
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.contact-label {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-title {
    font-family: var(--font-heading) !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    font-style: normal !important;
    margin: 0 0 10px 0 !important;
    color: var(--color-text) !important;
    text-align: center !important;
}

.contact-subtitle {
    font-family: var(--font-body);
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.6;
    color: var(--color-text);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--color-text);
}

.required {
    color: var(--color-accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 2px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(223, 170, 37, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-submit-btn {
    width: 100%;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-bg);
    background: var(--color-text);
    border: 2px solid var(--color-text);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(223, 170, 37, 0.3);
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.success-message,
.error-message {
    display: none;
    text-align: center;
    padding: 20px;
}

.success-icon,
.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 600;
}

.success-icon {
    background: #E8F5E9;
    color: #2E7D32;
}

.error-icon {
    background: #FFEBEE;
    color: #C62828;
}

.success-message h3,
.error-message h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--color-text);
}

.success-message p,
.error-message p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin: 0 0 30px 0;
    color: var(--color-text);
    opacity: 0.7;
}

.success-close-btn,
.error-retry-btn {
    padding: 12px 36px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-bg);
    background: var(--color-text);
    border: 2px solid var(--color-text);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-close-btn:hover,
.error-retry-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

/* --------------------------------------------------
    MOBILE HERO FIX - ULTRA NUCLEAR OPTION (MAXIMUM SPECIFICITY)
-------------------------------------------------- */
@media (max-width: 768px) {
    /* Kill all section default padding for hero only - MAXIMUM SPECIFICITY */
    body section.hero-section.text-center,
    body section.hero-section,
    section.hero-section {
        padding: 0 !important;
        margin: 0 !important;
        min-height: auto !important;
        display: block !important; /* CRITICAL: Remove flex centering on mobile */
        align-items: unset !important;
        justify-content: unset !important;
    }
    
    /* Tighter navbar - MAXIMUM SPECIFICITY - KILL BOOTSTRAP py-3 */
    body nav.navbar,
    nav.navbar.navbar-expand-lg,
    .navbar.py-3,
    nav.py-3 {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        margin-bottom: 0 !important; /* No gap after navbar */
    }
    
    /* Container with balanced vertical spacing - MAXIMUM SPECIFICITY */
    /* Reduced padding since section now has margin-top */
    body .hero-section .container,
    body section.hero-section .container,
    section.hero-section > .container {
        padding-top: 80px !important;
        padding-bottom: 40px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        display: block !important;
    }
    
    /* H1 - MAXIMUM SPECIFICITY */
    body .hero-section h1,
    body section.hero-section h1,
    section.hero-section .container h1 {
        font-size: clamp(4.5rem, 20vw, 7rem) !important;
        line-height: 1.1 !important;
        letter-spacing: -0.02em !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        margin-bottom: 55px !important;
    }

    /* Lead text - MAXIMUM SPECIFICITY */
    body .hero-section .lead,
    body section.hero-section .lead,
    section.hero-section .container .lead {
        font-size: clamp(1.5rem, 5.5vw, 1.9rem) !important;
        max-width: 90% !important;
    }

    /* Promise - much bigger on mobile */
    body p.promise-text,
    body #brand-promise,
    p.promise-text {
        font-size: 2.4rem !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 390px) {
    body .hero-section .container,
    body section.hero-section .container,
    section.hero-section > .container {
        padding-top: 60px !important;
        padding-bottom: 30px !important;
    }
    
    body .hero-section h1,
    body section.hero-section h1,
    section.hero-section .container h1 {
        margin-bottom: 25px !important;
    }
}

/* Emergency backup - inline style simulation */
@media (max-width: 768px) {
    .hero-section[style] .container {
        padding-top: 15vh !important;
    }
}

/* English hero h1 slightly smaller on mobile to prevent "everywhere" overflow */
@media (max-width: 768px) {
    html[lang="en"] body .hero-section h1,
    html[lang="en"] section.hero-section .container h1 {
        font-size: clamp(3.5rem, 16vw, 6rem) !important;
    }
}