/* Load after the legacy canvas stylesheet so the work cards use actual website visuals. */
.projects .project-image {
    padding: 0 !important;
    background-color: #161718 !important;
    background-position: center !important;
    background-size: cover !important;
}

.projects .project-image .case-browser {
    display: none !important;
}

.projects .project-image--corporate {
    background-image: url('../images/website-corporate.png') !important;
}

.projects .project-image--industrial {
    background-image: url('../images/website-industrial.png') !important;
}

.projects .project-image--public {
    background-image: url('../images/website-public.png') !important;
}

.projects .project-image--education {
    background-image: url('../images/website-education.png') !important;
}

.projects .project-image--property {
    background-image: url('../images/website-property.png') !important;
}

.projects .project:nth-child(3) {
    grid-column: 1 / -1;
    min-height: 470px;
}

@media (max-width: 820px) {
    .projects .project:nth-child(3) {
        grid-column: auto;
        min-height: 350px;
    }
}

.trust-band {
    background: #e7e0d6;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-block: clamp(42px, 6vw, 78px);
}

.trust-band-grid {
    display: grid;
    grid-template-columns: .55fr 1.35fr auto;
    align-items: start;
    gap: clamp(24px, 5vw, 70px);
}

.trust-band-grid > p:not(.aside-label) {
    max-width: 760px;
    margin: 0;
    color: #45433f;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 2;
}

@media (min-width: 821px) and (max-width: 1100px) {
    .hero { grid-template-columns: 1fr .86fr; padding-inline: 5vw; }
    .hero h1 { font-size: clamp(54px, 6.1vw, 76px); }
    .projects { grid-template-columns: 1fr 1fr; }
    .project, .project:nth-child(3) { min-height: 380px; grid-column: auto; }
    .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { gap: 6vw; }
}

@media (min-width: 560px) and (max-width: 820px) {
    .hero { padding-inline: 7vw; }
    .hero-visual { height: 410px; }
    .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project, .project:nth-child(3) { min-height: 330px; grid-column: auto; }
    .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service { grid-template-columns: 42px 1fr 42px; }
}

@media (max-width: 820px) {
    .trust-band-grid { grid-template-columns: 1fr; gap: 20px; }
    .trust-band .link-arrow { justify-self: start; }
    .contact-form .cta { min-height: 50px; }
    .whatsapp-float { inset-inline-end: 16px; inset-block-end: 16px; }
    .whatsapp-prompt { inset-inline-end: 16px; inset-block-end: 84px; }
}

.insight-image.insight-image--real img {
    filter: none;
}

.hero-image.hero-image--real {
    padding: 0;
    background: #151716;
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 0 100%, 0 12%);
}

.hero-image.hero-image--real::after {
    display: none;
}

.hero-image.hero-image--real img,
.about-poster.about-poster--real img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

.about-poster.about-poster--real {
    background: #151716;
}

.privacy-note a,
.footer > a:not(.brand):not(.whatsapp-link) {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 820px) {
    .hero-image.hero-image--real {
        clip-path: none;
    }
}

/* Delivery polish: keep website screens legible and use a calmer premium accent scale. */
:root {
    --acid: #c8e65a;
}

.ticker {
    background: #dce7c9;
}

.manifesto {
    background: #cedf86;
}

.project-overlay {
    background: linear-gradient(0deg, rgba(8, 9, 10, .58) 0%, rgba(8, 9, 10, .22) 48%, rgba(8, 9, 10, .06) 100%);
}

.project:hover .project-image {
    filter: brightness(.84);
}

.whatsapp-float {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #111816;
    color: #e8f3c8;
    border: 1px solid rgba(200, 230, 90, .82);
    border-radius: 4px;
    padding: 13px 15px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
}

.whatsapp-float::before {
    content: none;
}

.whatsapp-float {
    min-height: 48px;
    padding-inline-start: 48px;
    overflow: visible;
}

.whatsapp-agent {
    position: absolute;
    z-index: 1;
    inset-inline-start: -18px;
    inset-block-start: -27px;
    width: 58px;
    height: 58px;
    object-fit: cover;
    object-position: center 24%;
    border: 3px solid #111816;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .34), 0 0 0 1px rgba(200, 230, 90, .9);
}

.whatsapp-prompt {
    position: fixed;
    z-index: 29;
    inset-inline-end: 22px;
    inset-block-end: 92px;
    width: min(290px, calc(100vw - 44px));
    padding: 17px 42px 17px 18px;
    background: #f5f2ed;
    color: var(--ink);
    border-inline-start: 3px solid var(--acid);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
    display: grid;
    gap: 5px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .35s cubic-bezier(.2, .7, .2, 1);
}

.whatsapp-prompt.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.whatsapp-prompt strong {
    font: 700 13px/1.6 var(--body);
}

.whatsapp-prompt span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.75;
}

.whatsapp-prompt-close {
    position: absolute;
    inset-inline-end: 11px;
    inset-block-start: 9px;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.sector-map {
    padding-block: clamp(92px, 9vw, 132px);
}

.sector-heading {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: end;
    gap: clamp(30px, 7vw, 90px);
    margin-bottom: clamp(42px, 5vw, 66px);
}

.sector-heading > p {
    max-width: 410px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-inline-start: 1px solid var(--line);
}

.sector {
    min-height: 205px;
    padding: 26px;
    border-inline-end: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    align-content: start;
    gap: 16px;
}

.sector > span {
    color: var(--muted);
    font: 500 10px var(--mono);
}

.sector h3 {
    margin: 0;
    font: 600 clamp(21px, 2.3vw, 31px)/1.35 var(--display);
    letter-spacing: 0;
}

.sector p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.85;
}

@media (max-width: 820px) {
    .sector-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 34px;
    }

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

    .sector {
        min-height: 0;
        padding: 24px;
    }

    .whatsapp-agent {
        width: 52px;
        height: 52px;
        inset-inline-start: -13px;
        inset-block-start: -24px;
    }

    .whatsapp-prompt {
        inset-inline-end: 18px;
        inset-block-end: 88px;
    }
}
