:root {
  --color-bg: #fff;
  --color-text: #111111;
  --color-link: #000;
  --color-border: #ddd;
  --color-accent: yellow;
  --color-thumb: #f5f5f5;
}
body.dark-mode {
  --color-bg: #000;
  --color-text: #fff;
  --color-link: #fff;
  --color-border: #333;
  --color-accent: yellow;
  --color-thumb: #111;
}
@font-face {
  font-family: 'Futura PT';
  src: local('Futura PT Book'),
       url('../fonts/FuturaPT-Book.woff2') format('woff2'),
       url('../fonts/FuturaPT-Book.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Futura PT';
  src: local('Futura PT Medium'),
       url('../fonts/FuturaPT-Medium.woff2') format('woff2'),
       url('../fonts/FuturaPT-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
html, body {
    margin: 0;
    padding: 0;
}
main {
  display: block;
}
b,
strong {
  font-weight: 500;
}
small {
  font-size: 80%;
}
img {
    position: relative;
    max-width: 100%;
    height: auto;
    border-style: none;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-size: 16px;
    color: var(--color-text);
    letter-spacing: .5px;
    line-height: 1.4;
    font-family: 'Futura PT', system-ui, sans-serif;
    touch-action: pan-x pan-y;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-bg);
    transition: background-color 0.3s ease, color 0.3s ease;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 1.5px;
}
button {
    font-family: 'Futura PT', 'Roboto', system-ui, sans-serif;
    letter-spacing: 1px;
    color: var(--color-text);
}
hr {
    margin: 35px 0;
    display: block;
    border-width: 1px;
    border-color: var(--color-border);
    border-style: solid;
}
p:empty,
p:last-child {
    margin: 0 !important;
}
.link-b {
    color: var(--color-link);
    text-decoration: none;
}
.link-b:hover,
.link-b:focus {
    opacity: .9;
    text-decoration: underline;
}
.center {
    text-align: center;
}
.uppercase {
    text-transform: uppercase;
}
.hidden {
    display: none;
}

/* Container */
.container {
    position: relative;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.container-sm {
    max-width: 1024px;
}

/* === GRID SYSTEM === */
.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* 12 equal columns */
  gap: 15px; /* spacing between cols, adjust as needed */
}

/* Base columns: default full width on mobile */
.col {
  grid-column: span 12;
}

/* Column spans (desktop default) */
.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* Responsive variants: XS (default), SM ≥576px, MD ≥768px, LG ≥992px, XL ≥1200px */
@media (min-width: 576px) {
  .col-sm-1  { grid-column: span 1; }
  .col-sm-2  { grid-column: span 2; }
  .col-sm-3  { grid-column: span 3; }
  .col-sm-4  { grid-column: span 4; }
  .col-sm-5  { grid-column: span 5; }
  .col-sm-6  { grid-column: span 6; }
  .col-sm-7  { grid-column: span 7; }
  .col-sm-8  { grid-column: span 8; }
  .col-sm-9  { grid-column: span 9; }
  .col-sm-10 { grid-column: span 10; }
  .col-sm-11 { grid-column: span 11; }
  .col-sm-12 { grid-column: span 12; }
}

@media (min-width: 768px) {
  .col-md-1  { grid-column: span 1; }
  .col-md-2  { grid-column: span 2; }
  .col-md-3  { grid-column: span 3; }
  .col-md-4  { grid-column: span 4; }
  .col-md-5  { grid-column: span 5; }
  .col-md-6  { grid-column: span 6; }
  .col-md-7  { grid-column: span 7; }
  .col-md-8  { grid-column: span 8; }
  .col-md-9  { grid-column: span 9; }
  .col-md-10 { grid-column: span 10; }
  .col-md-11 { grid-column: span 11; }
  .col-md-12 { grid-column: span 12; }
}

@media (min-width: 992px) {
  .col-lg-1  { grid-column: span 1; }
  .col-lg-2  { grid-column: span 2; }
  .col-lg-3  { grid-column: span 3; }
  .col-lg-4  { grid-column: span 4; }
  .col-lg-5  { grid-column: span 5; }
  .col-lg-6  { grid-column: span 6; }
  .col-lg-7  { grid-column: span 7; }
  .col-lg-8  { grid-column: span 8; }
  .col-lg-9  { grid-column: span 9; }
  .col-lg-10 { grid-column: span 10; }
  .col-lg-11 { grid-column: span 11; }
  .col-lg-12 { grid-column: span 12; }
}

@media (min-width: 1200px) {
  .row { gap: 30px; } /* bigger spacing on xl */
  .col-xl-1  { grid-column: span 1; }
  .col-xl-2  { grid-column: span 2; }
  .col-xl-3  { grid-column: span 3; }
  .col-xl-4  { grid-column: span 4; }
  .col-xl-5  { grid-column: span 5; }
  .col-xl-6  { grid-column: span 6; }
  .col-xl-7  { grid-column: span 7; }
  .col-xl-8  { grid-column: span 8; }
  .col-xl-9  { grid-column: span 9; }
  .col-xl-10 { grid-column: span 10; }
  .col-xl-11 { grid-column: span 11; }
  .col-xl-12 { grid-column: span 12; }
}

/* Sections */
.section {
    margin: 40px 0 40px;
}
.section:last-child {
    margin-bottom: 60px;
}

/* Homepage vimeo wrapper */
#vimeo-wrapper {
    position: fixed;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    background-color: #000;
    overflow: hidden;
}
#vimeo-wrapper iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none; /* prevent interaction */
}

/* Centered logo */
.brand {
    display: flex;
    text-align: center;
    justify-content: center;
    margin: 30px 0 10px 0;
}
.brand img {
    width: 175px;
    height: auto;
    margin: 0 0 0 40px;
}
.brand-large {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -70%);
    z-index: 2;
    pointer-events: none;
}
.brand-large img {
    width: 440px;
    height: auto;
    margin: 0;
}

/* Navigation */
.hamburger {
    position: fixed;
    top: 30px;
    left: 15px;
    z-index: 11;
    cursor: pointer;
    width: 45px;
    height: 33px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: auto;
}
.hamburger span {
    display: block;
    height: 2px;
    background-color: var(--color-link);
    transition: all 0.3s ease;
    transform-origin: center;
}
body.dark-mode .hamburger span{
    background-color: var(--color-accent);
}
.hamburger.open span {
    background-color: var(--color-accent);
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(15.5px, 15.5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    color: yellow;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    z-index: 10;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.main-menu.show {
    display: block;
}
.main-menu .menu-logo {
    position: absolute;
    top: 30px;
    left: 40px;
    right: 0;
    margin: 0 auto;
    text-align: center;
}
.main-menu .menu-logo img {
    width: 175px;
    height: auto;
} 
.main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.main-menu a,
.main-menu a:focus {
    color: var(--color-accent);
    text-decoration: none;
} 
.main-menu a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}
.main-menu .menu-primary {
    position: absolute;
    top: 100px;
    left: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 75px;
}
.menu-primary li {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 2px;
}
.menu-primary > li > a {
    color: yellow;
    text-decoration: none;
    font-size: 2.4em;
    font-weight: 400;
    text-transform: uppercase;
}
.menu-block {
    display: none;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: flex-start;
    gap: 20px;
    margin: 15px 0 30px 0;
    max-width: 1400px;
}
.menu-block.show {
    display: grid;
}
.menu-block li a,
.menu-block li span {
    letter-spacing: 1px;
    font-size: 15px;
    line-height: 1.2;
}
.menu-block li span.new-talent {
    display: block;
    text-decoration: underline;
    margin: 15px 0;
}
.item-1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.item-2,
.item-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.block-item .heading {
    font-size: 16px;
    line-height: 1.4;
    text-transform: uppercase;
    text-align: right;
}
.item-1 .heading {
    font-size: 1.2em;
    text-align: left;
}
.block-item .empty {
    display: none;
}

/* Homepage video copy */
.video-copy {
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 3;
    font-size: 0.8em;
    color: yellow;
}
.video-copy a {
    text-decoration: none;
    color: yellow !important;
    text-transform: uppercase;
}
.video-copy a:hover {
    text-decoration: underline;
}

/* Title wrapper */
.title-wrap {
    position: relative;
    display: block;
    text-align: center;
}
.title-wrap .heading {
    margin: 0 0 15px;
    font-size: 2.4em;
}
.title-wrap .lead {
    font-size: 1.1em;
    margin: 15px 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.title-wrap p:last-child {
    margin: 0;
}
.title-wrap hr {
    margin: 40px 0;
}

/* Bio toggle */
.bio-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 964px;
    margin: 0 auto;
}
.bio-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-size: .975em;
    font-weight: 500;
    letter-spacing: 3px;
}
.bio-content {
    overflow: hidden;
    max-height: 0;
}
.bio-content.open {
    max-height: none;
}
.bio-toggle .arrow {
    width: 24px;
    height: 24px;
}
.arrow.up {
    transform: rotate(180deg);
}

/* Project menu */
.project-menu ul {
    position: relative;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .875em;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111;
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.project-menu::-webkit-scrollbar {
    display: none;
}
.project-menu li {
    flex: 0 0 auto;
}
.project-menu li a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
}
.project-menu li.active a {
    border-bottom: 1px solid var(--color-text);
}
.project-menu li:not(.active) a:hover {
    opacity: .8;
}

/* Projects listing */
.projects {
    position: relative;
    display: block;
}
.project-card {
    cursor: pointer;
}
.p-thumb {
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    background-color: var(--color-thumb);
    cursor: pointer;
    overflow: hidden;
    margin: 0 0 15px;
}
.p-thumb img, 
.p-thumb iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.p-credits {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 5px;
}
.p-credits h3,
.p-credits p {
    font-size: .875em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
.p-credits .p-title {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Project player */
.project-video {
    display: none;
    background-color: --var(color-bg);
    transition: background-color 0.3s ease;
}
.project-player {
    position:relative; 
    overflow: hidden;
    padding-top:56.25%; 
    margin: 0 0 15px;
}
.project-player iframe { 
    position:absolute; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%;
}
.project-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
    width: 25px;
    height: 25px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}
.project-close svg {
    width: 100%;
    height: auto;
}
.project-info {
    display: block;
    position: relative;
    margin: 0 0 40px;
}
.project-info p {
    font-size: .875em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Footer Wrapper */
.footer {
    position: relative;
    bottom: 0;
    background: #000;
    color: #fff;
    padding: 60px 0;
    margin: auto 0 0;
    text-align: center;
    font-weight: 500;
    letter-spacing: 1px;
    border-top: 1px solid var(--color-border);
}
.footer .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
}
.footer .f-links {
    justify-self: start;
}
.f-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.f-links a {
    color: #fff;
    font-size: .875em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.f-links a:hover {
    color: var(--color-accent);
}
.f-logo {
    justify-self: center;
}
.f-logo img {
    width: 135px;
    height: auto;
    margin-left: 30px;
    margin-bottom: 5px;
}
.f-copy {
    font-size: .8em;
    margin: 0;
}
.f-socials {
    justify-self: end;
}
.f-socials ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
    padding: 0;
}
.f-socials img {
    width: 18px;
    height: 18px;
    filter: invert(1);
    transition: opacity 0.3s ease;
}
.f-socials a:hover img {
    filter: brightness(0) saturate(100%) invert(84%) sepia(100%) saturate(600%) hue-rotate(360deg);
}

/* Latest page */
.latest {
    margin-top: -.5em;
}
.latest .l-title {
    margin: 0 0 1em;
    font-size: 1.3em;
    text-align: center;
    text-transform: uppercase;
}
.latest .l-item {
    display: block;
    position: relative;
    max-width: 1024px;
    margin: 0 auto 40px auto;
}
.latest-player {
    position:relative; 
    padding-top:56.25%; 
    margin: 0 0 1em;
    background:#000;
}
.latest-player iframe { 
    position:absolute; 
    top:0; 
    left:0; 
    width:100%; 
    height:100%;
}
.latest .l-credits {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 5px;
}
.latest .l-credits p {
    font-size: .875em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px auto;
    padding: 10px 0;
    list-style: none;
}
.pagination a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    text-decoration: none;
    font-size: 14px;
    color: var(--color-text);
    background-color: var(--color-bg);
}
.pagination a:hover {
    border-color: var(--color-text);
    color: var(--color-link);
    background-color: var(--color-thumb);
}
.pagination a.active {
    background-color: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
    cursor: default;
    pointer-events: none;
}

/* Contact page */
.contact .c-title {
    font-size: 1em;
}
.contct .c-info {
    text-align: center;
}

/* About page */
.about p {
    margin: 0 0 1em;
    text-align: center;
    font-size: .975em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Responsive */
@media only screen and (min-width: 1200px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
    /* Navigation */
    .main-menu .menu-primary,
    .hamburger {
        left: 30px;
        right: 30px;
    }
}
@media only screen and (max-width: 1200px) {
    /* Navigation */
    .menu-block {
        grid-template-columns: 1fr;
    }
    .menu-block li a, 
    .menu-block li span{
        white-space: normal;
    }
    .block-item .heading {
        text-align: left;
    }
    .item-2, 
    .item-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .block-item .empty {
        display: block;
    }
}
@media only screen and (max-width: 900px) {
    /* Footer */
    .footer .container {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .f-links ul {
        gap: 15px;
    }
    .f-part {
        justify-self: center !important;
    }
}
@media only screen and (max-width: 640px) {
    /* Default darkmode for mobile */
    /*
    body {
        --color-bg: #000;
        --color-text: #fff;
        --color-link: #fff;
        --color-border: #333;
        --color-accent: yellow;
        --color-thumb: #111;
    } */
    /* Navigation */
    .menu-primary > li > a {
        font-weight: 500;
    }
    .menu-block {
        margin: 30px 0;
    }
    .block-item {
        grid-template-columns: 1fr;
    }
    .block-item .heading {
        font-weight: 500;
    }
    .block-item .empty {
        display: none;
    }
    /* Site logo*/
    .brand img,
    .main-menu .menu-logo img,
    .f-logo img {
        width: 135px;
    }
    /* Title wrapper */
    .title-wrap .heading {
        font-size: 1.8em;
    }
    .title-wrap .lead{
        font-size: .975em;
        letter-spacing: 2px;
    }
    .bio-toggle {
        font-size: .875em;
        letter-spacing: 2px;
    }
    /* Project menu */
    .project-menu ul {
        flex-direction: column;
        white-space: normal;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 4px;
        letter-spacing: 1.5px;
    }
    /* Projects listing */
    .p-credits h3, .p-credits p {
        font-size: .825em;
        letter-spacing: .5px;
    }
    .p-credits p {
        overflow: hidden;
        max-height: 0;
    }
    /* Project player */
    .project-player {
        padding-top: calc(56.25% + 15px);
        margin-left: -15px;
        margin-right: -15px;
    }
    .project-close {
        width: 20px;
        height: 20px;
    }
    .project-info p {
        letter-spacing: .5px;
    }
    /* Latest page */
    .latest-player {
        padding-top: calc(56.25% + 17px);
        margin-left: -15px;
        margin-right: -15px;
    }
    .latest hr {
        margin: 35px -15px;
    }
    .latest .l-title {
        font-size: .975em;
    }
    .latest .l-credits p {
        font-size: .825em;
        letter-spacing: .5px;
    }
}
@media only screen and (max-width: 575px) {
    /* Contact page */
    .contact {
        text-align: center;
    }
    .contact .c-title {
        font-size: .975em;
    }
    .contact .c-title br {
        display: none;
    }
}
@media only screen and (max-width: 300px) {
    .brand img,
    .main-menu .menu-logo img,
    .f-logo img {
        width: 50%;
    }
}