/* =========================
   Base
   ========================= */

:root {
    --black: #070707;
    --charcoal: #111111;
    --cream: #f5efe5;
    --gray: #b5b5b5;
    --light: #f8f7f4;
    --red: #e10613;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
}

* {
    box-sizing: border-box;
}

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

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

h1,
h2,
h3,
p {
    margin-top: 0;
}

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

/* =========================
   Alphabetical Components
   ========================= */

.about-copy {
    color: #d8d8d8;
    font-size: 1.05rem;
}

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

.brand {
    align-items: center;
    display: flex;
    width: 76px;
}

.brand img {
    border-radius: 50%;
}

.button {
    align-items: center;
    border: 1px solid transparent;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.06em;
    min-height: 50px;
    padding: 0.8rem 1.4rem;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.button-primary {
    background: var(--red);
    color: var(--white);
}

.button-primary:hover {
    background: #bb0010;
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.button-secondary:hover {
    background: var(--white);
    color: var(--black);
}

.container {
    margin: 0 auto;
    max-width: 1180px;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

.contact-copy h2 {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.03;
    margin-bottom: 1.2rem;
}

.contact-copy > p {
    color: #c9c9c9;
    max-width: 640px;
}

.contact-details {
    display: grid;
    gap: 0.55rem;
    margin-top: 2rem;
}

.contact-details a {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
}

.contact-details a:hover {
    color: var(--red);
}

.contact-form {
    background: var(--white);
    color: var(--black);
    display: grid;
    gap: 1rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: #f6f6f6;
    border: 1px solid #d7d7d7;
    border-radius: 0;
    margin-top: 0.35rem;
    min-height: 48px;
    padding: 0.75rem;
    width: 100%;
}

.contact-form label {
    display: grid;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 5rem);
    grid-template-columns: 0.9fr 1.1fr;
}

.contact-section {
    background: var(--charcoal);
    padding: 100px 0;
}

.eyebrow {
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #8f8f8f;
    display: flex;
    font-size: 0.8rem;
    justify-content: space-between;
    padding-bottom: 24px;
    padding-top: 24px;
}

.footer-bottom p {
    margin: 0;
}

.footer-brand img {
    margin-bottom: 1rem;
    width: 95px;
}

.footer-brand p {
    color: #a8a8a8;
    margin-bottom: 0;
    max-width: 280px;
}

.footer-contact,
.footer-links {
    display: grid;
    gap: 0.6rem;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: var(--red);
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.5fr 1fr 1fr;
    padding-bottom: 52px;
    padding-top: 52px;
}

.form-honeypot {
    left: -9999px;
    position: absolute;
}

.form-note {
    color: #6d6d6d;
    font-size: 0.78rem;
    margin-bottom: 0;
}

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

.form-submit {
    border: 0;
    cursor: pointer;
    width: 100%;
}

.hero {
    align-items: center;
    background:
        radial-gradient(circle at 70% 35%, rgba(225, 6, 19, 0.2), transparent 30%),
        linear-gradient(135deg, #050505 0%, #101010 55%, #050505 100%);
    display: flex;
    min-height: 760px;
    overflow: hidden;
    padding: 150px 0 90px;
    position: relative;
}

.hero::after {
    background: linear-gradient(90deg, transparent 0 94%, rgba(225, 6, 19, 0.28) 94% 95%, transparent 95%);
    content: "";
    inset: 0;
    opacity: 0.35;
    pointer-events: none;
    position: absolute;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 2rem 0 1.35rem;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    font-size: clamp(3rem, 7vw, 6.4rem);
    letter-spacing: -0.055em;
    line-height: 0.96;
    margin-bottom: 1.5rem;
    max-width: 900px;
    text-transform: uppercase;
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 6vw, 6rem);
    grid-template-columns: 1.3fr 0.7fr;
    position: relative;
    z-index: 2;
}

.hero-logo-card {
    align-items: center;
    display: flex;
    justify-content: center;
}

.hero-logo-card img {
    filter: drop-shadow(0 24px 45px rgba(0, 0, 0, 0.65));
    width: min(440px, 100%);
}

.hero-overlay {
    background:
        repeating-linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.018) 0,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px,
            transparent 9px
        );
    inset: 0;
    position: absolute;
}

.hero-tagline {
    color: var(--cream);
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 700;
}

.hero-text {
    color: #d5d5d5;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    max-width: 720px;
}

.menu-toggle {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: none;
    padding: 8px;
}

.menu-toggle span:not(.sr-only) {
    background: var(--white);
    display: block;
    height: 2px;
    margin: 5px 0;
    width: 28px;
}

.nav-cta {
    background: var(--red);
    padding: 0.75rem 1rem;
}

.nav-wrap {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 92px;
}

.primary-nav {
    align-items: center;
    display: flex;
    gap: 1.6rem;
}

.primary-nav a {
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.primary-nav a:not(.nav-cta):hover {
    color: var(--red);
}

.project-card {
    background: #111;
    min-height: 330px;
    overflow: hidden;
    position: relative;
}

.project-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, 1fr);
}

.project-placeholder {
    align-items: flex-end;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.82)),
        linear-gradient(135deg, #282828, #111);
    display: flex;
    inset: 0;
    padding: 1.5rem;
    position: absolute;
}

.project-placeholder::before {
    border: 1px solid rgba(255, 255, 255, 0.15);
    content: "";
    inset: 18px;
    position: absolute;
}

.project-placeholder span {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section {
    background: var(--light);
    color: var(--black);
    padding: 100px 0;
}

.section-accent {
    background: var(--red);
    color: var(--white);
}

.section-dark {
    background: var(--charcoal);
    color: var(--white);
}

.section-heading {
    margin-bottom: 3rem;
    max-width: 760px;
}

.section-heading h2,
.split-layout h2,
.values-copy h2 {
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    letter-spacing: -0.045em;
    line-height: 1;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.section-heading p:last-child {
    color: #5f5f5f;
    font-size: 1.06rem;
}

.section-heading-light p:last-child {
    color: rgba(255, 255, 255, 0.78);
}

.service-card {
    background: var(--white);
    border-top: 4px solid var(--red);
    min-height: 270px;
    padding: 2rem;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.service-card p {
    color: #606060;
    margin-bottom: 0;
}

.service-number {
    color: var(--red);
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(4, 1fr);
}

.site-footer {
    background: #050505;
    color: var(--white);
}

.site-header {
    backdrop-filter: blur(14px);
    background: rgba(5, 5, 5, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 20;
}

.social-links {
    color: #858585;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    gap: 0.75rem 1.25rem;
    margin-top: 2rem;
}

.split-layout {
    align-items: start;
    display: grid;
    gap: clamp(2rem, 6vw, 6rem);
    grid-template-columns: 1fr 1fr;
}

.sr-only {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 0.2rem;
    padding: 1.3rem 1.5rem;
}

.trust-grid div:last-child {
    border-right: 0;
}

.trust-grid span {
    color: #929292;
    font-size: 0.82rem;
}

.trust-grid strong {
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.trust-strip {
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.values-grid {
    align-items: center;
    display: grid;
    gap: clamp(2rem, 7vw, 7rem);
    grid-template-columns: 1fr 1fr;
}

.values-section {
    background: var(--cream);
}

.values-section blockquote {
    border-left: 4px solid var(--red);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    padding-left: 2rem;
}

.values-section cite {
    display: block;
    font-size: 0.85rem;
    font-style: normal;
    letter-spacing: 0.1em;
    margin-top: 1.2rem;
    text-transform: uppercase;
}

/* =========================
   Mobile Viewports
   ========================= */

@media (max-width: 980px) {
    .contact-grid,
    .hero-grid,
    .split-layout,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo-card {
        margin: 0 auto;
        max-width: 420px;
    }

    .project-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .hero {
        min-height: auto;
        padding: 130px 0 70px;
    }

    .hero-copy h1 {
        font-size: clamp(2.7rem, 13vw, 4.3rem);
    }

    .menu-toggle {
        display: block;
    }

    .nav-cta {
        margin-top: 0.5rem;
        text-align: center;
    }

    .primary-nav {
        align-items: stretch;
        background: #090909;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: none;
        flex-direction: column;
        gap: 0;
        left: 0;
        padding: 1rem 24px 1.5rem;
        position: absolute;
        right: 0;
        top: 92px;
    }

    .primary-nav a {
        padding: 0.85rem 0;
    }

    .primary-nav.is-open {
        display: flex;
    }

    .project-grid,
    .services-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 76px 0;
    }

    .trust-grid div {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 520px) {
    .brand {
        width: 62px;
    }

    .button {
        width: 100%;
    }

    .contact-section {
        padding: 76px 0;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .nav-wrap {
        min-height: 78px;
    }

    .primary-nav {
        top: 78px;
    }

    .values-section blockquote {
        padding-left: 1.2rem;
    }
}

/* Project gallery */
.project-card { margin: 0; }
.project-card img {
    display: block;
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    transition: transform 0.5s ease;
    width: 100%;
}
.project-card:hover img { transform: scale(1.04); }
.project-card figcaption {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.85));
    bottom: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    left: 0;
    padding: 3rem 1.25rem 1.25rem;
    position: absolute;
    right: 0;
}
.project-card figcaption span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    opacity: 0.75;
    text-transform: uppercase;
}
.form-status {
    background: #fdecea;
    border-left: 4px solid #c0392b;
    color: #7a1f16;
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
}

/* Before & after gallery */
.ba-list { display: grid; gap: 2.5rem; }
.ba-project { background: rgba(0, 0, 0, 0.25); border-radius: 10px; padding: 1.25rem; }
.ba-head { margin-bottom: 1rem; }
.ba-head span { color: var(--red); display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.ba-head h3 { color: #fff; font-size: 1.35rem; margin: 0.2rem 0 0; }
.ba-pair { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
.ba-shot { aspect-ratio: 4 / 5; border-radius: 8px; margin: 0; overflow: hidden; position: relative; }
.ba-shot a, .ba-more a { display: block; height: 100%; }
.ba-shot img { display: block; height: 100%; object-fit: cover; transition: transform 0.5s ease; width: 100%; }
.ba-shot:hover img { transform: scale(1.03); }
.ba-tag { border-radius: 4px; color: #fff; font-size: 0.75rem; font-weight: 800; left: 0.6rem; letter-spacing: 0.12em; padding: 0.3rem 0.6rem; position: absolute; text-transform: uppercase; top: 0.6rem; }
.ba-tag-before, .ba-tag-during { background: rgba(7, 7, 7, 0.8); }
.ba-tag-after { background: var(--red); }
.ba-more { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); margin-top: 0.75rem; }
.ba-more a { aspect-ratio: 1; border-radius: 6px; overflow: hidden; }
.ba-more img { display: block; height: 100%; object-fit: cover; width: 100%; }
.ba-subhead { color: #fff; font-size: 1.35rem; margin: 3rem 0 1.25rem; }
@media (max-width: 520px) {
    .ba-project { padding: 0.9rem; }
    .ba-pair { gap: 0.5rem; }
    .ba-tag { font-size: 0.65rem; left: 0.4rem; top: 0.4rem; }
}

/* Project photo viewer */
.lb { align-items: center; background: rgba(0, 0, 0, 0.92); display: flex; inset: 0; justify-content: center; position: fixed; z-index: 1000; }
.lb[hidden] { display: none; }
.lb-stage { align-items: center; display: flex; flex-direction: column; height: 100%; justify-content: center; margin: 0; padding: 3.5rem 4.5rem; width: 100%; }
.lb-img { border-radius: 6px; max-height: calc(100% - 2.5rem); max-width: 100%; object-fit: contain; }
.lb-cap { color: #fff; font-size: 0.95rem; margin-top: 0.9rem; text-align: center; }
.lb-count { opacity: 0.7; margin-left: 0.5rem; }
.lb-close, .lb-nav { background: rgba(255, 255, 255, 0.12); border: 0; border-radius: 50%; color: #fff; cursor: pointer; line-height: 1; position: absolute; transition: background 0.2s ease; }
.lb-close:hover, .lb-nav:hover { background: var(--red); }
.lb-close { font-size: 2rem; height: 2.75rem; right: 1rem; top: 1rem; width: 2.75rem; z-index: 2; }
.lb-nav { font-size: 2.6rem; height: 3.25rem; top: 50%; transform: translateY(-50%); width: 3.25rem; z-index: 2; }
.lb-nav[hidden] { display: none; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.ba-shot a, .ba-more a { cursor: zoom-in; }
@media (max-width: 520px) {
    .lb-stage { padding: 3.5rem 0.75rem 1.5rem; }
    .lb-nav { background: rgba(0, 0, 0, 0.55); font-size: 2.2rem; height: 2.75rem; width: 2.75rem; }
    .lb-prev { left: 0.4rem; }
    .lb-next { right: 0.4rem; }
}
