html, body {
    margin: 0;
    padding: 0.19vw 0 0 0;
    background-color: #000000;
    color: #FFFFFF;
    /* height: 100%; */

    overflow-x: hidden;
}

/* #VFMainContainer {
    position: relative;
    width: 1920px;
    height: 1080px;
} */

.canvas-viewport {
    position: relative;
    width: 1600px;
    height: 900px; /* REAL visible size */
    overflow: hidden;  
}

.canvas-container {
    position: relative;
    width: 1920px;
    height: 1080px;
}

#riveCanvas, #laserCanvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;

    /* CRITICAL: match artboard exactly */
    /* width: 1600px;
    height: 900px; */
}

#riveCanvas {
    pointer-events: auto;
    touch-action: manipulation;
}

#laserCanvas {
    pointer-events: none;
}

/* OUTER PAGE (scrollable) */
#VFOuterWrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    /* align-items: flex-start; */

    overflow-x: hidden;
}

/* SCALED STAGE */
#VFScaleStage {
    transform-origin: top center;
    will-change: transform;
    pointer-events: none;

    width: 1600px;
}

/* YOUR DESIGN WIDTH */
#VFPageWrapper {
    width: 1600px;

    display: flex;
    flex-direction: column;

    pointer-events: auto;
}

/* Hide the contact form visually but keep it in the DOM for Rive input bindings */
#contactForm {
    position: absolute;
    top: -9999px; /* Moves the form off-screen */
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0; /* Optional: ensures it's fully invisible */
    pointer-events: none; /* Prevents accidental clicks */
}

/* =========================
   VIVIDFOX FOOTER SYSTEM
========================= */

#VFFooter {
    width: 1600px;
    /* width: 100%; */
    /* max-width: 1600px; */
    margin: 0 auto;
    font-family: "Myriad Pro", sans-serif;
}

/* Inner Grid */
.vf-footer-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    padding: 16px 0;
}

/* Columns */
.vf-footer-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 120px;

    opacity: 0;
    transform: translateY(10px); /* subtle lift */
    transition: opacity 0.6s ease, transform 0.6s ease;

    /* outline: 1px solid red; */
}

.vf-footer-col.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    /* filter: drop-shadow(0 0 6px rgba(74,133,188,0.4)); */
}

/* For Footer Fade In Sequence*/
.vf-footer-col:nth-child(1).show {
    transition-delay: 0.1s;
}

.vf-footer-col:nth-child(2).show {
    transition-delay: 0.25s;
}

.vf-footer-col:nth-child(3).show {
    transition-delay: 0.4s;
}

.vf-footer-col:nth-child(4).show {
    transition-delay: 0.55s;
}

.vf-footer-col:nth-child(1) {
    padding-left: 1.7vw;
    padding-right: 1.7vw;
}

.vf-footer-col:nth-child(2) {
    margin-right: 1.5vw;
    padding-left: 0.4vw;
    padding-right: 1.7vw;
}

.vf-footer-col:nth-child(3) {
    margin-left: 1.5vw;
    margin-right: 0.8vw;
    padding-left: 1.7vw;
}

.vf-footer-col:nth-child(4) {
    padding-left: 1.7vw;
    padding-right: 1.7vw;
}

/* Typography (Fluid Scaling) */
.vf-footer-inner p,
.vf-footer-inner a {
    font-size: clamp(12px, 0.75vw, 14px);
    color: #758CBA;
    margin: 0.3em 0;
    letter-spacing: 0.05em;
}

/* Placeholder Styling */
.vf-footer-placeholder {
    opacity: 0.5;
    font-style: italic;
}

/* Contact Section */
.vf-footer-contact p:first-child {
    color: #fdfdfd;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.vf-footer-contact p:nth-child(2) {
    margin-bottom: 0.8em;
}

/* =========================
   SOCIAL ICON SYSTEM
========================= */

.vf-footer-socials {
    display: flex;
    gap: 1vw;
}

/* Base Icon */
.vf-social {
    width: clamp(17px, 1.66vw, 32px);
    height: clamp(17px, 1.66vw, 32px);

    display: inline-block;

    background-color: #1a1f3a;

    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;

    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;

    /* 🔥 smoother animation */
    transition: 
        background-color 0.25s ease,
        filter 0.25s ease,
        transform 0.15s ease;
}

.vf-social:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 6px rgba(74,133,188,0.35));
}

/* ICON SHAPES (SVG MASKS) */
.vf-social[data-platform="twitter"] {
    mask-image: url('/assets/icons/twitter.svg');
    -webkit-mask-image: url('/assets/icons/twitter.svg');
}

.vf-social[data-platform="linkedin"] {
    mask-image: url('/assets/icons/linkedin.svg');
    -webkit-mask-image: url('/assets/icons/linkedin.svg');
}

.vf-social[data-platform="github"] {
    mask-image: url('/assets/icons/github.svg');
    -webkit-mask-image: url('/assets/icons/github.svg');
}

.vf-social[data-platform="instagram"] {
    mask-image: url('/assets/icons/instagram.svg');
    -webkit-mask-image: url('/assets/icons/instagram.svg');
}

/* Hover = Real Brand Colors */
.vf-social[data-platform="twitter"]:hover {
    background-color: #1DA1F2;
}

.vf-social[data-platform="linkedin"]:hover {
    background-color: #0077B5;
}

.vf-social[data-platform="github"]:hover {
    background-color: #ffffff;
}

.vf-social[data-platform="instagram"]:hover {
    background: radial-gradient(circle at 30% 30%, #fdf497, #fd5949, #d6249f, #285AEB);
}

/* =========================
   BOTTOM STRIP
========================= */
.vf-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2vw 0vw;
    border-top: 1px solid rgba(117, 140, 186, 0.15);

    font-size: clamp(12px, 0.8vw, 14px); /* 👈 single source of truth */
}

.vf-footer-bottom p {
    color: #404D66;
}

.vf-footer-links a {
    margin-left: 1.2vw;
    text-decoration: none;
    color: #4A85BC;
    transition: 0.3s;
}

.vf-footer-links a:hover {
    color: #fdfdfd;
}