﻿/* ============================================================
       CSS CUSTOM PROPERTIES
    ============================================================ */
:root {
    --gold: #C9A96E;
    --gold-light: #E8C98A;
    --gold-dim: rgba(201, 169, 110, 0.15);
    --bg: #0A0A0A;
    --surface: #111111;
    --surface-2: #1A1A1A;
    --border: rgba(255, 255, 255, 0.08);
    --text: #F5F5F5;
    --text-muted: #888888;
    --font-body: 'Outfit', sans-serif;
    --font-serif: 'Crimson Text', serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ============================================================
       RESET & BASE
    ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
}

/* Lenis handles smooth scroll */
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================================
       CUSTOM CURSOR
    ============================================================ */
#cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

#cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99998;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.12s var(--ease-out-expo), width 0.3s, height 0.3s, opacity 0.3s;
    opacity: 0.6;
}

body:hover #cursor-ring {
    opacity: 1;
}

body.cursor-hover #cursor-dot {
    width: 14px;
    height: 14px;
}

body.cursor-hover #cursor-ring {
    width: 56px;
    height: 56px;
    opacity: 0.3;
}



/* ============================================================
       CONTAINER
    ============================================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ============================================================
       SECTION TITLE (masked reveal)
    ============================================================ */
.section-tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.section-tag.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-title {
    overflow: hidden;
    display: block;
}

.reveal-title .word {
    display: inline-block;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.7s var(--ease-out-expo);
}

.reveal-title .word.in {
    clip-path: inset(0 0 0% 0);
}

/* ============================================================
       NAVIGATION
    ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 22px 0;
    /* Always-present gradient so nav is readable over any hero image */
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0.0) 100%);
    transition: background 0.5s, padding 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.header.scrolled {
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(201, 169, 110, 0.12);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
}

/* Logo: image mark + wordmark side by side */
.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.3em;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(1.1);
    flex-shrink: 0;
}

.nav-logo span {
    color: var(--gold);
    /* Cancel the trailing letter-spacing after the last ARCHON glyph
               so there is no phantom gap before ISM */
    margin-left: -0.3em;
}

.nav-menu {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    /* bright white so legible over any background */
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    position: relative;
    padding-bottom: 3px;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

/* Once scrolled, nav links shift to the muted dark-bg style */
.header.scrolled .nav-link {
    color: var(--text-muted);
    text-shadow: none;
}

.header.scrolled .nav-link:hover {
    color: var(--text);
}

.header.scrolled .nav-logo a {
    text-shadow: none;
}

.nav-cta {
    background: transparent;
    border: 1px solid rgba(201, 169, 110, 0.85);
    color: var(--gold);
    padding: 10px 24px;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    cursor: none;
}

.nav-cta:hover {
    background: var(--gold);
    color: #000;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: none;
}

.hamburger-line {
    width: 24px;
    height: 1.5px;
    background: var(--text);
    display: block;
    transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
       HERO
    ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform-style: preserve-3d;
    perspective: 800px;
    transition: transform 0.1s linear;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* Stronger top-fade ensures nav + hero eyebrow are always readable.
               Mid section kept transparent so the architecture really breathes.
               Bottom fade grounds the CTA area. */
    background: linear-gradient(to bottom,
            rgba(5, 5, 5, 0.68) 0%,
            rgba(5, 5, 5, 0.20) 35%,
            rgba(5, 5, 5, 0.35) 65%,
            rgba(5, 5, 5, 0.88) 100%);
}

/* Particle / dust mid-layer */
.hero-dust {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Ccircle cx='50' cy='80' r='1.2' fill='%23C9A96E' opacity='0.35'/%3E%3Ccircle cx='150' cy='200' r='0.8' fill='%23C9A96E' opacity='0.25'/%3E%3Ccircle cx='300' cy='60' r='1.5' fill='%23C9A96E' opacity='0.2'/%3E%3Ccircle cx='370' cy='320' r='1' fill='%23C9A96E' opacity='0.3'/%3E%3Ccircle cx='80' cy='350' r='0.6' fill='%23C9A96E' opacity='0.15'/%3E%3Ccircle cx='220' cy='280' r='1.3' fill='%23C9A96E' opacity='0.2'/%3E%3Ccircle cx='340' cy='170' r='0.9' fill='%23C9A96E' opacity='0.28'/%3E%3Ccircle cx='120' cy='130' r='1.1' fill='%23C9A96E' opacity='0.22'/%3E%3C/svg%3E") repeat;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    opacity: 0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 28px;
}

.hero-title-main {
    display: block;
    font-size: clamp(56px, 7vw, 100px);
    color: #fff;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.hero-title-sub {
    display: block;
    font-size: clamp(40px, 5vw, 72px);
    color: var(--gold);
    font-style: italic;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

/* Splitting.js chars */
.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(60px) rotateX(-40deg);
    transform-origin: 50% 100%;
}

.hero-description {
    font-size: 16px;
    /* Use near-white so it reads over any hero background lightness */
    color: rgba(255, 255, 255, 0.78);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 0, 0, 0.4);
    max-width: 540px;
    margin-bottom: 48px;
    opacity: 0;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.35s var(--ease-out-expo);
    cursor: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold);
    color: #0A0A0A;
    font-weight: 600;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold-light);
    transform: translateX(-101%);
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary:hover::after {
    transform: translateX(0);
}

.btn-primary:hover {
    color: #0A0A0A;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    writing-mode: horizontal-tb;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 1;
    }

    50% {
        transform: scaleY(0.7);
        opacity: 0.5;
    }
}

/* ============================================================ */

.process-section {
    position: relative;
    background: var(--bg);
    /* Remove overflow hidden to allow scroll trigger pinning */
}

.process-section-intro {
    padding: 70px 0 40px;
    text-align: center;
}

.process-pin-wrap {
    /* The overall wrapper that will be pinned */
    height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
}

.process-split {
    display: flex;
    width: 100%;
    height: 70vh;
    /* height of the pinned content area */
    gap: 60px;
}

/* Left Side: Images */
.process-visuals-col {
    flex: 1;
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    background: var(--surface);
}

.process-visual {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s var(--ease-out-expo);
}

.process-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-visual.active {
    opacity: 1;
    z-index: 2;
}

/* Right Side: Text Steps */
.process-content-col {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.process-steps-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    padding-right: 40px;
    display: flex;
    align-items: center;
}

.process-step {
    position: absolute;
    width: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    pointer-events: none;
}

.process-step.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
    /* Brings it into flow for height */
}

.process-step-num {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    display: block;
}

.process-step-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.2;
}

.process-step-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 480px;
}

@media (max-width: 900px) {
    .process-split {
        flex-direction: column;
        height: 80vh;
    }

    .process-steps-wrap {
        padding-right: 0;
    }

    .process-step-title {
        font-size: 28px;
    }
}

/* ============================================================ */

.services-section {
    padding: 80px 0;
    background: var(--surface);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 80px;
}

.service-card {
    background: var(--bg);
    padding: 52px 44px;
    position: relative;
    overflow: hidden;
    cursor: none;
    transform-style: preserve-3d;
    transition: box-shadow 0.4s;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.04), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--gold-dim);
}

.service-number {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 32px;
    display: block;
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    margin-bottom: 28px;
}

.service-icon-wrap svg {
    width: 100%;
    height: 100%;
}

.service-icon-wrap svg path,
.service-icon-wrap svg line,
.service-icon-wrap svg rect,
.service-icon-wrap svg circle,
.service-icon-wrap svg polyline {
    stroke: var(--text-muted);
    transition: stroke 0.3s, stroke-dashoffset 0.6s ease;
}

.service-card:hover .service-icon-wrap svg path,
.service-card:hover .service-icon-wrap svg line,
.service-card:hover .service-icon-wrap svg rect,
.service-card:hover .service-icon-wrap svg circle,
.service-card:hover .service-icon-wrap svg polyline {
    stroke: var(--gold);
}

/* animated icon stroke */
.service-icon-wrap svg path,
.service-icon-wrap svg polyline {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 0.7s var(--ease-out-expo), stroke 0.3s;
}

.service-card.in-view .service-icon-wrap svg path,
.service-card.in-view .service-icon-wrap svg polyline {
    stroke-dashoffset: 0;
}

.service-card-title {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.2;
}

.service-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.service-features {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: '';
    width: 18px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

/* opacity reveal */
.service-card {
    opacity: 0;
    transform: translateY(40px);
}

.service-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.service-card:nth-child(2) {
    transition-delay: 0.1s;
}

.service-card:nth-child(3) {
    transition-delay: 0.2s;
}

/* ============================================================ */

.projects-section {
    padding: 80px 0;
    background: var(--bg);
}

.projects-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 60px 0 48px;
}

.filter-btn {
    padding: 9px 22px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: none;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
}

.filter-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    width: 3px;
    height: 60%;
    background: var(--gold);
    transition: transform 0.3s var(--ease-out-expo);
}

.filter-btn:hover::before,
.filter-btn.active::before {
    transform: translateY(-50%) scaleX(1);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--gold);
    color: var(--text);
}

.filter-btn.active {
    color: var(--gold);
}

.projects-masonry {
    columns: 3;
    column-gap: 20px;
}

.project-card {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    cursor: none;
    border-radius: 1px;
}

.project-card-img {
    width: 100%;
    display: block;
    transition: transform 0.7s var(--ease-out-expo);
}

.project-card:hover .project-card-img {
    transform: scale(1.07);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 50%);
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.4s var(--ease-out-expo), opacity 0.4s;
}

.project-card:hover .project-card-info {
    transform: translateY(0);
    opacity: 1;
}

.project-card-tag {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
    display: block;
}

.project-card-name {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
}

.project-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.project-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--ease-out-expo), background 0.3s;
}

.project-card:hover .project-play-btn {
    transform: translate(-50%, -50%) scale(1);
}

.project-play-btn:hover {
    background: var(--gold);
}

.project-play-btn svg {
    margin-left: 4px;
}

/* Cursor label */
#cursor-label {
    position: fixed;
    z-index: 99997;
    pointer-events: none;
    background: var(--gold);
    color: #000;
    padding: 8px 16px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.25s, transform 0.25s;
}

#cursor-label.visible {
    opacity: 1;
    transform: scale(1);
}

/* Video lightbox */
#lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

#lightbox.open {
    opacity: 1;
    pointer-events: all;
}

/* ============================================================
       SPLIT-PANEL PROJECT MODAL
    ============================================================ */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out-expo);
}

.project-modal.open {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    display: flex;
    width: 90vw;
    max-width: 1400px;
    height: 85vh;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transform: translateY(40px) scale(0.98);
    transition: transform 0.6s var(--ease-out-expo);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.project-modal.open .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: transparent;
    border: none;
    color: var(--text);
    cursor: none;
    z-index: 10000;
    padding: 10px;
    transition: color 0.3s, transform 0.3s;
}

.modal-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

/* Left Panel: Gallery */
.modal-gallery {
    flex: 1.4;
    background: #000;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-media-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-media-wrap img,
.modal-media-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-expo);
}

.modal-media-wrap img.active,
.modal-media-wrap video.active {
    opacity: 1;
    position: relative;
}

.modal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(10, 10, 10, 0.9);
    border-top: 1px solid var(--border);
}

.modal-nav-btn {
    background: transparent;
    border: none;
    color: var(--text);
    cursor: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.modal-nav-btn:hover:not(:disabled) {
    color: var(--gold);
}

.modal-nav-btn:disabled {
    opacity: 0.3;
}

.modal-counter {
    font-size: 13px;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

/* Right Panel: Info */
.modal-info {
    flex: 1;
    padding: 60px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-tag {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 40px;
    color: #fff;
}

.modal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.modal-meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-label {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.meta-value {
    font-size: 15px;
    color: var(--text);
}

.modal-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin-bottom: 40px;
}

.modal-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

/* Scrollbar for modal info */
.modal-info::-webkit-scrollbar {
    width: 6px;
}

.modal-info::-webkit-scrollbar-track {
    background: transparent;
}

.modal-info::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.modal-info::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dim);
}

@media (max-width: 900px) {
    .modal-content {
        flex-direction: column;
        height: 90vh;
        width: 95vw;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
    }

    .modal-gallery {
        flex: none;
        height: 45vh;
    }

    .modal-nav {
        padding: 12px 20px;
    }

    .modal-info {
        flex: 1;
        padding: 30px 24px;
    }

    .modal-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .modal-meta-grid {
        gap: 20px;
        margin-bottom: 30px;
    }
}

#lightbox video,
#lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 32px;
    color: var(--text-muted);
    cursor: none;
    transition: color 0.3s;
    background: none;
    border: none;
}

.lightbox-close:hover {
    color: var(--gold);
}

.lightbox-caption {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* reveal on scroll */
.project-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.project-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================ */

.stats-strip {
    padding: 100px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.stats-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg, transparent, transparent 40px,
            rgba(201, 169, 110, 0.03) 40px, rgba(201, 169, 110, 0.03) 41px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(52px, 6vw, 80px);
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
    display: block;
}

.stat-suffix {
    font-size: 0.5em;
}

.stat-label {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 12px;
    display: block;
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.stat-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:nth-child(1).in-view {
    transition-delay: 0s;
}

.stat-item:nth-child(2).in-view {
    transition-delay: 0.1s;
}

.stat-item:nth-child(3).in-view {
    transition-delay: 0.2s;
}

.stat-item:nth-child(4).in-view {
    transition-delay: 0.3s;
}

/* ============================================================ */

.team-section {
    padding: 80px 0;
    background: var(--bg);
}

.founder-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin: 80px 0 100px;
}

/* .founder-text-col — no styles needed */

.founder-name {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 8px;
}

.founder-role {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.founder-bio-text {
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 24px;
}

.founder-creds {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.founder-creds span {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.founder-creds span::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--gold);
}

.founder-img-col {
    position: relative;
}

.founder-curtain-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    border-radius: 1px;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.curtain-left,
.curtain-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 51%;
    background: var(--gold);
    z-index: 2;
    transform: translateX(0);
    transition: transform 0.9s var(--ease-out-expo);
}

.curtain-left {
    left: 0;
    transform-origin: left;
}

.curtain-right {
    right: 0;
    transform-origin: right;
}

.founder-curtain-wrap.revealed .curtain-left {
    transform: translateX(-101%);
}

.founder-curtain-wrap.revealed .curtain-right {
    transform: translateX(101%);
}

/* team cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: none;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s, border-color 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.team-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo), box-shadow 0.4s, border-color 0.3s;
}

.team-card:nth-child(2).in-view {
    transition-delay: 0.1s;
}

.team-card:nth-child(3).in-view {
    transition-delay: 0.2s;
}

.team-card:nth-child(4).in-view {
    transition-delay: 0.3s;
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    border-color: var(--gold-dim);
}

.team-card-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: top;
    display: block;
}

.team-card-info {
    padding: 20px;
}

.team-card-name {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 4px;
}

.team-card-role {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ============================================================ */

.testimonials-section {
    padding: 80px 0;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 80px;
    align-items: start;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(201, 169, 110, 0.15);
    padding: 40px 36px;
    backdrop-filter: blur(20px);
    position: relative;
    transition: border-color 0.4s, transform 0.4s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(40px);
}

.testimonial-card.in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo), border-color 0.4s;
}

.testimonial-card:nth-child(2) {
    margin-top: 40px;
    transition-delay: 0.1s;
}

.testimonial-card:nth-child(3) {
    margin-top: 20px;
    transition-delay: 0.2s;
}

.testimonial-card:hover {
    border-color: rgba(201, 169, 110, 0.4);
    transform: translateY(-6px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.star-svg {
    width: 14px;
    height: 14px;
}

.star-svg path {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1.5;
}

.testimonial-card.in-view .star-svg path {
    fill: var(--gold);
    transition: fill 0.3s;
}

.testimonial-card.in-view .testimonial-stars svg:nth-child(1) path {
    transition-delay: 0.3s;
}

.testimonial-card.in-view .testimonial-stars svg:nth-child(2) path {
    transition-delay: 0.4s;
}

.testimonial-card.in-view .testimonial-stars svg:nth-child(3) path {
    transition-delay: 0.5s;
}

.testimonial-card.in-view .testimonial-stars svg:nth-child(4) path {
    transition-delay: 0.6s;
}

.testimonial-card.in-view .testimonial-stars svg:nth-child(5) path {
    transition-delay: 0.7s;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 17px;
    font-style: italic;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 24px;
}

.testimonial-text::before {
    content: '\201C';
    color: var(--gold);
    font-size: 36px;
    line-height: 0;
    vertical-align: -10px;
    margin-right: 4px;
}

.testimonial-author {
    font-size: 13px;
    letter-spacing: 0.05em;
}

.testimonial-author-name {
    color: var(--text);
    font-weight: 500;
}

.testimonial-author-detail {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 2px;
}

/* shimmer border */
.testimonial-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, transparent 30%, rgba(201, 169, 110, 0.2) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: shimmer 4s ease infinite;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s;
}

.testimonial-card:hover::after {
    opacity: 1;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ============================================================ */

.contact-section {
    padding: 80px 0;
    background: var(--bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    margin-top: 80px;
}

/* .contact-form-wrap — no extra styles needed */

.form-group {
    position: relative;
    margin-bottom: 36px;
}

.form-group label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    padding: 12px 0;
    outline: none;
    transition: border-color 0.3s;
}

.form-input::placeholder {
    color: var(--border);
}

.form-input:focus {
    border-color: transparent;
}

.form-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 0%;
    background: var(--gold);
    transition: width 0.5s var(--ease-out-expo);
}

.form-input:focus~.form-underline {
    width: 100%;
}

select.form-input {
    appearance: none;
    cursor: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 12px;
}

select.form-input option {
    background: var(--surface);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    cursor: none;
    overflow: hidden;
    transition: color 0.4s;
}

.btn-submit-fill {
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateY(101%);
    transition: transform 0.5s var(--ease-out-expo);
}

.btn-submit:hover .btn-submit-fill {
    transform: translateY(0);
}

.btn-submit:hover {
    color: #0A0A0A;
}

.btn-submit span {
    position: relative;
    z-index: 1;
}

/* contact info */
/* .contact-info-col — no extra styles needed */

.contact-info-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 40px;
}

.contact-detail {
    margin-bottom: 32px;
}

.contact-detail-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.contact-detail-value {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-detail-value a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.contact-detail-value a:hover {
    color: var(--gold);
}

.social-links-row {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    transition: border-color 0.3s, color 0.3s;
    color: var(--text-muted);
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================================ */

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {

    .services-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .founder-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-track {
        flex-direction: column;
        padding: 20px;
    }

    .process-step {
        min-width: unset;
        flex: 1 1 auto;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .projects-masonry {
        columns: 2;
    }

    nav.nav {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 999;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

    .nav-cta {
        display: none;
    }

    footer .container[style*="grid-template-columns"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 500px) {
    .projects-masonry {
        columns: 1;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================ */
/* WHATSAPP FLOATING BUTTON */
/* ============================================================ */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}