/* ==========================================================================
   Premium Minimalist Aesthetic Token Constants
   ========================================================================== */
:root {
    --theme-dark-primary: #0a0a0a;
    --theme-dark-secondary: #121212;
    --theme-accent-gold: #d4af37;
    --theme-text-light: #ffffff;
    --theme-text-gray: #a0a0a0;
    --theme-border-split: rgba(255, 255, 255, 0.08);
    --bezier-smooth: cubic-bezier(0.25, 1, 0.5, 1);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Level HTML Standard Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--theme-dark-primary);
    color: var(--theme-text-light);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.65;
}

/* Core Layout Scaffold Architecture */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.align-items-center { align-items: center; }
.text-center { text-align: center; }

.col-md-4 { position: relative; width: 33.333333%; padding: 0 15px; flex: 0 0 33.333333%; }
.col-md-5 { position: relative; width: 41.666667%; padding: 0 15px; flex: 0 0 41.666667%; }
.col-md-6 { position: relative; width: 50%; padding: 0 15px; flex: 0 0 50%; }
.col-md-7 { position: relative; width: 58.333333%; padding: 0 15px; flex: 0 0 58.333333%; }
.col-sm-6 { position: relative; width: 50%; padding: 0 10px; flex: 0 0 50%; }

.padding-y-100 { padding-top: 100px; padding-bottom: 100px; }
.padding-y-60 { padding-top: 60px; padding-bottom: 60px; }
.margin-b-30 { margin-bottom: 30px; }
.margin-b-40 { margin-bottom: 40px; }
.margin-b-60 { margin-bottom: 60px; }
.margin-b-80 { margin-bottom: 80px; }

/* Premium Studio Typography Curation */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 300;
    line-height: 1.2;
    margin-top: 12px;
    letter-spacing: 0.5px;
    color: var(--theme-text-light);
}

.sub-title-accent {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--theme-accent-gold);
    font-weight: 600;
    display: block;
}

.body-text-muted {
    color: var(--theme-text-gray);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.8;
}

.decor-line {
    width: 50px;
    height: 1px;
    background-color: var(--theme-accent-gold);
    margin: 22px auto 0;
}

/* Elegant Interface Button Controls */
.theme-main-btn, .theme-secondary-btn {
    display: inline-block;
    padding: 15px 34px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s var(--bezier-smooth);
    cursor: pointer;
    border: none;
}

.theme-main-btn {
    background-color: var(--theme-text-light);
    color: var(--theme-dark-primary);
}

.theme-main-btn:hover {
    background-color: var(--theme-accent-gold);
    color: var(--theme-dark-primary);
    transform: translateY(-2px);
}

.theme-secondary-btn {
    background-color: transparent;
    color: var(--theme-text-light);
    border: 1px solid var(--theme-border-split);
}

.theme-secondary-btn:hover {
    border-color: var(--theme-text-light);
    background-color: rgba(255,255,255,0.03);
}

.btn-full-width {
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   Header Navigation Interface Layout
   ========================================================================== */
.theme-navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.92);
    border-bottom: 1px solid var(--theme-border-split);
    backdrop-filter: blur(12px);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1350px;
    margin: 0 auto;
    padding: 14px 40px;
}

.theme-logo a {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 2px;
    color: var(--theme-text-light);
    text-decoration: none;
    font-weight: 400;
}

.nav-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.theme-nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    color: var(--theme-text-gray);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    font-weight: 400;
}

.nav-item:hover, .nav-item.active {
    color: var(--theme-text-light);
}

.nav-btn-highlight {
    color: var(--theme-dark-primary);
    background-color: var(--theme-text-light);
    text-decoration: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 11px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-btn-highlight:hover {
    background-color: var(--theme-accent-gold);
}

.mobile-menu-trigger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-bar {
    width: 26px;
    height: 1px;
    background-color: var(--theme-text-light);
    transition: all 0.3s var(--bezier-smooth);
}

/* Hamburger Animation Morph Target via JS */
.mobile-menu-trigger.open .menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-trigger.open .menu-bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-trigger.open .menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HOME: Hero Slider Interface & Intrinsic Entry Animations
   ========================================================================== */
.hero-slider-viewport {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--theme-dark-primary);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-inner-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    padding: 0 24px;
}

.hero-heading {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero-quote-block {
    border-left: 1px solid var(--theme-accent-gold);
    padding-left: 24px;
    margin: 0 auto 25px;
    max-width: 650px;
    text-align: left;
}

.hero-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
    color: var(--theme-accent-gold);
    font-weight: 300;
}

.hero-btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-dim-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.4), rgba(10,10,10,0.75));
    z-index: 3;
}

/* Navigation Arrow Overlays */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--theme-text-light);
    font-size: 3.5rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0.25;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.slider-arrow:hover { opacity: 1; color: var(--theme-accent-gold); }
.arrow-prev { left: 45px; }
.arrow-next { right: 45px; }

.slider-dots-container {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
}

.slider-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255,255,255,0.25);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: var(--theme-accent-gold);
}

/* Core Sequential Slide Entry Keyframes */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(25px);
    animation: slideEntryFrame 1.2s var(--bezier-smooth) forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes slideEntryFrame {
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   ABOUT: Structural Panels & Values Pillars
   ========================================================================== */
.about-master-wrapper {
    background-color: var(--theme-dark-secondary);
}

.experience-badge {
    margin-top: 40px;
    border-top: 1px solid var(--theme-border-split);
    padding-top: 30px;
}

.experience-badge h3 {
    font-family: var(--font-heading);
    font-size: 3.75rem;
    color: var(--theme-accent-gold);
    line-height: 1;
    font-weight: 300;
}

.experience-badge p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--theme-text-gray);
    margin-top: 5px;
}

.about-featured-frame {
    border: 1px solid var(--theme-border-split);
    padding: 16px;
    background-color: var(--theme-dark-primary);
}

.img-responsive-fluid {
    width: 100%;
    height: auto;
    display: block;
}

/* Core Values Item Pillars */
.value-card-item {
    background-color: var(--theme-dark-primary);
    border: 1px solid var(--theme-border-split);
    padding: 45px 35px;
    height: 100%;
    transition: border-color 0.4s var(--bezier-smooth), transform 0.4s var(--bezier-smooth);
}

.value-card-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
}

.value-icon {
    font-size: 2.2rem;
    margin-bottom: 22px;
    display: block;
}

.value-card-item h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 14px;
    font-weight: 400;
}

/* ==========================================================================
   BRAND SHOWCASE: Premium Corporate Identity Frame
   ========================================================================== */
.brand-showcase-wrapper {
    background-color: var(--theme-dark-primary);
    border-top: 1px solid var(--theme-border-split);
    border-bottom: 1px solid var(--theme-border-split);
    overflow: hidden;
}

.showcase-display-frame {
    position: relative;
    border: 1px solid var(--theme-border-split);
    background-color: var(--theme-dark-secondary);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: border-color 0.4s var(--bezier-smooth);
}

.showcase-display-frame:hover {
    border-color: rgba(212, 175, 55, 0.25);
}

.brand-card-asset {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   PORTFOLIO: Grid Framework with Asset Adaptation
   ========================================================================== */
.portfolio-master-wrapper {
    background-color: var(--theme-dark-primary);
    border-top: 1px solid var(--theme-border-split);
}

.portfolio-filter-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 55px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--theme-border-split);
    color: var(--theme-text-gray);
    padding: 11px 26px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--theme-accent-gold);
    color: var(--theme-text-light);
}

.portfolio-grid-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-card-node {
    position: relative;
    overflow: hidden;
    background-color: var(--theme-dark-secondary);
    border: 1px solid var(--theme-border-split);
    transition: transform 0.4s var(--bezier-smooth), opacity 0.4s ease;
}

.portfolio-card-node.hidden {
    display: none !important;
}

.portfolio-asset-frame {
    position: relative;
    width: 100%;
    padding-top: 125%; /* Fixed Editorial Aspect Ratio Mapping */
    overflow: hidden;
}

.portfolio-asset-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--bezier-smooth);
}

.portfolio-card-node:hover .portfolio-asset-frame img {
    transform: scale(1.05);
}

.portfolio-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10,10,10,0.96) 20%, rgba(10,10,10,0.4) 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 35px;
    transition: opacity 0.4s ease;
    z-index: 5;
}

.portfolio-card-node:hover .portfolio-hover-overlay {
    opacity: 1;
}

.project-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--theme-accent-gold);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.overlay-inner-details h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.overlay-inner-details p {
    font-size: 0.85rem;
    color: var(--theme-text-gray);
    font-weight: 300;
    line-height: 1.5;
}

/* ==========================================================================
   CONTACT: Corporate Project Form & Layout Parameters
   ========================================================================== */
.contact-master-wrapper {
    background-color: var(--theme-dark-secondary);
    border-top: 1px solid var(--theme-border-split);
}

.contact-metadata-block {
    margin-top: 45px;
}

.meta-item {
    display: flex;
    gap: 22px;
    margin-bottom: 35px;
}

.meta-icon {
    font-size: 1.6rem;
    color: var(--theme-accent-gold);
}

.meta-item h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    font-weight: 500;
}

.meta-item p {
    color: var(--theme-text-gray);
    font-size: 0.95rem;
    font-weight: 300;
}

.intake-form-container {
    background-color: var(--theme-dark-primary);
    border: 1px solid var(--theme-border-split);
    padding: 50px;
}

.form-group {
    margin-bottom: 28px;
}

.form-row {
    display: flex;
    margin-right: -10px;
    margin-left: -10px;
}

.form-row .form-group {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 10px;
    padding-left: 10px;
}

label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--theme-text-gray);
    margin-bottom: 10px;
    font-weight: 500;
}

input[type="text"], input[type="tel"], select, textarea {
    width: 100%;
    background-color: var(--theme-dark-secondary);
    border: 1px solid var(--theme-border-split);
    color: var(--theme-text-light);
    padding: 15px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--theme-accent-gold);
    background-color: rgba(10,10,10,0.6);
}

select option {
    background-color: var(--theme-dark-primary);
    color: var(--theme-text-light);
}

.success-alert-box {
    background-color: rgba(212, 175, 55, 0.05);
    border: 1px solid var(--theme-accent-gold);
    padding: 25px;
    text-align: center;
    margin-top: 20px;
}

.success-alert-box h4 {
    color: var(--theme-accent-gold);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 6px;
    font-weight: 400;
}

.success-alert-box p {
    font-size: 0.9rem;
    color: var(--theme-text-gray);
    font-weight: 300;
}

.hidden { display: none !important; }

/* ==========================================================================
   Big Footer Layout Rules
   ========================================================================== */
.global-footer-wrapper {
    background-color: var(--theme-dark-primary);
    border-top: 1px solid var(--theme-border-split);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1;
}

.footer-right {
    display: flex;
    gap: 40px;
    justify-content: flex-end;
    text-align: right;
    flex-wrap: wrap;
}

.footer-contact-box h4 {
    color: var(--theme-accent-gold);
    font-size: 1rem;
    margin-bottom: 9px;
    letter-spacing: 1px;
}

.footer-contact-box p {
    color: var(--theme-text-gray);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.footer-left h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-left p {
    text-align: left;
    margin: 0 0 20px 0;
    max-width: 400px;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS: Organic Entrance Infrastructure
   ========================================================================== */
.scroll-reveal .reveal-left,
.scroll-reveal .reveal-right,
.scroll-reveal .value-card-item,
.scroll-reveal .portfolio-card-node {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal .reveal-left { transform: translateX(-40px); }
.scroll-reveal .reveal-right { transform: translateX(40px); }
.scroll-reveal .value-card-item { transform: translateY(30px); }
.scroll-reveal .portfolio-card-node { transform: translateY(40px); }

/* Trigger Activation States applied via JS intersection Observer */
.scroll-reveal.active-triggered .reveal-left,
.scroll-reveal.active-triggered .reveal-right {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal.active-triggered .value-card-item,
.scroll-reveal.active-triggered .portfolio-card-node {
    opacity: 1;
    transform: translateY(0);
}

/* Sequential Stagger Delays for Grid elements */
.scroll-reveal.active-triggered .row div:nth-child(1) .value-card-item,
.scroll-reveal.active-triggered .portfolio-card-node:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal.active-triggered .row div:nth-child(2) .value-card-item,
.scroll-reveal.active-triggered .portfolio-card-node:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal.active-triggered .row div:nth-child(3) .value-card-item,
.scroll-reveal.active-triggered .portfolio-card-node:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal.active-triggered .portfolio-card-node:nth-child(4) { transition-delay: 0.4s; }
.scroll-reveal.active-triggered .portfolio-card-node:nth-child(5) { transition-delay: 0.5s; }
.scroll-reveal.active-triggered .portfolio-card-node:nth-child(6) { transition-delay: 0.6s; }

/* ==========================================================================
   Responsive Grid & Device Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
    .portfolio-grid-matrix { grid-template-columns: repeat(2, 1fr); }
    .hero-heading { font-size: 3.5rem; }
    .col-md-5, .col-md-7 { width: 100%; flex: 0 0 100%; }
}

@media (max-width: 768px) {
    .col-md-4, .col-md-6 { width: 100%; flex: 0 0 100%; margin-bottom: 40px; }
    .form-row { flex-direction: column; margin-bottom: 0; }
    .form-row .form-group { flex: 0 0 100%; max-width: 100%; padding: 0; margin-bottom: 15px; }
    .portfolio-grid-matrix { grid-template-columns: 1fr; }
    .showcase-display-frame { padding: 12px; }
    
    .theme-nav-links { 
        display: none; 
        width: 100%; 
        flex-direction: column; 
        background: var(--theme-dark-primary); 
        position: absolute; 
        top: 100%; 
        left: 0; 
        padding: 30px; 
        border-bottom: 1px solid var(--theme-border-split);
        gap: 25px;
    }
    
    .theme-nav-links.mobile-active { 
        display: flex; 
    }
    
    .mobile-menu-trigger { display: flex; }
    .hero-btn-group { flex-direction: column; gap: 15px; }
    .arrow-prev { left: 15px; }
    .arrow-next { right: 15px; }
    .intake-form-container { padding: 30px 20px; }

    .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
}