/* Reset & Design Tokens */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

:root {
    --bg-dark: #0a0c0f;
    --arri-black: #0d0f14;
    --arri-panel: #11141a;
    --arri-border: #1d222b;
    --arri-green: #2ec4b6;
    --arri-red: #e63946;
    --arri-cyan: #dca028; /* Replaced neon AI cyan with ARRI Industrial Gold / Kodak 3200K */
    --arri-gold: #dca028;
    --arri-amber: #e5a93c;
    --arri-slate-blue: #4b6b82;
    --arri-gray: #8c96a3;
    --text-white: #f1f4f8;
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --navbar-height: 80px;
}

body.arri-monitor-mode {
    background-color: var(--bg-dark);
    font-family: var(--font-sans);
    color: var(--text-white);
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
}

/* 1. VIEWPORT CAMERA FILTER OVERLAYS (Simulated camera settings) */
.camera-filters-layer {
    position: fixed;
    top: calc(var(--navbar-height) + 36px);
    bottom: 36px;
    left: 54px;
    right: 54px;
    z-index: 5;
    pointer-events: none !important;
    mix-blend-mode: normal;
    transition: background-color 0.4s, filter 0.4s;
}

/* Color Temperature Tints */
.wb-3200k {
    background-color: rgba(255, 159, 10, 0.05); /* Warm amber tint */
}
.wb-5600k {
    background-color: transparent;
}
.wb-7000k {
    background-color: rgba(75, 107, 130, 0.08); /* Muted 7000K daylight cool slate tint */
}

/* ND Filter Opacity overlay */
.nd-clear {
    filter: brightness(1);
}
.nd-06 {
    filter: brightness(0.65);
}
.nd-12 {
    filter: brightness(0.35);
}

/* LUT Styling Profiles on Content */
.lut-rec709 .website-page {
    filter: saturate(1.1) contrast(1.05);
}
.lut-logc .website-page {
    filter: saturate(0.55) contrast(0.7) brightness(1.1); /* Log-C low-contrast flat image */
}
.lut-monochrome .website-page {
    filter: grayscale(1) contrast(1.15) brightness(0.9); /* Black & white film look */
}

/* Viewfinder Scanlines & Glare Overlays */
.screen-scanlines {
    position: fixed;
    top: calc(var(--navbar-height) + 36px);
    bottom: 36px;
    left: 54px;
    right: 54px;
    background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.2) 50%);
    background-size: 100% 4px;
    pointer-events: none !important;
    z-index: 6;
    opacity: 0.2;
    transition: opacity 0.3s;
}

.screen-glare {
    position: fixed;
    top: calc(var(--navbar-height) + 36px);
    bottom: 36px;
    left: 54px;
    right: 54px;
    background: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 50%);
    pointer-events: none !important;
    z-index: 6;
    opacity: 1;
    transition: opacity 0.3s;
}

.screen-scanlines.disabled, .screen-glare.disabled {
    opacity: 0;
}

/* Viewfinder Reticle overlay (persistent center crosshair & safe lines) */
.viewfinder-reticle {
    position: fixed;
    top: calc(var(--navbar-height) + 36px);
    bottom: 36px;
    left: 54px;
    right: 54px;
    pointer-events: none !important;
    z-index: 7;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    transition: opacity 0.3s;
}

.viewfinder-reticle.disabled {
    opacity: 0;
}

.reticle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
}

.crosshair-h {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.85);
}

.crosshair-v {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.85);
}

.grid-line-h1, .grid-line-h2, .grid-line-v1, .grid-line-v2 {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.04);
}

.grid-line-h1 { top: 33.33%; left: 0; right: 0; height: 1px; }
.grid-line-h2 { top: 66.66%; left: 0; right: 0; height: 1px; }
.grid-line-v1 { left: 33.33%; top: 0; bottom: 0; width: 1px; }
.grid-line-v2 { left: 66.66%; top: 0; bottom: 0; width: 1px; }

.safe-frame-90 {
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.safe-frame-80 {
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    bottom: 10%;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* 2. ARRI FIXED HUD STYLE */
.arri-hud-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
}

.arri-top-bar, .arri-bottom-bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 36px;
    background-color: var(--arri-panel);
    border-bottom: 1px solid var(--arri-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 54px;
    pointer-events: auto;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 12;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.arri-top-bar {
    top: var(--navbar-height);
    position: fixed;
}

.arri-bottom-bar {
    position: fixed;
    top: auto;
    bottom: 0;
    border-bottom: none;
    border-top: 1px solid var(--arri-border);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
}

.arri-top-bar .hud-item, .arri-bottom-bar .hud-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.arri-top-bar .hud-label, .arri-bottom-bar .hud-label {
    color: var(--arri-gray);
    font-weight: 500;
}

.arri-top-bar .hud-value, .arri-bottom-bar .hud-value {
    color: var(--text-white);
}

#hud-fps, #hud-shutter {
    color: var(--arri-cyan);
}

.text-green { color: var(--arri-green) !important; }
.text-cyan { color: var(--arri-cyan) !important; }
.text-white { color: var(--text-white) !important; }

/* REC Block indicator */
.rec-box {
    background-color: #3a1515;
    border: 1px solid #7c2d2d;
    color: var(--arri-red);
    padding: 2px 10px;
    border-radius: 2px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.rec-box.active {
    background-color: var(--arri-red);
    border-color: var(--arri-red);
    color: var(--arri-panel);
    animation: arri-rec-flash 1s infinite steps(1, start);
}

@keyframes arri-rec-flash {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.rec-box.standby {
    background-color: var(--arri-green);
    border-color: var(--arri-green);
    color: var(--arri-panel);
    opacity: 1;
    animation: none;
}

/* Side Menus (Control panels) */
.arri-side-menu {
    position: fixed;
    top: calc(var(--navbar-height) + 36px);
    bottom: 36px;
    width: 54px;
    background-color: var(--arri-panel);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border-right: 1px solid var(--arri-border);
    padding: 20px 0;
    pointer-events: auto;
    z-index: 12;
}

.menu-left { left: 0; }
.menu-right { 
    left: auto;
    right: 0;
    border-right: none;
    border-left: 1px solid var(--arri-border);
}

/* Tactile Softkey Buttons */
.softkey {
    background: none;
    border: none;
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    cursor: pointer;
    padding: 8px 0;
    transition: background-color 0.2s, transform 0.1s;
}

.softkey:hover {
    background-color: rgba(255,255,255,0.03);
}

.softkey:active {
    transform: scale(0.95);
}

.key-label {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--arri-gray);
    text-transform: uppercase;
    transition: color 0.3s;
}

.softkey:hover .key-label {
    color: var(--text-white);
}

.key-btn-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #3a3a42;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.softkey:hover .key-btn-dot {
    background-color: var(--text-white);
}

.key-btn-dot.green-dot {
    background-color: var(--arri-green);
    box-shadow: 0 0 6px var(--arri-green);
}

.key-btn-dot.cyan-dot {
    background-color: var(--arri-cyan);
    box-shadow: 0 0 6px var(--arri-cyan);
}

/* 3. SCROLLABLE WEBSITE VIEWPORT */
.arri-screen-viewport {
    position: fixed;
    top: calc(var(--navbar-height) + 36px);
    left: 54px;
    width: calc(100vw - 108px);
    height: calc(100vh - var(--navbar-height) - 72px);
    overflow-y: auto !important;
    overflow-x: hidden;
    background-color: var(--arri-black);
    scrollbar-width: none;
    z-index: 4;
    pointer-events: auto !important;
}

.arri-screen-viewport::-webkit-scrollbar {
    display: none;
}

/* Right Side Vertical Audio Level Meter Column */
.arri-right-audio-column {
    position: fixed;
    right: 0;
    top: calc(var(--navbar-height) + 36px);
    bottom: 36px;
    width: 54px;
    background-color: var(--arri-panel);
    border-left: 1px solid var(--arri-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 20px 4px;
    pointer-events: auto;
    z-index: 12;
}

.audio-scale-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    height: 320px; /* Taller bars! */
    width: 100%;
}

.audio-ticks {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    color: var(--arri-gray);
    text-align: right;
    width: 18px;
    line-height: 1;
}

/* Tick color details */
.tick.red-tick { color: var(--arri-red); }
.tick.amber-tick { color: var(--arri-amber); }
.tick.green-tick { color: var(--arri-green); }

.audio-channels-bars {
    display: flex;
    gap: 4px;
    height: 100%;
    width: 14px;
    position: relative;
    padding-top: 10px; /* Space for clipping indicator dot */
}

.audio-bar-channel {
    position: relative;
    width: 5px;
    height: calc(100% - 10px);
    background-color: #16161c;
    border-radius: 1px;
}

.audio-bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, 
        var(--arri-green) 0%, 
        var(--arri-green) 70%, 
        var(--arri-amber) 70%, 
        var(--arri-amber) 90%, 
        var(--arri-red) 90%
    );
    /* removed transition for instant response */
}

.audio-bar-peak {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-white);
    bottom: 0%;
    /* removed transition for instant response */
}

/* Red clipping indicator dot at the top of the bar */
.audio-clip-indicator {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #2a1010;
    transition: background-color 0.1s, box-shadow 0.1s;
}

.audio-clip-indicator.clip-active {
    background-color: var(--arri-red);
    box-shadow: 0 0 6px var(--arri-red);
}

/* Audio Status Label at the bottom */
.audio-status-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.audio-input-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--arri-green);
    box-shadow: 0 0 6px var(--arri-green);
    animation: audio-input-pulse 1.5s infinite alternate;
}

@keyframes audio-input-pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; filter: brightness(1.2); }
}

.audio-input-text {
    font-family: var(--font-mono);
    font-size: 6px;
    font-weight: 700;
    color: var(--arri-gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Web Layout Elements */
.website-page {
    padding: 40px 6% 60px 6%;
    min-height: 101%;
    display: flex;
    flex-direction: column;
}

/* Header */
.website-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 24px;
}

.website-header.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background-color: var(--bg-dark);
    padding: 0 40px;
    z-index: 25;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 0;
}

.logo-title-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo Image */
.rsc-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rsc-logo-img {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(1.05) contrast(1.02); /* Make sure the logo colors look crisp */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rsc-logo:hover {
    transform: scale(1.03);
}

.title-container {
    display: flex;
    flex-direction: column;
}

.main-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-white);
    line-height: 1.2;
}

.sub-title {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--arri-gray);
    margin-top: 2px;
}

/* Burger Menu Button (Hidden on Desktop) */
.burger-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 60;
}

.burger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--arri-gray);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
}

.burger-menu-btn.active .burger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: var(--text-white);
}

.burger-menu-btn.active .burger-bar:nth-child(2) {
    opacity: 0;
}

.burger-menu-btn.active .burger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: var(--text-white);
}

/* Nav links */
.header-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--arri-gray);
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 2px;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-white);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--text-white);
}

.nav-link.active::after {
    width: 100%;
}

/* Intro Hero Message */
.intro-section {
    margin-bottom: 50px;
    max-width: 650px;
}

.intro-text {
    font-size: 14px;
    line-height: 1.6;
    color: #a0a0a5;
    font-weight: 300;
}

/* Asymmetric Bento Grid portfolio */
.portfolio-section {
    flex-grow: 1;
    margin-bottom: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
    grid-auto-flow: dense;
}

.grid-item.width-1 { grid-column: span 1; }
.grid-item.width-2 { grid-column: span 2; }
.grid-item.height-1 { grid-row: span 1; }
.grid-item.height-2 { grid-row: span 2; }

.grid-item {
    position: relative;
    background-color: #121214;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.02);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) contrast(1.05) brightness(0.85);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.05) 100%);
    opacity: 0.8;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: opacity 0.3s;
}

.item-meta {
    transform: translateY(6px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.meta-tag {
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--arri-cyan);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 4px;
}

.meta-title {
    font-family: var(--font-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-white);
}

/* Hover effects */
.grid-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.grid-item:hover img {
    transform: scale(1.03);
    filter: grayscale(0%) contrast(1.05) brightness(0.95);
}

.grid-item:hover .item-overlay {
    opacity: 0.95;
}

}

/* Website Footer */
.website-footer {
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 24px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    letter-spacing: 0.05em;
    color: var(--arri-gray);
}

.footer-left {
    display: flex;
    gap: 24px;
}

.footer-rsc {
    font-family: var(--font-mono);
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-link {
    cursor: pointer;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--text-white);
}

/* 3. INTERACTIVE ARRI CAMERA SETTINGS MENU OVERLAY */
.arri-camera-menu-overlay {
    position: fixed;
    top: calc(var(--navbar-height) + 36px);
    bottom: 36px;
    left: 54px;
    right: 54px;
    z-index: 15;
    background-color: rgba(18, 18, 22, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--arri-border);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.arri-camera-menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.menu-box {
    width: 100%;
    max-width: 640px;
    background-color: #0b0b0d;
    border: 1px solid #23232a;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #16161c;
    border-bottom: 1px solid #23232a;
    padding: 12px 18px;
    font-family: var(--font-mono);
}

.menu-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--arri-green);
    letter-spacing: 0.08em;
}

.menu-close-hint {
    font-size: 8px;
    color: var(--arri-gray);
}

.menu-grid {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.menu-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #14141a;
    padding: 14px 18px;
}

.menu-row:last-child {
    border-bottom: none;
}

.menu-row-label {
    width: 150px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--arri-gray);
    letter-spacing: 0.05em;
}

.menu-row-options {
    display: flex;
    gap: 10px;
    flex-grow: 1;
}

.menu-opt {
    background-color: #121215;
    border: 1px solid #23232a;
    color: #a0a0a5;
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

.menu-opt:hover {
    border-color: var(--text-white);
    color: var(--text-white);
}

.menu-opt.active {
    background-color: var(--arri-green);
    border-color: var(--arri-green);
    color: #000;
    font-weight: 700;
}

.menu-footer {
    background-color: #101014;
    border-top: 1px solid #1f1f26;
    padding: 10px 18px;
    text-align: center;
}

.menu-hint-text {
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--arri-gray);
    letter-spacing: 0.05em;
}

/* 4. ARRI METADATA ANALYSIS REPORT MODAL */
.arri-metadata-modal {
    position: fixed;
    top: calc(var(--navbar-height) + 36px);
    bottom: 36px;
    left: 54px;
    right: 54px;
    z-index: 18;
    background-color: rgba(13, 13, 16, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--arri-border);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.arri-metadata-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    width: 100%;
    max-width: 680px;
    background-color: #0b0b0d;
    border: 1px solid #23232a;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.9);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #16161c;
    border-bottom: 1px solid #23232a;
    padding: 12px 20px;
    font-family: var(--font-mono);
}

.modal-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--arri-cyan);
    letter-spacing: 0.08em;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 22px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    line-height: 1;
}

.modal-close-btn:hover {
    opacity: 1;
}

.modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

.modal-img-frame {
    width: 100%;
    height: 160px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.modal-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-histogram-block {
    border: 1px solid rgba(255,255,255,0.05);
    background-color: rgba(0,0,0,0.4);
    border-radius: 4px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-histogram-block .block-title {
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--arri-gray);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.modal-histogram {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 80px;
    width: 100%;
}

.m-hist-bar {
    width: 7%;
    background-color: var(--arri-cyan);
    border-radius: 1px;
    opacity: 0.8;
    transition: height 0.4s ease-out;
}

.waveform-labels {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 7px;
    color: var(--arri-gray);
    margin-top: 6px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid #14141a;
    padding-bottom: 8px;
}

.info-lbl {
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--arri-gray);
    letter-spacing: 0.05em;
}

.info-val {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-white);
}

.modal-footer {
    background-color: #101014;
    border-top: 1px solid #1f1f26;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
}

.clip-tag {
    font-size: 9px;
    color: var(--arri-cyan);
}

.shot-title-tag {
    font-family: var(--font-serif);
    font-size: 10px;
    color: var(--text-white);
    letter-spacing: 0.05em;
}

/* Slideshow Play Active Highlight indicator */
.softkey.active .key-label {
    color: var(--arri-green);
}
.softkey.active .key-btn-dot {
    background-color: var(--arri-green);
    box-shadow: 0 0 6px var(--arri-green);
}

/* 5. RESPONSIVE MEDIA BREAKPOINTS */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-auto-rows: 190px;
    }
    .main-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
    }

    .arri-top-bar, .arri-bottom-bar {
        padding: 0 10px;
    }
    
    .arri-side-menu {
        display: none !important; /* Hide left side softkeys menu on mobile */
    }
    
    /* Transform and float the audio meter as a compact overlay widget on mobile */
    .arri-right-audio-column {
        display: flex !important;
        position: fixed;
        right: 10px;
        left: auto;
        top: auto;
        bottom: 46px; /* Floating above bottom bar */
        width: 24px;
        height: 120px;
        background-color: rgba(11, 11, 13, 0.85);
        border: 1px solid var(--arri-border);
        border-radius: 4px;
        padding: 6px 2px 2px 2px;
        z-index: 13;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.6);
        pointer-events: none; /* Let clicks pass through to content behind it */
    }
    
    .arri-right-audio-column .audio-ticks {
        display: none; /* Hide ticks to keep widget ultra narrow */
    }
    
    .arri-right-audio-column .audio-scale-wrapper {
        height: 100%;
        width: 100%;
        justify-content: center;
        gap: 0;
    }
    
    .arri-right-audio-column .audio-channels-bars {
        width: 12px;
        gap: 3px;
        padding-top: 8px;
    }
    
    .arri-right-audio-column .audio-bar-channel {
        width: 4px;
        height: calc(100% - 8px);
    }
    
    .arri-right-audio-column .audio-clip-indicator {
        top: -8px;
        width: 3px;
        height: 3px;
    }
    
    .arri-right-audio-column .audio-status-label {
        display: none; /* Hide label to save vertical space */
    }
    
    .arri-screen-viewport {
        left: 0;
        right: 0;
        width: 100vw;
        height: calc(100vh - var(--navbar-height) - 72px);
        padding-bottom: 50px;
    }
    
    .camera-filters-layer, .screen-scanlines, .screen-glare, .viewfinder-reticle {
        left: 0;
        right: 0;
        width: 100vw;
    }
    
    .website-page {
        padding: 20px 15px;
    }
    
    .website-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    .website-header.sticky-header {
        position: fixed;
        height: var(--navbar-height);
        padding: 0 15px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
    
    .header-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: auto;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .grid-item.width-2 { grid-column: span 1; }
    .grid-item.height-2 { grid-row: span 1; }
    
    .arri-camera-menu-overlay, .arri-metadata-modal {
        left: 0;
        right: 0;
        padding: 10px;
    }
    
    .menu-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .menu-row-label {
        width: 100%;
    }
    
    .modal-top-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================
   NEW STYLES: DROPDOWNS & LANG SWITCHER
   ========================================== */

.nav-and-lang-group {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--arri-panel);
    border: 1px solid var(--arri-border);
    border-radius: 4px;
    padding: 8px 0;
    flex-direction: column;
    min-width: 140px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 30;
    margin-top: 8px;
}

.nav-item:hover .dropdown-menu {
    display: flex;
}

.dropdown-link {
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--arri-gray);
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
}

.dropdown-link:hover {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.03);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--arri-gray);
    user-select: none;
}

.lang-btn {
    cursor: pointer;
    transition: color 0.3s;
    color: var(--arri-gray);
    opacity: 0.45;
}

.lang-btn.active {
    color: var(--text-white);
    opacity: 1;
}

.lang-btn:hover {
    color: var(--text-white);
    opacity: 0.8;
}

.lang-slash {
    color: var(--arri-border);
}

.nav-social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 5px;
}

.nav-social-link {
    color: var(--arri-gray);
    opacity: 0.45;
    transition: color 0.3s, opacity 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
}

.nav-social-link:hover {
    color: var(--text-white);
    opacity: 1;
    transform: translateY(-1px);
}

.nav-social-link svg {
    width: 14px;
    height: 14px;
    display: block;
}


/* ==========================================
   NEW STYLES: PAGES CONTENT SECTIONS
   ========================================== */

.page-section {
    margin-bottom: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 50px;
}

.page-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    color: var(--text-white);
    border-left: 3px solid var(--arri-cyan);
    padding-left: 15px;
    text-transform: uppercase;
}

.section-intro {
    font-size: 14px;
    line-height: 1.6;
    color: #a0a0a5;
    max-width: 700px;
    margin-bottom: 30px;
    font-weight: 300;
}

.sub-section {
    margin-top: 40px;
    background-color: rgba(18, 18, 22, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    padding: 24px;
}

.sub-section-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    margin-bottom: 15px;
    color: var(--text-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
    text-transform: uppercase;
}

.section-text {
    font-size: 13px;
    line-height: 1.7;
    color: #8a8a90;
    font-weight: 300;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.board-member {
    background-color: #121215;
    border: 1px solid #1a1a20;
    padding: 16px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.board-role {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--arri-cyan);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.board-name {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--text-white);
    font-weight: 600;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.news-item {
    background-color: #121215;
    border: 1px solid #1a1a20;
    padding: 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-date {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--arri-gray);
}

.news-item-title {
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
}

.news-item-desc {
    font-size: 12px;
    color: #8a8a90;
    line-height: 1.5;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    background-color: #16161c;
    border: 1px solid #23232a;
    padding: 20px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-tag {
    background-color: var(--arri-cyan);
    color: #000;
    font-family: var(--font-mono);
    font-size: 7px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
}

.event-date {
    font-family: var(--font-mono);
    font-size: 8px;
    color: var(--arri-gray);
}

.event-title {
    font-family: var(--font-serif);
    font-size: 13px;
    color: var(--text-white);
    font-weight: 600;
    text-transform: uppercase;
}

.event-desc {
    font-size: 11px;
    color: #8a8a90;
    line-height: 1.5;
}

.members-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.members-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .members-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.member-item-card {
    background-color: #121215;
    border: 1px solid #1a1a20;
    padding: 12px 14px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.member-item-card:hover {
    border-color: rgba(220, 160, 40, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.member-name-btn {
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
    cursor: default;
    display: flex;
    align-items: center;
    gap: 6px;
}

.member-name-btn::before {
    content: "▪";
    color: var(--arri-cyan);
    font-size: 10px;
}

.member-links {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding-left: 14px;
}

.member-link-pill {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    color: var(--arri-gray);
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.member-link-pill:hover {
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.08);
}

.member-link-pill.imdb-pill {
    color: #f3ce13;
    border-color: rgba(243, 206, 19, 0.35);
    background-color: rgba(243, 206, 19, 0.05);
}

.member-link-pill.imdb-pill:hover {
    background-color: rgba(243, 206, 19, 0.2);
    border-color: #f3ce13;
    color: #ffffff;
}

.member-link-pill.email-pill {
    color: var(--arri-cyan);
    border-color: rgba(220, 160, 40, 0.3);
    background-color: rgba(220, 160, 40, 0.05);
}

.member-link-pill.email-pill:hover {
    background-color: rgba(220, 160, 40, 0.18);
    border-color: var(--arri-cyan);
    color: #ffffff;
}

.committee-block {
    margin-bottom: 24px;
    background-color: #121215;
    border: 1px solid #1a1a20;
    padding: 16px;
    border-radius: 4px;
}

.committee-block:last-child {
    margin-bottom: 0;
}

.committee-name {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--arri-cyan);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.committee-desc {
    font-size: 11px;
    color: #8a8a90;
    line-height: 1.5;
}

/* RSC Awards Table Styling */
.awards-table-wrapper {
    margin-top: 20px;
    overflow-x: auto;
    border: 1px solid #1a1a20;
    border-radius: 6px;
    background-color: #121215;
}

.awards-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}

.awards-table th {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    color: var(--arri-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #16161c;
}

.awards-table td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #a0a0a5;
}

.awards-table tr:last-child td {
    border-bottom: none;
}

.awards-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-white);
}

.awards-year {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--arri-amber);
    white-space: nowrap;
}

.awards-dop {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-white);
}

.awards-film {
    font-style: italic;
    color: var(--arri-cyan);
}

.awards-director {
    font-size: 11px;
    color: #8a8a90;
}



/* ==========================================
   NEW STYLES: THEMED CLAPPERBOARD FORM
   ========================================== */

.clapperboard-wrapper {
    position: relative;
    max-width: 580px;
    margin: 60px auto 20px auto; /* Increased margin for clapper rotation clearance */
}

.clapperboard {
    background-color: #121215;
    border: 3px solid #0b0b0d;
    border-radius: 6px;
    /* overflow: hidden; removed to prevent top stick clipping */
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
}

.clapperboard-top {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    width: 100%;
    height: 52px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 10;
    outline: none;
}

.clap-bar-stick {
    height: 22px;
    width: 100%;
    background: repeating-linear-gradient(
        -45deg,
        #0b0b0d,
        #0b0b0d 15px,
        #f5f5f7 15px,
        #f5f5f7 30px
    );
}

.top-stick {
    transform-origin: 0% 100%;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 2px solid #000;
}

.clapperboard-top:hover .top-stick {
    transform: rotate(-10deg);
}

.clapperboard-top.snapping .top-stick {
    animation: clap-snap-anim 0.3s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards;
}

@keyframes clap-snap-anim {
    0% { transform: rotate(-10deg); }
    50% { transform: rotate(0deg); }
    65% { transform: rotate(-2deg); }
    100% { transform: rotate(0deg); }
}

.clapperboard-body {
    border-top: 3px solid #0b0b0d;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: var(--font-mono);
    color: var(--text-white);
    text-align: left;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

.board-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--text-white);
    padding-bottom: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.board-logo-text {
    font-size: 14px;
    color: var(--text-white);
}

.board-doc-title {
    font-size: 11px;
    color: var(--arri-cyan);
}

.board-grid-top {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1.2fr 0.8fr;
    border-bottom: 2px solid var(--text-white);
    margin-bottom: 6px;
}

.grid-cell {
    border-right: 2px solid var(--text-white);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.grid-cell:last-child {
    border-right: none;
}

.cell-label, .row-label, .notes-label {
    font-size: 8px;
    font-weight: 700;
    color: var(--arri-gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cell-input, .row-input {
    background: none;
    border: none;
    color: var(--text-white);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    width: 100%;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    outline: none;
    transition: border-bottom-color 0.2s;
}

.cell-input:focus, .row-input:focus {
    border-bottom-color: var(--arri-cyan);
}

.cell-select {
    background: #1c1c22;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    padding: 2px 4px;
    outline: none;
    border-radius: 2px;
}

.board-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 2px solid var(--text-white);
    padding-bottom: 10px;
}

.board-notes-area {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 2px solid var(--text-white);
    padding-bottom: 12px;
}

.notes-textarea {
    background: none;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: var(--text-white);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    min-height: 90px;
    padding: 8px;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s;
    line-height: 1.5;
}

.notes-textarea:focus {
    border-color: var(--arri-cyan);
}

.board-footer {
    text-align: center;
    font-size: 7px;
    color: var(--arri-gray);
    letter-spacing: 0.05em;
    padding-top: 6px;
}

.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 7, 9, 0.96);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 15;
    border: 2px solid var(--arri-border);
}

.form-success-overlay.show {
    display: flex;
}

.success-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 300px;
}

.success-title {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 800;
    color: var(--arri-green);
    letter-spacing: 0.15em;
}

.success-dot {
    width: 10px;
    height: 10px;
    background-color: var(--arri-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--arri-green);
    animation: arri-rec-flash 1s infinite steps(1, start);
}

.success-text {
    font-size: 11px;
    line-height: 1.6;
    color: #a0a0a5;
}

.clapper-submit-btn {
    background-color: rgba(220, 160, 40, 0.08);
    border: 1px solid var(--arri-gold);
    color: var(--arri-gold);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.25s ease;
}

.clapper-submit-btn:hover {
    background-color: var(--arri-gold);
    color: #0d0f14;
    border-color: var(--arri-gold);
    box-shadow: 0 4px 15px rgba(220, 160, 40, 0.3);
    transform: translateY(-1px);
}

.success-close-btn {
    background-color: #1c1c22;
    border: 1px solid var(--arri-border);
    color: var(--text-white);
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 2px;
    cursor: pointer;
    letter-spacing: 0.1em;
    transition: all 0.2s;
    margin-top: 8px;
}

.success-close-btn:hover {
    background-color: var(--arri-gold);
    color: #0d0f14;
    border-color: var(--arri-gold);
}


/* ==========================================
   NEW STYLES: RESPONSIVE MEDIA BREAKPOINTS
   ========================================== */

@media (max-width: 768px) {
    .logo-title-group {
        gap: 10px;
    }

    .rsc-logo-img {
        height: 36px;
    }

    .main-title {
        font-size: 0.85rem;
        line-height: 1.2;
    }

    .sub-title {
        font-size: 0.55rem;
        margin-top: 1px;
    }

    /* Show burger button on mobile */
    .burger-menu-btn {
        display: flex;
    }

    /* Style the collapsible navigation overlay */
    .nav-and-lang-group {
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background-color: rgba(11, 11, 13, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--arri-border);
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        gap: 25px;
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        z-index: 40;
        margin-top: 0;
    }

    .nav-and-lang-group.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        font-size: 13px;
        letter-spacing: 0.15em;
        text-align: center;
    }

    /* Hide dropdown submenus on mobile menu */
    .dropdown-menu {
        display: none !important;
    }

    .lang-switch {
        margin-top: 10px;
        gap: 10px;
        font-size: 12px;
    }

    .nav-social-icons {
        margin-top: 5px;
        gap: 20px;
    }

    .nav-social-link svg {
        width: 18px;
        height: 18px;
    }

    .board-grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .members-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .board-grid-top {
        grid-template-columns: 1fr 1fr;
    }

    .grid-cell:nth-child(2n) {
        border-right: none;
    }

    .grid-cell:nth-child(n+3) {
        border-top: 2px solid var(--text-white);
    }

    .clapperboard-top {
        height: 44px;
    }

    .clap-bar-stick {
        height: 18px;
    }
}

/* ==========================================================================
   9. STANDARD STANDALONE PAGES (No Viewfinder Layout)
   ========================================================================== */
body.standard-page-mode {
    background-color: var(--bg-dark);
    font-family: var(--font-sans);
    color: var(--text-white);
    overflow-y: auto !important; /* Allow normal scrolling */
    height: auto !important;
    min-height: 100vh;
}

body.standard-page-mode .website-header {
    background-color: rgba(7, 7, 9, 0.95);
    border-bottom: 1px solid var(--arri-border);
}

.standard-main-container {
    margin-top: calc(var(--navbar-height) + 40px); /* Leave gap for sticky header */
    padding: 0 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - var(--navbar-height) - 180px); /* Make sure footer is pushed down */
    box-sizing: border-box;
}

.standard-content-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    box-sizing: border-box;
}

.standard-footer {
    margin-top: 80px;
    padding: 40px;
    background-color: #0c0c10;
    border-top: 1px solid var(--arri-border);
    width: 100%;
    box-sizing: border-box;
}

body.standard-page-mode .arri-metadata-modal {
    background-color: rgba(0, 0, 0, 0.85);
}

@media (max-width: 768px) {
    .standard-main-container {
        padding: 0 20px;
        margin-top: calc(var(--navbar-height) + 20px);
    }
    
    .standard-footer {
        padding: 20px;
        margin-top: 50px;
    }
}

body.menu-open {
    overflow: hidden !important;
}

/* ==========================================
   NEW STYLES: MASTERCLASS & TROPHY GALLERIES & LIGHTBOX
   ========================================== */

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.fb-link-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--arri-cyan);
    background-color: rgba(220, 160, 40, 0.08);
    border: 1px solid rgba(220, 160, 40, 0.25);
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.fb-link-badge:hover {
    background-color: rgba(220, 160, 40, 0.2);
    border-color: var(--arri-cyan);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(220, 160, 40, 0.25);
}

.gallery-subtitle {
    font-family: var(--font-serif);
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--arri-amber);
    margin-top: 25px;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-left: 2px solid var(--arri-amber);
    padding-left: 10px;
}

.posters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.poster-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background-color: #121215;
    border: 1px solid #23232a;
    cursor: pointer;
    aspect-ratio: 3 / 4;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.poster-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.poster-card:hover {
    transform: translateY(-4px);
    border-color: var(--arri-cyan);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.poster-card:hover img {
    transform: scale(1.05);
}

.poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.poster-card:hover .poster-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 16px;
    margin-bottom: 6px;
    opacity: 0.8;
}

.poster-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Photo Gallery Grid */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 15px;
}

.photo-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background-color: #121215;
    border: 1px solid #1a1a20;
    cursor: pointer;
    aspect-ratio: 16 / 10;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.photo-card:hover {
    transform: scale(1.02);
    border-color: var(--arri-cyan);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.photo-card:hover img {
    transform: scale(1.06);
}

.trophy-gallery .photo-card {
    aspect-ratio: 1 / 1;
}

/* Fullscreen Lightbox Modal Overlay */
.image-lightbox-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.image-lightbox-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-box {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #121215;
    border: 1px solid var(--arri-border);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--arri-gray);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--arri-cyan);
}

.lightbox-img-wrapper {
    max-width: 100%;
    max-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox-img-wrapper img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--arri-gray);
    margin-top: 15px;
    text-align: center;
    letter-spacing: 0.05em;
}

/* Single Centered Trophy Showcase */
.single-trophy-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    width: 100%;
}

.single-trophy-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #12100d;
    border: 1px solid var(--arri-border);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.single-trophy-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.single-trophy-card:hover {
    transform: translateY(-4px);
    border-color: var(--arri-amber);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
}

.single-trophy-card:hover img {
    transform: scale(1.025);
}

/* ==========================================
   ACCESSIBILITY & FOCUS STYLES (WCAG 2.1)
   ========================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--arri-cyan) !important;
    outline-offset: 3px !important;
}

.grid-item:focus-visible,
.poster-card:focus-visible,
.photo-card:focus-visible,
.member-item-card:focus-visible {
    outline: 2px solid var(--arri-cyan) !important;
    outline-offset: 2px !important;
}


