@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=TT+Norms+Pro:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #111827;
    --secondary: #4b5563;
    --accent: #C5A059; 
    --lighter: #ffffff;
    --off-white: #f9fafb;
    --border: #e5e7eb;
}

body { 
    font-family: 'TT Norms', 'regular';
    background-color: var(--off-white);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

body.loading { 
    overflow: hidden; 
}

.page-hero {
    width: 100%; 
    height: 55vh; 
    min-height: 450px;
    background: linear-gradient(135deg, #6b7280 0%, #4a5560 100%);
    position: relative; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    text-align: center;
    padding: 80px 20px 0 20px;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 30%;
    background: linear-gradient(to top, var(--off-white) 0%, transparent 100%);
    pointer-events: none;
}

.page-hero h1 {
    font-family: 'TT Norms';
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    z-index: 2;
    color:#e5e7eb;
}

.hero-accent-line {
    width: 60px; height: 2px; background-color: var(--accent);
    margin: 15px auto 25px auto; z-index: 2;
}

.page-hero p {
    color: #e5e7eb;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    max-width: 600px;
    margin: 0 auto;
    z-index: 2;
}

#smooth-wrapper { width: 100%; overflow: hidden; }
.page { padding: 5vw; max-width: 1100px; margin: 0 auto; }
.content { margin: 10vh 0 20vh; }

.content__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25vh;
    width: 100%;
}

.content__item:nth-child(even) { flex-direction: row-reverse; }

.content__item-img-container {
    position: relative; width: 45%; flex-shrink: 0;
}

.content__item-imgwrap {
    position: relative; width: 100%; padding-bottom: 120%; 
    overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    will-change: transform;
}

.content__item-img {
    --overflow: 40px;
    height: calc(100% + (2 * var(--overflow)));
    top: calc(-1 * var(--overflow));
    width: 100%;
    position: absolute;
    background-size: cover;
    background-position: center;
    will-change: transform;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
}

.content__item-imgwrap:hover .content__item-img { filter: grayscale(0%); }

.content__item-title {
    position: absolute;
    bottom: -3%; left: -18%;  
    font-family: 'TT Norms';
    font-style: bold;
    font-weight: 500;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    color: var(--secondary);
    margin: 0; z-index: 10; line-height: 1;
    text-shadow: 2px 2px 10px var(--accent);
    pointer-events: none;
}

.content__item:nth-child(even) .content__item-title { left: auto; right: -18%; }

.content__item-description {
    width: 45%; margin: 0; color: var(--secondary);
    line-height: 1.8; font-size: 1.1rem; padding-top: 1rem;
}

@keyframes down { 0%{opacity:0} 25%{opacity:1} 75%{opacity:0} 100%{opacity:0} }

@media screen and (max-width: 992px) {
    .content__item-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
}

@media screen and (max-width: 768px) {
    .page-hero { padding: 60px 15px 0 15px; }
    .page-hero p { font-size: 0.95rem; }
    
    .content__item, 
    .content__item:nth-child(even) {
        flex-direction: column; 
        gap: 2rem;
        margin-bottom: 15vh;
    }
    
    .content__item-img-container {
        width: 85%;
        margin: 0 auto;
    }

    .content__item-title {
        left: 0 !important;
        right: 0 !important;
        bottom: -5%;
        text-align: center;
        font-size: 2.2rem;
        width: 100%;
    }

    .content__item-description {
        width: 95%;
        text-align: center;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .content__item-title { font-size: 1.8rem; bottom: -8%; }
    .content__item-imgwrap { padding-bottom: 100%; }
}