:root {
    --bg-dark: #101010;
    --bg-light: #1c1c1c;
    --bg-card: #141414;
    --text-main: #f0f0f0;
    --text-muted: #8a8a8a;
    --accent-orange: #d47c49;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --font-heading: 'Clash Display', 'SF Pro Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-body: 'Outfit', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition-smooth: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--bg-dark);
}

body {
    background: radial-gradient(circle at top left, var(--bg-light), var(--bg-dark) 80%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

@media (hover: hover) and (pointer: fine) {
    body.has-mouse {
        cursor: none;
    }
    body.has-mouse a,
    body.has-mouse button,
    body.has-mouse .project-card {
        cursor: none;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

ul {
    list-style: none;
}

/* Subtle Architectural Film Grain */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Custom Cursor */
.cursor,
.cursor-follower {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    body.has-mouse .cursor,
    body.has-mouse .cursor-follower {
        display: block;
    }
}

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.25s, height 0.25s;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(212, 124, 73, 0.45);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

body.hovering .cursor {
    width: 0;
    height: 0;
}

body.hovering .cursor-follower {
    width: 68px;
    height: 68px;
    background-color: rgba(212, 124, 73, 0.08);
    border-color: rgba(212, 124, 73, 0.45);
}

body.scrolling-gallery .cursor-follower {
    width: 110px;
    height: 110px;
    background-color: rgba(212, 124, 73, 0.12);
    border-color: var(--accent-orange);
    border-radius: 60px;
}

body.scrolling-gallery .cursor {
    width: 0;
    height: 0;
}

body.scrolling-gallery .cursor-follower::after {
    content: 'DRAG';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--accent-orange);
}

/* Preloader (Only visible when JS is active; never traps iOS Quick Look / No-JS viewers) */
.preloader {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

html.js-ok .preloader {
    display: flex;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    width: min(320px, 78vw);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--text-main);
    text-align: center;
}

.preloader-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.preloader-count {
    color: var(--accent-orange);
    font-variant-numeric: tabular-nums;
}

.preloader-track {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.preloader-progress {
    width: 0%;
    height: 100%;
    background-color: var(--accent-orange);
}

/* Navigation & Scrollspy */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-ar {
    color: var(--text-main);
}

.logo-text {
    color: var(--accent-orange);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-item {
    position: relative;
    padding-bottom: 8px;
}

.nav-item a {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.nav-item:hover a,
.nav-item.active a {
    opacity: 1;
}

.nav-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 1px;
    background-color: var(--accent-orange);
    transform: translateX(-50%);
}

/* Typography Utility */
.accent-text {
    color: var(--accent-orange);
    font-style: italic;
    font-weight: 400;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    filter: brightness(0.56) saturate(0.9);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-dark) 4%, rgba(16, 16, 16, 0.3) 55%, rgba(16, 16, 16, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 6vh;
    padding: 0 5vw;
}

.hero-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 7.2rem);
    line-height: 1.03;
    font-weight: 500;
    text-transform: uppercase;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
}

.hero-subtitle {
    margin-top: 1.8rem;
    font-size: clamp(0.8rem, 1.1vw, 1rem);
    color: #b8b8b8;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    z-index: 2;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-indicator span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted);
}

.line-down {
    width: 1px;
    height: 68px;
    background: linear-gradient(to bottom, var(--accent-orange), transparent);
    animation: scrollLine 2.5s infinite cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Projects Section */
.projects-section {
    padding: 160px 9vw 140px;
    background-color: var(--bg-dark);
}

.section-header {
    margin-bottom: 110px;
    text-align: center;
}

.section-kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: var(--accent-orange);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 500;
    margin-bottom: 22px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.7;
    margin: 0 auto;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 90px 44px;
    align-items: start;
}

.project-card {
    position: relative;
    cursor: pointer;
}

/* Staggered Editorial Grid for 6 Curated Collections */
.project-card[data-category="living"]     { grid-column: 1 / 7; }
.project-card[data-category="suites"]     { grid-column: 8 / 13; margin-top: 110px; }
.project-card[data-category="kitchen"]    { grid-column: 2 / 7;  margin-top: 10px; }
.project-card[data-category="commercial"] { grid-column: 7 / 13; margin-top: 100px; }
.project-card[data-category="exterior"]   { grid-column: 1 / 6;  margin-top: 20px; }
.project-card[data-category="service"]    { grid-column: 7 / 12; margin-top: 110px; }

/* The Deep Shadow Trick (Calm & Luxurious) */
.project-image-box {
    position: relative;
    width: 100%;
    height: 48vh;
    min-height: 320px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.project-card[data-category="living"] .project-image-box,
.project-card[data-category="commercial"] .project-image-box {
    height: 52vh;
}

.project-card[data-category="service"] .project-image-box {
    height: 44vh;
}

.project-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) saturate(0.65);
    transform: scale(1.0);
    transition: filter 0.9s var(--transition-smooth), transform 1.2s var(--transition-smooth);
}

.project-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 6px 12px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-main);
    background: rgba(16, 16, 16, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.explore-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    padding: 13px 26px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.74rem;
    opacity: 0;
    transition: transform 0.55s var(--transition-smooth), opacity 0.55s var(--transition-smooth), border-color 0.3s, color 0.3s;
    z-index: 2;
    background: rgba(16, 16, 16, 0.55);
    backdrop-filter: blur(6px);
}

html:not(.js-ok) .explore-btn {
    display: none;
}

.project-card:hover .project-img {
    filter: brightness(1) saturate(1.08);
    transform: scale(1.05);
}

.project-card:hover .explore-btn {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.project-card:hover .explore-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.project-info {
    margin-top: 20px;
}

.project-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.project-num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--accent-orange);
    letter-spacing: 0.1em;
    padding-top: 5px;
}

.project-category {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.3s;
}

.project-card:hover .project-category {
    color: var(--accent-orange);
}

.project-sub {
    margin-top: 6px;
    font-size: 0.88rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* Native HTML+CSS Gallery Drawer (Works in iOS Quick Look & Zero-JS Environments) */
.nojs-gallery {
    margin-top: 16px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

html.js-ok .nojs-gallery {
    display: none;
}

.nojs-summary {
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-orange);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nojs-summary::-webkit-details-marker {
    display: none;
}

.nojs-summary::after {
    content: '+';
    font-size: 1rem;
    line-height: 1;
}

.nojs-gallery[open] .nojs-summary::after {
    content: '−';
}

.nojs-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 14px 16px 18px;
    border-top: 1px solid var(--border-subtle);
}

.nojs-frame {
    flex: 0 0 82%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nojs-frame img {
    width: 100%;
    height: auto;
    max-height: 55vh;
    object-fit: contain;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nojs-frame span {
    font-size: 0.78rem;
    color: #cfcfcf;
    letter-spacing: 0.04em;
}

/* Collections View (Horizontal Art Exhibition) */
#collections-view {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

#collections-view.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.collection-header {
    position: relative;
    width: 100%;
    padding: 2rem 4rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
    flex-shrink: 0;
}

.collection-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.collection-kicker {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent-orange);
}

.collection-title-bg {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    font-weight: 500;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.collection-controls {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.collection-counter {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.collection-close {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding: 8px 0;
}

.close-line {
    width: 42px;
    height: 1px;
    background-color: var(--accent-orange);
    transition: width 0.3s;
}

.collection-close:hover .close-line {
    width: 100%;
}

.gallery-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    user-select: none;
}

.gallery-track {
    display: flex;
    gap: 6vw;
    padding: 0 12vw;
    height: 62vh;
    align-items: center;
    will-change: transform;
}

.gallery-item {
    flex-shrink: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    position: relative;
}

.gallery-media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.35s ease;
    cursor: zoom-in;
}

.gallery-item:hover .gallery-media {
    border-color: rgba(212, 124, 73, 0.55);
}

.gallery-item img {
    max-height: calc(62vh - 36px);
    max-width: 80vw;
    width: auto;
    height: auto;
    display: block;
    pointer-events: none;
    transition: transform 0.7s var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.018);
}

.gallery-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.gallery-caption-num {
    color: var(--accent-orange);
    font-family: var(--font-heading);
    font-variant-numeric: tabular-nums;
}

.gallery-caption-title {
    color: #cfcfcf;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gallery-footer {
    padding: 1rem 4rem 2.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-shrink: 0;
}

.gallery-nav-btns {
    display: flex;
    gap: 12px;
}

.gallery-nav-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-main);
    transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}

.gallery-nav-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    background-color: rgba(212, 124, 73, 0.08);
}

.gallery-progress {
    flex: 1;
    max-width: 340px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.gallery-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--accent-orange);
}

.gallery-hint {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

/* Fullscreen Lightbox */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.lightbox-stage {
    max-width: 88vw;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

#lightbox-img {
    max-width: 88vw;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-caption {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: #d8d8d8;
}

#lightbox-index {
    color: var(--accent-orange);
    font-family: var(--font-heading);
}

.lightbox-close {
    position: fixed;
    top: 28px;
    right: 40px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    padding: 10px 16px;
    border: 1px solid var(--border-subtle);
    transition: border-color 0.25s, color 0.25s;
}

.lightbox-close:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.lightbox-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: rgba(16, 16, 16, 0.7);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s, color 0.25s;
}

.lightbox-arrow:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

/* Expertise Section */
.expertise-section {
    position: relative;
    min-height: 115vh;
    padding: 110px 0;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
}

.expertise-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #171411 50%, var(--bg-dark) 100%);
    z-index: 0;
}

.expertise-container {
    width: 100%;
    padding: 0 9vw;
    position: relative;
    z-index: 1;
}

.expertise-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 6vw, 6.2rem);
    font-weight: 500;
    line-height: 1.02;
    text-transform: uppercase;
}

.exp-line {
    display: block;
}

.expertise-content {
    display: flex;
    gap: 90px;
    margin-top: 70px;
    align-items: flex-start;
}

.exp-stat {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: clamp(4.5rem, 8vw, 7.5rem);
    font-weight: 600;
    color: var(--accent-orange);
    line-height: 0.95;
}

.exp-label {
    margin-top: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.exp-text {
    max-width: 560px;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
}

.exp-text p {
    margin-bottom: 18px;
}

.expertise-pillars {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pillar-item {
    padding: 28px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.015);
    transition: border-color 0.35s ease, transform 0.35s ease;
}

.pillar-item:hover {
    border-color: rgba(212, 124, 73, 0.45);
    transform: translateY(-4px);
}

.pillar-num {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    color: var(--accent-orange);
    margin-bottom: 12px;
}

.pillar-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.pillar-item p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-muted);
}

/* Contact Section */
.about-section {
    padding: 140px 5vw 50px;
    background-color: var(--bg-dark);
    position: relative;
}

.about-container {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 1.08;
    margin-bottom: 50px;
}

.contact-trigger {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-bottom: 56px;
}

html.js-ok .contact-trigger {
    display: inline-flex;
}

.trigger-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 14px;
    transition: color 0.3s;
}

.trigger-line {
    width: 60px;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width 0.3s;
}

.contact-trigger:hover .trigger-text {
    color: var(--accent-orange);
}

.contact-trigger:hover .trigger-line {
    width: 110px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    height: auto;
    opacity: 1;
}

html.js-ok .contact-details {
    height: 0;
    overflow: hidden;
    opacity: 0;
}

.contact-link {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.8vw, 2.35rem);
    color: var(--text-main);
    transition: color 0.3s;
    word-break: break-word;
}

.contact-link:hover {
    color: var(--accent-orange);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.contact-pills {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-pill {
    padding: 10px 20px;
    border: 1px solid var(--border-subtle);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-main);
    transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}

.contact-pill:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    background-color: rgba(212, 124, 73, 0.08);
}

.footer {
    margin-top: 120px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 28px;
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar {
        padding: 1.6rem 2.2rem;
    }
    .nav-links {
        gap: 1.8rem;
    }
    .projects-section {
        padding: 120px 6vw 100px;
    }
    .projects-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 54px 28px;
    }
    .project-card[data-category] {
        grid-column: auto;
        margin-top: 0;
    }
    .project-image-box,
    .project-card[data-category="living"] .project-image-box,
    .project-card[data-category="commercial"] .project-image-box,
    .project-card[data-category="service"] .project-image-box {
        height: 36vh;
    }
    .expertise-content {
        flex-direction: column;
        gap: 36px;
    }
    .expertise-pillars {
        grid-template-columns: 1fr;
    }
    .collection-header,
    .gallery-footer {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 1.15rem 1.2rem;
    }
    .logo {
        font-size: 1.05rem;
        letter-spacing: 0.08em;
    }
    .nav-links {
        gap: 0.85rem;
    }
    .nav-item a {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }
    .projects-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .collection-header {
        padding: 1.2rem 1.4rem 0.6rem;
    }
    .collection-controls {
        gap: 1rem;
    }
    .gallery-track {
        height: 56vh;
        gap: 8vw;
        padding: 0 8vw;
    }
    .gallery-footer {
        padding: 0.8rem 1.4rem 1.6rem;
    }
    .gallery-hint {
        display: none;
    }
    .lightbox-arrow {
        width: 38px;
        height: 38px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 16px; right: 16px; }
}
