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

body {
    background-color: #ffffff;
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 3rem 4rem;
    position: relative;
    /* Prevent default scrolling if everything fits */
    overflow: hidden;
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Shift up slightly to mimic the composition in the reference */
    margin-top: -8vh; 
}

.headline {
    text-align: center;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.serif-text {
    /* "Playfair Display" has that elegant, high-contrast serif look */
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 8rem;
    letter-spacing: -2px;
    z-index: 2;
}

.script-wrapper {
    position: relative;
    margin-top: -3rem; /* Overlap script with serif */
    padding-left: 2rem; /* Shift slightly right for asymmetry */
}

.script-text {
    /* Pinyon Script is very close to the elegant, swooping script in the reference */
    font-family: 'Pinyon Script', cursive;
    font-size: 14rem;
    font-weight: 400;
    line-height: 0.8;
}

.year {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2rem;
    font-weight: 400;
    position: absolute;
    top: 1rem;
    right: -3rem;
    letter-spacing: 0;
}

.footer-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    /* Sans-serif for the small clinical text at the bottom */
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding-bottom: 1rem;
}

.portfolio-link, .ig-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.portfolio-link:hover, .ig-link:hover {
    opacity: 0.6;
}

.footer-dot {
    opacity: 0.3;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .serif-text { font-size: 6rem; }
    .script-text { font-size: 10rem; }
    .script-wrapper { margin-top: -2rem; }
}

@media (max-width: 768px) {
    body { 
        padding: 2rem; 
        overflow: auto; /* allow scroll on small screens */
    }
    .serif-text { font-size: 4rem; letter-spacing: -1px; }
    .script-text { font-size: 6rem; }
    .script-wrapper { margin-top: -1rem; padding-left: 0; }
    .year { font-size: 1.25rem; right: -2rem; top: 0rem; }
    
    .footer-info {
        flex-direction: column;
        align-items: center;
    }
}
