@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

:root {
    --cream: #f5f2eb;
    --yellow: #fff52e;
    --dark: #1a1a1a;
    --teal: #008080;
    --peach: #FFA14D;
    --highlight-purple: #6c47ff;
    --header-height: 60px;
    --footer-height: 60px;
    --trigger-height: 110px;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--cream);
    color: var(--dark);
    margin: 0;
    font-family: Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto; 
}

body.section-active {
    overflow: hidden !important;
}

.site-header, .site-footer {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 2000;
    background-color: var(--yellow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw;
    font-weight: 900;
    font-size: 0.7rem;
    box-sizing: border-box;
}

.site-header {
    top: 0;
    height: var(--header-height);
    border-bottom: 2px solid var(--dark);
    letter-spacing: 2px;
}

.site-footer {
    bottom: 0;
    height: var(--footer-height);
    border-top: 2px solid var(--dark);
}

.content-wrapper {
    flex: 1;
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);
}

.category-group {
    width: 100%;
}

.category-trigger {
    position: relative;
    z-index: 1000;
    width: 100%;
    height: var(--trigger-height);
    background: var(--cream);
    border: none;
    border-bottom: 2px solid var(--dark);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: -3px;
    text-align: left;
    padding-left: 5vw;
    cursor: pointer;
    display: block;
    transition: background 0.3s ease, color 0.3s ease;
}

#audio-section .category-trigger:hover,
#audio-section.active .category-trigger {
    color: var(--teal);
}

#visual-section .category-trigger:hover,
#visual-section.active .category-trigger {
    color: var(--peach);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    background: var(--dark);
    transition: max-height 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.category-group.active .category-content {
    max-height: 100vh;
}

.category-group.active .category-trigger {
    position: sticky;
    top: var(--header-height);
}

.internal-layout-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: calc(100vh - var(--header-height) - var(--footer-height) - var(--trigger-height));
}

.side-navigation {
    height: 100%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.menu-items-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 66.666%;
    overflow: hidden;
}

.navigation-description {
    height: 33.333%;
    box-sizing: border-box;
    padding-top: 40px;
    border-top: 1px solid rgba(26, 26, 26, 0.15);
    max-width: 260px;
    text-transform: uppercase;
}

.navigation-description .description-header {
    margin: 0 0 8px 0;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--dark);
}

.navigation-description .description-text {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 500;
    opacity: 0.8;
    color: var(--dark);
}

.beats-theme { background-color: var(--teal); }
.visual-theme { background-color: var(--peach); }

.menu-item {
    background: none;
    border: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 0.85;
    letter-spacing: -1.5px;
    text-align: left;
    cursor: pointer;
    text-transform: uppercase;
    padding: 2px 0;
    width: fit-content;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
    color: var(--dark);
    opacity: 0.3;
}

.menu-item:hover {
    opacity: 1;
    color: #ffffff !important;
}

.menu-item.active {
    opacity: 1;
    color: var(--dark) !important;
    transform: translateX(15px);
}

.content-display-window {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.gallery-scroll-pane {
    display: none;
    height: 100%;
    overflow-y: hidden;
    position: relative;
}

.gallery-scroll-pane.active { display: block; }

.gallery-item {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.portfolio-video {
    max-height: 80%;
    width: auto;
}

.portfolio-asset {
    max-width: 80%;
    height: auto;
    flex-shrink: 0;
}

#concept .portfolio-asset {
    max-height: 70vh; 
    object-fit: contain;
}

#illustrations .portfolio-asset {
    max-width: 500px;
    width: 100%;
    object-fit: contain;
}

.overlay-controls {
    position: absolute;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200;
    color: var(--cream);
    text-align: right;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-controls.visible {
    opacity: 1;
}

.overlay-controls > * { pointer-events: auto; }

.sound-toggle {
    background: none;
    border: 2px solid #ff4d4d;
    color: #ff4d4d;
    padding: 10px 20px;
    font-weight: 900;
    cursor: pointer;
    margin-bottom: 20px;
}

.sound-toggle.active {
    border-color: #2ecc71;
    color: #2ecc71;
}

.meta-data-display {
    display: flex;
    flex-direction: column;
    font-weight: 900;
    font-size: 0.7rem;
}