:root {
    --marble: #F7F6F2;
    --stone: #E6E0D6;
    --taupe: #C8C2B6;
    --slate: #4B4A45;
    --verdigris: #6F7D6A;
    --antique-gold: #d3b561;
    --roman-red: #7A2E2E;
    
    --cream: var(--marble);
    --soft-black: var(--slate);
    --accent: var(--verdigris);
}

.no-zoom {
    touch-action: pan-y !important;
    -ms-touch-action: pan-y !important;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--marble);
    color: var(--slate);
    font-family: "Times New Roman", Times, serif;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
}

.prod-stage {
    position: relative;
    width: 100vw;
    max-width: none;
    aspect-ratio: 1182 / 1330;
    background-image: url('../img/prod-bg.png');
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
}

.prod-stage::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 6%;
    background: linear-gradient(to bottom, rgba(247, 246, 242, 0), var(--marble));
    pointer-events: none;
}

.main-header {
    position: absolute;
    top: 14.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
}

.prod-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.section-wrapper {
    width: 100%;
    padding: 4rem 2rem;
    box-sizing: border-box;
}

.hidden {
    display: none;
}


/*

HERO / LOGO

*/

.logo-text {
    font-size: clamp(1rem, 11vw, 13.125rem);
    margin: 0;
    letter-spacing: 1.5rem;
    color: var(--roman-red);
    opacity: 0.6;
    letter-spacing: 4px;
}

.hero {
    text-align: center;
    margin-bottom: 6rem;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin: 0;
    color: var(--soft-black);
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 1rem auto;
}


/*

PROJECTS

*/

.projects-wrapper {
    position: absolute;
    top: 25.2%;
    left: 21.8%;
    width: 56%;
    margin: 0;
    padding: 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2vw;
    margin: 0;
    align-items: start;
    justify-items: center;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.project-img {
    width: 35.5vw;
    max-width: 92%;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0.2rem -0.2rem 0.2rem rgba(0,0,0,0.25));
    transform-origin: center;
}

.project-img:hover {
    transform: translateY(-0.5rem) scale(1.04);
    filter: drop-shadow(0.2rem -0.2rem 1.25rem rgba(0,0,0,0.25));
}

.project-card h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.project-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}


/*

TALENT

*/

.talent-wrapper {
    position: absolute;
    top: 42.25%;
    left: 20.5%;
    width: 59%;
    margin: 0;
    padding: 0;
    /* This section contains the busts on the table */
}

.team-layout {
    display: block;
}

.busts-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4vw;
    align-items: end;
    justify-items: center;
    margin: 0;
}

.bust-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-label {
    display: none;
}

.bust-container {
    width: 100%;
}

.bust-img {
    width: 18vw;
    max-width: 85%;
    aspect-ratio: auto;
    background: transparent;
    object-fit: contain;
    object-position: bottom;
    margin-bottom: 0;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.25));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
    cursor: pointer;
}

.bust-img:hover {
    transform: scale(1.05) translateY(-1.5rem);
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.25));
}

.talent-popup,
.project-popup {
    position: fixed;
    background-color: var(--marble);
    border: 1px solid var(--taupe);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    padding: 2.5rem;
    z-index: 100;
    width: 320px;
    box-sizing: border-box;
    border-radius: 2px;
    display: none;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.4s ease;
    pointer-events: none;
    color: var(--slate);
    font-family: "Times New Roman", Times, serif;
    text-align: left;
}

.talent-popup::before,
.project-popup::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--taupe);
}

.talent-popup.active,
.project-popup.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.talent-popup h3,
.project-popup h3 {
    margin: 0.35rem 0 0.1rem 0;
    color: var(--roman-red);
    font-size: 2rem;
    font-style: italic;
    letter-spacing: 0.05rem;
}

.project-popup h3 a {
    color: inherit;
    text-decoration: none;
}

.project-popup h3 a:hover {
    text-decoration: underline;
}

.talent-popup .role,
.talent-popup .years,
.project-popup .role {
    display: block;
    color: var(--verdigris);
    font-weight: bold;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.talent-popup .role,
.project-popup .role {
    color: var(--roman-red);
    opacity: 0.7;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
}

.project-popup p {
    margin: 1rem 0 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--taupe);
    color: var(--slate);
    font-size: 1rem;
    line-height: 1.25;
}

.talent-popup .years {
    margin-top: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--taupe);
    color: var(--slate);
    opacity: 0.7;
    line-height: 1;
}

.talent-popup .veteran {
    display: block;
    margin-top: 2.5rem;
    color: var(--verdigris);
    font-weight: bold;
    font-size: 0.8rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.talent-popup ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.talent-popup li {
    margin-bottom: 0.6rem;
    font-size: 1rem;
    color: var(--slate);
    position: relative;
    padding-left: 1.2rem;
    line-height: 1.2;
}

.talent-popup li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--antique-gold);
}


/* 

CONTACT

*/

.contact-wrapper {
    position: absolute;
    top: 77%;
    left: 51.3%;
    transform: translateX(-50%);
    width: 18vw;
    padding: 0;
    justify-content: center;
    margin: 0;
}

.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--antique-gold);
    width: 80%;
    aspect-ratio: 213 / 65;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.6vw;
    transition: transform 0.3s ease, filter 0.3s ease;
    margin: 0;
    
    /* Roman Plate Style Button */
    background-image: url('../img/red-btn.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    text-transform: uppercase;
}

.contact-button:hover {
    transform: translateY(-5px) scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

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

@media (max-width: 620px) {
    .prod-stage {
        left: 50%;
        width: calc(100dvh * 1182 / 1330);
        min-width: 100vw;
        height: 100dvh;
        aspect-ratio: auto;
        transform: translateX(-50%);
        background-size: 100% 100%;
    }

    .logo-text {
        font-size: calc(100dvh * 1182 / 1330 * 0.11);
    }

    .busts-row {
        gap: 5%;
    }

    .bust-img {
        width: 82%;
        max-width: none;
    }

    .talent-popup,
    .project-popup {
        width: min(320px, calc(100vw - 32px));
        padding: 2rem;
    }

    .contact-wrapper {
        width: 18%;
    }

    .contact-button {
        font-size: calc(100dvh * 1182 / 1330 * 0.016);
    }
}
