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

body {
    font-family: 'Gabarito', sans-serif;
    /* font-weight: 400; */
    overflow-x: hidden;
    background-color: #ffffff;  /* Clean white background */
    
}

/* Top right navigation - matches PDF */
.top-right {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 1000;
    font-family: 'Gabarito', sans-serif;
    font-weight: 700;
    font-size: 12pt;
}

.top-right a {
    text-decoration: none;
    color: #000;
    font-family: 'Gabarito', sans-serif;
    font-weight: 700;
    font-size: 12pt;
    letter-spacing: 0.5px;
}

.top-right a:hover {
    opacity: 0.6;
}

/* Scroll container - with gaps between slides */
.scroll-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;              /* Gap between each image */
    padding: 10px 0;         /* Space at top and bottom */
    background-color: #ffffff; /* White background */
    -webkit-overflow-scrolling: touch;
    
}

/* Each slide */
.scroll-item {
    display: block;
    height: 97vh;           
    width: 100%;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    justify-content: center;  
    align-items: center;      
    background-color: #ffffff; 
        aspect-ratio: 3 / 4; /* ✅ ADD THIS LINE */

}

/* Images maintain their natural proportions */
.scroll-item img {
    height: 100%;             /* Fill the slide height */
    width: auto;              /* Width adjusts to maintain aspect ratio */
    max-width: 100%;          /* Prevent overflow */
    display: block;
    object-fit: contain;
}
/* ARTWORK TEXT */

.art-info{
position:absolute;
left:40px;
bottom:2px;
width:250px;
color:#000;
}


.art-info h2 {
font-family:'Playfair Display',serif;
font-size:22px;
margin-bottom:40px;
font-weight: 800;
color: #222222;
}


.art-info p{
    font-size:12pt;
    line-height:1.5;
    margin-bottom:10px;
    font-weight:500;
    color: #222222;
}

/* Remove any background colors from slides */
.scroll-item {
    background-color: #ffffff;
}

@media (max-width:1100px){

/* container spacing */
.scroll-container{
gap:70px;
padding:40px 30px;
}

/* artwork block */
.scroll-item{
height:auto;
flex-direction:column;   /* stack text and image */
align-items:flex-start;
padding:20px 0;
}

/* title + description */
.art-info{
position:static;         /* remove absolute positioning */
width:100%;
margin-top:30px;         /* space ABOVE title */
margin-bottom:25px;      /* space BEFORE image */
}

/* title */
.art-info h2{
font-size:21px;
margin-bottom:14px;
}

/* description */
.art-info p{
line-height:1.6;
margin-bottom:12px;
}

/* image */
.scroll-item img{
height:auto;
width:100%;
object-fit:contain;
}

}

/* @media (max-width:768px){

.scroll-container{
    gap:90px;                 
    padding:40px 20px 60px;
}

.scroll-item{
    height:auto;
    flex-direction:column;
    align-items:flex-start;
}

.art-info{
    position:static;
    width:100%;
    margin-top:40px;          
    margin-bottom:30px;       
}


.art-info h2{
    font-size:20px;
    margin-bottom:14px;
}


.art-info p{
    font-size:12pt;
    line-height:1.6;
    margin-bottom:12px;
}


.scroll-item img{
    height:auto;
    width:100%;
    object-fit:contain;
}


.top-right{
    top:20px;
    right:20px;
    font-size:11pt;
}

} */



@media (max-width:768px){

/* Container spacing between artworks */
.scroll-container{
    gap:90px;                 /* big space between artworks */
    padding:40px 20px 60px;
}

/* Each artwork block */
.scroll-item{
    height:auto;
    flex-direction:column;
    align-items:flex-start;
}

/* Title + description block - MOVED BELOW IMAGE */
.art-info{
    position:static;
    width:100%;
    margin-top:20px;          /* space AFTER image */
    margin-bottom:0;       
    order: 2;                  /* Ensures it appears after image */
}

/* Image - ENSURE IT APPEARS FIRST */
.scroll-item img{
    height:auto;
    width:100%;
    object-fit:contain;
    order: 1;                  /* Ensures image appears first */
}

/* Title */
.art-info h2{
    font-size:20px;
    margin-bottom:14px;
}

/* Description */
.art-info p{
    font-size:12pt;
    line-height:1.6;
    margin-bottom:12px;
}

/* Contact button position */
.top-right{
    top:20px;
    right:20px;
    font-size:11pt;
}

}














/* Contact Page */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 70px 20px 80px;
}

/* Title */
.contact-name {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 28pt;
    margin-bottom: 10px;
}

/* Divider */
.divider {
    font-size: 20pt;
    margin-bottom: 30px;
}

/* Bio */
.contact-bio {
    font-family: 'Gabarito', sans-serif;
    font-weight: 700;
    font-size: 13pt;
    line-height: 1.8;
    margin-bottom: 1px;
}

/* RF */
.contact-initials {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 20pt;
    margin: 30px 0 50px;
}

/* Image */
.contact-image {
    margin-bottom: 30px;
}

.contact-image img {
    width: 100%;
    max-width: 260px;
    height: auto;
    display: block;
}


/* Inquiry */
/* .contact-inquiry {
    font-family: 'Gabarito', sans-serif;
    font-weight: 700;
    font-size: 13pt;
    line-height: 1.6;
    margin-bottom: 15px;
}

@media (max-width:600px){

.contact-inquiry{
    text-align:center;
    font-family:'Gabarito', sans-serif;
    font-weight:700;
    font-size:13pt;
    line-height:1.7;
}

.contact-inquiry span{
    display:block;
}

.line1{
    margin-bottom:4px;
}

.line2{
    margin-bottom:4px;
}

} */


/* Inquiry */
.contact-inquiry {
    font-family: 'Gabarito', sans-serif;
    font-weight: 700;
    font-size: 13pt;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Desktop */
.contact-inquiry span{
    display:inline;
}

.desktop-break{
    display:block;
}

/* Mobile */
@media (max-width:600px){

.contact-inquiry{
    text-align:center;
    line-height:1.7;
}

.contact-inquiry span{
    display:block;
}

.desktop-break{
    display:none;
}

.line1{
    margin-bottom:4px;
}

.line2{
    margin-bottom:4px;
}

}


/* Contact links */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-signature{
    font-family: 'Gabarito', sans-serif;
    font-weight:700;
    font-size:13pt;
    margin:20px 0 40px;
}

.contact-details a {
    font-family: 'Gabarito', sans-serif;
    font-weight: 700;
    font-size: 13pt;
    text-decoration: none;
    color: #000;
}

/* NAV */
.top-left {
    position: fixed;
    top: 30px;
    left: 40px;
}

.top-left a {
    font-size: 20px;
    text-decoration: none;
    color: black;
}

.top-right {
    position: fixed;
    top: 30px;
    right: 40px;
}

.top-right a {
    font-family: 'Gabarito', sans-serif;
    font-weight: 700;
    font-size: 12pt;
    text-decoration: none;
    color: black;
}


/* legal links */

/* Legal links */
.legal-links {
    margin-top: 1px;
    text-align: center;
    font-family: 'Gabarito', sans-serif;
    font-weight: 700;
    font-size: 9pt;
}

.legal-links a {
    text-decoration: none;
    color: #000;
    display: inline-block;
    margin: 0 5px;
}

.legal-links a:hover {
    opacity: 0.6;
}

.legal-links span {
    margin: 0 5px;
}



/* Newsletter Inline Style */

/* Newsletter Inline Style */
.newsletter-inline {
    margin: 28px 0 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;  /* Reduced from 40px */
    flex-wrap: wrap;
    font-family: 'Gabarito', sans-serif;
    width: 100%;
}

.newsletter-text {
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;  /* Prevents text from wrapping */
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 10px;  /* Space between input and button */
}

.newsletter-form input {
    border: none;
    background: transparent;
    padding: 8px 5px;
    font-size: 18px;
    outline: none;
    width: 200px;  /* Slightly wider */
    color: #000;
    font-family: 'Gabarito', sans-serif;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    border: none;
    background: none;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    padding: 8px 0;
    font-family: 'Gabarito', sans-serif;
   
}

.newsletter-form button:hover {
    opacity: 0.6;
}

/* For mobile - stack when screen is small */
/* @media (max-width: 600px) {
    .newsletter-inline {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form {
        width: 100%;
        justify-content: center;
    }
    
    .newsletter-form input {
        width: 180px;
    }
} */

/* Fix for mobile newsletter button */
/* @media (max-width: 600px) {
    .newsletter-inline {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .newsletter-form {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 10px;
    }
    
    .newsletter-form input {
        width: 180px;
        min-width: 150px;
        flex-shrink: 1;
    }
    
    .newsletter-form button {
        width: auto;
        min-width: 70px;
        flex-shrink: 0;
        padding: 8px 10px;
        white-space: nowrap;
    }
} */

/* Fix for mobile newsletter button */
@media (max-width: 600px) {
    .newsletter-inline {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .newsletter-form {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        gap: 10px !important;
    }
    
    .newsletter-form input {
        width: 180px !important;
        min-width: 150px !important;
        flex-shrink: 1 !important;
        display: inline-block !important;
    }
    
    .newsletter-form button {
        width: auto !important;
        min-width: 70px !important;
        flex-shrink: 0 !important;
        padding: 8px 10px !important;
        white-space: nowrap !important;
        display: inline-block !important;
        background: transparent !important;
        border: none !important;
        font-weight: 700 !important;
        font-size: 18px !important;
        cursor: pointer !important;
        color: #000 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .newsletter-form button:hover {
        opacity: 0.6 !important;
    }
}


/* Needed for spinner positioning only */
.scroll-item,
.art-images {
    position: relative;
}

/* Hide image before load (NO SIZE CHANGES) */
.scroll-item img,
.art-images img {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Fade in when loaded */
.scroll-item img.loaded,
.art-images img.loaded {
    opacity: 1;
}

/* Homepage spinner */
.scroll-item.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0,0,0,0.08);
    border-top-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Safari mobile fixes */
@media (max-width: 768px) {
    .scroll-container {
        -webkit-overflow-scrolling: touch;
    }
    
    /* .scroll-item {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    } */
}

/* Hide line breaks on mobile */
@media (max-width: 768px) {
    .art-info h2 br {
        display: none; /* This hides the <br> tags */
    }
    .art-info[data-art="capricorn"] h2 br {
        display: inline; /* This OVERRIDES the previous rule */
    }
    
    .art-info h2 {
        white-space: normal; /* Allow text to wrap naturally */
    }
}

/* Desktop - show desktop version, hide mobile version */
.art-info[data-art="fiebertraum"] .desktop-text {
    display: block;
}

.art-info[data-art="fiebertraum"] .mobile-text {
    display: none;
}


/* Mobile description formatting */
@media (max-width: 768px) {
    
    /* For artworks where "on..." should be in second line - hide the <br> */
    .art-info[data-art="gottliches-timing"] p:first-of-type br,
    /* .art-info[data-art="capricorn"] p:first-of-type br, */
    .art-info[data-art="rot-ist-die-liebe"] p:first-of-type br,
    .art-info[data-art="leafy-greens"] p:first-of-type br,
    .art-info[data-art="may-you-be"] p:first-of-type br,
    .art-info[data-art="cappuccino"] p:first-of-type br,
    /* .art-info[data-art="fiebertraum"] p:first-of-type br, */
    .art-info[data-art="when-thoughts"] p:first-of-type br,
    .art-info[data-art="quit-or-succeed"] p:first-of-type br,
    .art-info[data-art="nancy-botwin"] p:first-of-type br,
    .art-info[data-art="flight-neon"] p:first-of-type br {
        display: none;
    }

    
    
    /* For artworks where material and surface should be together but can wrap naturally */
    .art-info[data-art="madre-ayahuasca"] p:first-of-type,
    .art-info[data-art="making-waves"] p:first-of-type,
    .art-info[data-art="mutterwunde"] p:first-of-type,
    .art-info[data-art="weise-instanz"] p:first-of-type,
    .art-info[data-art="lesson-softening"] p:first-of-type,
    .art-info[data-art="still-looking"] p:first-of-type {
        white-space: normal; /* Allow wrapping */
    }
    
    /* Remove any <br> in these paragraphs */
    .art-info[data-art="madre-ayahuasca"] p:first-of-type br,
    .art-info[data-art="making-waves"] p:first-of-type br,
    .art-info[data-art="mutterwunde"] p:first-of-type br,
    .art-info[data-art="weise-instanz"] p:first-of-type br,
    .art-info[data-art="lesson-softening"] p:first-of-type br,
    .art-info[data-art="still-looking"] p:first-of-type br {
        display: none;
    }
    
    /* Manic panic special case */
    .art-info[data-art="manic-panic"] p:first-of-type br {
        display: none;
    }
    .art-info[data-art="fiebertraum"] .desktop-text {
        display: none;
    }
    
    .art-info[data-art="fiebertraum"] .mobile-text {
        display: block;
    }
    /* Ensure all paragraphs have proper line height */
    .art-info p {
        line-height: 1.5;
        margin-bottom: 8px;
    }
}

@media (min-width: 769px) {
    .art-info[data-art="making-waves"] p:first-of-type {
        white-space: nowrap !important;
    }
    
    .art-info[data-art="making-waves"] p:first-of-type br {
        display: none;
    }
}

/* Medium screens (769px to 1100px) - Move text below image */
@media (min-width: 769px) and (max-width: 1100px) {
    
    /* Container spacing */
    .scroll-container {
        gap: 70px;
        padding: 40px 30px;
    }
    
    /* Each artwork block - stack vertically */
    .scroll-item {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
    }
    
    /* Image - appears first */
    .scroll-item img {
        height: auto;
        width: 100%;
        object-fit: contain;
        order: 1;
    }
    
    /* Title + description - appears below image */
    .art-info {
        position: static;
        width: 100%;
        margin-top: 30px;  /* Space after image */
        margin-bottom: 0;
        order: 2;
    }
    
    /* Title */
    .art-info h2 {
        font-size: 21px;
        margin-bottom: 14px;
    }
    
    /* Description */
    .art-info p {
        line-height: 1.6;
        margin-bottom: 12px;
    }
}

/* Extra small screens (below 380px) */
@media (max-width: 380px) {
    .contact-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .contact-inquiry {
        width: 100%;
        max-width: 290px;
        margin: 0 auto;
        font-size: 12pt;
        line-height: 1.4;
        text-align: center;
    }
    
    .contact-inquiry span {
        display: block;
        width: 100%;
        white-space: nowrap;
    }
    
    .line1 {
        margin-bottom: 10px;
    }
    
    .line2 {
        margin-bottom: 10px;
        font-size: 12pt; /* Slightly smaller for the long line */
        letter-spacing: -0.3px;
    }
    
    .line3 {
        margin-top: 0;
    }

    .contact-details {
        margin-bottom: 10px;
    
}

.contact-signature{
    margin-top: 40px;
}

}


