:root {
    --bg-base: #0e0e0e;
    --text-main: #f9f6ee;
    --text-muted: #e6e0d1;
    --card-bg: #171717;
    --card-text: #f9f6ee;
    --card-border: rgba(255, 255, 255, 0.08);
    --surface-nav: rgba(26, 26, 26, 0.88);
    --surface-nav-border: rgba(30, 30, 30, 0.35);
    --accent: #c38c39;
    --accent-hover: #ffab2d;
    --accent-link: #c38c39;
    --accent-link-hover: #ffab2d;
    --button-bg: #000000;
    --button-bg-hover: #1f2c2b;
    --overlay-hero: rgba(0 0 0);
    --link-accent: #ffb84d;
    --link-hover: #c28d40;
    --footer-bg: rgba(0, 0, 0, 0.24);
    --toggle-bg: rgb(57, 57, 57);
    --toggle-frame: #f9f6ee;
    --toggle-border: rgb(218, 218, 218);
    --toggle-track: #29413d;
    --toggle-knob: #4a4a4a;
    --link-color: #f9f6ee;
    --icon-moon: #ffffff;
    --icon-sun: #6a6a6a;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html.theme-light {
    --bg-base: #f7f4ef;
    --text-main: #1d2424;
    --text-muted: #2c3332;
    --card-bg: #ffffff;
    --card-text: #1d2424;
    --card-border: rgba(0, 0, 0, 0.08);
    --surface-nav: #00786f;
    --surface-nav-border: rgba(0, 92, 86, 0.35);
    --accent: #c38c39;
    --accent-hover: #1d7f77;
    --accent-link: #c38c39;
    --accent-link-hover: #373737;
    --button-bg: #005c56;
    --button-bg-hover: #00786f;
    --overlay-hero: #f7f4ef;
    --link-accent: #0d6b62;
    --link-hover: #c28d40;
    --footer-bg: rgba(0, 0, 0, 0.06);
    --toggle-bg: #f1e5d2;
    --toggle-frame: #888683;
    --toggle-border: rgb(60, 60, 60);
    --toggle-track: #9dc8c3;
    --toggle-knob: #f9f6ee;
    --link-color: #4a4a4a;
    --icon-moon: #b0b0b0;
    --icon-sun: #888683;
}

.plan-scene {
  height: 600px;
}

.plan-scene a-scene {
  width: 100%;
  height: 100%;
}


.a-enter-vr-button {
display: none !important;
}

 html {
        scroll-behavior: smooth;
        font-size: 1rem;
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        background-color: var(--bg-base) !important;
        overflow-x: clip;
    }

    body {
        margin: 0;
        background-color: var(--bg-base) !important;
        color: var(--text-main)!important;
        font-family: 'Manrope', sans-serif;
        font-weight: 300;
        overflow-x: hidden;
        position: relative;
        isolation: isolate;
        transition: background-color 0.35s ease, color 0.35s ease;
    }

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background-color: var(--bg-base) !important;;
    }

    body > * {
        position: relative;
        z-index: 1;
    }

    body,
    p,
    li,
    a,
    .lead,
    .nav-link,
    .btn,
    .navbar-brand {
        /* font-weight: 300 !important; */
    }

    a {
        color: var(--accent-link);
        transition: color 0.2s ease;
    }

h1, h2 {
    font-family: "Cinzel", serif;
}
.h1-accent {
    color: var(--accent) !important;
}
h4 {
    font-family: "Cormorant Garamond", serif;
    color: var(--text-main) !important;
}   
h5 {
    color: var(--accent) !important;
    font-weight: 400 !important;
}

.theme-card {
    background-color: var(--card-bg) !important;
    color: var(--card-text);
    border: 1px solid var(--card-border) !important;
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.theme-card .card-title,
.theme-card .card-text {
    color: var(--card-text) !important;
}

    .fw-bold {
        font-weight: 600 !important;
    }

    .floating-nav {
        z-index: 1000;
        width: 100%;
        left: 0;
        right: 0;
        box-sizing: border-box;
        padding: 12px 16px;
        background: none;
        border-bottom: 1px solid var(--surface-nav-border);
        border-radius: 0;
        backdrop-filter: blur(8px);
    }

    .floating-nav .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28249, 246, 238, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        background-size: 100% 100%;
        opacity: 1;
    }

    html.theme-light .floating-nav .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 26, 26, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .floating-nav .navbar-brand {
        color: var(--accent);
        letter-spacing: 0.4px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .floating-nav .brand-logo {
        display: block;
        height: 34px;
        width: auto;
    }

    .floating-nav .navbar-brand:hover,
    .floating-nav .navbar-brand:focus-visible {
        color: var(--accent-hover);
    }

    .floating-nav .nav-link {
        color: var(--text-main);
        font-size: 1.2rem;
        padding: 12px 12px;
        border-radius: 0px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .floating-nav .nav-link:hover,
    .floating-nav .nav-link:focus-visible {
        color: var(--link-hover);
        outline: none;
    }

    .floating-nav .navbar-toggler {
        border-color: var(--surface-nav-border);
    }

    @media (max-width: 768px) {
        .floating-nav {
            padding: 10px 12px;
        }

        .floating-nav .brand-logo {
            height: 30px;
        }

        .floating-nav .nav-link {
            font-size: 1.4rem;
            padding: 7px 10px;
        }

        .floating-nav .navbar-nav {
            padding-top: 8px;
            gap: 2px;
        }
    }

    .section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding: 80px 0;
    }

    .hero {
        min-height: 100dvh;
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: end;
        position: relative;
        text-align: center;
        overflow: hidden;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: var(--overlay-hero);
    }

    .hero-content {
        width: 100%;
        box-sizing: border-box;
        padding-top: clamp(120px, 16vh, 140px);
        padding-bottom: 180px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: clamp(24px, 4vw, 56px);
        position: relative;
        z-index: 2;
        opacity: 0;
        animation: fadeUpHero 1.4s ease-out forwards;
        transform: translateY(30px);
    }

    .hero-copy {
        flex: 1 1 52%;
        max-width: 40rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-copy .btn-accent {
        align-self: flex-start;
    }

    @media (max-width: 992px) {
        .hero-content {
            flex-direction: column;
            align-items: flex-start;
            gap: 24px;
            padding-left: 16px;
            padding-right: 16px;
        }

        .hero-copy {
            width: 100%;
            max-width: 100%;
        }
    }

    @media (max-width: 768px) {
        .section > .container {
            max-width: 100%;
            padding-left: 12px;
            padding-right: 12px;
        }
    }

    .hero h1 {
        color: var(--text-main);
    }

    .hero-zebra-image {
        width: min(100%, 340px);
        width: 75%;
        height: auto;

    }

    @media (max-width: 576px) {
        .hero-zebra-image {
            width: min(100%, 250px);
            width:fit-content;
            max-width: 100%;
        }
    }

    @keyframes fadeUpHero {
        to { opacity: 1; transform: translateY(0); }
    }

    h1, h2, h3 {
        color: var(--accent);
        letter-spacing: 0.5px;
        font-weight: 800!important;
    }

    .btn-accent {
        color: var(--text-main);
        border: none;
        padding: 0px 0px;
        font-size: 1.1rem;
        border-radius: 6px;
        transition: 0.3s ease;
        text-decoration: none;
    }

    .btn-accent:hover {
        transform: translateY(-3px);
        text-decoration: none;
        color: var(--accent);
    }

    .accent {
        color: var(--link-accent);
    }

    .divider {
        width: 90px;
        height: 3px;
        background-color: var(--accent);
        margin: 0 auto 40px auto;
    }

    .what-i-do-image-wrap {
        display: flex;
        justify-content: center;
    }

    .what-i-do-image {
        width: min(25%, 640px);
        height: auto;
        border-radius: 8px;
    }

    @media (max-width: 992px) {
        .what-i-do-image {
            width: min(100%, 640px);
        }
    }

.chest-wrap {
    float: right;
    width: min(52%, 420px);
    height: auto;
    margin: 0 0 14px 24px;
    border-radius: 8px;
}

.what-i-do-copy::after {
    content: "";
    display: block;
    clear: both;
}

#what-i-do .text-end {
    text-align: right !important;
}

@media (max-width: 992px) {
    .chest-wrap {
        float: none;
        display: block;
        width: min(100%, 640px);
        margin: 0 auto 16px;
    }

    #what-i-do .text-end {
        text-align: center !important;
    }
}

    .site-footer {
        color: var(--text-main);
        background-color: var(--footer-bg);
    }

    #footer-info {
        display: grid;
        grid-template-columns: minmax(220px, 0.85fr) minmax(320px, 1.15fr);
        gap: clamp(20px, 4vw, 56px);
        align-items: center;
        min-height: auto;
        max-width: 1200px;
        margin: 0 auto;
        padding: 80px 24px;
    }

    #footer-info h4 {
        grid-column: 1;
        margin: 0;
        line-height: 1.25;
    }

    #footer-info p {
        grid-column: 2;
        margin-top: 0;
        max-width: 68ch;
    }

    @media (max-width: 992px) {
        #footer-info {
            grid-template-columns: 1fr;
            gap: 16px;
            padding: 56px 24px;
        }

        #footer-info h4,
        #footer-info p {
            grid-column: 1;
            max-width: 100%;
        }
    }

    .theme-toggle-wrap {
        display: flex;
        width: auto;
        z-index: 1200;
        align-items: center;
        gap: 0;
        padding: 0px 0px;
        border-radius: 2px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        margin-left: 10px;
        margin-top: 10px;
    }


    .theme-toggle-label {
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--text-main);
    }

    .theme-switch {
        position: relative;
        display: inline-block;
        width: 80px;
        height: 34px;
    }

    .theme-switch input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .theme-slider {
        position: absolute;
        inset: 0;
        border-radius: 2px;
        display: block;
        transition: color 0.25s ease;
        cursor: pointer;
    }

    .theme-icon {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        line-height: 1;
        z-index: 2;
        pointer-events: none;
        transition: opacity 0.25s ease, color 0.25s ease;
    }

    .theme-icon-moon {
        left: 4px;
        color: var(--icon-moon);
        opacity: 1;
    }

    .theme-icon-sun {
        right: 4px;
        color: var(--icon-sun);
        opacity: 0.45;
    }

    .theme-toggle-glyph {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 34px;
        line-height: 1;
        pointer-events: none;
        z-index: 1;
        transition: opacity 0.25s ease;
        user-select: none;
    }

    .theme-toggle-off {
        opacity: 1;
        color: var(--toggle-frame);
    }

    .theme-toggle-on {
        opacity: 0;
        color: var(--toggle-frame);
    }

    .theme-switch input:checked + .theme-slider .theme-icon-moon {
        opacity: 0.45;
    }

    .theme-switch input:checked + .theme-slider .theme-icon-sun {
        opacity: 1;
    }

    .theme-switch input:checked + .theme-slider .theme-toggle-off {
        opacity: 0;
    }

    .theme-switch input:checked + .theme-slider .theme-toggle-on {
        opacity: 1;
    }

    .theme-switch input:focus-visible + .theme-slider {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }






    .image-composite {
    position: relative;
        flex: 1 1 42%;
    width: min(92vw, 680px);
        max-width: 640px;
    aspect-ratio: 4 / 3;
        margin: 0;
    isolation: isolate;
}

    @media (max-width: 992px) {
        .image-composite {
            width: min(100%, 680px);
            margin: 0 auto;
        }
    }

.image-composite .layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.image-composite .base {
    z-index: 1;
}

.image-composite .paint {
    z-index: 2;
    mix-blend-mode: normal;
    opacity: 1;
    width: 100%;
    left: 0%;
}

.image-composite .texture {
    z-index: 1;
    mix-blend-mode: initial;
    opacity: 0.6;
}

.gdpr-consent {
    position: fixed;
    inset: auto 16px 16px 16px;
    z-index: 1400;
    background: color-mix(in srgb, var(--card-bg) 92%, #000 8%);
    color: var(--card-text);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.gdpr-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gdpr-consent-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
}

.gdpr-consent-copy {
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--card-text);
    margin: 0;
}

.gdpr-consent-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.gdpr-btn {
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 9px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gdpr-btn-primary {
    background: var(--accent);
    color: #121212;
}

.gdpr-btn-primary:hover,
.gdpr-btn-primary:focus-visible {
    background: var(--accent-hover);
    color: #121212;
}

.gdpr-btn-secondary {
    background: transparent;
    color: var(--card-text);
    border-color: var(--card-border);
}

.gdpr-btn-secondary:hover,
.gdpr-btn-secondary:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 768px) {
    .gdpr-consent {
        inset: auto 10px 10px 10px;
    }

    .gdpr-consent-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .gdpr-consent-actions {
        width: 100%;
    }

    .gdpr-btn {
        flex: 1 1 0;
    }
}