:root {
    --accent-blue: #38a7d6;
    --accent-yellow: #fce644;
    --accent-green: #9bc53d;
    --accent-red: #e85545;
    --accent-orange: #fa8535;

    --transition-underline: 1.75s;

    --breakpoint-min: 768px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
}

/* ==========================================================================
   HOMEPAGE SPLASH
   ========================================================================== */
#splash {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.splash-half {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-align: center;
    padding: 4rem;
    transition: background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.splash-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Direct child selector ensures arrow <span> does not scale to title sizes */
#splash .personal .splash-content > span {
    font-size: clamp(2.9rem, 6.3vw, 5.5rem); 
    line-height: 1.0;
}

#splash .tidbits .splash-content > span {
    font-size: clamp(4.5rem, 12vw, 11rem);
    line-height: 0.85;
}

.splash-half .splash-content > span {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.splash-tag {
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    opacity: 0.85;
}

.splash-tag .arrow {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.splash-half:hover .splash-content > span {
    transform: scale(1.02);
}

.splash-half:hover .arrow {
    transform: translateX(8px);
}

@media (max-width: var(--breakpoint-min)) {
    #splash {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    #splash .personal .splash-content > span { font-size: clamp(2.5rem, 8vw, 4rem); }
    #splash .tidbits .splash-content > span { font-size: clamp(4.5rem, 14vw, 7rem); }
}

/* ==========================================================================
   GLOBAL SIDEBAR & RESPONSIVE LAYOUT
   ========================================================================== */
.site-wrapper {
    display: grid;
    grid-template-columns: 340px 1fr;
    min-height: 100vh;
    width: 100%;
}

.sidebar {
    padding: 4rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-top {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.brand-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

.brand-title {
    text-decoration: none;
    line-height: 1.0;
}

/* --- Responsive Switch Button Logic --- */
.site-swap {
    display: inline-block;
    font-size: 0.72rem;
    padding: 0.35rem 0rem;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-swap .mobile-text { display: none; }
.site-swap .full-text { display: inline; }

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.nav-links a {
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    display: inline-block;
}

.main-content {
    padding: 5rem 3rem;
    width: 100%;
}

/* --- Brand Container Shared Logic --- */
.brand-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brand-title-franchise {
    font-family: "Franchise", "Impact", "Arial Black", sans-serif;
    font-size: 3.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 0.9;
    color: #fff;
}

@media (max-width: var(--breakpoint-min)) {
    .site-wrapper { grid-template-columns: 1fr; }
    .sidebar {
        position: relative; width: 100%; height: auto; padding: 1.5rem;
        flex-direction: row; align-items: center; justify-content: space-between; gap: 0; z-index: 200;
    }
    
    .brand-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .site-swap {
        order: 2;
        padding: 0;
        font-size: 0.7rem;
        text-decoration: underline;
    }
    
    .site-swap .full-text { display: none; }
    .site-swap .mobile-text { display: inline; }

    .brand-row { justify-content: flex-start; gap: 1.5rem; width: auto; }
    .sidebar-top { flex-direction: row; align-items: center; gap: 1rem; width: 100%; }
    .main-content { padding: 3rem 1.5rem; }
    .menu-toggle { display: block !important; background: none; border: none; font-size: 1.6rem; cursor: pointer; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: 2rem 1.5rem;
        flex-direction: column; gap: 1.5rem; box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }
    .nav-links.active { display: flex; }
    
    .featured-layout { flex-direction: column; }
    .featured-img-frame { order: 2; margin-top: 1rem; width: 100%; }
    .featured-text-content { order: 1; }
}
.menu-toggle { display: none; }