:root {
    --bg-color: #0b0f19;
    --card-bg: #172033;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-color: #10b981;
    --border-color: #24334d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    padding: 0 1.5rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-home-icon {
    font-size: 1.35rem;
    text-decoration: none;
    transition: transform 0.2s ease;
    display: inline-block;
}

.nav-home-icon:hover {
    transform: scale(1.15);
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a.active {
    color: var(--accent-color);
}

.hero-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6.5rem 0 4rem 0;
    gap: 3rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-text .subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.hero-text .tagline {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-style: italic;
}

.hero-profile-box {
    max-width: 280px;
    width: 100%;
    height: auto;
    border: 3px solid var(--text-main);
    background-color: transparent;
    display: block;
    flex-shrink: 0;
    overflow: hidden;  
}

.profile-avatar-img {
    width: 100%;
    height: auto;
    display: block;
}

.homepage-about-section {
    padding: 2.5rem 0;
    margin-bottom: 2rem;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
}

.homepage-about-section h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.homepage-about-section p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 850px;
    margin-bottom: 1.25rem;
}

.homepage-about-section p:last-child {
    margin-bottom: 0;
}

h2 {
    font-size: 1.75rem;
    margin: 2rem 0;
    letter-spacing: -0.03em;
}

.wireframe-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem 2rem;
    padding-bottom: 6rem;
}

.grid-item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.grid-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    text-align: center;
}

.wireframe-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #131e31;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.wireframe-box:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
}

.grid-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.wireframe-box:hover .grid-gif {
    opacity: 1;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.showcase-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.card-media {
    background-color: #131e31;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
}

.card-info {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background-color: #24334d;
    color: var(--text-main);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 500;
}

.btn {
    display: inline-block;
    background-color: var(--bg-color);
    color: var(--text-main);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    text-align: center;
}

.btn:hover {
    border-color: var(--text-main);
}

.btn.primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
}

.btn.primary:hover {
    background-color: #34d399;
}

.form-field {
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    font-size: 1rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

footer {
    margin-top: auto;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-home-link {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.footer-home-link:hover {
    transform: scale(1.2);
}

.footer-contact-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact-link:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.tier-separator {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 4rem 0 2rem 0;
}

.showcase-card.featured {
    border-color: #10b98140;
    box-shadow: 0 4px 20px -5px #10b98110;
}

.featured-badge {
    display: inline-block;
    font-size: 0.7rem;
    background-color: #10b98120;
    color: var(--accent-color);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.project-routing-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-routing-link:hover .showcase-card {
    transform: translateY(-4px);
    border-color: var(--text-muted);
}

.case-study-header {
    padding: 3rem 0;
}

.case-study-media-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.case-study-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.case-study-box h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    border-left: 3px solid var(--accent-color);
    padding-left: 0.75rem;
}

.case-study-box ul {
    padding-left: 1.25rem;
    color: var(--text-muted);
}

.case-study-box li {
    margin-bottom: 0.5rem;
}

pre {
    background-color: #070a12;
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #e2e8f0;
    margin: 1rem 0;
}

.compact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.compact-card {
    background-color: var(--card-bg);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    display: flex;
    overflow: hidden;
    height: 100px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.compact-card:hover {
    transform: translateY(-2px);
    border-color: var(--text-muted);
}

.compact-media {
    height: 100%;
    width: auto;
    aspect-ratio: 16/ 9;
    background-color: #131e31;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    flex-shrink: 0;
    border-right: 1px solid var(--border-color);
}

.compact-info {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.compact-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compact-meta {
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
}

.compact-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 3rem;
}

.meta-block h4 {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.meta-block p {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.wireframe-case-header {
    text-align: center;
    padding: 3rem 0 1.5rem 0;
}

.wireframe-case-header h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.wireframe-intro-p {
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.download-action-row {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.pill-btn {
    display: inline-block;
    border: 2px solid var(--text-main);
    color: var(--text-main);
    text-decoration: none;
    padding: 0.5rem 2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pill-btn:hover {
    background-color: var(--text-main);
    color: var(--bg-color);
    transform: scale(1.03);
}

.wireframe-meta-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #1c2538;
    border: 1px solid var(--border-color);
    padding: 1.25rem 0;
    margin-bottom: 4rem;
    border-radius: 4px;
}

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

.meta-title {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.meta-val {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 500;
}

.wireframe-sections {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    padding-bottom: 4rem;
}

.alternating-row {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
}

.row-text {
    flex: 1;
    width: 100%;
}

.row-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.row-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.row-media-box {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.section-divider {
    border: none;
    border-top: 2px solid var(--border-color);
    width: 100%;
    margin: 0;
}

.footer-back-games-btn {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-back-games-btn:hover {
    color: var(--accent-color);
}

.back-games-ribbon-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 0;
    background-color: #1c2538;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-top: 5rem;
    margin-bottom: 2.5rem;
}

.bubble-games-btn {
    display: inline-block;
    background-color: var(--bg-color);
    color: var(--text-main);
    text-decoration: none;
    padding: 0.85rem 3.5rem;
    border: 2px solid var(--text-main);
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bubble-games-btn:hover {
    transform: scale(1.06);
    background-color: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.card-video,
.row-media-video {
    width: 100%;
    height: auto;
    max-height: 450px;
    border: 2px solid var(--text-main);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.compact-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.case-hero-logo-container {
    display: block;
    width: fit-content;
    max-width: 320px;
    margin: 2.5rem auto 0.5rem auto;
    border: 3px solid var(--text-main);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.case-hero-logo-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    body {
        padding: 0 3rem;
    }

    .wireframe-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-study-media-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-meta-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .alternating-row {
        flex-direction: row;
    }

    .alternating-row.reversed {
        flex-direction: row-reverse;
    }

    .row-media-box {
        width: auto;
    }
}

@media (max-width: 650px) {
    .hero-split {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 2rem 0;
    }
}

.lighting-page-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 2.5rem 0 1.5rem 0;
    letter-spacing: -0.03em;
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    background-color: var(--card-bg);
    border: 2px solid var(--text-main);
    border-radius: 4px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 4rem;
    overflow: hidden;
}

.carousel-track-container {
    flex: 1;
    height: 100%;
    position: relative;
    background-color: #070a12;
}

.carousel-slide-link {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--text-main);
    overflow: hidden;
}

.carousel-slide-link.active {
    display: block;
}

.carousel-slide-video,
.carousel-slide-image,
.grid-box-image,
.grid-box-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    pointer-events: none; 
}

.carousel-slide-overlay,
.grid-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 15, 25, 0.25), rgba(11, 15, 25, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease;
    z-index: 2;
}

.carousel-slide-title {
    font-size: 2.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.85);
    text-align: center;
    padding: 0 1rem;
}

.carousel-arrow {
    position: relative;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-main);
    cursor: pointer;
    background: #0d1524;
    transition: background 0.2s ease, color 0.2s ease;
    user-select: none;
    z-index: 10;
    flex-shrink: 0;
}

.carousel-arrow.left {
    border-right: 2px solid var(--text-main);
}

.carousel-arrow.right {
    border-left: 2px solid var(--text-main);
}

.carousel-arrow:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.85rem;
    z-index: 10;
    background-color: rgba(11, 15, 25, 0.75);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--text-main);
    background-color: transparent;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
}

.dot:hover {
    opacity: 0.85;
    transform: scale(1.15);
}

.dot.active {
    opacity: 1;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}

.lighting-project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 5rem;
}

.lighting-grid-box {
    position: relative;
    background-color: var(--card-bg);
    border: 2px solid var(--text-main);
    aspect-ratio: 16 / 10; 
    overflow: hidden;
    text-decoration: none;
    color: var(--text-main);
    border-radius: 4px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.lighting-grid-box:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.lighting-grid-box:hover .grid-box-overlay {
    background: rgba(11, 15, 25, 0.45);
}

.grid-box-title {
    font-size: 1.35rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .lighting-project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-theatre-section {
    width: 100%;
    margin-bottom: 3.5rem;
}

.gallery-main-view {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #070a12;
    border: 2px solid var(--text-main);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#theatre-display-target {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-caption-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(11, 15, 25, 0.9), rgba(11, 15, 25, 0));
    padding: 2rem 1.5rem 1rem 1.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.gallery-thumbnail-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail-card {
    aspect-ratio: 16 / 10;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.thumbnail-card img,
.thumbnail-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.thumbnail-card:hover {
    transform: translateY(-2px);
    border-color: var(--text-muted);
}

.thumbnail-card:hover img,
.thumbnail-card:hover video  {
    opacity: 0.85;
}

.thumbnail-card.active {
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.thumbnail-card.active img,
.thumbnail-card.active video  {
    opacity: 1;
}

#theatre-active-media,
.thumbnail-card img,
.thumbnail-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.homepage-video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem 2rem;
    padding-bottom: 6rem;
}

.homepage-video-grid .wireframe-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; 
    background-color: #131e31;
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid var(--text-main);
}

.homepage-video-grid .wireframe-box:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
}

.homepage-video-grid .grid-box-video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    pointer-events: none; 
}

.wireframe-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 15, 25, 0.3), rgba(11, 15, 25, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease;
    z-index: 2;
}

.wireframe-box-title {
    color: var(--text-main);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
    text-align: center;
    padding: 0 1.5rem;
}

.homepage-video-grid .wireframe-box:hover .wireframe-box-overlay {
    background-color: rgba(11, 15, 25, 0.5);
}

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

.contact-form-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto 5rem auto; 
}

.contact-submit-btn {
    cursor: pointer;
    font-family: inherit;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 6px;
    display: inline-block;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
}

.footer-text-muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Social Links Styles */
.contact-socials-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border-color);
}

.contact-socials-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.social-link-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-link-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.social-icon {
    font-size: 1.5rem;
}

.social-name {
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 480px) {
    .social-links-grid {
        grid-template-columns: 1fr;
    }
}

.social-svg-icon {
    width: 32px;
    height: 32px;
    stroke: var(--text-muted);
    transition: stroke 0.2s ease, fill 0.2s ease;
}

@media (max-width: 768px) {
    body {
        padding: 0 1rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 0;
        text-align: center;
    }

    .nav-links {
        gap: 1.25rem;
        justify-content: center;
        width: 100%;
    }

    .nav-links a {
        font-size: 0.95rem;
        padding: 0.25rem 0.5rem;
    }

    .hero-split {
        flex-direction: column-reverse;
        gap: 1.5rem;
        padding: 2.5rem 0 1.5rem 0;
        align-items: center;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-text .subtitle {
        font-size: 1.1rem;
    }

    .hero-profile-box {
        max-width: 180px;
        margin: 0 auto;
    }

    .download-action-row {
        justify-content: center !important;
    }

    .showcase-grid,
    .compact-grid,
    .homepage-video-grid,
    .lighting-project-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .compact-card {
        height: auto;
        flex-direction: column;
    }

    .compact-media {
        width: 100%;
        aspect-ratio: 16 / 9;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .compact-title,
    .compact-desc {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .lighting-page-title {
        font-size: 1.75rem;
        text-align: center;
        margin: 1.5rem 0;
    }

    .carousel-container {
        aspect-ratio: 4 / 3;
    }

    .carousel-arrow {
        width: 45px;
        font-size: 1.75rem;
    }

    .carousel-slide-title {
        font-size: 1.5rem;
    }

    .wireframe-case-header h1 {
        font-size: 2rem;
    }

    .wireframe-meta-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .project-meta-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        padding: 1rem;
    }

    .alternating-row {
        flex-direction: column !important;
        gap: 1.25rem;
    }

    .alternating-row.reversed {
        flex-direction: column !important;
    }

    .gallery-theatre-section {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .gallery-thumbnail-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .form-field {
        max-width: 100%;
    }

    input, textarea {
        font-size: 16px;
    }

    .social-links-grid {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 2rem 0;
    }
}