:root {
    --black: #090909;
    --dark: #141414;
    --gray: #727272;
    --light: #f6f6f6;
    --white: #ffffff;
    --red: #ef222b;
    --red-dark: #b8141b;
    --border: rgba(255,255,255,.14);
    --shadow: 0 24px 70px rgba(0,0,0,.22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.narrow { max-width: 820px; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9,9,9,.96);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand img { width: 190px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
    color: var(--white);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .06em;
}
.main-nav a:hover, .main-nav a.active { background: var(--red); }
.nav-toggle { display: none; background: var(--red); color: white; border: 0; padding: 10px 14px; border-radius: 999px; font-weight: 800; }
.hero {
    background:
        radial-gradient(circle at 80% 15%, rgba(239,34,43,.28), transparent 28%),
        linear-gradient(135deg, #060606 0%, #171717 58%, #2a0b0d 100%);
    color: var(--white);
    padding: 96px 0 86px;
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.eyebrow { color: var(--red); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 18px; }
h1 { font-size: clamp(42px, 6vw, 76px); letter-spacing: -0.05em; }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.04em; }
h3 { font-size: 24px; }
.lead { font-size: 20px; color: rgba(255,255,255,.82); max-width: 650px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn.primary { background: var(--red); color: white; box-shadow: 0 14px 28px rgba(239,34,43,.26); }
.btn.primary:hover { background: var(--red-dark); }
.btn.secondary { color: white; border-color: rgba(255,255,255,.24); }
.btn.secondary:hover { border-color: var(--red); }
.hero-card {
    background: rgba(255,255,255,.07);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 28px;
    box-shadow: var(--shadow);
    transform: rotate(-3deg);
}
.hero-card img { filter: drop-shadow(0 24px 30px rgba(0,0,0,.42)); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.stats span { background: rgba(0,0,0,.34); border: 1px solid var(--border); border-radius: 18px; padding: 14px; color: rgba(255,255,255,.72); font-size: 13px; }
.stats strong { display: block; color: white; font-size: 16px; }
.section { padding: 86px 0; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    background: var(--white);
    border: 1px solid #e9e9e9;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 16px 36px rgba(0,0,0,.06);
}
.card .icon, .service-number { color: var(--red); font-weight: 900; letter-spacing: .12em; }
.card a { color: var(--red); font-weight: 900; }
.split-section { background: var(--light); padding: 86px 0; }
.split-grid, .two-col, .cta-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.process-list { display: grid; gap: 16px; }
.process-list div { background: white; border-left: 6px solid var(--red); padding: 20px; border-radius: 16px; box-shadow: 0 10px 28px rgba(0,0,0,.06); }
.process-list strong { display: block; font-size: 20px; }
.process-list span { color: var(--gray); }
.cta-band { background: var(--red); color: white; padding: 58px 0; }
.cta-band .btn.primary { background: var(--black); justify-self: end; }
.page-hero { background: linear-gradient(135deg, #080808, #23090b); color: white; padding: 72px 0; }
.page-hero p { color: rgba(255,255,255,.78); }
.service-stack { background: white; }
.service-row { display: grid; grid-template-columns: .7fr 1.3fr; gap: 34px; border-bottom: 1px solid #ececec; padding: 34px 0; }
.service-row p { font-size: 19px; color: #494949; }
.dark-panel { background: var(--dark); color: white; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { background: rgba(255,255,255,.08); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-tile {
    min-height: 240px;
    background: linear-gradient(135deg, #121212, #2b2b2b 60%, #ef222b);
    border-radius: 24px;
    padding: 20px;
    display: flex;
    align-items: end;
    color: white;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}
.contact-card, .quote-form { border-radius: 28px; padding: 30px; box-shadow: 0 16px 36px rgba(0,0,0,.07); border: 1px solid #e9e9e9; }
.contact-card { align-self: start; }
.quote-form { display: grid; gap: 16px; }
.quote-form label { display: grid; gap: 7px; font-weight: 800; }
.quote-form input, .quote-form select, .quote-form textarea {
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid rgba(239,34,43,.28); border-color: var(--red); }
.notice { border-radius: 16px; padding: 14px 16px; }
.notice.success { background: #e9f9ee; color: #126b2b; }
.notice.error { background: #fff0f0; color: #9b1118; }
.small-note { color: var(--gray); font-size: 14px; }
.site-footer { background: #080808; color: rgba(255,255,255,.78); padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 40px; }
.footer-logo { width: 210px; margin-bottom: 14px; }
.site-footer h3 { color: white; font-size: 18px; }
.site-footer a { display: block; color: rgba(255,255,255,.78); margin-bottom: 8px; }
.site-footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 38px; padding: 18px 0; text-align: center; font-size: 14px; }
@media (max-width: 840px) {
    .nav-toggle { display: inline-flex; }
    .main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 78px; background: #101010; border-radius: 20px; padding: 14px; flex-direction: column; align-items: stretch; }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 14px; }
    .hero-grid, .split-grid, .two-col, .cta-grid, .contact-grid, .service-row { grid-template-columns: 1fr; }
    .cards.three, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 64px 0; }
    .hero-card { transform: none; }
    .stats { grid-template-columns: 1fr; }
    .cta-band .btn.primary { justify-self: start; }
}
section[id],
article[id] {
    scroll-margin-top: 120px;
}

@media (max-width: 768px) {
    section[id],
    article[id] {
        scroll-margin-top: 90px;
    }
}
.footer-social {
    margin-top: 18px;
}

.site-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.78);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 0;
}

.site-footer .footer-social a:hover {
    color: var(--white);
}

.site-footer .footer-social svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.site-footer .footer-social svg,
.site-footer .footer-social svg path {
    fill: currentColor;
}

/* Gallery category landing page */
.gallery-category-grid {
    align-items: stretch;
}

.gallery-category-tile {
    position: relative;
    min-height: 260px;
    background-size: cover;
    background-position: center;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.gallery-category-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(0,0,0,.18);
}

.gallery-category-tile span {
    display: block;
}

.gallery-category-tile small {
    display: block;
    max-width: 92%;
    margin-top: 8px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

.gallery-category-tile em {
    display: inline-flex;
    margin-top: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.84);
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.gallery-category-tile.is-coming-soon {
    cursor: default;
    opacity: .86;
}

/* Sub-gallery pages */
.gallery-back {
    margin: 0 0 24px;
}

.gallery-back a {
    color: var(--red);
    font-weight: 900;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.project-gallery-item {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: var(--dark);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
    min-height: 240px;
}

.project-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    transition: transform .18s ease;
}

.project-gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-placeholder {
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #121212, #2b2b2b 60%, #ef222b);
    color: rgba(255,255,255,.82);
    text-align: center;
    font-weight: 900;
}

@media (max-width: 840px) {
    .project-gallery-grid {
        grid-template-columns: 1fr;
    }
}
.gallery-card {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.project-gallery-item .lightbox-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,.88);
}

.lightbox.open {
    display: flex;
}

.lightbox-image {
    max-width: min(1100px, 94vw);
    max-height: 88vh;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0,0,0,.55);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--red);
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close:hover {
    background: var(--red-dark);
}

.project-gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 22px;
}

.project-gallery-item .lightbox-trigger {
    width: 100%;
    height: 100%;
}

.project-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}