body {
    background-image: url('images/apothecary-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #0a0a0a;
    color: #e6dcc8;
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.stage-curtains {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    pointer-events: none;
    z-index: 20;
}

.seamless-veil {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: 100vh;
    background-color: rgba(10, 8, 6, 0.55);
    padding: 0 0 0 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ceiling-header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background-color: rgba(10, 8, 6, 0.8);
    border-bottom: 2px solid #3a2e24;
    position: relative;
    z-index: 15;
}

.main-logo {
    max-width: 480px; 
    width: 100%;
}

.etched-logo {
    /* 1. Add this subtle blur to soften the jagged edges of the artwork itself */
    filter: blur(0.0px) drop-shadow(0 0 35px rgba(220, 190, 140, 0.9)); 
    /* ^ Ensure that blur filter is placed first in the line ^ */
}

.ticker-wrapper {
    width: 100%;
    height: 380px;
    background: rgba(10, 8, 6, 0.98);
    border-bottom: 2px solid #3a2e24;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.ticker {
    display: flex;
    width: 200%;
    animation: ticker-animation 50s linear infinite;
}

.ticker img {
    width: 50%;
    height: 380px;
    object-fit: cover;
}

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

main {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.centered-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.sub-heading {
    font-size: 24px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c9b48f;
    border-bottom: 1px solid #c9b48f;
    padding-bottom: 10px;
    margin-top: 60px;
    margin-bottom: 30px;
    display: inline-block;
}

.grand-tagline {
    font-size: 42px;
    font-style: italic;
    font-weight: normal;
    color: #dfceb3;
    letter-spacing: 2px;
    margin: 70px 0;
    text-shadow: 0 5px 15px rgba(0,0,0,0.9);
    text-align: center;
}

.process-text {
    max-width: 700px;
    line-height: 1.8;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}

.process-text p, .bio-text p {
    margin-bottom: 20px;
}

.diorama-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 80px;
    flex-wrap: wrap;
    width: 100%;
}

.magic-sparkles {
    position: absolute;
    width: 700px;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

.diorama-stage:after {
    content: "";
    display: block;
    height: 520px;
}

.floating-curiosity {
    height: 520px;
    width: auto;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.95));
    transition: transform 0.4s ease, opacity 0.8s ease;
    z-index: 2;
    opacity: 0; 
    position: absolute; 
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.floating-curiosity:nth-child(2) { animation: fadeSequential 9s linear infinite; animation-delay: 0s; }
.floating-curiosity:nth-child(3) { animation: fadeSequential 9s linear infinite; animation-delay: 3s; }
.floating-curiosity:nth-child(4) { animation: fadeSequential 9s linear infinite; animation-delay: 6s; }

@keyframes fadeSequential {
    0% { opacity: 0; }
    5%, 30% { opacity: 1; transform: translate(-50%, -50%); } 
    35%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.03); } 
}

.artisan-layout {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
}

.artisan-container {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    max-width: 1000px;
    width: 100%;
    text-align: left;
}

.bio-photo {
    width: 320px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #3a2e24;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.9));
    transition: transform 0.3s ease;
}

.bio-photo:hover {
    transform: translateY(-8px);
}

.bio-text {
    flex: 1;
    line-height: 1.8;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}

.bio-text .sub-heading {
    margin-top: 0;
    margin-bottom: 25px;
}

.bottom-veil-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 40px;
    z-index: 15;
    position: relative;
}

.insta-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(20, 16, 13, 0.95);
    border: 1px solid #c9b48f;
    color: #c9b48f;
    padding: 15px 40px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 20px;
    font-style: italic;
    transition: all 0.3s ease;
    box-shadow: 0 15px 25px rgba(0,0,0,0.8);
}

.insta-button:hover {
    background-color: #c9b48f;
    color: #0a0a0a;
    transform: translateY(-4px);
}

.insta-icon {
    width: 26px;
    height: 26px;
}

.copyright {
    font-size: 15px;
    color: #8c7b65;
    margin-top: 10px;
}

.floor-display {
    width: 100%;
    border-top: 2px solid #3a2e24;
    background-color: #050403;
}

.bottom-banner {
    width: 100%;
    max-width: 1525px;
    margin: 0 auto;
    display: block;

    /* Fades the left and right edges to transparent */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);

    /* Adds a subtle gold glow to match the ceiling logo */
    filter: drop-shadow(0 0 20px rgba(220, 190, 140, 0.4));
}


.modal-card {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 320px;
    background-color: rgba(15, 12, 10, 0.95);
    border: 1px solid #c9b48f;
    padding: 30px;
    z-index: 100;
    box-shadow: 0 20px 40px rgba(0,0,0,0.95);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-card.off-screen-right {
    transform: translateX(150%);
}

.modal-card.swing-in {
    transform: translateX(0);
}

.modal-title {
    color: #c9b48f;
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-text {
    color: #e6dcc8;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #c9b48f;
    font-size: 24px;
    cursor: pointer;
}

.modal-button {
    display: inline-block;
    background-color: transparent;
    color: #c9b48f;
    border: 1px solid #c9b48f;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.modal-button:hover {
    background-color: #c9b48f;
    color: #0a0a0a;
}

em, .tagline, .social-link {
    font-style: italic;
    font-size: 1.1em;
}