/* ==============================================
   SJ Projects - Neon Contractor Theme
   ============================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

:root {
    --color-background: #080807;
    --color-primary: #ff8a1f;
    --color-primary-dark: #ff6a00;
    --color-secondary: #ff3d00;
    --color-default: #fff7ed;
    --color-muted: #b9aaa0;
    --color-soft: #11100e;
    --color-soft-blue: rgba(255, 138, 31, 0.12);
    --color-border: rgba(255, 138, 31, 0.24);
    --color-panel: #171310;
    --color-ink: #0b0908;
    --color-ember: #ffb15c;
    --color-success: #1f8f5f;
    --color-error: #bd1e1e;

    --font-default: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --content-width: 78rem;
    --container-padding: 1.5rem;

    --h1-size: clamp(2.65rem, 4.7vw, 4.25rem);
    --h2-size: clamp(2.25rem, 4vw, 3.375rem);
    --h3-size: clamp(1.25rem, 2vw, 1.5rem);
    --body-size: 1rem;

    --section-padding: clamp(4rem, 8vw, 6rem);
    --radius: 4px;
    --radius-lg: 8px;
    --shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
    --shadow-strong: 0 26px 70px rgba(0, 0, 0, 0.62);
    --glow-orange: 0 0 24px rgba(255, 106, 0, 0.42), 0 0 70px rgba(255, 61, 0, 0.18);
    --glow-soft: 0 0 18px rgba(255, 138, 31, 0.22);
    --transition: 220ms ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.75rem;
    font-size: 16px;
}

body {
    min-width: 320px;
    font-family: var(--font-default);
    font-size: var(--body-size);
    line-height: 1.6;
    color: var(--color-default);
    background:
        radial-gradient(circle at 16% 0%, rgba(255, 138, 31, 0.16), transparent 34rem),
        radial-gradient(circle at 90% 14%, rgba(255, 61, 0, 0.12), transparent 32rem),
        var(--color-background);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img,
video,
svg {
    display: block;
    max-width: 100%;
}

img,
video {
    height: auto;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid rgba(255, 138, 31, 0.50);
    outline-offset: 3px;
}

.container {
    width: min(100% - (var(--container-padding) * 2), var(--content-width));
    margin: 0 auto;
}

.text-accent {
    color: var(--color-primary);
    text-shadow: 0 0 28px rgba(255, 138, 31, 0.44);
}

/* Shared section framing */
.section-header {
    max-width: 45rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-tag {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--color-secondary);
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.section-title {
    color: var(--color-default);
    font-size: var(--h2-size);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
}

.section-title.left {
    text-align: left;
}

.section-subtitle {
    margin-top: 0.9rem;
    color: var(--color-muted);
    font-size: 1.08rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.7rem 1.25rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    box-shadow: var(--glow-orange);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff4b13, #ffa23b);
    box-shadow: 0 0 30px rgba(255, 106, 0, 0.56), 0 0 80px rgba(255, 61, 0, 0.26);
}

.btn-ghost {
    color: var(--color-ember);
    background: rgba(255, 138, 31, 0.08);
    border-color: rgba(255, 138, 31, 0.56);
}

.btn-ghost:hover {
    color: #100b07;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-full {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Fix oversized send icon */
.btn-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px;
}

/* ==============================================
   2026 craft-led hero: warm, editorial, specific
   ============================================== */
:root {
    --color-background: #0a0907;
    --color-primary: #e86f18;
    --color-primary-dark: #bd5010;
    --color-secondary: #e86f18;
    --color-default: #fff3e6;
    --color-muted: #b8aa9c;
    --color-panel: #17110d;
    --color-ember: #f3a45f;
    --cursor-core: #fff3e6;
    --cursor-tail: 232, 111, 24;
}

.navbar {
    background: rgba(10, 9, 7, 0.88);
    border-bottom-color: rgba(255, 243, 230, 0.10);
}

.navbar.scrolled {
    background: rgba(10, 9, 7, 0.97);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.nav-container {
    min-height: 5rem;
}

.logo-sj {
    color: var(--color-primary);
    text-shadow: none;
    letter-spacing: -0.08em;
}

.logo-divider {
    height: 1rem;
    background: rgba(255, 243, 230, 0.24);
}

.logo-text {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
}

.nav-menu {
    gap: 2.35rem;
}

.nav-link {
    color: rgba(255, 243, 230, 0.68);
    font-size: 0.82rem;
    letter-spacing: 0.035em;
}

.nav-link::after {
    bottom: 0.18rem;
    height: 1px;
    background: var(--color-primary);
    box-shadow: none;
}

.nav-cta {
    padding-inline: 1rem;
    color: var(--color-default);
    background: transparent;
    border: 1px solid rgba(232, 111, 24, 0.65);
    box-shadow: none;
}

.nav-cta:hover {
    background: var(--color-primary);
}

.hero {
    min-height: 100svh;
    padding: 7.6rem 0 4.75rem;
    align-items: center;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(10, 9, 7, 0.98), rgba(10, 9, 7, 0.92) 47%, rgba(18, 12, 8, 0.78)),
        repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255, 243, 230, 0.035) 25%);
}

.hero::before {
    inset: 5rem auto 0 calc(50% - 1px);
    width: 1px;
    height: auto;
    background: rgba(255, 243, 230, 0.08);
    border: 0;
    box-shadow: none;
    transform: none;
}

.hero::after {
    content: "SJ";
    position: absolute;
    right: -0.035em;
    bottom: -0.29em;
    z-index: -1;
    color: transparent;
    font-size: clamp(15rem, 34vw, 35rem);
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(232, 111, 24, 0.08);
    pointer-events: none;
}

.hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(28rem, 0.9fr);
    gap: clamp(3rem, 7vw, 7.5rem);
}

.hero-content {
    max-width: 43rem;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.65rem;
    color: rgba(255, 243, 230, 0.58);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-kicker span + span {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.hero-kicker span + span::before {
    content: "";
    width: 2.75rem;
    height: 1px;
    background: var(--color-primary);
}

.hero-title {
    max-width: 10ch;
    font-size: clamp(3.4rem, 6.6vw, 6.4rem);
    line-height: 0.88;
    letter-spacing: -0.065em;
    text-shadow: none;
}

.hero-title em {
    color: var(--color-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.78em;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.hero-intro {
    max-width: 35rem;
    margin-top: 1.75rem;
    color: rgba(255, 243, 230, 0.7);
    font-size: 1.02rem;
    line-height: 1.8;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 243, 230, 0.14);
    border-bottom: 1px solid rgba(255, 243, 230, 0.14);
}

.hero-proof span {
    display: grid;
    align-content: center;
    min-height: 4.5rem;
    padding: 0.65rem 1rem;
    color: rgba(255, 243, 230, 0.76);
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(255, 243, 230, 0.14);
    border-radius: 0;
    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1.35;
}

.hero-proof span:first-child {
    padding-left: 0;
}

.hero-proof span:last-child {
    border-right: 0;
}

.hero-proof b {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--color-primary);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
}

.hero-actions {
    margin-top: 1.75rem;
}

.hero-actions .btn {
    min-height: 3.35rem;
    border-radius: 0;
}

.hero-actions .btn-primary {
    padding-inline: 1.45rem;
    color: #120b06;
    background: var(--color-primary);
    box-shadow: none;
}

.hero-actions .btn-primary:hover {
    background: #f08a3c;
    box-shadow: none;
}

.hero-actions .btn-ghost {
    color: rgba(255, 243, 230, 0.84);
    background: transparent;
    border-color: rgba(255, 243, 230, 0.24);
}

.hero-contact-strip {
    justify-content: space-between;
    max-width: 34rem;
    margin-top: 1.25rem;
    color: rgba(255, 243, 230, 0.48);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-contact-strip a {
    color: var(--color-default);
}

.hero-media {
    min-height: min(65vh, 43rem);
    margin: 0;
}

.hero-media::before {
    inset: -1rem 1rem 1rem -1rem;
    border: 1px solid rgba(232, 111, 24, 0.5);
    border-radius: 0;
    box-shadow: none;
}

.hero-media img {
    width: 100%;
    height: min(65vh, 43rem);
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    object-position: 52% center;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
    filter: saturate(0.78) contrast(1.08) sepia(0.08);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(10, 9, 7, 0.75));
    pointer-events: none;
}

.hero-project-number {
    position: absolute;
    top: 1.35rem;
    left: -2.4rem;
    z-index: 3;
    display: flex;
    align-items: baseline;
    color: var(--color-default);
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
}

.hero-project-number span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4rem;
    line-height: 1;
}

.hero-project-number small {
    color: var(--color-primary);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
}

.hero-media-card {
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 3;
    max-width: none;
    padding: 1rem 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255, 243, 230, 0.48);
    border-radius: 0;
    backdrop-filter: none;
}

.hero-media-card span {
    color: var(--color-primary);
    font-size: 0.66rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-media-card strong {
    max-width: 25rem;
    margin-top: 0.35rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.1vw, 1.85rem);
    font-weight: 400;
    line-height: 1.12;
}

.hero-media figcaption {
    position: absolute;
    right: -2.35rem;
    top: 50%;
    z-index: 3;
    color: rgba(255, 243, 230, 0.5);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transform: rotate(90deg) translateX(50%);
    transform-origin: right top;
}

.hero-rail {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 3rem);
    height: 2.2rem;
    color: rgba(255, 243, 230, 0.36);
    border-top: 1px solid rgba(255, 243, 230, 0.08);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.24em;
}

.hero-rail i {
    width: 3px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 50%;
}

.cursor-trail {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    pointer-events: none;
    user-select: none;
    mix-blend-mode: plus-lighter;
    contain: strict;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    html.glow-cursor-active body,
    html.glow-cursor-active a,
    html.glow-cursor-active button,
    html.glow-cursor-active input,
    html.glow-cursor-active select,
    html.glow-cursor-active textarea {
        cursor: none;
    }

    html.glow-cursor-active .cursor-trail {
        display: block;
        width: 100vw;
        height: 100vh;
    }

}

@media (max-width: 1040px) {
    .hero {
        min-height: auto;
        padding-top: 7rem;
    }

    .hero::before {
        display: none;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.8fr);
        gap: 3rem;
    }

    .hero-title {
        font-size: clamp(3.15rem, 7.2vw, 5rem);
    }

    .hero-media,
    .hero-media img {
        min-height: 32rem;
        height: 56vh;
    }
}

@media (max-width: 820px) {
    body,
    a,
    button,
    input,
    select,
    textarea {
        cursor: auto;
    }

    .cursor-trail {
        display: none !important;
    }

    .nav-menu {
        gap: 0;
    }

    .hero {
        padding: 7.25rem 0 5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.75rem;
    }

    .hero-content {
        max-width: 42rem;
    }

    .hero-title {
        max-width: 11ch;
        font-size: clamp(3.2rem, 11vw, 5.8rem);
    }

    .hero-media,
    .hero-media img {
        min-height: 30rem;
        height: min(70vh, 42rem);
    }

    .hero-project-number {
        left: 1rem;
    }

    .hero-media figcaption {
        display: none;
    }
}

@media (max-width: 560px) {
    .hero-kicker {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .hero-kicker span + span {
        gap: 0.6rem;
    }

    .hero-kicker span + span::before {
        width: 1.75rem;
    }

    .hero-title {
        font-size: clamp(3rem, 15.4vw, 4.6rem);
    }

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

    .hero-proof span,
    .hero-proof span:first-child {
        min-height: 3.65rem;
        padding: 0.65rem 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 243, 230, 0.12);
    }

    .hero-proof span:last-child {
        border-bottom: 0;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-contact-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-media,
    .hero-media img {
        min-height: 25rem;
        height: 58vh;
    }

    .hero-media::before {
        inset: -0.65rem 0.65rem 0.65rem -0.65rem;
    }

    .hero-project-number span {
        font-size: 3rem;
    }

    .hero-media-card {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
    }

    .hero-rail {
        gap: 0.7rem;
        overflow: hidden;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(8, 8, 7, 0.82);
    border-bottom: 1px solid rgba(255, 138, 31, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
    background: rgba(8, 8, 7, 0.94);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.48), 0 0 24px rgba(255, 106, 0, 0.12);
}

.nav-container {
    width: min(100% - (var(--container-padding) * 2), var(--content-width));
    min-height: 5.25rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-default);
}

.logo-sj,
.hero-sj,
.emblem-sj {
    color: var(--color-primary);
    text-shadow: 0 0 24px rgba(255, 138, 31, 0.42);
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
}

.logo-divider {
    width: 1px;
    height: 1.5rem;
    background: rgba(255, 138, 31, 0.35);
}

.logo-text,
.hero-projects,
.emblem-label {
    color: var(--color-default);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    color: rgba(255, 247, 237, 0.82);
    font-size: 0.95rem;
    font-weight: 800;
    transition: color var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.25rem;
    height: 2px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    box-shadow: 0 0 14px rgba(255, 138, 31, 0.72);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta {
    min-height: 2.5rem;
    padding: 0.35rem 0.85rem;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    box-shadow: 0 0 22px rgba(255, 106, 0, 0.32);
    border-radius: var(--radius);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #ff4b13, #ffa23b);
}

.hamburger {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 138, 31, 0.32);
    border-radius: var(--radius);
    background: rgba(255, 138, 31, 0.08);
}

.hamburger span {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 0.25rem auto;
    background: var(--color-default);
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    min-height: calc(100svh - 4rem);
    padding: calc(5.25rem + 1.5rem) 0 1.5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(8, 8, 7, 0.98) 0%, rgba(8, 8, 7, 0.96) 50%, rgba(22, 15, 10, 0.96) 50%, rgba(22, 15, 10, 0.92) 100%),
        radial-gradient(circle at 76% 34%, rgba(255, 106, 0, 0.26), transparent 28rem);
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto -6rem 5rem auto;
    width: min(38vw, 30rem);
    height: min(38vw, 30rem);
    background: rgba(255, 106, 0, 0.12);
    border: 1px solid rgba(255, 138, 31, 0.22);
    box-shadow: 0 0 80px rgba(255, 106, 0, 0.18);
    transform: rotate(8deg);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 0.72fr);
    gap: clamp(2.25rem, 5vw, 5.5rem);
    align-items: center;
}

.hero-content {
    max-width: 45rem;
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.hero-sj {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-projects {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero-title {
    color: var(--color-default);
    text-shadow: 0 0 40px rgba(255, 138, 31, 0.10);
    font-size: var(--h1-size);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero-slogan {
    margin-top: 1.25rem;
    color: var(--color-default);
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 800;
}

.hero-slogan strong {
    color: var(--color-primary);
    text-shadow: 0 0 18px rgba(255, 138, 31, 0.46);
    font-weight: 900;
}

.hero-intro {
    max-width: 38rem;
    margin-top: 0.9rem;
    color: var(--color-muted);
    font-size: 1.08rem;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 2.1rem;
    padding: 0.35rem 0.7rem;
    color: var(--color-default);
    background: rgba(255, 138, 31, 0.08);
    border: 1px solid rgba(255, 138, 31, 0.28);
    border-left: 3px solid var(--color-primary);
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 900;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.65rem;
}

.hero-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 1.15rem;
    color: var(--color-muted);
    font-size: 0.94rem;
    font-weight: 800;
}

.hero-contact-strip a {
    color: var(--color-primary);
}

.hero-contact-strip a:hover {
    color: var(--color-primary-dark);
}

.hero-media {
    position: relative;
}

.hero-media img {
    width: 100%;
    max-height: min(54vh, 33rem);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    filter: saturate(1.08) contrast(1.02);
}

.hero-media::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 1.25rem -1.25rem -1.25rem 1.25rem;
    border: 6px solid var(--color-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--glow-orange);
}

.hero-media-card {
    position: absolute;
    left: -1.25rem;
    bottom: 1.25rem;
    max-width: min(21rem, calc(100% - 2rem));
    padding: 1rem 1.15rem;
    background: rgba(13, 9, 6, 0.92);
    border: 1px solid rgba(255, 138, 31, 0.26);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-media-card span {
    display: block;
    color: var(--color-ember);
    font-size: 0.88rem;
    font-weight: 700;
}

.hero-media-card strong {
    display: block;
    margin-top: 0.15rem;
    color: var(--color-default);
    font-size: 1rem;
    font-weight: 900;
}

/* Stats */
.stats {
    background: linear-gradient(180deg, #100b07, #080807);
    color: #ffffff;
    border-top: 1px solid rgba(255, 138, 31, 0.24);
    border-bottom: 1px solid rgba(255, 138, 31, 0.18);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.55rem 0;
}

.stat-item {
    text-align: center;
}

.stat-num-wrap {
    color: var(--color-primary);
    text-shadow: 0 0 22px rgba(255, 138, 31, 0.48);
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    font-weight: 900;
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.88rem;
    font-weight: 800;
}

.stat-divider {
    width: 1px;
    height: 3.25rem;
    background: rgba(255, 255, 255, 0.18);
}

/* Services */
.services {
    scroll-margin-top: 5.75rem;
    padding: var(--section-padding) 0;
    background:
        radial-gradient(circle at 12% 22%, rgba(255, 138, 31, 0.12), transparent 24rem),
        radial-gradient(circle at 82% 8%, rgba(255, 61, 0, 0.08), transparent 26rem),
        var(--color-background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.service-card {
    min-height: 100%;
    padding: 1.55rem;
    background: linear-gradient(180deg, rgba(27, 22, 18, 0.92), rgba(14, 11, 9, 0.92));
    border: 1px solid rgba(255, 138, 31, 0.18);
    border-radius: var(--radius-lg);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 138, 31, 0.62);
    box-shadow: var(--shadow), var(--glow-soft);
}

.service-icon-wrap {
    display: grid;
    place-items: center;
    width: 3.7rem;
    height: 3.7rem;
    margin-bottom: 1.15rem;
    color: var(--color-primary);
    background: rgba(255, 138, 31, 0.10);
    border: 1px solid rgba(255, 138, 31, 0.22);
    box-shadow: inset 0 0 18px rgba(255, 138, 31, 0.08), 0 0 18px rgba(255, 106, 0, 0.12);
    border-radius: var(--radius-lg);
}

.service-icon {
    width: 2.45rem;
    height: 2.45rem;
}

.service-card h3 {
    color: var(--color-default);
    font-size: var(--h3-size);
    font-weight: 900;
    line-height: 1.2;
}

.service-card p {
    margin-top: 0.7rem;
    color: var(--color-muted);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.25rem 0.6rem;
    color: var(--color-ember);
    background: rgba(255, 138, 31, 0.08);
    border: 1px solid rgba(255, 138, 31, 0.28);
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 800;
}

.icon-painting .brush-group {
    transform-origin: 38px 6px;
    animation: brush-live-swing 2.6s ease-in-out infinite;
}

.icon-painting .paint-stroke {
    opacity: 1;
    stroke-dasharray: 70;
    stroke-dashoffset: 70;
    animation: paint-live-stroke 2.6s ease-in-out infinite;
}

.icon-diy .gear-group {
    transform-origin: 28px 28px;
    animation: gear-live-spin 5s linear infinite;
}

.service-card:hover .hammer-group {
    transform-origin: 28px 8px;
    animation: service-swing 700ms ease;
}

.impact-group {
    opacity: 0;
}

.service-card:hover .impact-group {
    opacity: 1;
}

@keyframes service-swing {
    0%, 100% { transform: rotate(0deg); }
    45% { transform: rotate(-10deg); }
}

@keyframes service-spin {
    to { transform: rotate(180deg); }
}

@keyframes brush-live-swing {
    0%, 100% { transform: rotate(0deg); }
    35% { transform: rotate(-7deg); }
    65% { transform: rotate(4deg); }
}

@keyframes paint-live-stroke {
    0% { stroke-dashoffset: 70; opacity: 0.35; }
    42%, 72% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -70; opacity: 0.35; }
}

@keyframes gear-live-spin {
    to { transform: rotate(360deg); }
}

/* Process */
.process {
    scroll-margin-top: 5.75rem;
    padding: var(--section-padding) 0;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(8, 8, 7, 0.98), rgba(17, 12, 9, 0.98)),
        radial-gradient(circle at 86% 0%, rgba(255, 138, 31, 0.12), transparent 24rem);
}

.process-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

.process .section-tag {
    color: var(--color-primary);
}

.process .section-title,
.process-intro p {
    color: #ffffff;
}

.process-intro p {
    max-width: 30rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.process-step {
    min-height: 13rem;
    padding: 1.35rem;
    background: rgba(255, 138, 31, 0.055);
    border: 1px solid rgba(255, 138, 31, 0.16);
    border-radius: var(--radius-lg);
}

.process-step span {
    display: inline-flex;
    margin-bottom: 1.1rem;
    color: var(--color-primary);
    font-size: 0.95rem;
    font-weight: 900;
}

.process-step h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
}

.process-step p {
    margin-top: 0.65rem;
    color: rgba(255, 255, 255, 0.70);
    font-weight: 700;
}

/* Portfolio */
.portfolio {
    scroll-margin-top: 5.75rem;
    padding: var(--section-padding) 0;
    background: var(--color-soft);
}

.featured-projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.featured-project {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(27, 22, 18, 0.92), rgba(14, 11, 9, 0.92));
    border: 1px solid rgba(255, 138, 31, 0.18);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 38px rgba(10, 12, 11, 0.07);
}

.featured-project img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.featured-project div {
    padding: 1.1rem;
}

.featured-project span {
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 900;
}

.featured-project h3 {
    margin-top: 0.35rem;
    color: var(--color-default);
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.2;
}

.featured-project p {
    margin-top: 0.55rem;
    color: var(--color-muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.filter-btn {
    min-height: 2.5rem;
    padding: 0.45rem 0.95rem;
    color: var(--color-default);
    background: rgba(255, 138, 31, 0.07);
    border: 1px solid rgba(255, 138, 31, 0.22);
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 800;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    color: #100b07;
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--glow-soft);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    background: var(--color-panel);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 35px rgba(10, 12, 11, 0.08);
    cursor: pointer;
}

.portfolio-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.portfolio-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 1.1rem;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(10, 12, 11, 0), rgba(10, 12, 11, 0.85));
}

.portfolio-cat {
    display: block;
    color: var(--color-ember);
    font-size: 0.82rem;
    font-weight: 900;
}

.portfolio-overlay h3 {
    margin-top: 0.2rem;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.2;
}

.video-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.3rem;
    padding: 0.35rem 0.7rem;
    color: #ffffff;
    background: var(--color-secondary);
    border-radius: var(--radius);
    font-size: 0.82rem;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(221, 21, 21, 0.25);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.video-play-btn {
    display: grid;
    place-items: center;
    width: 4rem;
    height: 4rem;
    color: #ffffff;
    background: rgba(10, 12, 11, 0.62);
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    transition: transform var(--transition), background var(--transition);
}

.video-play-btn svg {
    width: 1.45rem;
    height: 1.45rem;
    transform: translateX(0.12rem);
}

.portfolio-item:hover .video-play-btn {
    transform: scale(1.08);
    background: var(--color-secondary);
}

.portfolio-note {
    margin-top: 2rem;
    color: var(--color-muted);
    text-align: center;
    font-weight: 700;
}

/* About */
.about {
    scroll-margin-top: 5.75rem;
    padding: var(--section-padding) 0;
    background:
        radial-gradient(circle at 12% 30%, rgba(255, 138, 31, 0.09), transparent 22rem),
        var(--color-background);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about-visual {
    min-height: 26rem;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(255, 138, 31, 0.18), rgba(255, 61, 0, 0.12)),
        url("images/portfolio/Kitchen%20Table%20Renovation%201.jpeg") center / cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.about-emblem {
    position: relative;
    display: grid;
    place-items: center;
    width: min(17rem, 70%);
    aspect-ratio: 1;
    background: rgba(13, 9, 6, 0.90);
    border: 1px solid rgba(255, 138, 31, 0.28);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.emblem-sj {
    font-size: clamp(3rem, 8vw, 5.25rem);
}

.emblem-label {
    margin-top: 0.25rem;
}

.emblem-ring {
    position: absolute;
    inset: 0.75rem;
    border: 1px solid rgba(81, 172, 251, 0.55);
    border-radius: 50%;
}

.emblem-ring-2 {
    inset: 1.35rem;
    border-color: rgba(221, 21, 21, 0.25);
}

.about-content p {
    margin-top: 1rem;
    color: var(--color-muted);
}

.about-highlights {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.5rem;
    list-style: none;
}

.about-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--color-default);
    font-weight: 800;
}

.about-highlights svg {
    flex: 0 0 1.25rem;
    width: 1.25rem;
    margin-top: 0.2rem;
    color: var(--color-primary-dark);
}

.slogan-box {
    margin-top: 1.75rem;
    padding: 1rem 1.2rem;
    color: var(--color-default);
    background: rgba(255, 138, 31, 0.08);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 800;
}

.slogan-box strong {
    color: var(--color-secondary);
}

/* Contact */
.contact {
    scroll-margin-top: 5.75rem;
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--color-soft) 0%, var(--color-background) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.contact-cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto 1.5rem;
    padding: 1.25rem 1.35rem;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 61, 0, 0.16), rgba(255, 138, 31, 0.08)), var(--color-ink);
    border: 1px solid rgba(255, 138, 31, 0.22);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 42px rgba(10, 12, 11, 0.12);
}

.contact-cta-strip span {
    display: block;
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.92rem;
    font-weight: 800;
}

.contact-cta-strip strong {
    display: block;
    margin-top: 0.15rem;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 900;
}

.contact-info-card,
.contact-form-card {
    background: linear-gradient(180deg, rgba(27, 22, 18, 0.94), rgba(14, 11, 9, 0.94));
    border: 1px solid rgba(255, 138, 31, 0.18);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 42px rgba(10, 12, 11, 0.07);
}

.contact-info-card {
    padding: 1.5rem;
}

.contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 138, 31, 0.16);
}

.contact-item:first-child {
    padding-top: 0;
}

.contact-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-icon {
    display: grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    color: var(--color-primary);
    background: rgba(255, 138, 31, 0.10);
    border: 1px solid rgba(255, 138, 31, 0.20);
    border-radius: var(--radius);
}

.contact-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.contact-item h4 {
    color: var(--color-default);
    font-size: 1rem;
    font-weight: 900;
}

.contact-item a,
.contact-item p {
    display: inline-block;
    margin-top: 0.15rem;
    color: var(--color-muted);
    font-weight: 700;
}

.contact-item a:hover {
    color: var(--color-primary);
}

.contact-form-card {
    padding: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1.05rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-group {
    display: grid;
    gap: 0.4rem;
}

.form-group label {
    color: var(--color-default);
    font-size: 0.92rem;
    font-weight: 900;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.78rem 0.9rem;
    color: var(--color-default);
    background: rgba(8, 8, 7, 0.72);
    border: 1px solid rgba(255, 138, 31, 0.22);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 8.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 0;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.16), var(--glow-soft);
}

.form-note {
    color: var(--color-muted);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

#formFeedback {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-weight: 800;
}

#formFeedback.success {
    color: var(--color-success);
    background: rgba(31, 143, 95, 0.08);
    border: 1px solid rgba(31, 143, 95, 0.25);
}

#formFeedback.error {
    color: var(--color-error);
    background: rgba(189, 30, 30, 0.08);
    border: 1px solid rgba(189, 30, 30, 0.25);
}

/* Footer */
.footer {
    color: rgba(255, 255, 255, 0.78);
    background:
        linear-gradient(180deg, rgba(255, 138, 31, 0.10), rgba(255, 138, 31, 0) 40%),
        var(--color-ink);
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(15rem, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding: 3.5rem 0 2.5rem;
}

.footer-logo .logo-text,
.footer-logo .logo-sj {
    color: #ffffff;
}

.footer-logo .logo-divider {
    background: rgba(255, 255, 255, 0.25);
}

.footer-tagline {
    margin-top: 1rem;
    max-width: 16rem;
    font-weight: 800;
}

.footer-col h4 {
    margin-bottom: 0.95rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
}

.footer-col ul {
    display: grid;
    gap: 0.45rem;
    list-style: none;
}

.footer-col a,
.footer-col p {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Modals */
.lightbox,
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(10, 12, 11, 0.88);
}

.lightbox.open,
.video-modal.open {
    display: flex;
}

.lightbox-content,
.video-modal-content {
    position: relative;
    max-width: min(64rem, 100%);
    max-height: calc(100svh - 5rem);
}

.lightbox-content img {
    max-height: calc(100svh - 8rem);
    width: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
}

.lightbox-caption {
    margin-top: 0.85rem;
    color: #ffffff;
    text-align: center;
    font-weight: 800;
}

.video-modal video {
    max-width: min(70rem, 100%);
    max-height: calc(100svh - 5rem);
    border-radius: var(--radius-lg);
    background: #000000;
}

.lightbox-close,
.video-modal-close,
.lightbox-nav {
    position: fixed;
    z-index: 2001;
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    color: var(--color-default);
    background: #ffffff;
    border: 0;
    border-radius: var(--radius);
    font-size: 1.5rem;
    font-weight: 900;
}

.lightbox-close,
.video-modal-close {
    top: 1.25rem;
    right: 1.25rem;
}

.lightbox-prev {
    left: 1.25rem;
}

.lightbox-next {
    right: 1.25rem;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
}

/* Reveal states */
[data-aos] {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 520ms ease, transform 520ms ease, border-color var(--transition), box-shadow var(--transition);
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1040px) {
    .services-grid,
    .portfolio-grid,
    .featured-projects {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .process-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        background: linear-gradient(180deg, #080807 0%, #080807 58%, #150f0b 58%, #150f0b 100%);
    }

    .hero-content {
        max-width: none;
    }

    .hero-media {
        max-width: 36rem;
    }

    .process-intro p {
        max-width: 44rem;
    }

    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 4rem;
    }

    .nav-container {
        min-height: 4.75rem;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 2;
        display: grid;
        align-content: start;
        gap: 0;
        width: 100%;
        height: calc(100svh - 4.75rem);
        padding: 1rem;
        background: rgba(8, 8, 7, 0.98);
        border-top: 1px solid rgba(255, 138, 31, 0.18);
        box-shadow: 0 22px 48px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 138, 31, 0.08);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform var(--transition);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 138, 31, 0.14);
    }

    .nav-link {
        width: 100%;
        min-height: 3.25rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        justify-content: center;
        margin-top: 1rem;
    }

    .services,
    .process,
    .portfolio,
    .about,
    .contact {
        padding-top: 5.75rem;
    }

    .hero {
        min-height: auto;
        padding-top: calc(4.75rem + 1.5rem);
    }

    .hero-title {
        font-size: clamp(2.35rem, 10vw, 4rem);
    }

    .hero-proof,
    .hero-contact-strip {
        display: none;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-brand {
        display: none;
    }

    .hero-media {
        max-width: none;
        margin-top: 0.25rem;
    }

    .hero-media img {
        max-height: 8rem;
        aspect-ratio: 16 / 9;
    }

    .hero-media::before,
    .hero-media-card {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .stat-divider {
        display: none;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .contact-cta-strip {
        align-items: stretch;
        flex-direction: column;
    }

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

@media (max-width: 640px) {
    .services-grid,
    .portfolio-grid,
    .featured-projects,
    .footer-top {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(2.15rem, 11vw, 3.1rem);
    }

    .hero-slogan {
        font-size: 1.05rem;
    }

    .hero-intro {
        font-size: 1rem;
    }

    .hero-media::before {
        inset: 0.8rem -0.8rem -0.8rem 0.8rem;
        border-width: 4px;
    }

    .hero-media-card {
        left: 0.8rem;
        right: 0.8rem;
        bottom: 0.8rem;
        max-width: none;
    }

    .about-visual {
        min-height: 20rem;
    }

    .contact-info-card,
    .contact-form-card,
    .service-card,
    .process-step {
        padding: 1.25rem;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 1.25rem;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==============================================
   Local conversion and trust additions
   ============================================== */

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.2rem;
    color: var(--color-ember);
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.service-link span {
    transition: transform var(--transition);
}

.service-link:hover span,
.service-link:focus-visible span {
    transform: translateX(0.25rem);
}

.work-standard {
    padding: var(--section-padding) 0;
    background:
        linear-gradient(100deg, rgba(255, 138, 31, 0.08), transparent 36%),
        #0d0b09;
    border-block: 1px solid rgba(255, 138, 31, 0.16);
}

.standard-layout {
    display: grid;
    grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.standard-intro {
    position: sticky;
    top: 7.5rem;
}

.standard-intro p {
    max-width: 30rem;
    color: var(--color-muted);
}

.standard-list {
    list-style: none;
    counter-reset: standard;
}

.standard-list li {
    display: grid;
    grid-template-columns: 3.25rem 1fr;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 138, 31, 0.2);
}

.standard-list li:last-child {
    border-bottom: 1px solid rgba(255, 138, 31, 0.2);
}

.standard-list > li > span {
    color: var(--color-primary);
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.standard-list h3 {
    color: var(--color-default);
    font-size: 1.05rem;
    font-weight: 900;
}

.standard-list p {
    margin-top: 0.25rem;
    color: var(--color-muted);
    font-size: 0.94rem;
}

.project-story-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.75fr);
    gap: 2rem;
    align-items: end;
    margin: 0 0 1.4rem;
    padding: 1.35rem 0;
    border-block: 1px solid rgba(255, 138, 31, 0.18);
}

.project-story-intro h3 {
    max-width: 38rem;
    margin-top: 0.4rem;
    color: var(--color-default);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.12;
}

.project-story-intro p {
    color: var(--color-muted);
    font-size: 0.94rem;
}

.featured-project > .featured-photo {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.featured-project > .featured-photo > span {
    position: absolute;
    z-index: 2;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.35rem 0.55rem;
    color: #0b0908;
    background: var(--color-primary);
    border-radius: 2px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-project > div:last-child {
    padding: 1.1rem;
}

.project-stage-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
    background: rgba(0, 0, 0, 0.28);
    border-block: 1px solid rgba(255, 138, 31, 0.14);
}

.project-stage-bar button {
    min-height: 3.05rem;
    padding: 0.5rem 0.4rem;
    color: var(--color-muted);
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(255, 138, 31, 0.12);
    font: inherit;
    font-size: 0.72rem;
    font-weight: 900;
}

.project-stage-bar button:last-child {
    border-right: 0;
}

.project-stage-bar button.active {
    color: var(--color-default);
    background: rgba(255, 138, 31, 0.12);
}

.project-stage-bar button:disabled {
    cursor: not-allowed;
    opacity: 0.46;
}

.project-stage-bar small {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.57rem;
    font-weight: 700;
}

.portfolio-archive {
    display: none !important;
}

.contact-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
}

.btn-whatsapp {
    color: #07130d;
    background: #63d98b;
    border-color: #63d98b;
    box-shadow: 0 12px 28px rgba(30, 160, 90, 0.18);
}

.btn-whatsapp:hover {
    color: #07130d;
    background: #7ce59d;
    border-color: #7ce59d;
}

.whatsapp-float {
    position: fixed;
    z-index: 1005;
    right: 1.15rem;
    bottom: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 3.15rem;
    padding: 0.65rem 0.95rem;
    color: #07130d;
    background: #63d98b;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    font-size: 0.86rem;
    font-weight: 900;
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-0.2rem);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
}

.whatsapp-float svg {
    width: 1.55rem;
    height: 1.55rem;
}

/* Service landing pages */
.service-page .navbar {
    position: relative;
}

.service-page-main {
    position: relative;
    z-index: 1;
}

.service-hero {
    padding: clamp(5rem, 10vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
    background:
        linear-gradient(90deg, rgba(8, 8, 7, 0.96), rgba(8, 8, 7, 0.62)),
        var(--service-image) center / cover;
    border-bottom: 1px solid rgba(255, 138, 31, 0.22);
}

.service-hero-inner {
    max-width: 48rem;
}

.service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: var(--color-ember);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.service-hero h1 {
    margin: 1rem 0;
    max-width: 48rem;
    font-size: var(--h1-size);
    line-height: 1.02;
}

.service-hero p {
    max-width: 42rem;
    color: #d7c9bf;
    font-size: 1.08rem;
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.6rem;
}

.service-detail {
    padding: var(--section-padding) 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.65fr);
    gap: clamp(2rem, 6vw, 5rem);
}

.service-detail h2 {
    margin-bottom: 1rem;
    font-size: var(--h2-size);
    line-height: 1.08;
}

.service-detail p,
.service-detail li {
    color: var(--color-muted);
}

.service-checklist {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.5rem;
    list-style: none;
}

.service-checklist li {
    position: relative;
    padding-left: 1.45rem;
}

.service-checklist li::before {
    content: "↘";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 900;
}

.service-quote-card {
    align-self: start;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(29, 23, 18, 0.98), rgba(14, 11, 9, 0.98));
    border: 1px solid rgba(255, 138, 31, 0.26);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.service-quote-card h3 {
    margin-bottom: 0.6rem;
}

.service-quote-card .btn {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
}

@media (max-width: 820px) {
    .standard-layout,
    .project-story-intro,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .standard-intro {
        position: static;
    }

    .contact-cta-strip {
        align-items: stretch;
    }

    .contact-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .contact-cta-actions,
    .contact-cta-actions .btn,
    .service-hero-actions,
    .service-hero-actions .btn {
        width: 100%;
    }

    .whatsapp-float {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .whatsapp-float span {
        display: none;
    }
}
.btn-full {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px;
}

/* Cascade lock: these refinements intentionally follow the legacy theme. */
.navbar {
    background: rgba(10, 9, 7, 0.88);
    border-bottom-color: rgba(255, 243, 230, 0.10);
}

.navbar.scrolled {
    background: rgba(10, 9, 7, 0.97);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.nav-container {
    min-height: 5rem;
}

.logo-sj {
    color: var(--color-primary);
    text-shadow: none;
    letter-spacing: -0.08em;
}

.logo-divider {
    height: 1rem;
    background: rgba(255, 243, 230, 0.24);
}

.logo-text {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
}

.nav-menu {
    gap: 2.35rem;
}

.nav-link {
    color: rgba(255, 243, 230, 0.68);
    font-size: 0.82rem;
    letter-spacing: 0.035em;
}

.nav-link::after {
    bottom: 0.18rem;
    height: 1px;
    background: var(--color-primary);
    box-shadow: none;
}

.nav-cta {
    padding-inline: 1rem;
    color: var(--color-default);
    background: transparent;
    border: 1px solid rgba(232, 111, 24, 0.65);
    box-shadow: none;
}

.nav-cta:hover {
    background: var(--color-primary);
}

.hero {
    min-height: 100svh;
    padding: 7.6rem 0 4.75rem;
    align-items: center;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(10, 9, 7, 0.98), rgba(10, 9, 7, 0.92) 47%, rgba(18, 12, 8, 0.78)),
        repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255, 243, 230, 0.035) 25%);
}

.hero::before {
    inset: 5rem auto 0 calc(50% - 1px);
    width: 1px;
    height: auto;
    background: rgba(255, 243, 230, 0.08);
    border: 0;
    box-shadow: none;
    transform: none;
}

.hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(28rem, 0.9fr);
    gap: clamp(3rem, 7vw, 7.5rem);
}

.hero-content {
    max-width: 43rem;
}

.hero-title {
    max-width: 10ch;
    font-size: clamp(3.4rem, 6.6vw, 6.4rem);
    line-height: 0.88;
    letter-spacing: -0.065em;
    text-shadow: none;
}

.hero-intro {
    max-width: 35rem;
    margin-top: 1.75rem;
    color: rgba(255, 243, 230, 0.7);
    font-size: 1.02rem;
    line-height: 1.8;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 243, 230, 0.14);
    border-bottom: 1px solid rgba(255, 243, 230, 0.14);
}

.hero-proof span {
    display: grid;
    align-content: center;
    min-height: 4.5rem;
    padding: 0.65rem 1rem;
    color: rgba(255, 243, 230, 0.76);
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(255, 243, 230, 0.14);
    border-radius: 0;
    font-size: 0.77rem;
    font-weight: 700;
    line-height: 1.35;
}

.hero-proof span:first-child {
    padding-left: 0;
}

.hero-proof span:last-child {
    border-right: 0;
}

.hero-actions {
    margin-top: 1.75rem;
}

.hero-actions .btn {
    min-height: 3.35rem;
    border-radius: 0;
}

.hero-actions .btn-primary {
    padding-inline: 1.45rem;
    color: #120b06;
    background: var(--color-primary);
    box-shadow: none;
}

.hero-actions .btn-primary:hover {
    background: #f08a3c;
    box-shadow: none;
}

.hero-actions .btn-ghost {
    color: rgba(255, 243, 230, 0.84);
    background: transparent;
    border-color: rgba(255, 243, 230, 0.24);
}

.hero-contact-strip {
    justify-content: space-between;
    max-width: 34rem;
    margin-top: 1.25rem;
    color: rgba(255, 243, 230, 0.48);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-contact-strip a {
    color: var(--color-default);
}

.hero-media {
    min-height: min(65vh, 43rem);
    margin: 0;
}

.hero-media::before {
    inset: -1rem 1rem 1rem -1rem;
    border: 1px solid rgba(232, 111, 24, 0.5);
    border-radius: 0;
    box-shadow: none;
}

.hero-media img {
    width: 100%;
    height: min(65vh, 43rem);
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
    object-position: 52% center;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
    filter: saturate(0.78) contrast(1.08) sepia(0.08);
}

.hero-media-card {
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 3;
    max-width: none;
    padding: 1rem 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255, 243, 230, 0.48);
    border-radius: 0;
    backdrop-filter: none;
}

.hero-media-card strong {
    max-width: 25rem;
    margin-top: 0.35rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.1vw, 1.85rem);
    font-weight: 400;
    line-height: 1.12;
}

@media (max-width: 1040px) {
    .hero {
        min-height: auto;
        padding-top: 7rem;
    }

    .hero::before {
        display: none;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 0.8fr);
        gap: 3rem;
    }

    .hero-title {
        font-size: clamp(3.15rem, 7.2vw, 5rem);
    }

    .hero-media,
    .hero-media img {
        min-height: 32rem;
        height: 56vh;
    }
}

@media (max-width: 820px) {
    .nav-menu {
        gap: 0;
    }

    .hero {
        padding: 7.25rem 0 5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.75rem;
    }

    .hero-title {
        max-width: 11ch;
        font-size: clamp(3.2rem, 11vw, 5.8rem);
    }

    .hero-media,
    .hero-media img {
        min-height: 30rem;
        height: min(70vh, 42rem);
    }

    .hero-project-number {
        left: 1rem;
    }

    .hero-media figcaption {
        display: none;
    }
}

@media (max-width: 560px) {
    .hero-title {
        font-size: clamp(3rem, 15.4vw, 4.6rem);
    }

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

    .hero-proof span,
    .hero-proof span:first-child {
        min-height: 3.65rem;
        padding: 0.65rem 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 243, 230, 0.12);
    }

    .hero-proof span:last-child {
        border-bottom: 0;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-media,
    .hero-media img {
        min-height: 25rem;
        height: 58vh;
    }

    .hero-media::before {
        inset: -0.65rem 0.65rem 0.65rem -0.65rem;
    }
}

/* React Bits-inspired Aurora and RotatingText, adapted to vanilla CSS/JS. */
body {
    position: relative;
    background: #0a0907;
}

.site-aurora {
    position: fixed;
    inset: 0 0 auto;
    z-index: 0;
    display: block;
    width: 100vw;
    height: min(78vh, 54rem);
    opacity: 0.72;
    mix-blend-mode: screen;
    pointer-events: none;
    user-select: none;
    contain: strict;
}

main,
.footer {
    position: relative;
    z-index: 1;
}

.hero {
    background:
        linear-gradient(90deg, rgba(10, 9, 7, 0.74), rgba(10, 9, 7, 0.62) 47%, rgba(18, 12, 8, 0.50)),
        repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), rgba(255, 243, 230, 0.035) 25%);
}

.hero-rotator {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.38em;
    min-height: 2.35rem;
    margin-top: 1.55rem;
    color: rgba(255, 243, 230, 0.62);
    font-size: clamp(0.92rem, 1.35vw, 1.08rem);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.rotating-text {
    position: relative;
    display: inline-flex;
    min-width: 12.5em;
    overflow: hidden;
    color: var(--color-primary);
    line-height: 1.25;
    white-space: nowrap;
}

.rotating-text-word {
    display: inline-flex;
    overflow: hidden;
}

.rotating-character {
    display: inline-block;
    transform: translateY(115%);
    opacity: 0;
    animation: rotating-character-in 560ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    will-change: transform, opacity;
}

.rotating-character.is-exiting {
    animation: rotating-character-out 390ms cubic-bezier(0.4, 0, 0.8, 0.2) forwards;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@keyframes rotating-character-in {
    0% {
        transform: translateY(115%) rotate(3deg);
        opacity: 0;
    }
    100% {
        transform: translateY(0) rotate(0);
        opacity: 1;
    }
}

@keyframes rotating-character-out {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-120%);
        opacity: 0;
    }
}

@media (max-width: 820px) {
    .site-aurora {
        height: 65vh;
        opacity: 0.48;
    }

    .hero {
        background: linear-gradient(180deg, rgba(10, 9, 7, 0.76), rgba(10, 9, 7, 0.72));
    }
}

@media (max-width: 560px) {
    .hero-rotator {
        display: grid;
        gap: 0.18rem;
    }

    .rotating-text {
        min-width: 0;
        font-size: 1.04rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-aurora {
        opacity: 0.28;
    }

    .rotating-character,
    .rotating-character.is-exiting {
        transform: none;
        opacity: 1;
        animation: none;
    }
}
