/*
Theme Name: Zenith
Theme URI: https://zeniththeme.local
Author: Senior WordPress Architect
Author URI: https://zeniththeme.local
Description: A modular, high-performance, dark-aesthetic WordPress theme engineered for luxury brands, creative agencies, and event architects. Features 11 reusable Gutenberg blocks with on-canvas inline editing, full backend typography controls, dynamic portfolio CPT, editorial project templates, interactive GSAP animations, client marquee, global interactive map, and complete visual section management.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zenith
Tags: dark, agency, portfolio, block-patterns, custom-header, custom-menu, featured-images, theme-options, translation-ready
*/

@font-face {
    font-family: 'Miller Display';
    src: url('assets/fonts/miller-display-roman.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Core Theme Properties & Root CSS Variables */
:root {
    --zenith-bg: #0f0f11;
    --zenith-bg-deep: #0a0a0a;
    --zenith-bg-dark: #141414;
    --zenith-bg-card: rgba(255, 255, 255, 0.03);
    --zenith-accent: #9333ea;
    --zenith-accent-light: #a855f7;
    --zenith-accent-dark: #7e22ce;
    --zenith-text-main: #ffffff;
    --zenith-text-muted: #9ca3af;
    --zenith-text-subtle: #6b7280;
    --zenith-border: #26262a;
    --zenith-border-light: rgba(255, 255, 255, 0.1);
    
    --zenith-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --zenith-font-serif: "Miller Display", Georgia, "Times New Roman", serif;
    
    --zenith-container-max: 1400px;
    --zenith-header-height: 90px;
    --zenith-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Body Styles */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

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

body {
    background-color: var(--zenith-bg);
    color: var(--zenith-text-main);
    font-family: var(--zenith-font-sans);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--zenith-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: #333339;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555560;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--zenith-font-serif);
    color: var(--zenith-text-main);
    margin-top: 0;
    font-weight: 400;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--zenith-transition);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero background video must fill 100% width and 100% height without constraints */
video.zenith-hero-video,
.zenith-hero-bg video {
    max-width: none !important;
    max-height: none !important;
    width: 100% !important;
    height: 100% !important;
}

/* On mobile, all section images adopt the elegant 4:5 portrait ratio (not 9:16) */
@media (max-width: 768px) {
    .zenith-work-card img,
    .zenith-portfolio-card img,
    .zenith-feature-media img,
    .zenith-news-card-media img,
    .zenith-split-visual img,
    .zenith-work-exact-img,
    .wp-block-post-featured-image img,
    .zenith-post-thumb img {
        aspect-ratio: 4 / 5 !important;
        object-fit: cover !important;
        width: 100% !important;
        height: auto !important;
    }
}
