/* =====================================================
   DESIGN CONNECTION — CORE DESIGN SYSTEM & GLOBAL STYLES
   Commercial Interior Design & Build Studio
===================================================== */

:root {
    /* ================= CORE ARCHITECTURAL PALETTE ================= */
    --black: #111111;
    --dark-surface: #181818;
    --dark-card: #151515;
    --dark-border: rgba(255, 255, 255, 0.12);
    --white: #ffffff;
    --off-white: #f8f7f4;
    --cream-surface: #edeae3;
    --cream-border: #d8d4cb;

    /* ================= DESIGN CONNECTION BRAND LOGO PALETTE ================= */
    /* Primary Brand: Electric Cyan / Architectural Blue from Logotype */
    --brand-blue: #009fe3;
    --brand-blue-hover: #0085bf;
    --brand-blue-light: #38bdf8;
    --brand-blue-glow: rgba(0, 159, 227, 0.35);
    --brand-blue-bg: rgba(0, 159, 227, 0.08);
    --brand-blue-border: rgba(0, 159, 227, 0.28);

    /* Logo Architectural Plane Accents */
    --brand-yellow: #f5b800;
    --brand-yellow-glow: rgba(245, 184, 0, 0.3);
    --brand-yellow-bg: rgba(245, 184, 0, 0.08);
    --brand-yellow-border: rgba(245, 184, 0, 0.25);

    --brand-green: #23a74e;
    --brand-green-glow: rgba(35, 167, 78, 0.3);
    --brand-green-bg: rgba(35, 167, 78, 0.08);
    --brand-green-border: rgba(35, 167, 78, 0.25);

    --brand-magenta: #d62985;
    --brand-magenta-glow: rgba(214, 41, 133, 0.3);
    --brand-magenta-bg: rgba(214, 41, 133, 0.08);
    --brand-magenta-border: rgba(214, 41, 133, 0.25);

    /* Legacy compatibility alias */
    --accent-gold: var(--brand-blue);

    /* ================= TYPOGRAPHY & UI CONTRAST TOKENS ================= */
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #777777;
    --text-light: rgba(255, 255, 255, 0.92);
    --text-light-muted: rgba(255, 255, 255, 0.72);
    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --container-max: 1400px;
    --content-max: 1180px;
    --transition-fast: 0.25s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ================= RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

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

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

/* ================= TYPOGRAPHY UTILITIES ================= */
.section-label {
    margin-bottom: 24px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ================= SITE HEADER ================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 96px;
    z-index: 100;
    transition: background-color var(--transition-smooth), height var(--transition-smooth), backdrop-filter var(--transition-smooth), border-color var(--transition-smooth);
    background-color: rgb(0, 0, 0);
}

.site-header.scrolled {
    height: 76px;
    background: rgb(0, 0, 0);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--dark-border);
}

.header-inner {
    width: min(var(--container-max), calc(100% - 80px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(0, 0, 0);
}

.logo {
    display: flex;
    align-items: center;
    width: 180px;
}

.logo img {
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
    margin-left: auto;
    margin-right: 36px;
}

.main-nav a {
    position: relative;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light-muted);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    box-shadow: 0 0 8px var(--brand-blue-glow);
    transition: width var(--transition-fast);
}

.main-nav a:hover {
    color: var(--brand-blue-light);
}

.main-nav a.active {
    color: var(--white);
    font-weight: 600;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid var(--brand-blue);
    background: rgba(0, 159, 227, 0.14);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    box-shadow: 0 0 16px rgba(0, 159, 227, 0.25);
    overflow: hidden;
    isolation: isolate;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-smooth);
}

.header-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: headerCtaSweep 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes headerCtaSweep {

    0%,
    75% {
        left: -100%;
        opacity: 0;
    }

    80% {
        opacity: 1;
    }

    90%,
    100% {
        left: 200%;
        opacity: 0;
    }
}

.header-cta:hover {
    background: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 24px var(--brand-blue-glow);
}

.header-cta:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 10px rgba(0, 159, 227, 0.4);
}

.header-cta:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 3px;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    left: 9px;
    width: 26px;
    height: 1px;
    background: var(--white);
    transition: transform var(--transition-smooth), top var(--transition-smooth);
}

.menu-toggle span:first-child {
    top: 18px;
}

.menu-toggle span:last-child {
    top: 26px;
}

.menu-toggle.active span:first-child {
    top: 22px;
    transform: rotate(45deg);
}

.menu-toggle.active span:last-child {
    top: 22px;
    transform: rotate(-45deg);
}

/* Mobile Menu Drawer */
.mobile-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    padding: 20px 24px 32px;
    display: flex;
    flex-direction: column;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
    border-bottom: 1px solid var(--dark-border);
    z-index: 99;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light-muted);
}

.mobile-menu a:hover {
    color: var(--white);
}

.mobile-menu .mobile-menu-cta {
    position: relative;
    margin-top: 20px;
    padding: 15px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-weight: 500;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.mobile-menu .mobile-menu-cta:active {
    background: var(--white);
    color: var(--black);
    transform: scale(0.98);
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.52) 40%, rgba(0, 0, 0, 0.22) 80%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
}

.hero-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(var(--container-max), calc(100% - 80px));
    margin: 0 auto;
    padding-top: 60px;
    animation: heroFadeIn 1s var(--transition-smooth) both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow {
    margin-bottom: 24px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--brand-blue);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--brand-yellow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-yellow-glow);
}

.hero-content h1 {
    max-width: 840px;
    font-family: var(--font-heading);
    font-size: clamp(52px, 6.8vw, 104px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: var(--white);
}

.hero-content h1 span {
    display: block;
    color: rgba(255, 255, 255, 0.92);
}

.hero-description {
    max-width: 540px;
    margin-top: 30px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.btn {
    position: relative;
    min-height: 52px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    overflow: hidden;
    isolation: isolate;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-smooth);
}

.btn span {
    font-size: 16px;
    display: inline-block;
    transition: transform var(--transition-smooth);
}

.btn-light {
    background: var(--brand-blue);
    color: var(--white);
    border: 1px solid var(--brand-blue);
    box-shadow: 0 6px 20px var(--brand-blue-glow);
}

.btn-light::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    animation: btnLightSweep 7s ease-in-out infinite 3.5s;
    pointer-events: none;
    z-index: 1;
}

@keyframes btnLightSweep {

    0%,
    75% {
        left: -100%;
        opacity: 0;
    }

    80% {
        opacity: 1;
    }

    90%,
    100% {
        left: 200%;
        opacity: 0;
    }
}

.btn-light:hover {
    background: var(--brand-blue-hover);
    color: var(--white);
    border-color: var(--brand-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--brand-blue-glow), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-light:hover span {
    transform: translate(4px, -4px);
}

.btn-light:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
    background: rgba(0, 159, 227, 0.12);
    color: var(--white);
    border-color: var(--brand-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--brand-blue-glow);
}

.btn-outline:hover span {
    transform: translate(4px, -4px);
}

.btn-outline:active {
    transform: translateY(0) scale(0.98);
}

.btn:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 3px;
}

.hero-bottom {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 30px;
    width: min(var(--container-max), calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
}

.hero-location,
.hero-number {
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--text-light-muted);
}

.hero-number {
    text-align: right;
}

.hero-number span {
    opacity: 0.4;
    margin: 0 4px;
}

.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-scroll span {
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light-muted);
}

.scroll-line {
    width: 2px;
    height: 44px;
    background: rgba(0, 159, 227, 0.25);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: "";
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 50%;
    background: var(--brand-blue);
    box-shadow: 0 0 10px var(--brand-blue);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        top: -100%;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 100%;
    }
}

/* ================= COMMERCIAL PROJECTS SECTION ================= */
.projects-section {
    background: var(--off-white);
    color: var(--text-primary);
    padding: 90px 0 130px;
}

.projects-intro {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto 70px;
}

.projects-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 80px;
    align-items: end;
}

.projects-heading-row h2 {
    font-family: var(--font-heading);
    font-size: clamp(44px, 5.5vw, 84px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--text-primary);
}

.projects-heading-row h2 span {
    display: block;
    color: var(--text-muted);
}

.projects-heading-row p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* Project Category Filter Bar */
.project-filters {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    gap: 32px;
    border-bottom: 1px solid var(--cream-border);
}

.project-filter {
    position: relative;
    padding: 0 0 16px;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.project-filter::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    transition: width var(--transition-smooth);
}

.project-filter:hover {
    color: var(--brand-blue);
}

.project-filter.active {
    color: var(--brand-blue);
    font-weight: 600;
}

.project-filter[data-filter="corporate"].active {
    color: var(--brand-blue);
}

.project-filter[data-filter="corporate"].active::after {
    background: var(--brand-blue);
    box-shadow: 0 0 8px var(--brand-blue-glow);
}

.project-filter[data-filter="retail"].active {
    color: #c98a00;
}

.project-filter[data-filter="retail"].active::after {
    background: var(--brand-yellow);
    box-shadow: 0 0 8px var(--brand-yellow-glow);
}

.project-filter[data-filter="hospitality"].active {
    color: var(--brand-green);
}

.project-filter[data-filter="hospitality"].active::after {
    background: var(--brand-green);
    box-shadow: 0 0 8px var(--brand-green-glow);
}

.project-filter.active::after,
.project-filter:hover::after {
    width: 100%;
}

.project-filter:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

/* Projects Grid */
.projects-grid {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 36px;
    row-gap: 70px;
}

.project-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.project-card[hidden],
.project-card.is-filtered-out {
    display: none !important;
}

.project-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e6e1;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: border-color var(--transition-fast), box-shadow var(--transition-smooth);
}

.project-card:hover .project-image {
    border-color: var(--brand-blue-border);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-image-number {
    position: absolute;
    right: 20px;
    bottom: 16px;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--white);
    z-index: 2;
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 35%);
    pointer-events: none;
}

.project-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 0 0;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.project-card:hover .project-info h3 {
    color: var(--brand-blue);
}

.project-info span {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Category-specific sector badges with logo colors */
.project-sector-tag {
    display: inline-block;
    color: var(--brand-blue) !important;
    background: var(--brand-blue-bg);
    border: 1px solid var(--brand-blue-border);
    padding: 3px 10px;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.12em;
}

.project-card[data-category="corporate"] .project-sector-tag {
    color: var(--brand-blue) !important;
    background: var(--brand-blue-bg);
    border-color: var(--brand-blue-border);
}

.project-card[data-category="retail"] .project-sector-tag {
    color: #b88200 !important;
    background: var(--brand-yellow-bg);
    border-color: var(--brand-yellow-border);
}

.project-card[data-category="hospitality"] .project-sector-tag {
    color: var(--brand-green) !important;
    background: var(--brand-green-bg);
    border-color: var(--brand-green-border);
}

.project-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-blue);
    font-weight: 600;
    white-space: nowrap;
    margin-top: 6px;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.project-view .view-arrow {
    display: inline-block;
    transition: transform var(--transition-smooth);
}

.project-card:hover .project-view {
    color: var(--brand-blue-hover);
    transform: translateX(2px);
}

.project-card:hover .project-view .view-arrow {
    transform: translate(3px, -3px);
}

.projects-cta {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 80px auto 0;
    display: flex;
    justify-content: center;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--brand-blue);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-primary);
    font-weight: 600;
    transition: gap var(--transition-smooth), border-color var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
}

.text-link span {
    font-size: 16px;
    display: inline-block;
    color: var(--brand-blue);
    transition: transform var(--transition-smooth);
}

.text-link:hover {
    gap: 32px;
    transform: translateX(2px);
    border-bottom-color: var(--brand-blue-hover);
    color: var(--brand-blue);
}

.text-link:hover span {
    transform: translate(3px, -3px);
}

.text-link:active {
    transform: translateX(1px) scale(0.99);
}

.text-link:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 4px;
}

/* ================= 02 / CAPABILITIES & SERVICES (EDITORIAL INDEX) ================= */
.services-section {
    background: var(--black);
    color: var(--off-white);
    padding: 90px 0 130px;
    position: relative;
    border-top: 1px solid #222222;
}

.services-container {
    width: min(var(--container-max), calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(360px, 0.95fr) minmax(440px, 1.05fr);
    gap: 80px;
    align-items: start;
}

/* Left Column: Dynamic Sticky Project Photograph Viewport (Desktop) */
.services-visual-column {
    position: sticky;
    top: 120px;
    z-index: 10;
}

.services-image-frame {
    position: relative;
    width: 100%;
    border: 1px solid var(--dark-border);
    background: #151515;
    overflow: hidden;
}

.services-image-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.8;
    overflow: hidden;
    background: #111111;
}

.service-preview-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity var(--transition-smooth), transform var(--transition-slow);
    z-index: 1;
    pointer-events: none;
}

.service-preview-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.services-image-meta {
    padding: 14px 20px;
    background: #131313;
    border-top: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.services-image-label {
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-blue);
    transition: color var(--transition-fast);
}

/* Right Column: Editorial Capability Index */
.services-index-column {
    display: flex;
    flex-direction: column;
}

.services-intro {
    margin-bottom: 50px;
}

.services-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(40px, 4.8vw, 76px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.035em;
    color: var(--white);
    margin: 0 0 24px;
}

.services-intro h2 span {
    display: block;
    color: var(--text-muted);
}

.services-intro p {
    font-size: 14.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 560px;
}

.services-index-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #333333;
}

.service-index-item {
    position: relative;
    padding: 36px 20px 36px 16px;
    border-bottom: 1px solid #333333;
    border-left: 3px solid transparent;
    cursor: pointer;
    outline: none;
    transition: background var(--transition-fast), border-color var(--transition-fast), padding-left var(--transition-smooth);
}

/* Capability Item 1 — Interior Design (Electric Blue) */
.service-index-item:nth-child(1) {
    border-left-color: rgba(0, 159, 227, 0.4);
}

.service-index-item:nth-child(1) .service-num {
    color: var(--brand-blue);
    font-weight: 600;
}

.service-index-item:nth-child(1):hover,
.service-index-item:nth-child(1).active {
    background: var(--brand-blue-bg);
    border-left-color: var(--brand-blue);
    padding-left: 24px;
}

.service-index-item:nth-child(1) .service-deliverables span {
    color: var(--brand-blue-light);
    background: rgba(0, 159, 227, 0.08);
    border-color: var(--brand-blue-border);
}

.service-index-item:nth-child(1):hover .service-arrow,
.service-index-item:nth-child(1).active .service-arrow {
    color: var(--brand-blue);
}

/* Capability Item 2 — Turnkey Design & Build (Warm Yellow) */
.service-index-item:nth-child(2) {
    border-left-color: rgba(245, 184, 0, 0.4);
}

.service-index-item:nth-child(2) .service-num {
    color: var(--brand-yellow);
    font-weight: 600;
}

.service-index-item:nth-child(2):hover,
.service-index-item:nth-child(2).active {
    background: var(--brand-yellow-bg);
    border-left-color: var(--brand-yellow);
    padding-left: 24px;
}

.service-index-item:nth-child(2) .service-deliverables span {
    color: #fed766;
    background: rgba(245, 184, 0, 0.08);
    border-color: var(--brand-yellow-border);
}

.service-index-item:nth-child(2):hover .service-arrow,
.service-index-item:nth-child(2).active .service-arrow {
    color: var(--brand-yellow);
}

/* Capability Item 3 — Project Management (Architectural Green) */
.service-index-item:nth-child(3) {
    border-left-color: rgba(35, 167, 78, 0.4);
}

.service-index-item:nth-child(3) .service-num {
    color: var(--brand-green);
    font-weight: 600;
}

.service-index-item:nth-child(3):hover,
.service-index-item:nth-child(3).active {
    background: var(--brand-green-bg);
    border-left-color: var(--brand-green);
    padding-left: 24px;
}

.service-index-item:nth-child(3) .service-deliverables span {
    color: #86efac;
    background: rgba(35, 167, 78, 0.08);
    border-color: var(--brand-green-border);
}

.service-index-item:nth-child(3):hover .service-arrow,
.service-index-item:nth-child(3).active .service-arrow {
    color: var(--brand-green);
}

/* Capability Item 4 — Bespoke Joinery & Fitouts (Vivid Magenta) */
.service-index-item:nth-child(4) {
    border-left-color: rgba(214, 41, 133, 0.4);
}

.service-index-item:nth-child(4) .service-num {
    color: var(--brand-magenta);
    font-weight: 600;
}

.service-index-item:nth-child(4):hover,
.service-index-item:nth-child(4).active {
    background: var(--brand-magenta-bg);
    border-left-color: var(--brand-magenta);
    padding-left: 24px;
}

.service-index-item:nth-child(4) .service-deliverables span {
    color: #f472b6;
    background: rgba(214, 41, 133, 0.08);
    border-color: var(--brand-magenta-border);
}

.service-index-item:nth-child(4):hover .service-arrow,
.service-index-item:nth-child(4).active .service-arrow {
    color: var(--brand-magenta);
}

.service-index-item:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: -2px;
}

.service-item-header {
    display: flex;
    align-items: baseline;
    gap: 22px;
    margin-bottom: 12px;
}

.service-num {
    font-size: 12px;
    letter-spacing: 0.16em;
    flex-shrink: 0;
}

.service-title-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.service-title-group h3 {
    font-family: var(--font-heading);
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 400;
    color: var(--white);
    margin: 0;
    transition: color var(--transition-fast);
}

.service-arrow {
    font-size: 16px;
    color: var(--text-muted);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.service-desc {
    margin: 0 0 0 34px;
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
}

.service-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 16px 0 0 34px;
}

.service-deliverables span {
    font-size: 9.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.service-mobile-image {
    display: none;
    width: 100%;
    margin: 18px 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1c1c1c;
    border: 1px solid var(--dark-border);
}

.service-mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-cta {
    margin-top: 50px;
}

.services-cta .text-link {
    color: var(--off-white);
    border-color: var(--brand-blue);
}

.services-cta .text-link:hover {
    border-color: var(--brand-blue-hover);
    color: var(--brand-blue);
}

/* ================= WHY DESIGN CONNECTION ================= */
.why-section {
    background: var(--off-white);
    color: var(--text-primary);
    padding: 80px 0 120px;
}

.why-intro {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto 90px;
}

.why-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 80px;
    align-items: end;
}

.why-heading-row h2 {
    font-family: var(--font-heading);
    font-size: clamp(44px, 5.5vw, 84px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.why-heading-row h2 span {
    display: block;
    color: var(--text-muted);
}

.why-copy p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.why-copy p:last-child {
    margin-bottom: 0;
}

.why-points {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--cream-border);
    border-left: 1px solid var(--cream-border);
}

.why-point {
    min-height: 220px;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 25px;
    padding: 38px;
    border-right: 1px solid var(--cream-border);
    border-bottom: 1px solid var(--cream-border);
    transition: background var(--transition-smooth), padding-left var(--transition-smooth), border-top-color var(--transition-fast);
}

/* 4 Trust Points with alternating logo brand color top borders */
.why-point:nth-child(1) {
    border-top: 3px solid var(--brand-blue);
}

.why-point:nth-child(1) .why-point-number {
    color: var(--brand-blue);
    font-weight: 600;
}

.why-point:nth-child(1):hover {
    background: rgba(0, 159, 227, 0.05);
    padding-left: 44px;
}

.why-point:nth-child(2) {
    border-top: 3px solid var(--brand-yellow);
}

.why-point:nth-child(2) .why-point-number {
    color: #b88200;
    font-weight: 600;
}

.why-point:nth-child(2):hover {
    background: rgba(245, 184, 0, 0.05);
    padding-left: 44px;
}

.why-point:nth-child(3) {
    border-top: 3px solid var(--brand-green);
}

.why-point:nth-child(3) .why-point-number {
    color: var(--brand-green);
    font-weight: 600;
}

.why-point:nth-child(3):hover {
    background: rgba(35, 167, 78, 0.05);
    padding-left: 44px;
}

.why-point:nth-child(4) {
    border-top: 3px solid var(--brand-magenta);
}

.why-point:nth-child(4) .why-point-number {
    color: var(--brand-magenta);
    font-weight: 600;
}

.why-point:nth-child(4):hover {
    background: rgba(214, 41, 133, 0.05);
    padding-left: 44px;
}

.why-point h3 {
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
}

.why-point p {
    font-size: 13px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0;
}

/* ================= 03 / METHODOLOGY & PROCESS (ARCHITECTURAL DELIVERY SPINE) ================= */
.process-section {
    background: #141414;
    color: var(--off-white);
    padding: 90px 0 120px;
    position: relative;
    border-top: 1px solid #242424;
}

.process-container {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto;
}

.process-intro {
    margin-bottom: 90px;
}

.process-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: 80px;
    align-items: end;
}

.process-heading-row h2 {
    font-family: var(--font-heading);
    font-size: clamp(44px, 5.5vw, 84px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.process-heading-row h2 span {
    display: block;
    color: var(--text-muted);
}

.process-heading-row p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Architectural Delivery Spine Layout */
.delivery-spine-wrapper {
    position: relative;
    padding: 20px 0;
    margin-bottom: 70px;
}

.spine-track-line {
    position: absolute;
    left: 24px;
    top: 30px;
    bottom: 60px;
    width: 2px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 1;
}

.spine-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: rgb(255, 255, 255);
    box-shadow: none;
    transition: height var(--transition-smooth);
}

.spine-stages-list {
    display: flex;
    flex-direction: column;
    gap: 46px;
    position: relative;
    z-index: 2;
}

.spine-stage {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 36px;

    align-items: start;
    opacity: 0.55;
    transform: translateY(6px);
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.spine-stage.is-active {
    opacity: 1;
    transform: translateY(0);
}

.spine-marker {
    display: flex;
    justify-content: center;
    padding-top: 4px;
    position: relative;
    z-index: 3;
}

.spine-node {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    border: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.node-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff;
    opacity: 1;
    position: relative;
    z-index: 4;
}

/* Multi-color Logo Stage Mapping */
/* Stage 1: Discover (Solid Electric Blue) */
.spine-stage:nth-child(1) .spine-node {
    background: var(--brand-blue);
}

.spine-stage:nth-child(1).is-active .spine-node {
    background: var(--brand-blue);
    box-shadow: 0 0 16px var(--brand-blue-glow);
}

.spine-stage:nth-child(1) .node-num,
.spine-stage:nth-child(1).is-active .node-num {
    color: #ffffff;
}

.spine-stage:nth-child(1) .spine-tag {
    color: var(--brand-blue);
    background: var(--brand-blue-bg);
    border: 1px solid var(--brand-blue-border);
    font-weight: 600;
}

/* Stage 2: Strategise (Solid Warm Yellow) */
.spine-stage:nth-child(2) .spine-node {
    background: var(--brand-yellow);
}

.spine-stage:nth-child(2).is-active .spine-node {
    background: var(--brand-yellow);
    box-shadow: 0 0 16px var(--brand-yellow-glow);
}

.spine-stage:nth-child(2) .node-num,
.spine-stage:nth-child(2).is-active .node-num {
    color: #ffffff;
}

.spine-stage:nth-child(2) .spine-tag {
    color: var(--brand-yellow);
    background: var(--brand-yellow-bg);
    border: 1px solid var(--brand-yellow-border);
    font-weight: 600;
}

/* Stage 3: Design (Solid Vivid Magenta) */
.spine-stage:nth-child(3) .spine-node {
    background: var(--brand-magenta);
}

.spine-stage:nth-child(3).is-active .spine-node {
    background: var(--brand-magenta);
    box-shadow: 0 0 16px var(--brand-magenta-glow);
}

.spine-stage:nth-child(3) .node-num,
.spine-stage:nth-child(3).is-active .node-num {
    color: #ffffff;
}

.spine-stage:nth-child(3) .spine-tag {
    color: var(--brand-magenta);
    background: var(--brand-magenta-bg);
    border: 1px solid var(--brand-magenta-border);
    font-weight: 600;
}

/* Stage 4: Build (Solid Architectural Green) */
.spine-stage:nth-child(4) .spine-node {
    background: var(--brand-green);
}

.spine-stage:nth-child(4).is-active .spine-node {
    background: var(--brand-green);
    box-shadow: 0 0 16px var(--brand-green-glow);
}

.spine-stage:nth-child(4) .node-num,
.spine-stage:nth-child(4).is-active .node-num {
    color: #ffffff;
}

.spine-stage:nth-child(4) .spine-tag {
    color: var(--brand-green);
    background: var(--brand-green-bg);
    border: 1px solid var(--brand-green-border);
    font-weight: 600;
}

/* Stage 5: Deliver (Solid Electric Blue) */
.spine-stage:nth-child(5) .spine-node {
    background: var(--brand-blue);
}

.spine-stage:nth-child(5).is-active .spine-node {
    background: var(--brand-blue);
    box-shadow: 0 0 16px var(--brand-blue-glow);
}

.spine-stage:nth-child(5) .node-num,
.spine-stage:nth-child(5).is-active .node-num {
    color: #ffffff;
}

.spine-stage:nth-child(5) .spine-tag {
    color: var(--brand-blue);
    background: var(--brand-blue-bg);
    border: 1px solid var(--brand-blue-border);
    font-weight: 600;
}

.spine-body {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.spine-stage:last-child .spine-body {
    border-bottom: none;
    padding-bottom: 0;
}

.spine-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.spine-header h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--white);
    margin: 0;
}

.spine-tag {
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 3px 8px;
}

.spine-headline {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 10px;
}

.spine-desc {
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    max-width: 720px;
}

.process-bottom {
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.process-bottom p {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
}

.process-bottom p span {
    color: var(--text-muted);
}

.process-bottom .text-link {
    color: var(--off-white);
    border-color: var(--brand-blue);
    flex-shrink: 0;
}

.process-bottom .text-link:hover {
    border-color: var(--brand-blue-hover);
    color: var(--brand-blue);
}

/* ================= RESIDENTIAL TEASER (HOMEPAGE) ================= */
.residential-section {
    min-height: 700px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: #e9e5de;
    color: var(--text-primary);
}

.residential-image {
    min-height: 650px;
    padding: 40px;
}

.residential-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 570px;
    position: relative;
    overflow: hidden;
    background: #d8d3cb;
}

.residential-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.residential-section:hover .residential-image-wrapper img {
    transform: scale(1.03);
}

.residential-image-badge {
    position: absolute;
    right: 25px;
    bottom: 20px;
    font-family: var(--font-heading);
    font-size: 32px;
    color: rgba(0, 0, 0, 0.15);
}

.residential-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 12% 70px 8%;
}

.residential-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(44px, 5.5vw, 84px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.residential-content h2 span {
    display: block;
    color: var(--text-muted);
}

.residential-content p {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.residential-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--text-primary);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-primary);
    transition: gap var(--transition-smooth), border-color var(--transition-fast), transform var(--transition-fast);
}

.residential-link span {
    font-size: 16px;
    display: inline-block;
    transition: transform var(--transition-smooth);
}

.residential-link:hover {
    gap: 32px;
    transform: translateX(2px);
    border-bottom-color: var(--brand-blue);
    color: var(--brand-blue);
}

.residential-link:hover span {
    transform: translate(3px, -3px);
}

.residential-link:active {
    transform: translateX(1px) scale(0.99);
}

.residential-link:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 4px;
}

/* ================= LEAD GENERATION / CONTACT ================= */
.contact-section {
    background: var(--off-white);
    color: var(--text-primary);
    padding: 90px 0 130px;
}

.contact-intro {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto 70px;
}

.contact-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(46px, 6vw, 94px);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: -0.045em;
}

.contact-intro h2 span {
    display: block;
    color: var(--text-muted);
}

.contact-intro p {
    max-width: 520px;
    margin-top: 24px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Subtle Trust Indicators */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
    border: 1px solid var(--cream-border);
    transition: transform var(--transition-fast);
}

/* 4 Trust pills with logo colors */
.trust-pill:nth-child(1) {
    border-left: 3px solid var(--brand-blue);
    background: var(--brand-blue-bg);
}

.trust-pill:nth-child(2) {
    border-left: 3px solid var(--brand-yellow);
    background: var(--brand-yellow-bg);
}

.trust-pill:nth-child(3) {
    border-left: 3px solid var(--brand-green);
    background: var(--brand-green-bg);
}

.trust-pill:nth-child(4) {
    border-left: 3px solid var(--brand-magenta);
    background: var(--brand-magenta-bg);
}

.contact-layout {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 90px;
    align-items: start;
}

.contact-details {
    border-top: 1px solid var(--cream-border);
}

.contact-detail {
    padding: 26px 0;
    border-bottom: 1px solid var(--cream-border);
}

.contact-detail span {
    display: block;
    margin-bottom: 8px;
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-blue);
    font-weight: 600;
}

.contact-detail a {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.contact-detail a:hover {
    color: var(--brand-blue);
}

.project-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
}

.form-field label {
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-bottom: 1px solid #bbbbbb;
    border-radius: 0;
    outline: none;
    background: transparent;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
}

.form-field select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%);
    background-position: calc(100% - 10px) calc(1em + 6px), calc(100% - 5px) calc(1em + 6px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.form-field select.preselected {
    border-bottom: 2px solid var(--brand-blue);
    color: var(--text-primary);
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
    padding-top: 12px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #999999;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-bottom: 2px solid var(--brand-blue);
}

/* Validation and Error States */
.form-field input.field-error,
.form-field select.field-error,
.form-field textarea.field-error {
    border-bottom-color: #d9534f !important;
    background-color: rgba(217, 83, 79, 0.03);
}

/* Form Status Banner */
.form-status-banner {
    margin-top: 20px;
    padding: 18px 24px;
    border-radius: 2px;
    font-size: 14px;
    line-height: 1.6;
    animation: bannerFadeIn 0.3s ease forwards;
}

@keyframes bannerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-status-banner.status-success {
    background: #eef7ee;
    border: 1px solid #c3e6cb;
    color: #1e5622;
}

.form-status-banner.status-error {
    background: #fdf2f2;
    border: 1px solid #f5c6cb;
    color: #842029;
}

.form-status-banner .status-fallback {
    margin-top: 8px;
    font-size: 13px;
}

.form-status-banner .status-fallback a {
    color: var(--black);
    font-weight: 600;
    text-decoration: underline;
}

.form-submit {
    position: relative;
    width: 100%;
    min-height: 56px;
    margin-top: 12px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--brand-blue);
    background: var(--brand-blue);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 8px 24px var(--brand-blue-glow);
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-smooth), opacity var(--transition-fast);
}

.form-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: formSubmitSweep 9s ease-in-out infinite 2s;
    pointer-events: none;
    z-index: 1;
}

@keyframes formSubmitSweep {

    0%,
    75% {
        left: -100%;
        opacity: 0;
    }

    80% {
        opacity: 1;
    }

    90%,
    100% {
        left: 200%;
        opacity: 0;
    }
}

.form-submit .btn-icon {
    font-size: 18px;
    display: inline-block;
    transition: transform var(--transition-smooth);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.form-submit:hover:not(:disabled) {
    background: var(--brand-blue-hover);
    border-color: var(--brand-blue-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--brand-blue-glow);
}

.form-submit:hover:not(:disabled) .btn-icon {
    transform: translate(3px, -3px);
}

.form-submit:active:not(:disabled) {
    transform: translateY(0) scale(0.99);
    box-shadow: 0 4px 14px rgba(0, 159, 227, 0.4);
}

.form-submit:focus-visible {
    outline: 2px solid var(--brand-blue);
    outline-offset: 3px;
}

.form-note {
    margin-top: 14px;
    font-size: 11px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ================= SITE FOOTER ================= */
.site-footer {
    background: var(--black);
    color: var(--off-white);
    padding: 90px 0 30px;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-yellow) 33%, var(--brand-magenta) 66%, var(--brand-green) 100%) 1;
}

.footer-top {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    padding-bottom: 80px;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    font-size: 20px;
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: 0.12em;
    color: var(--white);
}

.footer-logo span {
    font-size: 10px;
    letter-spacing: 0.28em;
    margin-top: 6px;
    color: var(--text-muted);
}

.footer-brand p {
    max-width: 320px;
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
}

.footer-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

.footer-title {
    margin-bottom: 22px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-blue);
}

.footer-column a {
    margin-bottom: 12px;
    font-size: 13px;
    color: #bbbbbb;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--brand-blue);
}

.footer-bottom {
    width: min(var(--content-max), calc(100% - 80px));
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid #262626;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: #666666;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #777777;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--brand-blue);
}

/* ================= FLOATING WHATSAPP BUTTON ================= */
.whatsapp-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 990;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: #111111;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    animation: whatsappAura 6s ease-in-out infinite;
    transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

@keyframes whatsappAura {

    0%,
    70% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(37, 211, 102, 0);
    }

    80% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 8px rgba(37, 211, 102, 0.22);
    }

    90%,
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

.whatsapp-button:hover {
    transform: translateY(-3px) scale(1.02);
    background: #1a1a1a;
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45), 0 0 20px rgba(37, 211, 102, 0.25);
}

.whatsapp-button:hover .whatsapp-icon svg {
    transform: scale(1.08);
}

.whatsapp-button:active {
    transform: translateY(-1px) scale(0.98);
}

.whatsapp-button:focus-visible {
    outline: 2px solid #25D366;
    outline-offset: 3px;
}

.whatsapp-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--off-white);
    color: #111111;
}

.whatsapp-icon svg {
    width: 20px;
    height: 20px;
    fill: #25D366;
    transition: transform var(--transition-smooth);
}

.whatsapp-text {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ================= GLOBAL RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 1024px) {

    .header-inner,
    .hero-content,
    .hero-bottom,
    .projects-intro,
    .project-filters,
    .projects-grid,
    .projects-cta,
    .services-container,
    .why-intro,
    .why-points,
    .process-container,
    .contact-intro,
    .contact-layout,
    .footer-top,
    .footer-bottom {
        width: calc(100% - 48px);
    }

    .main-nav {
        gap: 22px;
        margin-right: 22px;
    }

    .services-container {
        gap: 48px;
        grid-template-columns: 0.9fr 1.1fr;
    }
}

@media (max-width: 850px) {
    .site-header {
        height: 76px;
    }

    .header-inner {
        width: calc(100% - 36px);
    }

    .logo {
        width: 155px;
    }

    .main-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .projects-heading-row,
    .why-heading-row,
    .process-heading-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .why-points {
        grid-template-columns: 1fr;
    }

    /* Services Mobile Adaptation */
    .services-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .services-visual-column {
        display: none;
    }

    .service-mobile-image {
        display: block;
    }

    .service-index-item {
        padding: 28px 0;
        border-left: none;
    }

    .service-index-item:hover,
    .service-index-item.active {
        padding-left: 0;
        background: transparent;
    }

    .service-desc,
    .service-deliverables {
        margin-left: 0;
    }

    /* Process Mobile Spine Adaptation */
    .spine-stage {
        grid-template-columns: 40px 1fr;
        gap: 20px;
    }

    .spine-track-line {
        left: 19px;
    }

    .residential-section {
        grid-template-columns: 1fr;
    }

    .residential-image {
        min-height: 480px;
        padding: 24px;
    }

    .residential-content {
        padding: 60px 24px 70px;
    }

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

    .contact-details {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .contact-detail {
        border-bottom: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 640px;
    }

    .hero-content h1 {
        font-size: clamp(40px, 12vw, 56px);
    }

    .hero-description {
        font-size: 14px;
        margin-top: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 28px;
    }

    .hero-bottom {
        grid-template-columns: 1fr 1fr;
    }

    .hero-scroll {
        display: none;
    }

    .project-filters {
        gap: 20px;
        padding-bottom: 8px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        row-gap: 48px;
    }

    .process-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .contact-details {
        display: block;
    }

    .contact-detail {
        border-bottom: 1px solid var(--cream-border);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .whatsapp-button {
        right: 16px;
        bottom: 16px;
        padding: 8px;
    }

    .whatsapp-text {
        display: none;
    }
}

/* ================= ACCESSIBILITY: REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .header-cta::before,
    .btn-light::before,
    .form-submit::before,
    .whatsapp-button,
    .service-preview-img,
    .spine-progress-bar,
    .spine-stage {
        animation: none !important;
        transition: none !important;
    }
}