/* ============================================
   PARIS MAXXING
   warm, editorial, organic
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #faf8f4;
    color: #1a1a1a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

em {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
}

a {
    color: inherit;
}

/* ---- Nav ---- */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 40px;
    z-index: 10;
}

.nav-brand {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: lowercase;
}

.nav-link {
    font-size: 0.85rem;
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #1a1a1a;
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 40px 80px;
    position: relative;
    background: #faf8f4;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    color: #1a1a1a;
}

.hero h1 em {
    color: #2c5f8a;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: #666;
    max-width: 520px;
    margin: 0 auto;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-hint span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #aaa;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #ccc, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* ---- Manifesto ---- */
.manifesto {
    padding: 120px 40px;
    background: #f0ede6;
}

.manifesto-inner {
    max-width: 680px;
    margin: 0 auto;
}

.manifesto-inner p {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    line-height: 1.6;
    color: #333;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.manifesto-inner p:nth-child(2) { transition-delay: 0.15s; }
.manifesto-inner p:nth-child(3) { transition-delay: 0.3s; }

.manifesto-inner p.in-view {
    opacity: 1;
    transform: translateY(0);
}

.manifesto-inner em {
    color: #2c5f8a;
}

.manifesto-inner strong {
    font-weight: 400;
    color: #1a1a1a;
    border-bottom: 2px solid #2c5f8a;
}

/* ---- Mosaic ---- */
.mosaic {
    padding: 120px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.mosaic-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mosaic-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    border: 1px solid #e8e4dd;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mosaic-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.mosaic-card:hover {
    border-color: #ccc;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.mosaic-card.in-view:hover {
    transform: translateY(-2px);
}

.mosaic-large {
    grid-column: span 2;
}

.card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2c5f8a;
    margin-bottom: 16px;
    padding: 4px 12px;
    background: rgba(44, 95, 138, 0.06);
    border-radius: 100px;
}

.mosaic-card h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.mosaic-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

/* ---- The Life ---- */
.life {
    padding: 120px 40px;
    background: #1a1a1a;
    color: #faf8f4;
}

.life-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 80px;
    line-height: 1.2;
}

.life-title em {
    color: #d4a853;
}

.life-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 50px;
}

.life-item {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.life-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.life-item:nth-child(2) { transition-delay: 0.08s; }
.life-item:nth-child(3) { transition-delay: 0.16s; }
.life-item:nth-child(4) { transition-delay: 0.24s; }
.life-item:nth-child(5) { transition-delay: 0.32s; }
.life-item:nth-child(6) { transition-delay: 0.4s; }

.life-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: #5cb85c;
    margin-bottom: 14px;
    font-family: 'DM Sans', sans-serif;
}

.life-item:nth-child(5) .life-number,
.life-item:nth-child(6) .life-number {
    color: #e07a5f;
}

.life-item h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #faf8f4;
}

.life-item p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #999;
}

/* ---- Ticker ---- */
.ticker {
    padding: 40px 0;
    overflow: hidden;
    background: #f0ede6;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    animation: ticker 35s linear infinite;
    width: max-content;
}

.ticker-track span {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.2rem;
    color: #999;
}

.ticker-track span:not(:nth-child(2n)) {
    font-weight: 400;
}

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

/* ---- Outro / CTA ---- */
.outro {
    padding: 140px 40px;
    background: #faf8f4;
    text-align: center;
}

.outro-content {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.outro-content.in-view {
    opacity: 1;
    transform: translateY(0);
}

.outro h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.outro h2 em {
    color: #2c5f8a;
}

.outro p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.outro-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #1a1a1a;
    color: #faf8f4;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.outro-btn:hover {
    background: #2c5f8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 95, 138, 0.2);
}

/* ---- Footer ---- */
.footer {
    padding: 40px;
    border-top: 1px solid #e8e4dd;
    background: #faf8f4;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-brand {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.footer-divider {
    color: #ccc;
}

.footer-note {
    font-size: 0.8rem;
    color: #999;
}

.footer-note a {
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    transition: color 0.3s;
}

.footer-note a:hover {
    color: #1a1a1a;
}

.footer-flag {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    gap: 0;
    opacity: 0.35;
}

.flag-stripe {
    width: 20px;
    height: 14px;
}

.flag-blue { background: #002395; border-radius: 2px 0 0 2px; }
.flag-white { background: #fff; border-top: 1px solid #e8e4dd; border-bottom: 1px solid #e8e4dd; }
.flag-red { background: #ED2939; border-radius: 0 2px 2px 0; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav {
        padding: 20px 24px;
    }

    .hero {
        padding: 100px 24px 80px;
    }

    .manifesto {
        padding: 80px 24px;
    }

    .mosaic {
        padding: 80px 24px;
    }

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

    .mosaic-large {
        grid-column: span 1;
    }

    .life {
        padding: 80px 24px;
    }

    .life-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .outro {
        padding: 100px 24px;
    }

    .scroll-hint {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .mosaic-card {
        padding: 28px 24px;
    }
}
