

:root {
    --bg-gray: #131618; 
    --nav-bg-gray: #1c1e21; 
    --text-white: #ffffff;
    --accent-gold: #EECF1F;
    --hover-yellow: #f9d308;
    --border-gray: #969696;
}



body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-gray);
    color: var(--text-white);
    font-family: 'Geist', sans-serif; /* Clean and readable for paragraphs */
    letter-spacing: -0.01em;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}



/* Hide on desktop by default */
.mobile-expertise-back {
    display: none;
    margin: 20px auto 0 auto;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-expertise-back {
        display: block; 
        color: #FFD700; /* Yellow/gold color */
        text-decoration: none;
        font-size: 14px;
        padding: 8px 16px;
        margin-top: 20px;
        cursor: pointer;
    }
    
    .mobile-expertise-back:hover {
        color: #FFC107; /* Slightly darker yellow on hover */
    }
}

#expertise-menu {
  scroll-margin-top: 60px; /* adjust to your navbar height */
}


/* --- HEADER --- */
header {
    background: url('images/topbackground.gif');
    background-repeat: repeat-x;
    background-size: 100% 100%, auto 100%;
    background-position: center top;
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

header img {
    border: 0;
    max-width: 500px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- NAVIGATION --- */
.nav-container {
    background: linear-gradient(to right, black 0%, var(--nav-bg-gray) 20%, var(--nav-bg-gray) 80%, black 100%);
    border-bottom: 2px solid #272a2e; 
    position: sticky;
    top: 0;
    z-index: 1000;
}

#menu-toggle { 
    display: none; 
}

.hamburger { 
    display: none; 
    cursor: pointer; 
    color: var(--text-white); 
    padding: 15px; 
    font-weight: bold; 
    text-align: center;
}
.toc-toggle {
    display: none;
    background-color: #333;
    color: var(--text-white);
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toc-toggle:hover {
    background-color: #252729;
}



.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.menu-item { 
    position: relative; 
}

.menu-item > a {
    display: block;
    padding: 15px 35px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    color: #ddd;
    text-decoration: none;
    letter-spacing: 1px;
}

.menu-item:hover > a { 
    color: var(--hover-yellow); 
    background-color: rgba(255,255,255,0.05); 
	text-decoration: none;
}

.sub-menu {
    display: none;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1c1e21;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    min-width: 200px;
    list-style: none;
    padding: 4px;
    transition: opacity 0.12s ease;
}

.sub-menu li a {
    display: block;
    padding: 6px 8px;
    color: #e5e5e5;
    text-decoration: none;
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    border-radius: 4px;
}

.sub-menu li a:hover {
    background: rgba(255,255,255,0.08);
    color: var(--hover-yellow);
    text-decoration: none;
}

.menu-item:hover .sub-menu {
    display: block;
    opacity: 1;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: var(--hover-yellow);
    text-decoration: underline;
}


/* --- NEWS HEADER BAR --- */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline; /* Aligns the bottom of the text characters */
    background-color: var(--nav-bg-gray);
    padding: 12px 15px;
    border-left: 3px solid var(--accent-gold);
}

/* Update your h2 styling */
.news-title {
    color: var(--accent-gold);
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    line-height: 1; /* Add this */
    white-space: nowrap;
}

/* Update your date styling */
.news-date {
    color: var(--accent-gold);
    font-size: 12px;
    margin: 0;
    line-height: 1; /* Add this to match */
    white-space: nowrap;
}


/* --- CONTENT --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.softlinered {
    border: none;
    height: 1px;
    background-color: red;
}

.softlineredhome {
    border: none;
    height: 1px;
    background-color: red;
    margin-bottom: 0.0;
}

.softlinegray {
    border: none;
    height: 1px;
    background-color: gray;
}

.gold-tagline {
    text-align: center;
    color:gray;
    font-weight: bold;
    font-size: 14px;
    margin: 20px 0 10px 0;
}

.contact-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    margin-bottom: 25px;
    color: white;
    text-transform: uppercase;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pagination a {
    color: var(--text-white);
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
}

h1 { 
    font-size: 28px; 
    margin: 0; 
    color: white; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
}

h2 { 
    color: var(--accent-gold); 
    font-size: 18px; 
    text-transform: uppercase; 
    margin-top: 40px; 
}

/* Make titles clickable without changing style */
.exp-cell h2 a {
    color: inherit;
    text-decoration: none;
}

hr { 
    border: 0; 
    height: 1px; 
    background: var(--border-gray); 
    margin: 25px 0; 
}

/* --- EXPERTISE GRID --- */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px 30px;
    margin: 20px 0;
}

.news-cell {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}

.exp-cell {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
}

.exp-cell h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.exp-img-row {
    display: flex;
    flex-wrap: wrap;        /* allows wrapping to new line */
    gap: 8px;
    margin-bottom: 15px;
	justify-content: center; 
    overflow-x: auto;       /* optional: scroll horizontally if too many */
}

.exp-img-row a {
    flex: 0 0 auto;         /* do not shrink or grow */
}

.exp-img-row img {
    width: 250px;           /* fixed width */
	height: 170px;      /* fixed height for consistency */
    object-fit: cover;
    display: block;
}


.exp-img-row img:hover {
    opacity: 0.85;
}

.exp-img-row-games {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: center;
    overflow-x: auto;
    width: 100%;
}

.exp-img-row-games a {
    flex: 0 0 auto;
}

.exp-img-row-games img {
    width: auto;
    height: 150px;
    object-fit: contain;
    display: block;
}

.exp-img-row-games iframe {
    width: auto;
    height: 150px;
    display: block;
}

.exp-img-row-games img:hover {
    opacity: 0.85;
}

.exp-cell ul {
    list-style: square;
    padding-left: 20px;
    margin: 0 0 15px 0;
    color: #ccc;
}

.exp-cell ul li {
    margin-bottom: 5px;
}

.link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: bold;
    margin-top: auto;
}

.link:hover {
    text-decoration: underline;
}

.emaillink {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    margin-top: auto;
}

.emaillink:hover {
    text-decoration: underline;
}

.sectionlink {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: auto;
}

.sectionlink:hover {
    text-decoration: underline;
}

.more-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 24px;
    background: transparent;
    border: 1px solid var(--border-gray);
    color: #ddd;
    font-family: 'Geist', Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
    margin-top: 4px;
}

.more-link:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
}

/* D1 Spanning Cell */
.full-width {
    grid-column: span 2;
}

/* --- LIGHTBOX --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.95);
    justify-content: center; 
    align-items: center;
}

.lightbox:target { 
    display: flex; 
}

.lightbox img { 
    max-width: 90%; 
    max-height: 85%; 
    border: 1px solid #666; 
}

.close-btn { 
    position: absolute; 
    top: 20px; 
    right: 30px; 
    font-size: 50px; 
    color: white; 
    text-decoration: none; 
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    header img { 
        max-width: 80%; 
    }
    .hamburger { 
        display: block; 
        background: rgba(0,0,0,0.5); 
    }
.toc-toggle {
    display: none;
    background-color: #333;
    color: var(--text-white);
    padding: 12px;
    margin-bottom: 15px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.toc-toggle:hover {
    background-color: #252729;
}

    .main-menu { 
        display: none; 
        flex-direction: column; 
        background: #111; 
    }
    #menu-toggle:checked ~ .main-menu { 
        display: flex; 
    }
    .menu-item > a { 
        padding: 15px; 
        border-bottom: 1px solid #222; 
    }
.sub-menu {
        position: static;
        display: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background-color: #111;
        opacity: 1;
        left: auto;
        transform: none;
    }
    #menu-toggle:checked ~ .main-menu .sub-menu {
        display: block;
    }
    .menu-item.open .sub-menu {
        display: block;
    }
    .sub-menu li a {
        padding-left: 40px;
        border-radius: 0;
    }
    .contact-bar { 
        flex-direction: column; 
        gap: 5px; 
        text-align: center; 
    }
}

@media (min-width: 1024px) {
    header {
        background-image: 
            linear-gradient(to right, black 0%, transparent 20%, transparent 80%, black 100%),
            url('images/topbackground.gif');
        background-repeat: no-repeat, repeat-x;
        background-position: center top, center top;
        background-size: 100% 100%, auto 100%;
    }
}







/* --- CLIENT LOGO FRAME --- */
.client-brand-frame {
    margin-bottom: 20px;
    border: 1px solid #333;
}

.logo-grid-bg {
    background-color: #000;
    padding: 25px;
}

.logo-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    /* Forces ~10 logos per line, putting ~7 on the 2nd line (roughly 40%) */
    max-width: 750px; 
    margin: 0 auto;
}

.logo-flex img {
    height: auto;
    max-height: 64px;
    filter: grayscale(0.4);
}

/* --- INDIE CALLOUT (Original Pretty Style) --- */
.indie-callout {
    background-color: #1c1e21;
    padding: 35px;
    text-align: center;
    border-top: 3px solid var(--accent-gold);
    margin: 10px 0 20px 0;
}

.indie-callout p {
    max-width: 800px;
    margin: 10px auto 20px auto;
    color: #ccc;
}

/* --- AVAILABILITY BADGES --- */
.availability-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px; /* Tight space before content starts */
}

.badge {
    background: #222;
    border: 1px solid #444;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: bold;
    color: var(--accent-gold);
    text-transform: uppercase;
}

/* --- ALTERNATING SERVICES --- */
.service-row {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px 0; /* Tightened vertical space */
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-text { flex: 1; }
.service-image { flex: 1; }

.service-image img {
    width: 100%;
    border: 1px solid #333;
    display: block;
}

.service-text ul {
    list-style: square;
    padding-left: 20px;
    color: #ccc;
    margin-top: 10px;
}

hr.softlinegray {
    margin: 5px 0;
    border: 0;
    height: 1px;
    background: #333;
}

@media (max-width: 768px) {
    .service-row, .service-row.reverse {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }
    .logo-flex { max-width: 100%; }
}




/* Caption container (replaces ugly white box) */
.glightbox-clean .gslide-description {
  display: block !important;
  background: transparent !important;
  padding: 0 !important;
  margin-top: 10px;
  text-align: center;
  border: none !important;
}

/* Caption text styled like your site */
.glightbox-clean .gdesc-inner {
    color: var(--accent-gold); 
  font-family: 'Geist', Arial, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
}

/* Remove any leftover white backgrounds */
.glightbox-clean .gdesc-inner,
.glightbox-clean .gslide-description * {
  background: transparent !important;
}

/* Keep your clean image styling */
.glightbox-clean .gslide-media {
  background: transparent !important;
  border: 1px solid #000 !important;
  padding: 0 !important;
}

/* Remove outer container styling */
.glightbox-clean .gslide-inner-content {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}





/* --- RESUME PAGE ONLY --- */

.resume-container {
    width: 98%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Resume cards (based on indie-callout but NOT overriding it) */
.resume-card {
    background-color: #1c1e21;
    padding: 25px 30px;
    margin-bottom: 25px;
    border-top: 3px solid var(--accent-gold);
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    text-align: left;
}

/* Logo + title row */
.resume-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.resume-logo {
    max-height: 50px;
    flex-shrink: 0;
    border: 1px solid #666;
}

.resume-card h2 {
    margin: 0;
}

/* Better text spacing */
.resume-card p {
    margin: 8px 0;
}


/* Resume date styling */
.resume-date {
    display: inline-block;
    margin: 8px 0 12px 0;
    padding: 4px 10px;
    background: #111;
    border-left: 3px solid var(--accent-gold);
    font-size: 12px;
    color: #ccc;
    letter-spacing: 0.5px;
}




/* --- LEVELS PAGE --- */

.level-card {
    background-color: #1c1e21;
    margin-bottom: 30px;
    border-top: 3px solid var(--accent-gold);
}

.level-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background-color: #1c1e21;
}

.level-card-header h2 {
    margin: 0;
    font-size: 15px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.level-images {
    padding: 0;
    background-color: #111;
    line-height: 0;
    /* Wrap images to next line instead of scrolling */
    display: flex;
    flex-wrap: wrap;
}

.level-images a {
    display: inline-block;
    flex: 0 0 auto;
}

.level-images img {
    /*height: 150px;*/
    width: auto;
    display: block;
    object-fit: cover;
    border: none;
}

.level-images img:hover {
    opacity: 0.85;
}

/* --- ONE-LINE DESCRIPTION ALWAYS VISIBLE --- */

.level-desc {
    padding: 10px 18px 0 18px;
    font-size: 14px;
    color: #ccc;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.level-details {
    border-top: 1px solid #2a2d31;
    margin-top: 10px;
}

.details-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    user-select: none;
    transition: color 0.2s;
    list-style: none;
}

.details-toggle:hover {
    color: var(--accent-gold);
}

.details-toggle::before {
    content: '▶';
    font-size: 9px;
    transition: transform 0.2s;
    color: var(--accent-gold);
}

details[open] > .details-toggle::before {
    transform: rotate(90deg);
}

.details-body {
    padding: 15px 20px 18px 20px;
    border-top: 1px solid #2a2d31;
}

.details-body ul {
    list-style: square;
    padding-left: 20px;
    margin: 0;
    color: #ccc;
}

.details-body ul li {
    margin-bottom: 8px;
    line-height: 1.55;
}

.details-body ul li strong {
    color: var(--accent-gold);
}

/* --- LEVELS PAGE TOC SIDEBAR LAYOUT --- */


.page-layout {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 40px;
    align-items: start;
    min-width: 0;
}

.toc-sidebar {
    grid-column: 1;
    min-width: 0;
    width: 170px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}



.toc-sidebar {
    position: sticky;
    top: 70px;
    background-color: #1c1e21;
    border-top: 3px solid var(--accent-gold);
    padding: 15px 15px;
    width: 170px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
/* Custom scrollbar for toc-sidebar */
.toc-sidebar::-webkit-scrollbar {
    width: 4px;
}

.toc-sidebar::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 2px;
}

.toc-sidebar::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.toc-sidebar::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.toc-sidebar::-webkit-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #888 #1a1a1a;
}




.toc-sidebar h3 {
    color: var(--accent-gold);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    padding: 0 15px 10px 15px;
    border-bottom: 1px solid #333;
}

.toc-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-sidebar ul li a {
    display: block;
    padding: 6px 15px;
    font-size: 11px;
    color: #aaa;
    text-decoration: none;
    font-weight: normal;
    border-bottom: 1px solid #252729;
    transition: color 0.15s, background 0.15s;
}

.toc-sidebar ul li a:hover {
    color: var(--hover-yellow);
    background: #222;
    text-decoration: none;
}

@media (max-width: 768px) {
    .page-layout {
        grid-template-columns: 1fr;
    }
    .toc-sidebar {
        display: none;
    }
    .level-images img {
        height: 90px;
    }
    .level-desc {
        white-space: normal;
    }
}

/* --- SPLASH HERO --- */

.splash-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    /*height: calc(100vh - 190px - 108px); */
    /*min-height: 400px; */
    /* background-image: url('work/epic/landscape3.jpg'); swap to your chosen image */
    /* background-size: cover;
    background-position: center center;
    background-repeat: no-repeat; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.splash-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay for text legibility on top/left */
.splash-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right, 
        rgba(0,0,0,0.68) 0%,    /* Darkest on the left */
        rgba(0,0,0,0.5) 25%,   /* Mid-tone */
        rgba(0,0,0,0) 50%       /* Completely transparent by 60% width */
    );
    z-index: 1;
}

/* Mobile/small screen gradient override */
@media (max-width: 768px) {
    .splash-hero::before {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,0.50) 50%,
            rgba(0,0,0,0) 100%
        );
    }

    /* Hide video on mobile and use poster as background */
    .splash-hero video {
        display: none;
    }

    .splash-hero {
        background-image: url('images/websiteloopfallback.jpg');
        background-size: cover;
        background-position: 80% center;
        background-repeat: no-repeat;
    }

    /* Hide timeline images on mobile */
    .timeline-image {
        display: none;
    }
}

/* Left + right fade to background color */
.splash-hero-fade {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.splash-text {
    position: relative;
    z-index: 3;
    padding: 0 0 0 60px;
    max-width: 720px;
}



.splash-title {
    font-size: clamp(32px, 4.5vw, 58px);
    font-weight: bold;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    font-family: 'Geist', sans-serif;
    font-weight: 900; /* Use the Black weight for high-impact titles */
    margin: 0 0 20px 0;
}

.splash-title em {
    color: var(--accent-gold);
    font-style: normal;
}

.splash-rule {
    width: 50px;
    height: 2px;
    background: var(--accent-gold);
    border: none;
    margin: 0 auto 20px;
}

.splash-body {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.6;
    margin: 0 0 30px 0;
    max-width: 440px;
}

.splash-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.splash-availability-callout {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--accent-gold);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.splash-availability-callout p {
    margin: 0;
    color: var(--text-white);
    font-weight: bold;
}


.btn-primary {
    display: inline-block;
    padding: 10px 24px;
    background: var(--accent-gold);
    color: #000;
    font-family: 'Geist', Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary:hover {
    background: var(--hover-yellow);
    color: #000;
    text-decoration: none;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid var(--border-gray);
    color: #ddd;
    font-family: 'Geist', Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
}




/* --- TIMELINE --- */

.timeline-section {
    padding: 60px 0 40px 0;
}

.timeline-heading {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: bold;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 16px 0;
    text-align: center;
}

.timeline-heading em {
    color: var(--accent-gold);
    font-style: normal;
}

.timeline {
    position: relative;
    margin: 50px 0 0 0;
    padding: 0;
}

/* The vertical centre line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background: #333;
}

.timeline-entry {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

/* Left-side entry: content left, dot right */
.timeline-left {
    flex-direction: row;
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
}

.timeline-left .timeline-content {
    text-align: right;
}

.timeline-left .timeline-dot {
    position: absolute;
    right: calc(50% - 7px);
    top: 6px;
}
.timeline-image {
width: auto;
height: 215px;
object-fit: contain;
    border-radius: 8px;
    overflow: hidden;
    border: none;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    position: absolute;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-image-right {
    left: calc(50% + 30px);
}

.timeline-image-left {
    right: calc(50% + 30px);
}


/* Right-side entry: dot left, content right */
.timeline-right {
    flex-direction: row;
    padding-left: calc(50% + 30px);
}

.timeline-right .timeline-content {
    text-align: left;
}

.timeline-right .timeline-dot {
    position: absolute;
    left: calc(50% - 7px);
    top: 6px;
}
.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-gold);
    flex-shrink: 0;
}
.timeline-content {
    max-width: 480px;
    width: 100%;
}

.timeline-date {
    display: block;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.timeline-era {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px 0;
}

.timeline-content p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.timeline-left .timeline-tags {
    justify-content: flex-end;
}

.timeline-right .timeline-tags {
    justify-content: flex-start;
}

.tl-tag {
    display: inline-block;
    padding: 3px 10px;
    border: 1px solid #444;
    font-size: 10px;
    font-weight: bold;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-milestones {
    font-size: 12px;
    color: var(--accent-gold);
    margin: 0;
}


/* --- RESPONSIVE --- */

@media (max-width: 768px) {
    .splash-hero {
        height: auto;
        min-height: calc(100svh - 180px - 52px);
    }
    .splash-text {
        padding: 40px 20px;
        max-width: 100%;
    }
    .splash-bottom-bar {
        padding: 14px 20px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    /* Reduce container padding on mobile and prevent overflow */
    .container {
        padding: 10px;
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Stack timeline to single column on mobile */
    .timeline::before {
        left: 14px;
    }
    .timeline-entry {
        flex-direction: column;
        padding-left: 25px;
        padding-right: 0;
    }
    .timeline-left,
    .timeline-right {
        padding-left: 25px;
        padding-right: 0;
    }
    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        text-align: left;
        max-width: calc(100vw - 50px);
        padding-right: 5px;
        width: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
        overflow-x: hidden;
    }
    .timeline-left .timeline-dot,
    .timeline-right .timeline-dot {
        position: absolute;
        left: 7px;
        right: auto;
        top: 4px;
    }
    .timeline-left .timeline-tags,
    .timeline-right .timeline-tags {
        justify-content: flex-start;
    }
    
    /* Fix about section text overflow on mobile */
    .about-text {
        padding-right: 5px;
        padding-left: 5px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Center contact heading on mobile */
    .contact-heading {
        text-align: center;
    }
    
    /* Fix nav container width on mobile */
    .nav-container {
        width: 100%;
    }
    
    /* Prevent horizontal scroll on body */
    body {
        overflow-x: hidden;
    }
}



/* --- ABOUT ME SECTION --- */

.about-section {
    background-color: var(--nav-bg-gray);
    border-top: 1px solid #272a2e;
    border-bottom: 1px solid #272a2e;
    padding: 60px 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
}

.stat-box {
    background-color: var(--bg-gray);
    border: 1px solid #2a2d31;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 38px;
    font-weight: bold;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
}


/* --- CONTACT SECTION --- */

.contact-section {
    background-color: var(--bg-gray);
    padding: 80px 0;
    text-align: center;
}

.contact-heading {
    font-size: clamp(28px, 4vw, 50px);
    font-weight: bold;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 16px 0;
}

.contact-heading em {
    color: var(--accent-gold);
    font-style: normal;
}

.contact-body {
    font-size: 14px;
    color: #ccc;
    line-height: 1.7;

	max-width: 450px; /* Adjust this value as needed */
    margin-left: auto;
    margin-right: auto;
}

.contact-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}


/* --- RESPONSIVE: ABOUT + CONTACT --- */

@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        overflow-x: hidden;
    }
    .about-stats {
        grid-template-columns: 1fr;
        gap: 8px;
        overflow-x: hidden;
    }
    .stat-box {
        padding: 15px 12px;
        width: 100%;
        box-sizing: border-box;
    }
    .stat-number {
        font-size: 28px;
    }
    .stat-label {
        letter-spacing: 1px;
        font-size: 10px;
    }
    .contact-body br {
        display: none;
    }
    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        overflow-x: hidden;
    }
}




/* --- UPDATES PAGE RESPONSIVE IMAGES --- */
.updates-image {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .updates-image {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
}



/* --- HERO BOTTOM NAV BAR --- */


/* Outer bar stays full width */
.splash-bottom-bar {
    display: flex;
    gap: 0;

}

/* Inner container MATCHES your site width */
.splash-bottom-inner {
    max-width: 1100px; /* adjust to match your layout */
    margin: 0 auto;
    
    display: flex;
    justify-content: center;
    gap: 40px;

    padding: 18px 40px;
}

/* Links */
.splash-bottom-inner a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #aaa;
    text-decoration: none;
    position: relative;
    transition: all 0.25s ease;
}

.splash-bottom-inner a:hover {
       color: var(--hover-yellow);
    text-decoration: underline;
}




/* --- TABS LAYOUT --- */
/* OUTER BOX */
.tabs-wrapper {
    display: flex;
    gap: 0;
    background-color: var(--nav-bg-gray);
    border: 1px solid #2a2d31;
    border-top: 3px solid var(--accent-gold);
    padding: 0;
}

/* LEFT SIDE */
.tabs-sidebar {
    width: 280px;
    flex-shrink: 0;
    font-weight: 700;
    background-color: #0e1012;
    border-right: 1px solid #2a2d31;
}

.tabs-sidebar-label {
    padding: 16px 18px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
}

.tabs-menu {
    list-style: none;
    padding: 0 8px 8px;
    margin: 0;
}

/* RIGHT SIDE */
.tabs-content {
    flex: 1;
    padding: 30px;
    min-width: 0;
}

/* TITLE SIZE REDUCED */
.tabs-content h1 {
    font-size: 22px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tabs-content h1 .section-icon,
.tabs-content h1 span.section-icon {
    color: var(--accent-gold);
    font-size: 22px;
    margin-right: 0;
}

.tab-panel-divider {
    height: 1px;
    background: linear-gradient(to right, var(--accent-gold), transparent);
    margin: 14px 0 20px;
    opacity: 0.5;
}
.section-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 10px;
    filter: brightness(0) invert(1);
}

span.section-icon {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-size: 24px;
    width: auto;
    height: auto;
    filter: none;
    color: inherit;
    line-height: 1;
    user-select: none;
}


/* FIX IMAGE ALIGNMENT */
.exp-img-row {
    justify-content: center !important;
    margin-left: 0;
    padding-left: 0;
}

.exp-img-row-games {
    justify-content: center !important;
    margin-left: 0;
    padding-left: 0;
}

/* REMOVE ANY HIDDEN OFFSET */
.tabs-content .exp-img-row {
    margin-left: 0;
}

.tabs-content .exp-img-row-games {
    margin-left: 0;
}

/* CLEAN LEFT MENU */
.tab-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    color: #8F8F8F;
    border-left: 3px solid transparent;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: background 0.15s ease, color 0.15s ease;
}

.tab-link .tab-icon {
    font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 20;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    color: #666;
    transition: color 0.15s ease;
}

.tab-icon-img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.4;
    filter: brightness(0) invert(1);
    transition: opacity 0.15s ease;
}

.tab-link.active {
    color: #fff;
    background-color: rgba(238, 207, 31, 0.08);
    border-left: 3px solid var(--accent-gold);
}

.tab-link.active .tab-icon {
    color: var(--accent-gold);
}

.tab-link.active .tab-icon-img {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(80%) sepia(60%) saturate(500%) hue-rotate(5deg);
}

.tab-link:hover {
    background-color: rgba(255,255,255,0.04);
    color: #ccc;
}

.tab-link:hover .tab-icon {
    color: #aaa;
}

/* PANELS */
.tab-panel {
    display: none;
    line-height: 1.8;
    animation: tabFadeIn 0.2s ease;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tab-panel ul li {
    margin-bottom: 15px;
}

.tab-panel.active {
    display: block;
}

/* Mobile horizontal scroll tabs */
@media (max-width: 768px) {
    .tabs-wrapper {
        flex-direction: column;
    }

    .tabs-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #2a2d31;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .tabs-menu {
        display: flex;
        flex-direction: row;
    }

    .tab-link {
        padding: 10px 14px;
        border-left: none;
        border-bottom: 3px solid transparent;
        border-radius: 0;
        flex-shrink: 0;
        flex-direction: column;
        gap: 4px;
        font-size: 10px;
        text-align: center;
    }

    .tab-link .tab-icon {
        font-size: 20px;
    }

    .tab-icon-img {
        width: 20px;
        height: 20px;
    }

    .tab-link.active {
        border-left: none;
        border-bottom: 3px solid var(--accent-gold);
        border-radius: 0;
        background-color: rgba(238, 207, 31, 0.06);
    }

    .tabs-sidebar-label {
        display: none;
    }

    .tabs-content {
        padding: 20px 15px;
    }

    /* Custom scrollbar for horizontal tabs */
    .tabs-sidebar::-webkit-scrollbar {
        height: 4px;
    }

    .tabs-sidebar::-webkit-scrollbar-track {
        background: #2a2d31;
    }

    .tabs-sidebar::-webkit-scrollbar-thumb {
        background: var(--accent-gold);
        border-radius: 2px;
    }

    .tabs-sidebar::-webkit-scrollbar-thumb:hover {
        background: var(--hover-yellow);
    }

    .tabs-sidebar {
        scrollbar-width: thin;
        scrollbar-color: var(--accent-gold) #2a2d31;
    }
}

.ue-logo-stack {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 16px 0 20px;
}

/* EDC INFOGRAPHIC */
.edc-infographic {
    border: 1px solid #2a2d31;
    border-top: 2px solid var(--accent-gold);
    border-radius: 8px;
    background: #0e1012;
    padding: 20px 24px;
    margin: 20px 0 24px;
}

.edc-infographic-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.edc-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-gold);
}

.edc-years {
    font-size: 11px;
    color: #555;
    letter-spacing: 1px;
}

.edc-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #2a2d31;
    border-radius: 6px;
    overflow: hidden;
}

.edc-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 18px 12px;
    background: #0e1012;
    text-align: center;
}

.edc-stat-value {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.5px;
}

.edc-stat-label {
    font-size: 10px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .edc-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.content-block {
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.8;
}

.content-block ul {
    margin: 0;
    padding-left: 20px;
}



/* --- SPLASH HERO END --- */