/* /wp-content/themes/vsc-ubuveil/style.css */
/*
Theme Name: VSC Ubuveil
Theme URI: https://vscmining.co.za
Author: ATG DesEng
Description: Standalone fully hardcoded corporate theme for VSC Mining.
Version: 1.5.0
Text Domain: vsc-ubuveil
*/

:root {
    --font-head: 'Space Grotesk', sans-serif; --font-body: 'Inter', sans-serif; --font-mono: 'IBM Plex Mono', monospace;
    --bg: #FFFFFF; --text: #0F172A; --surface: #F8FAFC; --surface-alt: #F1F5F9;
    --text-muted: #64748B; --text-faint: #94A3B8; --accent: #D97706; --accent-hover: #B45309;
    --accent-text: #FFFFFF; --accent-soft: rgba(217, 119, 6, 0.15); --border: #E2E8F0; --link: #D97706;
    --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-pill: 999px; --max-width: 1280px;
}
[data-theme="dark"] {
    --bg: #0A0A0A; --text: #F5F5F5; --surface: #171717; --surface-alt: #262626;
    --text-muted: #A3A3A3; --text-faint: #737373; --accent: #F59E0B; --accent-hover: #D97706;
    --accent-text: #000000; --accent-soft: rgba(245, 158, 11, 0.15); --border: #262626; --link: #F59E0B;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; transition: background 0.3s, color 0.3s; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin-bottom: 0.5rem; color: var(--text); }
h1 { font-size: clamp(2rem, 2.5vw, 2.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2vw, 2rem); letter-spacing: -0.01em; }
p { font-size: 1.125rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 1rem; }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.bg-surface { background: var(--surface); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.flex { display: flex; } .gap-4 { gap: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all 0.2s; border-radius: var(--radius-pill); text-decoration: none; }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 9999; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 1px 3px rgba(0,0,0,0.05); transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.65); backdrop-filter: blur(12px) saturate(180%); -webkit-backdrop-filter: blur(12px) saturate(180%); border-bottom-color: rgba(255, 255, 255, 0.3); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); }
[data-theme="dark"] .site-header.is-scrolled { background: rgba(10, 10, 10, 0.65); border-bottom-color: rgba(255, 255, 255, 0.1); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; gap: 24px; }
.main-navigation { flex: 1; display: flex; justify-content: center; }
.header-actions-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.logo { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--text); display: flex; align-items: center; }
.logo a { color: inherit; text-decoration: none; display: flex; align-items: center; }
.custom-logo { max-height: 50px; width: auto; display: block; }
.vsc-logo-dark { display: none; }
[data-theme="dark"] .vsc-logo-light { display: none; }
[data-theme="dark"] .vsc-logo-dark { display: block; }
[data-theme="dark"] .vsc-logo-light .custom-logo { filter: brightness(0) invert(1); }

/* Nav */
.vsc-nav-outline { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; align-items: center; }
.vsc-nav-outline li { margin: 0; position: relative; }
.vsc-nav-outline .nav-item, .vsc-nav-outline a { display: inline-block; padding: 8px 20px; border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; transition: all 0.2s ease; }
.vsc-nav-outline .nav-item:hover, .vsc-nav-outline a:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* Home Icon */
.vsc-nav-outline .vsc-menu-home-icon a { font-size: 0; padding: 8px 12px; }
.vsc-nav-outline .vsc-menu-home-icon a::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
[data-theme="dark"] .vsc-nav-outline .vsc-menu-home-icon a::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F5F5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
}
.vsc-nav-outline .vsc-menu-home-icon a:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
}

/* Dropdown */
.vsc-nav-outline .sub-menu, .main-navigation ul ul { position: absolute; top: 100%; left: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: 0 4px 12px rgba(0,0,0,0.1); padding: 8px 0; min-width: 240px; display: none; z-index: 100; list-style: none; }
.main-navigation li:hover > ul, .main-navigation li:focus-within > ul { display: block; }
.main-navigation ul ul .nav-item, .main-navigation ul ul a { display: block; border: none; border-radius: 0; padding: 10px 20px; background: transparent; font-size: 14px; }
.main-navigation ul ul .nav-item:hover, .main-navigation ul ul a:hover { background: var(--surface-alt); color: var(--accent); }

/* Toggles & Hamburger */
.vsc-theme-toggle, .vsc-hamburger { background: transparent; border: 1px solid var(--border); color: var(--text-muted); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.vsc-theme-toggle:hover, .vsc-hamburger:hover { color: var(--accent); border-color: var(--accent); }
.vsc-theme-toggle svg { width: 18px; height: 18px; }
.vsc-hamburger { flex-direction: column; gap: 4px; display: none; }
.vsc-hamburger span { display: block; width: 16px; height: 2px; background: currentColor; }
.vsc-hamburger.is-visible { display: flex; }

/* Mobile Drawer */
.ubv-drawer { position: fixed; inset: 0; z-index: 99999; visibility: hidden; opacity: 0; transition: opacity 0.3s ease, visibility 0.3s ease; }
.ubv-drawer.is-open { visibility: visible; opacity: 1; }
.ubv-drawer-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); }
.ubv-drawer-panel { position: absolute; top: 0; right: -320px; width: 320px; height: 100%; background: var(--surface); border-left: 1px solid var(--border); padding: 32px 24px; transition: right 0.3s ease; display: flex; flex-direction: column; overflow-y: auto; }
.ubv-drawer.is-open .ubv-drawer-panel { right: 0; }
.ubv-drawer-close { background: transparent; border: none; color: var(--text-muted); font-size: 32px; cursor: pointer; align-self: flex-end; margin-bottom: 24px; line-height: 1; }
.ubv-drawer-close:hover { color: var(--accent); }
.ubv-drawer-nav { display: flex; flex-direction: column; gap: 8px; }
.ubv-drawer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.ubv-drawer-list a { display: block; padding: 12px 16px; color: var(--text); text-decoration: none; font-size: 16px; font-weight: 500; border-radius: var(--radius-md); transition: background 0.2s; }
.ubv-drawer-list a:hover { background: var(--surface-alt); color: var(--accent); }
.ubv-drawer-primary { display: none; }
@media (max-width: 900px) {
    .ubv-drawer-primary { display: block; }
    .ubv-drawer-primary + .ubv-drawer-overflow { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
}
.ubv-drawer-nav ul.sub-menu { display: block !important; padding-left: 16px; margin-top: 4px; border-left: 2px solid var(--border); position: static; box-shadow: none; background: transparent; }
.ubv-drawer-nav ul.sub-menu a { padding: 8px 16px; font-size: 15px; color: var(--text-muted); }

/* FAQ Accordion */
.vsc-faq { max-width: 720px; margin: 0 auto; }
.vsc-faq-item { border-bottom: 1px solid var(--border); }
.vsc-faq-item:first-child { border-top: 1px solid var(--border); }
.vsc-faq-item summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; color: var(--text); transition: color 0.2s; }
.vsc-faq-item summary::-webkit-details-marker { display: none; }
.vsc-faq-item summary::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-family: var(--font-head); font-size: 22px; font-weight: 400; color: var(--accent); transition: transform 0.15s ease; }
.vsc-faq-item[open] summary::after { content: '-'; }
.vsc-faq-item summary:hover { color: var(--accent); }
.vsc-faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.vsc-faq-answer { padding: 0 44px 24px 0; }
.vsc-faq-answer p { margin: 0; color: var(--text-muted); }
.vsc-faq-answer p:not(:last-child) { margin-bottom: 12px; }

/* Page Hero Banner (DEC-010) */
.vsc-page-hero {
    position: relative;
    min-height: 44vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0A0A0A;
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}
.vsc-page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.vsc-page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vsc-page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.55) 60%, rgba(10,10,10,0.3) 100%);
}
.vsc-page-hero__content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
}
.vsc-page-hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.vsc-page-hero__title {
    color: #fff;
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 16px;
    max-width: 900px;
    letter-spacing: -0.02em;
}
.vsc-page-hero__sub {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 640px;
    margin: 0;
}
@media (max-width: 768px) {
    .vsc-page-hero { min-height: 36vh; padding: 60px 0; }
    .vsc-page-hero__title { font-size: 1.75rem; }
    .vsc-page-hero__sub { font-size: 1rem; }
}

/* Hero, Cards */
.hero-full-bg { position: relative; padding: 120px 0; min-height: 85vh; display: flex; align-items: center; overflow: hidden; background: #0A0A0A; }
.hero-bg-video { position: absolute; inset: 0; z-index: 0; }
.hero-bg-video video, .hero-bg-video img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.5) 60%, transparent 100%); }
.hero-full-bg .hero-grid { position: relative; z-index: 2; }
.hero-static-image { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-lg); border: 4px solid rgba(255,255,255,0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.floating-stat { position: absolute; bottom: -20px; left: -40px; background: var(--surface); padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 16px; }
.stat-num { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 13px; font-weight: 600; color: var(--text-muted); line-height: 1.2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.vsc-icon-wrapper { margin-bottom: 6px; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); }
.vsc-icon-wrapper svg { width: 48px; height: 48px; stroke: currentColor; }

/* Footer */
.vsc-footer-mega { background: #0A0A0A; color: rgba(255,255,255,0.7); padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-mega { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.5); }
.ubv-footer-logo-link { display: inline-block; margin-bottom: 16px; }
.ubv-footer-logo-img { max-height: 50px; width: auto; display: block; }
.ubv-footer-logo { color: #FFFFFF; font-size: 24px; font-weight: 700; font-family: var(--font-head); margin-bottom: 16px; }
.ubv-footer-link { color: var(--accent); text-decoration: none; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.ubv-footer-link:hover { color: var(--accent-hover); text-decoration: underline; text-decoration-color: var(--accent-hover); text-underline-offset: 3px; }
.footer-bottom .ubv-footer-link { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

/* 404 */
.vsc-404-wrapper { background-color: var(--bg); min-height: 75vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; padding: 60px 24px; border-bottom: 1px solid var(--border); }
.vsc-404-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 40px 40px; opacity: 0.3; animation: gridMove 20s linear infinite; z-index: 1; }
@keyframes gridMove { 0% { transform: translateY(0); } 100% { transform: translateY(40px); } }
.vsc-404-content { position: relative; z-index: 2; text-align: center; max-width: 600px; }
.vsc-miner-container { width: 180px; height: 180px; margin: 0 auto 24px; position: relative; }
.vsc-miner-svg { width: 100%; height: 100%; overflow: visible; }
.miner-arm-group { transform-origin: 130px 120px; animation: swing 1.5s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-45deg); } }
.dust-particle { animation: pop 1.5s ease-in-out infinite; opacity: 0; }
.dust-particle:nth-child(2) { animation-delay: 0.1s; } .dust-particle:nth-child(3) { animation-delay: 0.2s; }
@keyframes pop { 0%, 45% { opacity: 0; transform: translate(0, 0) scale(0); } 50% { opacity: 1; transform: translate(-10px, -15px) scale(1); } 65%, 100% { opacity: 0; transform: translate(-20px, -30px) scale(0); } }
.lamp-glow { animation: pulseGlow 2s ease-in-out infinite alternate; }
@keyframes pulseGlow { from { filter: drop-shadow(0 0 4px var(--accent)); } to { filter: drop-shadow(0 0 12px var(--accent)); } }
.vsc-404-title { font-family: var(--font-head); font-size: clamp(80px, 15vw, 140px); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--border); position: relative; margin-bottom: 8px; letter-spacing: -0.04em; }
.vsc-404-title::after { content: attr(data-text); position: absolute; left: 0; top: 0; color: var(--text); -webkit-text-stroke: 0; opacity: 0.1; animation: textPulse 3s ease-in-out infinite alternate; }
@keyframes textPulse { 0% { opacity: 0.05; } 100% { opacity: 0.2; } }
.vsc-404-subtitle { color: var(--accent); font-family: var(--font-head); font-size: 24px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; font-weight: 700; }
.vsc-404-text { color: var(--text-muted); font-size: 17px; line-height: 1.6; margin-bottom: 32px; }

/* Modal */
.vsc-modal { display: none; position: fixed; inset: 0; z-index: 99999; align-items: center; justify-content: center; }
.vsc-modal.is-open { display: flex; }
.vsc-modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); }
.vsc-modal-content { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 500px; z-index: 100000; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); max-height: 90vh; overflow-y: auto; }
.vsc-modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 28px; line-height: 1; color: var(--text-muted); cursor: pointer; transition: color 0.2s; }
.vsc-modal-close:hover { color: var(--accent); }

/* Team */
.vsc-team { max-width: 1200px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) 24px; font-family: var(--font-body); color: var(--text-muted); }
.vsc-team .vsc-eyebrow { font: 600 12px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.vsc-team .vsc-team-h { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 6vw, 72px); line-height: 1; text-transform: uppercase; color: var(--text); margin: 0; letter-spacing: -0.02em; }
.vsc-team .vsc-team-h span { color: var(--accent); }
.vsc-team .vsc-rule { display: block; width: 72px; height: 4px; background: var(--accent); margin: 28px 0; }
.vsc-team .vsc-lead { max-width: 720px; font-size: 19px; line-height: 1.6; color: var(--text); margin: 0 0 clamp(48px, 7vw, 88px); }
.vsc-team .vsc-tier-label { font: 700 14px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--text); margin: clamp(56px, 8vw, 96px) 0 28px; display: flex; align-items: center; gap: 16px; }
.vsc-team .vsc-tier-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.vsc-team .vsc-tier { display: grid; gap: 28px; align-items: start; }
.vsc-team .vsc-tier--ceo { grid-template-columns: minmax(0, 420px); justify-content: center; }
.vsc-team .vsc-tier--lead { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vsc-team .vsc-tier--office { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.vsc-team .vsc-card { background: var(--surface); border: 1px solid var(--border); border-bottom: 4px solid var(--accent); overflow: hidden; transition: box-shadow .25s; }
.vsc-team .vsc-card:hover, .vsc-team .vsc-card:focus-within { box-shadow: 0 18px 40px rgba(15, 35, 71, .14); }
[data-theme="dark"] .vsc-team .vsc-card:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
.vsc-team .vsc-card__btn { all: unset; display: block; width: 100%; cursor: pointer; box-sizing: border-box; }
.vsc-team .vsc-card__btn--static { cursor: default; }
.vsc-team .vsc-card__btn:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.vsc-team .vsc-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface-alt); }
.vsc-team .vsc-card__meta { display: block; padding: 18px 20px 20px; }
.vsc-team .vsc-card__role { display: block; font: 600 11px/1.3 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.vsc-team .vsc-card__name { display: block; font: 700 26px/1.1 var(--font-head); text-transform: uppercase; color: var(--text); margin-top: 6px; letter-spacing: -0.01em; }
.vsc-team .vsc-card--ceo .vsc-card__name { font-size: 34px; }
.vsc-team .vsc-card--sm .vsc-card__name { font-size: 18px; }
.vsc-team .vsc-card__more { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--accent); font-weight: 500; }
.vsc-team .vsc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; background: var(--surface-alt); }
.vsc-team .vsc-panel__in { overflow: hidden; padding: 0 20px; font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.vsc-team .vsc-card.is-open .vsc-panel { grid-template-rows: 1fr; }
.vsc-team .vsc-card.is-open .vsc-panel__in { padding: 18px 20px 22px; }
@media (hover:hover) and (pointer:fine) { .vsc-team .vsc-card:hover .vsc-panel { grid-template-rows: 1fr; } .vsc-team .vsc-card:hover .vsc-panel__in { padding: 18px 20px 22px; } }
.vsc-team .vsc-years { margin: 0 0 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.vsc-team .vsc-years strong { font: 700 30px/1 var(--font-head); color: var(--accent); margin-right: 4px; }
.vsc-team .vsc-panel p { margin: 0 0 14px; }
.vsc-team .vsc-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vsc-team .vsc-tags li { font-size: 12px; padding: 4px 10px; background: var(--bg); border: 1px solid var(--border); color: var(--text); border-radius: 4px; }
@media (max-width: 1000px) { .vsc-team .vsc-tier--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vsc-team .vsc-tier--office { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vsc-team .vsc-tier--lead, .vsc-team .vsc-tier--office { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .vsc-team .vsc-tier--ceo { grid-template-columns: 1fr; } .vsc-team .vsc-card__name { font-size: 18px; } .vsc-team .vsc-card__meta { padding: 14px; } }
@media (prefers-reduced-motion: reduce) { .vsc-team .vsc-panel { transition: none; } }

/* Legal */
.legal-content h2 { font-size: 1.5rem; margin-top: 48px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border); color: var(--text); }
.legal-content h3 { font-size: 1.25rem; margin-top: 32px; margin-bottom: 12px; color: var(--text); }
.legal-content p, .legal-content ul { margin-bottom: 20px; line-height: 1.7; color: var(--text-muted); }
.legal-content ul { padding-left: 24px; }
.legal-content ul li { margin-bottom: 8px; }
.legal-content a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.legal-content a:hover { color: var(--accent-hover); text-decoration-color: var(--accent-hover); }
.legal-content strong { color: var(--text); }
.legal-content table { width: 100%; border-collapse: collapse; margin-bottom: 32px; font-size: 15px; }
.legal-content th, .legal-content td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal-content th { background-color: var(--surface-alt); font-weight: 600; color: var(--text); }
.legal-content td { color: var(--text-muted); }

/* Responsive */
@media (max-width: 1024px) { .hero-grid, .grid-2 { grid-template-columns: 1fr; } .footer-mega { grid-template-columns: 1fr 1fr; } .hero-full-bg { padding: 80px 0; } .hero-static-image { height: 400px; margin-top: 40px; } .floating-stat { left: 20px; bottom: -20px; } }
@media (max-width: 900px) { .header-inner { flex-wrap: nowrap; } .main-navigation { display: none; } .vsc-hamburger { display: flex; } }
@media (max-width: 768px) { .header-inner { padding: 16px 0; } .grid-3 { grid-template-columns: 1fr; } .footer-mega { grid-template-columns: 1fr; } .hero-static-image { height: 300px; } }

/* Services Pages: image cards, side images, banners */
/* ---------- Services hub: image cards with dark overlay + gold hover ---------- */
.vsc-svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 360px;
    padding: 32px;
    overflow: hidden;
    isolation: isolate;
    background: #0A0A0A;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.vsc-svc-card__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transition: transform .8s ease;
}
/* darker overlay */
.vsc-svc-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 10, 10, .68) 0%, rgba(10, 10, 10, .93) 100%);
    transition: background .35s ease;
}
/* gold underline that draws in on hover */
.vsc-svc-card::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.vsc-svc-card__num {
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: .2em;
    color: var(--accent);
    margin: 0 0 12px;
}
.vsc-svc-card h3 { color: #fff; margin: 0 0 12px; transition: color .3s ease; }
.vsc-svc-card__text { color: rgba(255, 255, 255, .8); margin: 0 0 24px; }
.vsc-svc-card .btn {
    position: static;
    margin-top: auto;
    color: #fff;
    border-color: rgba(255, 255, 255, .65);
    transition: background .3s ease, border-color .3s ease, color .3s ease;
}
/* whole card is clickable through the button link */
.vsc-svc-card .btn::after { content: ""; position: absolute; inset: 0; z-index: 2; }

.vsc-svc-card:hover,
.vsc-svc-card:focus-within {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 18px 40px rgba(217, 119, 6, .28);
}
.vsc-svc-card:hover::before,
.vsc-svc-card:focus-within::before {
    background: linear-gradient(180deg, rgba(217, 119, 6, .55) 0%, rgba(10, 10, 10, .93) 100%);
}
.vsc-svc-card:hover .vsc-svc-card__bg,
.vsc-svc-card:focus-within .vsc-svc-card__bg { transform: scale(1.06); }
.vsc-svc-card:hover::after,
.vsc-svc-card:focus-within::after { transform: scaleX(1); }
.vsc-svc-card:hover h3,
.vsc-svc-card:focus-within h3 { color: var(--accent); }
.vsc-svc-card:hover .btn,
.vsc-svc-card:focus-within .btn {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ---------- Sub-pages: image beside text (alternating) ---------- */
.vsc-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}
.vsc-split--reverse .vsc-split__media { order: -1; }
.vsc-split__text > :last-child { margin-bottom: 0; }
.vsc-split__text p { max-width: none; }

.vsc-figure { position: relative; margin: 0; }
.vsc-figure::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 2px solid var(--accent);
    border-radius: 6px;
    z-index: 0;
    transition: transform .4s ease;
}
.vsc-split--reverse .vsc-figure::before { inset: 18px 18px -18px -18px; }
.vsc-figure__frame {
    position: relative;
    z-index: 1;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
    background: #111;
}
.vsc-figure img,
.vsc-card-media img,
.vsc-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}
.vsc-figure:hover img { transform: scale(1.05); }
.vsc-figure:hover::before { transform: translate(-6px, -6px); }
.vsc-split--reverse .vsc-figure:hover::before { transform: translate(6px, -6px); }

/* ---------- Image at the top of a content card ---------- */
.vsc-card-media {
    aspect-ratio: 16 / 10;
    margin: 0 0 20px;
    overflow: hidden;
    border-radius: 6px;
    background: #111;
}
.card:hover .vsc-card-media img { transform: scale(1.05); }
.vsc-card--media { display: flex; flex-direction: column; }
.vsc-card-media-below { margin-top: auto; padding-top: 24px; }
.vsc-card-media-below .vsc-card-media { margin: 0; }

/* ---------- Wide image below a section ---------- */
.vsc-banner {
    position: relative;
    aspect-ratio: 16 / 9;
    max-width: 960px;
    margin: 48px auto 0;
    overflow: hidden;
    border-radius: 6px;
    border-bottom: 4px solid var(--accent);
    background: #111;
}
.vsc-banner:hover img { transform: scale(1.04); }
.vsc-banner--above { margin: 0 auto 40px; }
.vsc-banner-section { padding-top: 0 !important; }
.vsc-banner-section .vsc-banner { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .vsc-split { grid-template-columns: 1fr; gap: 40px; }
    .vsc-split--reverse .vsc-split__media { order: 0; }
    .vsc-figure { margin-right: 10px; }
    .vsc-figure::before,
    .vsc-split--reverse .vsc-figure::before { inset: 12px -10px -12px 10px; }
    .vsc-split--reverse .vsc-figure { margin: 0 0 0 10px; }
    .vsc-split--reverse .vsc-figure::before { inset: 12px 10px -12px -10px; }
    .vsc-svc-card { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
    .vsc-svc-card, .vsc-svc-card *, .vsc-figure *, .vsc-card-media *, .vsc-banner * { transition: none !important; }
}