.home-page { background: var(--canvas, #fdfdfb); color: var(--ink, #111210); }
.home-container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.home-hero { display: grid; min-height: calc(100svh - 76px); align-items: center; }
.home-hero__copy { width: min(900px, 100%); margin-inline: auto; padding-block: clamp(4rem, 10vh, 7rem); }
.home-hero__title {
    margin: 0; font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(2.9rem, 5.65vw, 4.9rem); font-weight: 400;
    letter-spacing: -.045em; line-height: 1.02;
}
.home-hero__title span { display: block; white-space: nowrap; }
.home-hero__accent, .home-eyebrow, .home-number, .home-text-link,
.home-case__technology, .home-case__link { color: var(--red, #b93824); }
.home-hero__subtitle {
    max-width: 650px; margin: 1.7rem 0 0; color: var(--muted, #6e706b);
    font-size: clamp(1rem, 1.45vw, 1.15rem); line-height: 1.6;
}

.home-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.75rem; }
.home-actions--section { margin-top: 2rem; }
.home-button {
    display: inline-flex; min-height: 46px; align-items: center; justify-content: center;
    gap: .7rem; padding: .75rem 1.25rem; border: 1px solid transparent;
    font-size: .9rem; font-weight: 600; text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.home-button--primary { background: var(--ink, #111210); color: #fff; }
.home-button--primary span { color: #e15a43; }
.home-button--primary:hover, .home-button--primary:focus-visible { background: var(--red, #b93824); }
.home-button--primary:hover span, .home-button--primary:focus-visible span { color: #fff; }
.home-button--secondary { border-color: var(--line, #e4e5e1); color: var(--ink, #111210); }
.home-button--secondary:hover, .home-button--secondary:focus-visible {
    border-color: var(--red, #b93824); color: var(--red, #b93824);
}

.home-section {
    padding-block: clamp(5.5rem, 10vw, 9rem); border-top: 1px solid var(--line, #e4e5e1);
    scroll-margin-top: 76px;
}
.home-eyebrow {
    margin: 0 0 1.25rem; font-size: .74rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
}
.home-heading {
    max-width: 880px; margin: 0; font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(2.3rem, 4.3vw, 4.2rem); font-weight: 400;
    letter-spacing: -.045em; line-height: 1.08; overflow-wrap: anywhere;
}
.home-intro {
    max-width: 660px; margin: 1.5rem 0 0; color: var(--muted, #6e706b);
    font-size: 1.07rem; line-height: 1.7;
}

.home-services {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 4.25rem; border-top: 1px solid var(--line, #e4e5e1);
}
.home-service {
    display: flex; min-width: 0; flex-direction: column; padding: 1.6rem 2rem 0 0;
    border-right: 1px solid var(--line, #e4e5e1);
}
.home-service + .home-service { padding-left: 2rem; }
.home-service:last-child { border-right: 0; }
.home-number {
    font-family: "Space Grotesk", system-ui, sans-serif; font-size: .82rem;
    font-weight: 500; letter-spacing: .04em;
}
.home-service h3, .home-case h3, .home-audiences h3, .home-steps h3 {
    font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 400; letter-spacing: -.03em;
}
.home-service h3 { margin: 2.8rem 0 .9rem; font-size: 1.55rem; }
.home-service > p, .home-audiences p, .home-steps p {
    margin: 0; color: var(--muted, #6e706b); line-height: 1.65;
}
.home-service__points {
    margin: 2rem 0; padding: 0; border-top: 1px solid var(--line, #e4e5e1); list-style: none;
}
.home-service__points li { padding-block: 1rem; border-bottom: 1px solid var(--line, #e4e5e1); }
.home-service__points strong, .home-service__points span { display: block; }
.home-service__points strong { margin-bottom: .25rem; font-size: .88rem; font-weight: 600; }
.home-service__points span { color: var(--muted, #6e706b); font-size: .88rem; line-height: 1.55; }
.home-text-link {
    width: fit-content; margin-top: auto; font-size: .88rem; font-weight: 600;
    text-decoration-thickness: 1px; text-underline-offset: .25em;
}

.home-cases { margin-top: 4rem; border-top: 1px solid var(--line, #e4e5e1); }
.home-case {
    display: grid; grid-template-columns: 175px minmax(0, 1fr) 48px; gap: 2rem;
    align-items: center; padding-block: 2.25rem; border-bottom: 1px solid var(--line, #e4e5e1);
}
.home-case__meta {
    display: grid; gap: .35rem; align-self: start; color: var(--muted, #6e706b);
    font-size: .78rem; line-height: 1.45;
}
.home-case__meta span:first-child { color: var(--red, #b93824); font-weight: 600; }
.home-case h3 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 2.1rem); }
.home-case__body > p {
    max-width: 690px; margin: .65rem 0 0; color: var(--muted, #6e706b); line-height: 1.6;
}
.home-case__body .home-case__technology { font-size: .78rem; font-weight: 600; letter-spacing: .035em; }
.home-case__link {
    display: grid; width: 44px; height: 44px; place-items: center;
    font-size: 1.45rem; text-decoration: none;
}
.home-case:has(.home-case__link:hover) h3,
.home-case:has(.home-case__link:focus-visible) h3 { color: var(--red, #b93824); }

.home-audiences {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 4.25rem;
    border-top: 1px solid var(--line, #e4e5e1); border-left: 1px solid var(--line, #e4e5e1);
}
.home-audiences article {
    min-height: 215px; padding: 1.5rem; border-right: 1px solid var(--line, #e4e5e1);
    border-bottom: 1px solid var(--line, #e4e5e1);
}
.home-audiences h3, .home-steps h3 { margin: 2.5rem 0 .65rem; font-size: 1.3rem; }

.home-process { border-color: var(--ink, #111210); background: var(--ink, #111210); color: #fff; }
.home-process .home-eyebrow, .home-process .home-number { color: #e15a43; }
.home-process .home-intro, .home-process .home-steps p { color: #c2c4bd; }
.home-steps {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 4.25rem;
    border-top: 1px solid rgba(255, 255, 255, .22);
}
.home-steps article {
    min-height: 225px; padding: 1.4rem 1.5rem 1.5rem 0;
    border-right: 1px solid rgba(255, 255, 255, .22);
}
.home-steps article + article { padding-left: 1.5rem; }
.home-steps article:last-child { border-right: 0; }

.home-contact { text-align: center; }
.home-contact .home-heading, .home-contact .home-intro { margin-inline: auto; }
.home-contact .home-actions { justify-content: center; }

.home-page .site-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
}

.home-page .site-footer__links button {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.home-page .site-footer__links button:hover,
.home-page .site-footer__links button:focus-visible {
    color: var(--site-red, #b93824);
}

.home-modal[hidden] { display: none; }
.home-modal {
    position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px;
}
.home-modal__backdrop {
    position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0;
    background: rgba(17, 18, 16, .64); cursor: pointer;
}
.home-modal__dialog {
    position: relative; width: min(680px, 100%); max-height: min(82svh, 760px);
    overflow-y: auto; padding: clamp(1.5rem, 4vw, 3rem); background: var(--canvas, #fdfdfb);
}
.home-modal__dialog h2 {
    margin: 0 3rem 2rem 0; font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 400; letter-spacing: -.04em;
}
.home-modal__dialog section { padding-block: 1rem; border-top: 1px solid var(--line, #e4e5e1); }
.home-modal__dialog h3 { margin: 0 0 .4rem; font-size: .92rem; }
.home-modal__dialog p { margin: 0; color: var(--muted, #6e706b); font-size: .92rem; line-height: 1.6; }
.home-modal__close {
    position: absolute; top: 1rem; right: 1rem; display: grid; width: 44px; height: 44px;
    place-items: center; padding: 0; border: 1px solid var(--line, #e4e5e1); background: transparent;
    color: var(--ink, #111210); font: 1.7rem/1 "DM Sans", system-ui, sans-serif; cursor: pointer;
}
body.has-open-modal { overflow: hidden; }

@media (max-width: 900px) {
    .home-services, .home-audiences { grid-template-columns: 1fr; }
    .home-service, .home-service + .home-service {
        padding: 1.5rem 0 2rem; border-right: 0; border-bottom: 1px solid var(--line, #e4e5e1);
    }
    .home-service:last-child { border-bottom: 0; }
    .home-service h3 { margin-top: 1.8rem; }
    .home-audiences { border-left: 0; }
    .home-audiences article { min-height: auto; padding: 1.5rem 0; border-right: 0; }
    .home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-steps article:nth-child(2) { border-right: 0; }
    .home-steps article:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .22); }
}

@media (max-width: 660px) {
    .home-container { width: min(100% - 40px, 1120px); }
    .home-hero { min-height: calc(100svh - 66px); }
    .home-hero__title { font-size: clamp(1.5rem, 7.65vw, 3.1rem); letter-spacing: -.055em; }
    .home-hero__subtitle { margin-top: 1.4rem; }
    .home-actions, .home-contact .home-actions { flex-direction: column; }
    .home-button { width: 100%; }
    .home-case { grid-template-columns: 1fr 44px; gap: 1rem; }
    .home-case__meta { grid-column: 1 / -1; }
    .home-case__body { min-width: 0; }
    .home-steps { grid-template-columns: 1fr; }
    .home-steps article, .home-steps article + article {
        min-height: auto; padding: 1.5rem 0; border-top: 0; border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .22);
    }
    .home-steps article:last-child { border-bottom: 0; }
    .home-steps h3, .home-audiences h3 { margin-top: 1.7rem; }
    .home-page .site-footer__links { justify-content: flex-start; gap: .75rem 1rem; }
}

@media (prefers-reduced-motion: reduce) { .home-button { transition: none; } }
