/* ==========================================================================
   4DESIGN & CONSTRUCTION - BESPOKE ARCHITECTURAL DESIGN SYSTEM
   Visual Identity: Deep Obsidian, Brushed Architectural Brass, Warm Linen & Slate
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* Montaser Arabic Local Definition */
@font-face {
    font-family: 'Montaser Arabic';
    src: local('Montaser Arabic'), local('Montaser'), local('Kief Montaser'), local('Montserrat');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Main Background Theme (White Base) */
    --bg-base: #FFFFFF;
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: #FFFFFF;
    --bg-surface-alt: #FFFFFF;
    --bg-overlay: rgba(0, 0, 0, 0.85);

    /* Isolated Dark Header & Footer Surfaces */
    --bg-header: #000000;
    --bg-footer: #000000;
    --bg-drawer: #000000;
    --border-dark-section: #cd9540;

    /* Architectural Gold Tone (#cd9540) */
    --brass-primary: #cd9540;
    --brass-light: #cd9540;
    --brass-dark: #cd9540;
    --brass-muted: rgba(205, 149, 64, 0.12);
    --brass-border: rgba(205, 149, 64, 0.4);
    --brass-gradient: linear-gradient(135deg, #cd9540 0%, #cd9540 100%);

    /* Header & Footer Gold Accents */
    --brass-header: #cd9540;
    --brass-header-light: #cd9540;

    /* Typography & Ink Tones (Strict Black & Gold Palette) */
    --text-primary: #000000;
    --text-secondary: #000000;
    --text-muted: #000000;
    --text-inverse: #FFFFFF;

    /* Header & Footer Text (#cd9540 on Dark) */
    --text-header-primary: #cd9540;
    --text-header-secondary: #cd9540;
    --text-header-muted: #cd9540;

    /* Architectural Structural Borders */
    --border-subtle: rgba(0, 0, 0, 0.15);
    --border-medium: rgba(0, 0, 0, 0.28);
    --border-structural: #cd9540;

    /* Typography Hierarchy (Montaser Arabic Primary) */
    --font-heading: 'Montaser Arabic', 'Montserrat', sans-serif;
    --font-body: 'Montaser Arabic', 'Montserrat', sans-serif;
    --font-mono: 'Montaser Arabic', 'Montserrat', monospace;

    /* Structural Grid & Spacing */
    --radius-none: 0px;
    --radius-sm: 2px;
    --radius-md: 4px;
    --container-max: 1280px;
    --header-height: 84px;
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    background-color: var(--bg-base);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Structural Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 28px;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

p {
    color: var(--text-secondary);
    font-size: 1.025rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

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

/* Uncontained Structural Section Kicker (No Box, No Dot, No Border, No Background) */
.section-kicker {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brass-primary);
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 8px;
}

.section-kicker::before {
    display: none;
    content: none;
}

.mono-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Precision Header & Navigation */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark-section);
    z-index: 1000;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

header.site-header .container {
    max-width: 100%;
    padding: 0 40px;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    width: 100%;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo img {
    height: 62px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    display: block;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--brass-header);
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin-left: auto;
    margin-right: 40px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-header-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--brass-header-light);
}

.nav-link.active {
    color: var(--text-header-primary);
    font-weight: 800;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brass-header);
}

/* Architectural Button Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--brass-primary);
    color: #000000;
    border-color: var(--brass-primary);
}

.btn-primary:hover {
    background: #000000;
    border-color: #000000;
    color: var(--brass-primary);
}

/* Header Consultation Button */
header.site-header .btn-primary {
    background: var(--brass-header);
    color: #000000;
    border-color: var(--brass-header);
}

header.site-header .btn-primary:hover {
    background: #000000;
    border-color: var(--brass-header);
    color: var(--brass-header);
}

.btn-outline {
    background: transparent;
    color: #000000;
    border-color: #000000;
}

.btn-outline:hover {
    border-color: var(--brass-primary);
    color: var(--brass-primary);
    background: #000000;
}

.btn-brass-outline {
    background: transparent;
    color: var(--brass-primary);
    border-color: var(--brass-primary);
    font-weight: 700;
}

.btn-brass-outline:hover {
    border-color: var(--brass-primary);
    background: var(--brass-primary);
    color: #000000;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.8rem;
}

/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: 1px solid var(--border-dark-section);
    padding: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.hamburger svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-header-primary);
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--bg-drawer);
    border-left: 1px solid var(--border-dark-section);
    padding: 40px 30px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right var(--transition-smooth);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.drawer-header .brand-name {
    color: var(--brass-header);
}

.drawer-close {
    background: none;
    border: 1px solid var(--border-dark-section);
    padding: 8px;
    color: var(--text-header-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.drawer-links a {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-header-secondary);
}

.drawer-links a.active, .drawer-links a:hover {
    color: var(--brass-header);
}

.mobile-drawer .btn-primary {
    background: var(--brass-header);
    color: #000000;
    border-color: var(--brass-header);
}

.mobile-drawer .btn-primary:hover {
    background: #000000;
    border-color: var(--brass-header);
    color: var(--brass-header);
}

/* Page Header Banner (Architectural Spec Layout) */
.page-hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 70px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.page-hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 160px;
    height: 2px;
    background: var(--brass-primary);
}

.page-hero.page-hero-centered::after {
    left: 50%;
    transform: translateX(-50%);
}

.page-hero-inner {
    max-width: 900px;
}

.page-hero-inner.text-center {
    margin: 0 auto;
    text-align: center;
}

.page-hero h1 {
    font-size: 3.25rem;
    margin-top: 18px;
    margin-bottom: 16px;
    color: var(--brass-primary);
    background: var(--brass-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 720px;
    line-height: 1.7;
}

.page-hero-inner.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* Homepage Hero Section */
.hero-architectural {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 70px;
    background-color: var(--bg-base);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.hero-container {
    max-width: 1560px;
    padding: 0 32px;
}

.hero-horizontal-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
}

.hero-title-header {
    text-align: center;
    margin-bottom: 28px;
    width: 100%;
}

.hero-main-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--brass-primary);
    background: var(--brass-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    margin: 12px 0 8px;
    text-transform: uppercase;
}

.hero-sub-title {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    max-width: 820px;
    margin: 0 auto;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 2.2rem;
    }
    .hero-sub-title {
        font-size: 1.15rem;
        font-weight: 700;
    }
}

.hero-frame-horizontal {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 14px;
    box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.08);
}

.video-placeholder-horizontal {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: none;
}

.hero-horizontal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.hero-frame {
    border: 1px solid var(--border-medium);
    padding: 12px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    position: relative;
}

.hero-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-none);
}

.video-placeholder-container {
    position: relative;
    width: 100%;
    height: 480px;
    background: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

/* Section Common Structure */
.section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.75rem;
    margin-top: 14px;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.section-intro {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 680px;
}

/* Discipline Matrix (4 Core Capabilities) */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background-color: var(--border-subtle);
    border: 1px solid var(--border-subtle);
}

.matrix-cell {
    background-color: var(--bg-surface);
    padding: 48px;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.matrix-cell:hover {
    background-color: var(--bg-surface-elevated);
}

.matrix-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.matrix-num {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brass-primary);
}

.matrix-icon {
    width: 38px;
    height: 38px;
    color: var(--brass-primary);
}

.matrix-cell h3 {
    font-size: 1.65rem;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.matrix-cell p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.matrix-specs {
    list-style: none;
    border-top: 1px solid var(--border-subtle);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.matrix-specs li {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.matrix-specs li::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: var(--brass-primary);
    margin-right: 2px;
}

/* Asymmetrical Architectural Projects Grid */
.projects-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.project-entry {
    background: #FFFFFF;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.project-entry:hover {
    border-color: var(--brass-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
}

.project-img-wrapper {
    position: relative;
    height: 380px;
    overflow: hidden;
    background-color: var(--bg-surface-alt);
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter var(--transition-smooth);
    filter: grayscale(15%) contrast(105%);
}

.project-entry:hover .project-img-wrapper img {
    transform: scale(1.03);
    filter: grayscale(0%) contrast(108%);
}

.project-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    border-top: 1px solid var(--border-subtle);
}

.project-meta-top {
    margin-bottom: 12px;
}

.project-body h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.project-body p.project-summary {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.project-spec-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
}

.spec-cell span {
    display: block;
}

.spec-cell .spec-name {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.spec-cell .spec-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Portfolio Filter Tabs */
.portfolio-filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 18px;
    background: #FFFFFF;
    border: 1px solid #000000;
    color: #000000;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--brass-primary);
    color: var(--brass-primary);
    background: #000000;
}

/* Interactive Construction Scope & Cost Estimator */
#estimator {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.estimator-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 48px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
}

.estimator-inputs {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-block label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.scope-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.scope-option {
    border: 1px solid var(--border-medium);
    background: var(--bg-base);
    padding: 16px 12px;
    text-align: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.scope-option:hover, .scope-option.selected {
    border-color: var(--brass-primary);
    background: var(--brass-muted);
}

.scope-option span.option-title {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.scope-option span.option-desc {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Slider Controls */
.slider-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slider-val-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-val-display .current-val {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brass-primary);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--border-structural);
    outline: none;
    border-radius: var(--radius-sm);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--brass-primary);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

/* Estimator Output Card */
.estimator-output {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    padding: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.estimate-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 18px;
    margin-bottom: 24px;
}

.estimate-header h4 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.estimate-range {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--brass-primary);
    line-height: 1.1;
    margin: 12px 0 6px;
}

.estimate-note {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
}

.estimate-breakdown {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
}

.estimate-breakdown::-webkit-scrollbar {
    width: 4px;
}

.estimate-breakdown::-webkit-scrollbar-thumb {
    background: var(--brass-primary);
    border-radius: 2px;
}

.estimate-breakdown li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px dashed var(--border-subtle);
    padding-bottom: 8px;
}

.estimate-breakdown li span.item-val {
    font-family: var(--font-mono);
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
    margin-left: 12px;
}

.estimate-contingency-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-top: 14px;
    margin-bottom: 24px;
}

.estimate-contingency-block .contingency-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
}

.estimate-contingency-block .contingency-desc {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
}

.estimate-contingency-block .contingency-val {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brass-primary);
    white-space: nowrap;
    margin-left: 12px;
}

/* Architectural Contact & Intake Form */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-spec-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    padding: 44px;
    border-radius: var(--radius-sm);
}

.contact-spec-panel h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.contact-spec-panel p {
    margin-bottom: 32px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-top: 1px solid var(--border-subtle);
    padding-top: 28px;
}

.channel-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.channel-icon {
    width: 22px;
    height: 22px;
    color: var(--brass-primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.channel-detail h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.channel-detail p, .channel-detail a {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-form-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    padding: 44px;
    border-radius: var(--radius-sm);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: #FFFFFF;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    border-color: var(--brass-primary);
    box-shadow: 0 0 0 3px var(--brass-muted);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Legal Documents Layout (Privacy & Terms) */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 60px;
    border-radius: var(--radius-sm);
}

.legal-section {
    margin-bottom: 44px;
}

.legal-section h2 {
    font-size: 1.6rem;
    color: var(--brass-primary);
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 8px;
}

.legal-section p, .legal-section ul {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
}

.legal-section ul {
    padding-left: 20px;
    list-style-type: square;
}

.legal-section ul li {
    margin-bottom: 8px;
}

/* Lightbox Modal & Slideshow System */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    backdrop-filter: blur(10px);
    z-index: 2000;
    overflow-y: auto;
    padding: 30px 20px;
}

.modal-dialog {
    max-width: 1540px;
    width: 95vw;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.35);
}

.modal-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface-elevated);
}

.modal-close-btn {
    background: #FFFFFF;
    border: 1px solid #000000;
    padding: 8px 14px;
    color: #000000;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-fast);
}

.modal-close-btn:hover {
    border-color: var(--brass-primary);
    color: var(--brass-primary);
    background: #000000;
}

.modal-main-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.85fr;
    min-height: 640px;
}

.modal-gallery-pane {
    background: #000000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-viewport {
    width: 100%;
    height: 100%;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-img-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-img-container img,
.gallery-img-container video {
    max-width: 100%;
    max-height: 660px;
    object-fit: contain;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-img-container img.loaded,
.gallery-img-container video.loaded {
    opacity: 1;
}

/* Skeleton Loading State */
.skeleton-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000000 25%, rgba(205, 149, 64, 0.2) 50%, #000000 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.6s infinite ease-in-out;
}

@keyframes skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #000000;
    border: 1px solid var(--brass-header);
    color: var(--brass-header);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.gallery-nav-btn:hover {
    background: var(--brass-header);
    color: #000000;
    border-color: var(--brass-header);
}

.gallery-nav-btn.prev { left: 16px; }
.gallery-nav-btn.next { right: 16px; }

.gallery-counter {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: #000000;
    border: 1px solid var(--brass-header);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    color: var(--brass-header);
    z-index: 10;
}

.modal-details-pane {
    padding: 36px;
    border-left: 1px solid var(--border-subtle);
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.modal-spec-item h5 {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.modal-spec-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Site Footer */
footer.site-footer {
    background-color: var(--bg-footer);
    border-top: 1px solid var(--border-dark-section);
    padding: 80px 0 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 0.8fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col .brand-name {
    color: var(--brass-header);
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brass-header);
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-header-secondary);
    line-height: 1.65;
}

.footer-col p.footer-bio {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-header-secondary);
    line-height: 1.75;
    margin-top: 14px;
    max-width: 320px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-list a {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-header-secondary);
    transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
    color: var(--brass-header);
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-header-secondary);
}

.footer-contact-list li svg {
    width: 18px;
    height: 18px;
    color: var(--brass-header);
    flex-shrink: 0;
    margin-top: 4px;
    stroke-width: 2.2;
}

.social-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #000000;
    border: 1px solid var(--brass-header);
    border-radius: var(--radius-sm);
    color: var(--brass-header);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all var(--transition-fast);
}

.social-link-btn:hover {
    border-color: var(--brass-header);
    color: #000000;
    background: var(--brass-header);
}

.footer-bottom-bar {
    border-top: 1px solid var(--border-dark-section);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-legal-links a {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-header-muted);
}

.footer-legal-links a:hover {
    color: var(--brass-header);
}

.copyright-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-header-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
    .matrix-grid {
        grid-template-columns: 1fr;
    }

    .projects-editorial-grid {
        grid-template-columns: 1fr;
    }

    .estimator-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .modal-main-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* About Us Statement & Consultation Showcase */
.about-statement-card {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 56px;
    background: #FFFFFF;
    border: 1px solid var(--border-medium);
    border-left: 4px solid var(--brass-primary);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.06);
    text-align: center;
    overflow: hidden;
}

.about-statement-card::before {
    content: "“";
    position: absolute;
    top: 10px;
    left: 36px;
    font-family: var(--font-display);
    font-size: 8rem;
    line-height: 1;
    color: var(--brass-primary);
    opacity: 0.12;
    pointer-events: none;
}

.about-statement-lead {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.about-statement-sub {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 36px auto;
}

.about-statement-divider {
    width: 60px;
    height: 2px;
    background: var(--brass-primary);
    margin: 0 auto 32px auto;
}

.about-statement-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    padding: 16px 36px;
}

@media (max-width: 768px) {
    .about-statement-card {
        padding: 40px 24px;
    }
    .about-statement-lead {
        font-size: 1.35rem;
    }
    .about-statement-sub {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 64px;
    }

    header.site-header {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    header.site-header .container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .nav-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: var(--header-height);
        box-sizing: border-box;
        gap: 12px;
    }

    .brand-logo {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        min-width: 0;
        flex: 0 1 auto;
        overflow: hidden;
    }

    .brand-logo img {
        height: 40px;
        width: 40px;
        flex-shrink: 0;
        object-fit: contain;
    }

    .brand-name {
        font-size: 0.95rem;
        font-weight: 800;
        letter-spacing: -0.01em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 1;
        line-height: 1.2;
    }

    .nav-menu, .nav-actions .btn {
        display: none !important;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0;
        margin-left: auto;
        flex-shrink: 0;
    }

    .hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 1px solid var(--border-dark-section);
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.04);
        cursor: pointer;
        flex-shrink: 0;
        margin-left: 8px;
    }

    .hamburger svg {
        width: 20px;
        height: 20px;
        stroke: var(--text-header-primary);
    }

    .mobile-drawer {
        width: min(320px, 85vw);
        padding: 32px 24px;
    }

    .drawer-header {
        margin-bottom: 28px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border-dark-section);
    }

    .page-hero h1 {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }

    header.site-header .container {
        padding: 0 12px;
    }

    .nav-inner {
        gap: 8px;
    }

    .brand-logo {
        gap: 8px;
    }

    .brand-logo img {
        height: 36px;
        width: 36px;
    }

    .brand-name {
        font-size: 0.85rem;
        letter-spacing: -0.02em;
    }

    .hamburger {
        width: 36px;
        height: 36px;
        margin-left: 6px;
    }

    .hamburger svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    header.site-header .container {
        padding: 0 8px;
    }

    .brand-logo {
        gap: 6px;
    }

    .brand-logo img {
        height: 32px;
        width: 32px;
    }

    .brand-name {
        font-size: 0.78rem;
    }

    .hamburger {
        width: 34px;
        height: 34px;
        margin-left: 4px;
    }
}