@font-face {
    font-family: 'Synonym';
    src: url('../fonts/synonym/Synonym-Variable.woff2') format('woff2');
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Synonym';
}


.project-page {
    width: 100%;
    min-height: 100vh;
    background: #1e1e1e;
    display: flex;
    justify-content: center;
    padding: 48px 0;
    box-sizing: border-box;
}

.project-label {
    font-family: 'Synonym';
    font-weight: 200;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: white;
    font-size: 4rem;
    margin-right: 0;
    min-width: 60px;
    text-align: center;
    position: sticky;
    top: 0;
    align-self: flex-start;
    grid-column: 1;
    grid-row: 1 / -1;
}

.project-container {
    display: grid;
    grid-template-columns: minmax(48px, 60px) 1fr;
    grid-auto-rows: auto;
    column-gap: 64px;
    row-gap: 24px;
    max-width: 1100px;
    width: 100%;
    margin: 0 32px;
    align-items: start;
}

.project-header-row {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 24px;
    width: 100%;
    grid-column: 2;
}

.project-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    color: white;
    grid-column: 2;
}

.project-title {
    font-size: 4rem;
    line-height: 4rem;
    font-weight: 300;
    margin: 0;
    color: white;
}


.project-subtitle {
    font-size: 1.5rem;
    color: #bdbdbd;
    margin-bottom: 12px;
    margin-top: 0;
}

.project-main-image img,
.project-gallery img,
.more-gallery img {
    display: block;
    max-width: 100%;
    border-radius: 4px;
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-row {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.gallery-row img {
    flex: 1;
    width: 200px;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

.trailer {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive trailer video */
.trailer video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #000;
    /* avoid layout jump on load */
    border-radius: 4px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(6, max-content);
    justify-content: center;
    /* center whole grid, so final row is centered too */
    align-items: center;
    gap: clamp(6px, 2vw, 24px);
    padding: clamp(12px, 4vw, 40px) 16px;
}

.grid>* {
    width: clamp(64px, 9vw, 140px);
    /* scales with viewport */
    height: auto;
    aspect-ratio: 110 / 76;
    /* preserve logo proportion */
    object-fit: contain;
}


.team-column .p .a {
    color: #eaeaea;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}


.project-placeholder {
    width: 160px;
    height: 100px;
    background: #ccc;
    margin: 24px 0;
    align-self: center;
}


/* --- Professional Creative Team Styling --- */

.creative-team {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 64px;
    margin-top: 24px;
    padding-top: 16px;
}

.creative-team p {
    font-size: 0.85rem;
    color: #eaeaea;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}





/* --- Professional Creative Team Styling --- */
.creative-team {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 64px;
    margin-top: 0px;
    padding-top: 0px;
    padding-bottom: 64px;
}

.creative-team p {
    font-size: 0.85rem;
    color: #eaeaea;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.more-productions p {
    font-size: 0.65rem;
    margin: 8px 0 4px;
    color: #eaeaea;
}

.more-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: stretch;
    /* Avoid horizontal overflow while animating widths */
    overflow: hidden;
    width: 100%;
}

.more-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    background: #ccc;
    transition: opacity 0.35s ease;
}


.team-column {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.creative-team p strong {
    font-weight: 600;
    color: #ffffff;
}

/* Ensure links inside the Creative Team section inherit text color (avoid default blue/purple) */
.creative-team a,
.creative-team a:visited {
    color: inherit;
    text-decoration: none;
}

.creative-team a:hover {
    color: #bdbdbd;
    text-decoration: underline;
}


.more-productions p {
    font-size: 2rem;
    font-weight: 300;
    margin: 8px 0 4px;
    color: #eaeaea;
    padding-bottom: 8px;
}

.more-gallery {
    display: flex;
    gap: 8px;
}

.more-production-image {
    position: relative;
    display: block;
    /* Base size, allow shrink, no grow beyond basis unless hovered */
    flex: 0 1 250px;
    min-width: 140px;
    height: 150px;
    /* Ensure overlays do not spill outside the image container */
    overflow: hidden;
    transition: flex-basis 0.35s ease;
}

/* When gallery is hovered, gently shrink all tiles to make room */
.more-gallery:hover .more-production-image {
    flex-basis: 180px;
}

/* Enlarge only the hovered tile so others make room */
.more-gallery .more-production-image:hover {
    flex-basis: 360px;
}

.more-productions-title {
    position: absolute;
    bottom: 16px;
    /* Constrain within parent with symmetric side insets */
    left: 12px;
    right: 12px;
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    border-radius: 2;
    transition: opacity 0.4s ease;
    pointer-events: none;
    /* Allow wrapping so long titles stay inside container */
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: right;
}

.more-production-image:hover .more-productions-title {
    opacity: 1;
}

.project-image:hover .project-title {
    opacity: 1;
}

.team-column {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-btn {
    position: fixed;
    top: 32px;
    right: 32px;
    color: #fff;
    background: none;
    padding: 8px 24px;
    border-radius: 2px;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    cursor: pointer;
    z-index: 100;
    pointer-events: auto;
    transition: background 0.2s;
    border: none;
    text-transform: uppercase;
    font-family: 'Synonym';
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-btn:hover {
    background: rgba(0, 0, 0, 0.089);
}

.menu-btn.open {
    display: none;
}

.close-btn {
    position: absolute;
    top: 32px;
    right: 32px;
    color: #fff;
    background: none;
    padding: 8px 24px;
    border-radius: 2px;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    cursor: pointer;
    z-index: 1001;
    pointer-events: auto;
    transition: background 0.2s;
    border: none;
    text-transform: uppercase;
    font-family: 'Synonym';
}

.close-btn:hover {
    color: #bdbdbd;
}

.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 20vw;
    height: 100vh;
    background: rgba(17, 17, 17, 0.5);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: right 0.2s ease-in-out;
    z-index: 999;
}

.drawer.open {
    right: 0;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    font-size: 1rem;
    text-align: center;
    height: 100%;
    width: 100%;
}

.drawer-nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.drawer-nav a:hover {
    color: #bdbdbd;
}

.footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 48px 16px 48px;
    box-sizing: border-box;
    font-size: 0.85rem;
    color: #bdbdbd;
    background: #232323;
    /* margin-top: 32px; */
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-link {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #fff;
}

.footer-copyright {
    text-align: center;
    flex: 1;
}

.drawer-nav .lang-toggle {
    background: none;
    border: none;
    color: #fff;
    font: inherit;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 0;
}

.drawer-nav .lang-toggle:hover {
    color: #bdbdbd;
}

/* DEBUG */
/* * {
    outline: 1px solid magenta !important;
}

.section-container,
.projects-container,
.reviews-container,
.calender-container,
.contact-container {
    border: 2px dashed lime !important;
}

.menu-btn .bar {
    display: none;
} */

#viewport-size {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    z-index: 10000;
    display: none;
}