:root {
    --clean-red: #e50914;
    --clean-black: #050505;
    --clean-panel: #101010;
    --clean-line: rgba(255, 255, 255, 0.14);
    --clean-muted: #b7b7b7;
}

/* Reference image fidelity pass */
.site-shell {
    background: #020202;
}

.quick-contact,
.cursor-glow {
    display: none;
}

.site-header {
    width: 100%;
    height: 74px;
    margin: 0;
    padding: 0 max(52px, calc((100vw - 1230px) / 2));
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: none;
    transform: none;
}

.site-header.is-scrolled {
    background: rgba(0, 0, 0, 0.96);
    transform: none;
}

.brand-logo {
    width: 166px;
    filter: none;
}

.site-nav {
    gap: 42px;
}

.site-nav a,
.site-nav .mega-toggle {
    color: #eeeeee;
    font-size: 13px;
    font-weight: 700;
}

.site-nav > a:first-child::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    margin: 19px auto 0;
    background: var(--clean-red);
}

.header-cta,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 28px;
    border-radius: 4px;
    line-height: 1;
    text-align: center;
    background: #e72b32;
    box-shadow: 0 18px 40px rgba(229, 9, 20, 0.24);
}

.btn-secondary {
    min-height: 42px;
    padding: 0 28px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.035);
}

.ref-home {
    --ref-max: 1230px;
}

.ref-hero {
    min-height: 506px;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 20px;
    padding: 108px max(52px, calc((100vw - var(--ref-max)) / 2)) 28px;
}

.ref-kicker {
    margin-bottom: 24px;
    font-size: 15px;
}

.ref-hero h1 {
    max-width: 600px;
    font-size: clamp(40px, 4.7vw, 58px);
    letter-spacing: -0.02em;
}

.ref-hero-copy > p:not(.ref-kicker) {
    max-width: 505px;
    font-size: 17px;
}

.ref-hero-art {
    min-height: 390px;
}

.ref-hero-art img {
    min-height: 390px;
}

.ref-channel-strip,
.ref-services,
.ref-outdoor,
.ref-performance,
.ref-work,
.ref-process,
.ref-values,
.ref-testimonials,
.ref-blog,
.ref-cta {
    padding-left: max(52px, calc((100vw - var(--ref-max)) / 2));
    padding-right: max(52px, calc((100vw - var(--ref-max)) / 2));
}

.ref-channel-strip {
    padding-top: 16px;
    padding-bottom: 14px;
}

.ref-channel-strip h2,
.ref-services > h2,
.ref-work > h2,
.ref-process > h2,
.ref-values > h2,
.ref-testimonials > h2,
.ref-blog > h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

.ref-channel-strip > div {
    max-width: 1090px;
}

.ref-channel-strip article {
    min-height: 98px;
    border-radius: 10px;
}

.ref-manifest {
    min-height: 280px;
    padding: 34px max(52px, calc((100vw - var(--ref-max)) / 2));
}

.ref-manifest img {
    max-height: 286px;
    opacity: 0.88;
}

.ref-service-grid {
    max-width: 1130px;
}

.ref-service-grid a {
    min-height: 118px;
    border-radius: 9px;
}

.ref-outdoor,
.ref-performance {
    grid-template-columns: 310px 1fr;
    padding-top: 24px;
    padding-bottom: 24px;
}

.ref-outdoor-grid a,
.ref-work-grid article,
.ref-platform-grid a,
.ref-blog article,
.ref-values article,
.ref-testimonials article {
    border-radius: 8px;
}

.ref-work-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ref-work-grid img {
    aspect-ratio: 1.33;
}

.ref-process {
    padding-top: 22px;
    padding-bottom: 22px;
}

.ref-values,
.ref-testimonials,
.ref-blog {
    padding-top: 24px;
    padding-bottom: 24px;
}

.ref-cta {
    min-height: 120px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.ref-cta h2 {
    font-size: clamp(26px, 3.2vw, 40px);
}

.site-footer {
    padding: 34px max(52px, calc((100vw - 1230px) / 2)) 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #020202;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.75fr 1fr 1fr 0.8fr;
    gap: 34px;
    align-items: start;
}

.site-footer h3 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.site-footer p,
.site-footer span,
.site-footer a {
    color: #9f9f9f;
    font-size: 13px;
    line-height: 1.55;
}

.site-footer a {
    display: block;
    margin-bottom: 5px;
}

.footer-about p {
    max-width: 285px;
    margin: 14px 0 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 999px;
    color: #ffffff;
}

@media (max-width: 980px) {
    .site-header {
        padding: 0 18px;
    }

    .ref-hero,
    .ref-outdoor,
    .ref-performance {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .site-header {
        height: auto;
        min-height: 70px;
    }

    .site-nav > a:first-child::after {
        display: none;
    }

    .ref-hero,
    .ref-channel-strip,
    .ref-manifest,
    .ref-services,
    .ref-outdoor,
    .ref-performance,
    .ref-work,
    .ref-process,
    .ref-values,
    .ref-testimonials,
    .ref-blog,
    .ref-cta,
    .site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

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

/* Keep mega menu reachable on every page. */
.site-header,
.site-nav,
.mega-nav {
    overflow: visible;
}

.mega-nav {
    position: relative;
}

.mega-nav::after {
    content: "";
    position: absolute;
    left: -28px;
    right: -28px;
    top: 100%;
    height: 22px;
}

.mega-menu {
    top: 100%;
    z-index: 120;
}

.mega-nav:hover .mega-menu,
.mega-nav.is-open .mega-menu,
.mega-nav:focus-within .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

/* Blog listing final alignment */
.inner-page .ref-blog {
    padding: 34px 24px 36px;
}

.inner-page .ref-blog > div {
    width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.inner-page .ref-blog article {
    min-width: 0;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 16px;
}

.inner-page .ref-blog img {
    width: 150px;
    height: 126px;
    border-radius: 6px;
}

.inner-page .ref-blog h3 {
    margin: 0 0 12px;
    line-height: 1.25;
}

.inner-page .ref-blog p {
    margin: 0 0 14px;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .inner-page .ref-blog > div {
        grid-template-columns: 1fr;
        max-width: 760px;
    }
}

@media (max-width: 560px) {
    .inner-page .ref-blog {
        padding-left: 18px;
        padding-right: 18px;
    }

    .inner-page .ref-blog article {
        grid-template-columns: 1fr;
    }

    .inner-page .ref-blog img {
        width: 100%;
        height: 180px;
    }
}

/* Blog listing alignment */
.inner-page .ref-blog {
    padding: 34px 24px 36px;
}

.inner-page .ref-blog > div {
    width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.inner-page .ref-blog article {
    min-width: 0;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 16px;
}

.inner-page .ref-blog img {
    width: 150px;
    height: 126px;
    border-radius: 6px;
}

.inner-page .ref-blog h3 {
    margin: 0 0 12px;
    line-height: 1.25;
}

.inner-page .ref-blog p {
    margin: 0 0 14px;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .inner-page .ref-blog > div {
        grid-template-columns: 1fr;
        max-width: 760px;
    }
}

@media (max-width: 560px) {
    .inner-page .ref-blog {
        padding-left: 18px;
        padding-right: 18px;
    }

    .inner-page .ref-blog article {
        grid-template-columns: 1fr;
    }

    .inner-page .ref-blog img {
        width: 100%;
        height: 180px;
    }
}

.site-header,
.site-nav,
.mega-nav {
    overflow: visible;
}

.mega-nav {
    position: relative;
}

.mega-nav::after {
    content: "";
    position: absolute;
    left: -28px;
    right: -28px;
    top: 100%;
    height: 22px;
}

.mega-menu {
    top: 100%;
    z-index: 120;
}

.mega-nav:hover .mega-menu,
.mega-nav.is-open .mega-menu,
.mega-nav:focus-within .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

/* Mega menu final interaction override */
.site-header,
.site-nav,
.mega-nav {
    overflow: visible;
}

.mega-nav {
    position: relative;
}

.mega-nav::after {
    content: "";
    position: absolute;
    left: -28px;
    right: -28px;
    top: 100%;
    height: 22px;
}

.mega-menu {
    top: 100%;
    z-index: 120;
}

.mega-nav:hover .mega-menu,
.mega-nav.is-open .mega-menu,
.mega-nav:focus-within .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

.site-shell {
    background:
        radial-gradient(circle at 80% 0%, rgba(229, 9, 20, 0.2), transparent 28rem),
        linear-gradient(180deg, #050505, #0b0b0b 48%, #050505);
}

.site-header {
    background: rgba(5, 5, 5, 0.86);
    border-color: rgba(255, 255, 255, 0.14);
}

.site-nav {
    align-items: center;
    overflow: visible;
}

.mega-nav {
    position: relative;
    overflow: visible;
}

.mega-nav::after {
    content: "";
    position: absolute;
    left: -28px;
    right: -28px;
    top: 100%;
    height: 20px;
}

.site-nav .mega-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.site-nav .mega-toggle::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    opacity: 0.75;
}

.site-nav a.mega-toggle.is-active::after {
    display: inline-block;
    height: 6px;
    margin-top: 0;
    background: transparent;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 120;
    width: min(1120px, calc(100vw - 44px));
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    visibility: hidden;
}

.mega-nav:hover .mega-menu,
.mega-nav.is-open .mega-menu,
.mega-nav:focus-within .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}

.mega-group {
    min-height: 390px;
    padding: 22px;
    background:
        linear-gradient(145deg, rgba(229, 9, 20, 0.12), rgba(255, 255, 255, 0.025)),
        rgba(8, 8, 8, 0.98);
}

.mega-group h3 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.mega-group p {
    min-height: 62px;
    margin-bottom: 16px;
    color: #a9a9a9;
    font-size: 13px;
    line-height: 1.45;
}

.mega-group ul {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav .mega-group a {
    display: block;
    padding: 8px 0;
    color: #eeeeee;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

.site-nav .mega-group a:hover {
    color: #ff5c64;
}

.clean-site {
    background: transparent;
}

.clean-hero,
.clean-services,
.clean-story,
.clean-work,
.clean-process,
.clean-contact {
    padding: 86px max(24px, calc((100vw - var(--max)) / 2));
}

.clean-hero {
    min-height: 78svh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 38px;
    align-items: center;
    padding-top: 116px;
    padding-bottom: 58px;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.72)),
        url("/public/assets/img/tirilizm-hero.png") center / cover;
}

.clean-hero h1 {
    max-width: 720px;
    margin-bottom: 18px;
    font-size: clamp(34px, 4.8vw, 62px);
    line-height: 1.02;
    font-weight: 900;
}

.clean-hero-copy > p:not(.eyebrow) {
    max-width: 580px;
    color: #dddddd;
    font-size: clamp(16px, 1.3vw, 18px);
}

.clean-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.clean-hero-card {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--clean-line);
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(16px);
}

.clean-hero-card img {
    width: 100%;
    max-width: 220px;
    margin: 10px auto;
    filter: drop-shadow(0 0 24px rgba(229, 9, 20, 0.48));
}

.clean-hero-card div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--clean-line);
    border: 1px solid var(--clean-line);
}

.clean-hero-card span {
    padding: 12px;
    background: #080808;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.clean-head {
    max-width: 760px;
    margin-bottom: 32px;
}

.clean-head h2,
.clean-contact h2 {
    margin-bottom: 0;
    font-size: clamp(32px, 4.2vw, 58px);
    line-height: 1.02;
    font-weight: 900;
}

.clean-services {
    background: #080808;
}

.clean-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.clean-service-grid article {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border: 1px solid var(--clean-line);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.012)),
        var(--clean-panel);
}

.clean-service-grid a {
    width: fit-content;
    margin-top: 22px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.clean-service-grid a::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 6px;
    background: var(--clean-red);
}

.clean-service-grid article:first-child {
    grid-column: auto;
    background:
        linear-gradient(145deg, rgba(229, 9, 20, 0.22), rgba(255, 255, 255, 0.02)),
        #120608;
}

.clean-service-grid article:nth-child(2),
.clean-service-grid article:nth-child(5) {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.014)),
        #121212;
}

.clean-service-grid span,
.clean-story-grid span,
.clean-work-grid span,
.clean-process-grid span {
    color: #ff5c64;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.clean-service-grid h3 {
    margin: auto 0 16px;
    font-size: clamp(25px, 3vw, 40px);
    font-weight: 900;
}

.clean-service-grid p,
.clean-story-grid p,
.clean-process-grid p,
.clean-contact p {
    color: var(--clean-muted);
}

.clean-story {
    background:
        radial-gradient(circle at 82% 12%, rgba(229, 9, 20, 0.18), transparent 25rem),
        #050505;
}

.clean-story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.clean-story-grid article {
    min-height: 310px;
    padding: 26px;
    border: 1px solid var(--clean-line);
    background: #0c0c0c;
}

.clean-story-grid strong {
    display: block;
    margin-bottom: 30px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(229, 9, 20, 0.82);
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 900;
    line-height: 0.8;
}

.clean-story-grid h3 {
    margin: 14px 0 14px;
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 900;
}

.clean-work {
    background: #0a0a0a;
}

.clean-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.clean-work-grid article {
    overflow: hidden;
    border: 1px solid var(--clean-line);
    background: #0d0d0d;
}

.clean-work-grid img {
    width: 100%;
    aspect-ratio: 16 / 11;
    display: block;
    object-fit: cover;
}

.clean-work-grid div {
    padding: 24px;
}

.clean-work-grid h3 {
    margin: 12px 0;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 900;
}

.clean-work-grid p {
    color: var(--clean-muted);
}

.clean-process {
    background: #050505;
}

.clean-capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 96px max(24px, calc((100vw - var(--max)) / 2));
    background: #080808;
}

.clean-capabilities article {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px;
    border: 1px solid var(--clean-line);
    background: var(--clean-panel);
}

.clean-capabilities h3 {
    font-size: clamp(25px, 2.8vw, 36px);
    font-weight: 900;
}

.clean-capabilities p {
    color: var(--clean-muted);
}

.clean-capabilities div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.clean-capabilities span,
.clean-capabilities a {
    padding: 8px 10px;
    border: 1px solid var(--clean-line);
    color: #eeeeee;
    font-size: 12px;
    font-weight: 800;
}

.clean-capabilities a:hover {
    border-color: rgba(229, 9, 20, 0.72);
    color: #ffffff;
}

.service-page {
    background:
        radial-gradient(circle at 78% 8%, rgba(229, 9, 20, 0.2), transparent 28rem),
        #050505;
}

.service-detail-hero,
.service-detail-grid,
.service-siblings,
.service-listing {
    padding: 92px max(24px, calc((100vw - var(--max)) / 2));
}

.service-detail-hero {
    min-height: 62svh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 28px;
    align-items: end;
    padding-top: 150px;
    background:
        linear-gradient(110deg, rgba(5, 5, 5, 0.98), rgba(26, 0, 3, 0.72)),
        url("/public/assets/img/tirilizm-hero.png") center / cover;
}

.service-detail-hero h1 {
    max-width: 780px;
    margin-bottom: 18px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1;
    font-weight: 900;
}

.service-detail-hero p {
    max-width: 680px;
    color: #d5d5d5;
    font-size: 18px;
}

.service-detail-hero aside {
    padding: 24px;
    border: 1px solid var(--clean-line);
    background: rgba(8, 8, 8, 0.86);
}

.service-detail-hero aside span,
.service-detail-grid span {
    color: #ff5c64;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.service-detail-hero aside strong {
    display: block;
    margin: 14px 0;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
}

.service-detail-hero aside p {
    font-size: 14px;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    background: #080808;
}

.service-detail-grid article,
.service-listing article {
    min-height: 260px;
    padding: 28px;
    border: 1px solid var(--clean-line);
    background: var(--clean-panel);
}

.service-detail-grid h2,
.service-listing h2 {
    margin: 18px 0 12px;
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight: 900;
}

.service-detail-grid p,
.service-listing p {
    color: var(--clean-muted);
}

.service-siblings {
    background: #050505;
}

.service-siblings > div:last-child,
.service-listing article div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-siblings a,
.service-listing a {
    padding: 11px 13px;
    border: 1px solid var(--clean-line);
    color: #f2f2f2;
    font-size: 13px;
    font-weight: 900;
}

.service-siblings a:hover,
.service-siblings a.is-current,
.service-listing a:hover {
    border-color: rgba(229, 9, 20, 0.82);
    background: rgba(229, 9, 20, 0.16);
}

.service-rich-overview,
.service-insight-table,
.service-deliverables-rich {
    width: min(1120px, calc(100% - 48px));
    margin: 34px auto 54px;
}

.service-rich-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 24px;
    align-items: start;
}

.service-rich-copy,
.service-insight-table,
.service-deliverables-rich {
    min-width: 0;
}

.service-rich-copy p:not(.eyebrow) {
    max-width: 860px;
    margin: 0 0 18px;
    color: #b9b9c0;
    font-size: 16px;
    line-height: 1.8;
}

.service-rich-copy h2,
.service-insight-table h2,
.service-deliverables-rich h2,
.service-faq-rich h2,
.service-editorial-block h3 {
    margin: 0 0 18px;
    color: #f5f5f5;
    line-height: 1.08;
}

.service-editorial-block h3 {
    margin-top: 28px;
    font-size: clamp(24px, 2.4vw, 32px);
}

.service-highlight-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.service-highlight-list li {
    position: relative;
    padding-left: 18px;
    color: #e8e8e8;
    font-size: 15px;
    line-height: 1.6;
}

.service-highlight-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ff5c64;
}

.service-rich-visual {
    position: sticky;
    top: 112px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0a0a;
}

.service-rich-visual img {
    width: 100%;
    height: 420px;
    display: block;
    object-fit: cover;
}

.service-visual-note {
    display: grid;
    gap: 10px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.service-visual-note span {
    color: #ff5c64;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.service-visual-note strong {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.25;
}

.service-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #090909;
}

.service-table-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.service-table-wrap th,
.service-table-wrap td {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    vertical-align: top;
}

.service-table-wrap th {
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.03);
}

.service-table-wrap td {
    color: #b9b9c0;
    font-size: 15px;
    line-height: 1.65;
}

.service-deliverables-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.service-deliverables-grid article {
    min-height: 0;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0a0a;
}

.service-deliverables-grid span {
    color: #ff5c64;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.service-deliverables-grid h3 {
    margin: 16px 0 12px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.12;
}

.service-deliverables-grid p {
    margin: 0;
    color: #b9b9c0;
    line-height: 1.7;
}

.service-packages {
    padding: 28px max(24px, calc((100vw - var(--max)) / 2)) 10px;
}

.service-package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-package-card {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(239, 47, 47, 0.14), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        #0a0a0a;
}

.service-package-badge {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(239, 47, 47, 0.14);
    color: #ff5f5f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-package-card h3 {
    margin: 0;
    color: #fff;
    font-size: 26px;
    line-height: 1.08;
}

.service-package-card strong {
    display: block;
    color: #fff;
    font-size: 34px;
    line-height: 1;
}

.service-package-card p {
    margin: 0;
    color: #b5b5bc;
    line-height: 1.7;
}

.service-package-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.service-package-card li {
    position: relative;
    padding-left: 18px;
    color: #ececf1;
    line-height: 1.55;
}

.service-package-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef3b36;
}

.service-package-card .btn {
    margin-top: 6px;
    width: 100%;
}

@media (max-width: 1100px) {
    .service-package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .service-package-grid {
        grid-template-columns: 1fr;
    }
}

.service-listing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding-top: 40px;
}

.clean-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--clean-line);
    border-left: 1px solid var(--clean-line);
}

.clean-process-grid article {
    min-height: 250px;
    padding: 26px;
    border-right: 1px solid var(--clean-line);
    border-bottom: 1px solid var(--clean-line);
}

.clean-process-grid h3 {
    margin: 18px 0 12px;
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 900;
}

.clean-contact {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
    background:
        linear-gradient(120deg, rgba(229, 9, 20, 0.78), rgba(20, 0, 2, 0.96) 52%),
        #170004;
}

.clean-contact > div {
    max-width: 760px;
}

.agency-home {
    background: #050505;
}

.agency-hero,
.home-service-lab,
.home-story-stage,
.home-case-band,
.home-process,
.home-final-cta,
.inner-hero,
.inner-grid,
.inner-statement,
.contact-panels {
    padding: 92px max(24px, calc((100vw - var(--max)) / 2));
}

.agency-hero {
    min-height: 86svh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
    gap: 42px;
    align-items: center;
    padding-top: 138px;
    background:
        linear-gradient(90deg, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0.72) 58%, rgba(5, 5, 5, 0.88)),
        url("/public/assets/img/tirilizm-hero.png") center / cover;
}

.agency-hero h1,
.inner-hero h1 {
    max-width: 850px;
    margin-bottom: 20px;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.96;
    font-weight: 900;
}

.agency-hero-copy > p:not(.eyebrow),
.inner-hero > p {
    max-width: 660px;
    color: #dddddd;
    font-size: clamp(16px, 1.35vw, 19px);
}

.hero-command {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--clean-line);
    background: rgba(8, 8, 8, 0.86);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
}

.hero-command-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--clean-line);
    background: #070707;
}

.hero-command-top img {
    width: min(190px, 48%);
    height: auto;
}

.hero-command-top span,
.service-showcase-lead span,
.home-capability-wall article > span,
.home-case-grid span,
.contact-panels span {
    color: #ff5c64;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-command-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--clean-line);
    border: 1px solid var(--clean-line);
}

.hero-command-grid article {
    min-height: 112px;
    padding: 16px;
    background: #0d0d0d;
}

.hero-command-grid strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
}

.hero-command-grid span {
    color: var(--clean-muted);
    font-size: 13px;
    font-weight: 700;
}

.hero-service-rail {
    display: grid;
    gap: 8px;
}

.hero-service-rail a {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--clean-line);
    color: #ffffff;
    font-weight: 900;
}

.hero-service-rail a:hover {
    border-color: rgba(229, 9, 20, 0.75);
    background: rgba(229, 9, 20, 0.12);
}

.hero-service-rail span {
    color: #ff5c64;
    font-size: 12px;
}

.section-split-head {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
    gap: 42px;
    align-items: end;
    margin-bottom: 34px;
}

.section-split-head h2,
.story-statement h2,
.home-final-cta h2,
.inner-statement h2 {
    max-width: 800px;
    margin-bottom: 0;
    font-size: clamp(32px, 4.4vw, 58px);
    line-height: 1.02;
    font-weight: 900;
}

.section-split-head > p,
.section-split-head .text-link,
.story-statement p,
.home-final-cta p,
.inner-statement p {
    color: var(--clean-muted);
}

.text-link {
    width: fit-content;
    justify-self: end;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.text-link::after {
    content: "";
    display: block;
    height: 2px;
    margin-top: 6px;
    background: var(--clean-red);
}

.home-service-lab {
    background: #080808;
}

.service-showcase {
    display: grid;
    grid-template-columns: minmax(320px, 0.44fr) minmax(0, 1fr);
    gap: 14px;
}

.service-showcase-lead {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    border: 1px solid var(--clean-line);
    background:
        linear-gradient(145deg, rgba(229, 9, 20, 0.32), rgba(12, 12, 12, 0.98)),
        #160306;
}

.service-showcase-lead h3 {
    margin: 22px 0 14px;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1;
    font-weight: 900;
}

.service-showcase-lead p {
    color: #dedede;
}

.service-showcase-lead a {
    width: fit-content;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.service-showcase-grid a {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border: 1px solid var(--clean-line);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.012)),
        var(--clean-panel);
}

.service-showcase-grid a:hover {
    border-color: rgba(229, 9, 20, 0.76);
    transform: translateY(-2px);
}

.service-showcase-grid strong {
    color: #ffffff;
    font-size: clamp(23px, 2.4vw, 34px);
    line-height: 1.03;
    font-weight: 900;
}

.service-showcase-grid span {
    color: #ff5c64;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-showcase-grid small {
    color: var(--clean-muted);
    font-size: 14px;
    line-height: 1.55;
}

.home-story-stage {
    display: grid;
    grid-template-columns: minmax(300px, 0.46fr) minmax(0, 1fr);
    gap: 42px;
    background:
        radial-gradient(circle at 90% 10%, rgba(229, 9, 20, 0.18), transparent 24rem),
        #050505;
}

.story-statement {
    position: sticky;
    top: 120px;
    align-self: start;
}

.story-stage-grid {
    display: grid;
    gap: 14px;
}

.story-stage-grid article {
    padding: 28px;
    border: 1px solid var(--clean-line);
    background: #0d0d0d;
}

.story-stage-grid strong {
    display: block;
    margin-bottom: 22px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(229, 9, 20, 0.82);
    font-family: var(--font-display);
    font-size: 58px;
    font-weight: 900;
    line-height: 0.8;
}

.story-stage-grid h3 {
    margin: 12px 0;
    font-size: clamp(24px, 2.8vw, 38px);
    font-weight: 900;
}

.story-stage-grid p {
    color: var(--clean-muted);
}

.home-case-band {
    background: #090909;
}

.home-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.home-case-grid article {
    overflow: hidden;
    border: 1px solid var(--clean-line);
    background: #0d0d0d;
}

.home-case-grid img {
    width: 100%;
    aspect-ratio: 16 / 11;
    display: block;
    object-fit: cover;
}

.home-case-grid div {
    padding: 24px;
}

.home-case-grid h3,
.home-case-grid h2 {
    margin: 12px 0;
    font-size: clamp(23px, 2.5vw, 34px);
    font-weight: 900;
}

.home-case-grid p {
    color: var(--clean-muted);
}

.home-capability-wall {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    padding: 1px;
    background: var(--clean-line);
}

.home-capability-wall article {
    min-height: 380px;
    padding: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.01)),
        #080808;
}

.home-capability-wall h3 {
    margin: 18px 0 12px;
    font-size: clamp(25px, 2.8vw, 36px);
    font-weight: 900;
}

.home-capability-wall p {
    color: var(--clean-muted);
}

.home-capability-wall div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.home-capability-wall a {
    padding: 8px 10px;
    border: 1px solid var(--clean-line);
    color: #eeeeee;
    font-size: 12px;
    font-weight: 800;
}

.home-process {
    background: #050505;
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--clean-line);
    border-left: 1px solid var(--clean-line);
}

.home-process-grid article {
    min-height: 250px;
    padding: 26px;
    border-right: 1px solid var(--clean-line);
    border-bottom: 1px solid var(--clean-line);
}

.home-process-grid span {
    color: #ff5c64;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.home-process-grid h3 {
    margin: 18px 0 12px;
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 900;
}

.home-process-grid p {
    color: var(--clean-muted);
}

.home-final-cta {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: center;
    background:
        linear-gradient(120deg, rgba(229, 9, 20, 0.82), rgba(20, 0, 2, 0.96) 54%),
        #170004;
}

.home-final-cta > div {
    max-width: 800px;
}

.inner-page {
    background: #050505;
}

.inner-hero {
    padding-top: 150px;
    background:
        linear-gradient(110deg, rgba(5, 5, 5, 0.98), rgba(26, 0, 3, 0.72)),
        url("/public/assets/img/tirilizm-hero.png") center / cover;
}

.inner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    background: #080808;
}

.inner-grid article,
.inner-statement,
.contact-panels article {
    padding: 28px;
    border: 1px solid var(--clean-line);
    background: var(--clean-panel);
}

.inner-grid h2 {
    font-size: clamp(25px, 2.8vw, 36px);
    font-weight: 900;
}

.inner-grid p {
    color: var(--clean-muted);
}

.inner-statement {
    margin: 0 max(24px, calc((100vw - var(--max)) / 2)) 92px;
    padding: 42px;
}

.inner-cases {
    padding: 40px max(24px, calc((100vw - var(--max)) / 2)) 92px;
}

.contact-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-top: 40px;
}

.contact-panels a,
.contact-panels strong {
    display: block;
    margin-top: 16px;
    color: #ffffff;
    font-size: clamp(20px, 2.3vw, 30px);
    font-weight: 900;
}

.signature-home {
    overflow: hidden;
    background:
        linear-gradient(180deg, #050505 0%, #0a0a0a 46%, #050505 100%);
}

.signature-hero {
    min-height: 92svh;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
    gap: clamp(32px, 6vw, 82px);
    align-items: center;
    padding: 132px max(24px, calc((100vw - var(--max)) / 2)) 72px;
    background:
        radial-gradient(circle at 72% 18%, rgba(229, 9, 20, 0.26), transparent 27rem),
        linear-gradient(115deg, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0.82) 58%, rgba(22, 0, 3, 0.95));
}

.signature-hero-copy h1 {
    max-width: 830px;
    margin-bottom: 22px;
    font-size: clamp(42px, 6.2vw, 78px);
    line-height: 0.96;
    font-weight: 900;
}

.signature-hero-copy > p:not(.eyebrow) {
    max-width: 630px;
    color: #d9d9d9;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.72;
}

.signature-visual {
    position: relative;
    min-height: 610px;
}

.signature-image {
    position: absolute;
    inset: 0 0 74px 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #101010;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
}

.signature-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.62)),
        linear-gradient(90deg, rgba(229, 9, 20, 0.18), transparent 48%);
}

.signature-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(0.95) contrast(1.08);
}

.signature-logo-mark {
    position: absolute;
    top: 34px;
    left: 0;
    width: min(300px, 60%);
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(16px);
}

.signature-logo-mark img {
    width: 100%;
    height: auto;
    display: block;
}

.signature-metrics {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(430px, 88%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 1px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.signature-metrics article {
    min-height: 132px;
    padding: 16px;
    background: rgba(8, 8, 8, 0.96);
}

.signature-metrics strong {
    display: block;
    margin-bottom: 12px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
}

.signature-metrics span {
    color: #bfbfbf;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

.signature-marquee {
    display: flex;
    gap: 0;
    overflow: hidden;
    border-top: 1px solid var(--clean-line);
    border-bottom: 1px solid var(--clean-line);
    background: #090909;
}

.signature-marquee span {
    flex: 0 0 auto;
    padding: 18px 28px;
    border-right: 1px solid var(--clean-line);
    color: #f5f5f5;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signature-services,
.signature-story,
.signature-cases,
.signature-capabilities,
.signature-cta {
    padding: 104px max(24px, calc((100vw - var(--max)) / 2));
}

.signature-services {
    display: grid;
    grid-template-columns: minmax(310px, 0.38fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 70px);
    background: #050505;
}

.signature-section-copy {
    max-width: 780px;
}

.signature-services .signature-section-copy {
    position: sticky;
    top: 120px;
    align-self: start;
}

.signature-section-copy h2,
.signature-story h2,
.signature-cta h2 {
    margin-bottom: 18px;
    font-size: clamp(30px, 4.2vw, 58px);
    line-height: 1.03;
    font-weight: 900;
}

.signature-section-copy p,
.signature-cta p {
    color: var(--clean-muted);
}

.signature-service-list {
    border-top: 1px solid var(--clean-line);
}

.signature-service-list a {
    display: grid;
    grid-template-columns: 58px minmax(180px, 0.42fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    min-height: 116px;
    padding: 24px 0;
    border-bottom: 1px solid var(--clean-line);
    color: #ffffff;
}

.signature-service-list a:hover {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(229, 9, 20, 0.14), transparent 68%);
}

.signature-service-list span,
.signature-story-grid span,
.signature-capability-grid article > span,
.signature-process span,
.signature-case-grid span {
    color: #ff5c64;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.signature-service-list strong {
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.02;
    font-weight: 900;
}

.signature-service-list small {
    color: #bdbdbd;
    font-size: 15px;
    line-height: 1.55;
}

.signature-story {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: 42px;
    background:
        linear-gradient(180deg, #090909, #050505),
        #090909;
}

.signature-story > div:first-child {
    align-self: center;
}

.signature-story-grid {
    display: grid;
    gap: 1px;
    padding: 1px;
    background: var(--clean-line);
}

.signature-story-grid article {
    padding: 30px;
    background: #0d0d0d;
}

.signature-story-grid h3 {
    margin: 18px 0 12px;
    font-size: clamp(24px, 2.8vw, 38px);
    line-height: 1.05;
    font-weight: 900;
}

.signature-story-grid p {
    color: var(--clean-muted);
}

.signature-cases {
    background: #080808;
}

.signature-case-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-auto-rows: minmax(290px, auto);
    gap: 14px;
    margin-top: 34px;
}

.signature-case-grid article {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border: 1px solid var(--clean-line);
    background: #101010;
}

.signature-case-grid article.is-large {
    grid-row: span 2;
}

.signature-case-grid img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    object-fit: cover;
    opacity: 0.72;
    transition: transform 360ms ease, opacity 360ms ease;
}

.signature-case-grid article:hover img {
    opacity: 0.92;
    transform: scale(1.04);
}

.signature-case-grid div {
    position: absolute;
    inset: auto 0 0 0;
    padding: 28px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92));
}

.signature-case-grid h3 {
    max-width: 680px;
    margin: 12px 0;
    font-size: clamp(24px, 3.2vw, 44px);
    line-height: 1.02;
    font-weight: 900;
}

.signature-case-grid p {
    max-width: 620px;
    color: #dddddd;
}

.signature-capabilities {
    background: #050505;
}

.signature-capability-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 34px;
    background: var(--clean-line);
    border: 1px solid var(--clean-line);
}

.signature-capability-grid article {
    min-height: 360px;
    padding: 26px;
    background: #0a0a0a;
}

.signature-capability-grid h3 {
    margin: 18px 0 12px;
    font-size: clamp(23px, 2.4vw, 34px);
    font-weight: 900;
}

.signature-capability-grid p {
    color: var(--clean-muted);
}

.signature-capability-grid div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.signature-capability-grid a {
    padding: 8px 10px;
    border: 1px solid var(--clean-line);
    color: #eeeeee;
    font-size: 12px;
    font-weight: 800;
}

.signature-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--clean-line);
    border-bottom: 1px solid var(--clean-line);
    background: #080808;
}

.signature-process article {
    min-height: 270px;
    padding: 34px;
    border-right: 1px solid var(--clean-line);
}

.signature-process h3 {
    margin: 24px 0 12px;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 900;
}

.signature-process p {
    color: var(--clean-muted);
}

.signature-cta {
    display: flex;
    justify-content: space-between;
    gap: 34px;
    align-items: center;
    background:
        linear-gradient(120deg, rgba(229, 9, 20, 0.86), rgba(12, 0, 2, 0.98) 58%),
        #140003;
}

.signature-cta > div {
    max-width: 820px;
}

.ref-home {
    background: #020202;
    color: #ffffff;
}

.ref-home section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ref-hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
    gap: 28px;
    align-items: center;
    padding: 108px max(44px, calc((100vw - var(--max)) / 2)) 28px;
    background:
        radial-gradient(circle at 68% 28%, rgba(229, 9, 20, 0.22), transparent 28rem),
        #020202;
}

.ref-kicker {
    margin-bottom: 26px;
    color: #ff2731;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.ref-hero h1 {
    max-width: 620px;
    margin-bottom: 18px;
    font-size: clamp(36px, 4.8vw, 58px);
    line-height: 1.08;
    font-weight: 900;
}

.ref-hero-copy > p:not(.ref-kicker) {
    max-width: 520px;
    color: #dddddd;
    font-size: 17px;
    line-height: 1.58;
}

.ref-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.ref-hero-art {
    position: relative;
    min-height: 410px;
    overflow: hidden;
}

.ref-hero-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #020202 0%, rgba(2, 2, 2, 0.12) 32%, rgba(2, 2, 2, 0) 100%);
    pointer-events: none;
}

.ref-hero-art img {
    width: 100%;
    height: 100%;
    min-height: 410px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.ref-channel-strip,
.ref-services,
.ref-outdoor,
.ref-performance,
.ref-work,
.ref-process,
.ref-values,
.ref-testimonials,
.ref-blog,
.ref-cta {
    padding: 28px max(44px, calc((100vw - var(--max)) / 2));
}

.ref-channel-strip {
    padding-top: 20px;
}

.ref-channel-strip h2,
.ref-services > h2,
.ref-work > h2,
.ref-process > h2,
.ref-values > h2,
.ref-testimonials > h2,
.ref-blog > h2 {
    position: relative;
    margin: 0 auto 18px;
    text-align: center;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.2;
    font-weight: 700;
}

.ref-channel-strip h2::before,
.ref-services > h2::before {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin: 0 auto 12px;
    background: var(--clean-red);
}

.ref-channel-strip > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 1060px;
    margin: 0 auto;
}

.ref-channel-strip article,
.ref-service-grid a,
.ref-platform-grid a,
.ref-work-grid article,
.ref-process article,
.ref-values article,
.ref-testimonials article,
.ref-blog article {
    border: 1px solid rgba(255, 255, 255, 0.13);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
        #0b0b0b;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.ref-channel-strip article {
    min-height: 90px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px 14px;
    align-items: center;
    padding: 18px;
}

.ref-channel-strip i,
.ref-service-grid i,
.ref-values i {
    color: #ff3139;
    font-size: 28px;
}

.ref-channel-strip strong,
.ref-service-grid h3,
.ref-work-grid h3,
.ref-blog h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
}

.ref-channel-strip span {
    grid-column: 2;
    color: #b9b9b9;
    font-size: 12px;
    line-height: 1.4;
}

.ref-manifest {
    display: grid;
    grid-template-columns: minmax(300px, 0.55fr) minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    padding: 34px max(44px, calc((100vw - var(--max)) / 2));
}

.ref-manifest h2,
.ref-side-copy h2,
.ref-cta h2 {
    max-width: 560px;
    margin-bottom: 18px;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.04;
    font-weight: 500;
}

.ref-manifest p,
.ref-side-copy p,
.ref-cta p {
    max-width: 520px;
    color: #c7c7c7;
    line-height: 1.58;
}

.ref-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ref-pills span {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
    color: #f0f0f0;
    font-size: 13px;
}

.ref-pills span::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 9px;
    border-radius: 999px;
    background: var(--clean-red);
}

.ref-manifest img {
    width: 100%;
    max-height: 300px;
    display: block;
    object-fit: cover;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.ref-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1120px;
    margin: 0 auto;
}

.ref-service-grid a {
    min-height: 126px;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 14px;
    padding: 22px;
}

.ref-service-grid p {
    margin: 6px 0 8px;
    color: #bcbcbc;
    font-size: 13px;
    line-height: 1.45;
}

.ref-service-grid span,
.ref-blog a {
    color: #ff3139;
    font-size: 13px;
    font-weight: 800;
}

.ref-outdoor,
.ref-performance {
    display: grid;
    grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
    gap: 26px;
    align-items: center;
}

.ref-outdoor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.ref-outdoor-grid a {
    position: relative;
    overflow: hidden;
    min-height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0c0c0c;
}

.ref-outdoor-grid img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    display: block;
    object-fit: cover;
    opacity: 0.78;
}

.ref-outdoor-grid strong {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.ref-platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.ref-platform-grid a {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    padding: 12px 16px;
    color: #ffffff;
}

.ref-platform-grid i {
    font-size: 25px;
}

.ref-platform-grid span {
    font-size: 13px;
    font-weight: 800;
}

.ref-platform-grid em {
    grid-column: 2;
    height: 18px;
    border-bottom: 1px solid rgba(229, 9, 20, 0.9);
    border-radius: 50%;
    transform: translateY(-10px);
}

.ref-work-grid,
.ref-blog > div {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.ref-work-grid article {
    overflow: hidden;
}

.ref-work-grid img {
    width: 100%;
    aspect-ratio: 1.25;
    display: block;
    object-fit: cover;
}

.ref-work-grid h3,
.ref-work-grid p {
    padding: 0 14px;
}

.ref-work-grid h3 {
    margin: 13px 0 5px;
}

.ref-work-grid p {
    margin-bottom: 16px;
    color: #bcbcbc;
    font-size: 12px;
    line-height: 1.4;
}

.ref-process > div,
.ref-values > div,
.ref-testimonials > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ref-process article {
    position: relative;
    min-height: 112px;
    padding: 24px;
}

.ref-process article:not(:last-child)::after {
    content: ">";
    position: absolute;
    top: 50%;
    right: -18px;
    z-index: 2;
    width: 32px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0b0b0b;
    color: var(--clean-red);
}

.ref-process span {
    color: #ff3139;
    font-size: 24px;
    font-weight: 900;
}

.ref-process h3,
.ref-values h3 {
    margin: 8px 0 6px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
}

.ref-process p,
.ref-values p,
.ref-testimonials p {
    color: #bcbcbc;
    font-size: 13px;
    line-height: 1.45;
}

.ref-values > div,
.ref-testimonials > div {
    grid-template-columns: repeat(3, 1fr);
}

.ref-values article,
.ref-testimonials article {
    padding: 24px;
}

.ref-testimonials strong {
    color: var(--clean-red);
    font-size: 34px;
    line-height: 1;
}

.ref-testimonials span {
    color: #ffffff;
    font-size: 13px;
}

.ref-blog > div {
    grid-template-columns: repeat(3, 1fr);
}

.ref-blog article {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    overflow: hidden;
    padding: 12px;
}

.ref-blog img {
    width: 100%;
    height: 118px;
    object-fit: cover;
}

.ref-blog p {
    color: #bcbcbc;
    font-size: 13px;
}

.ref-cta {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
    padding-top: 34px;
    padding-bottom: 34px;
    background:
        linear-gradient(90deg, rgba(229, 9, 20, 0.34), rgba(0, 0, 0, 0.18)),
        url("/public/assets/img/tirilizm-hero.png") center 42% / cover;
}

@media (max-width: 980px) {
    .mega-nav {
        width: 100%;
    }

    .site-nav .mega-toggle {
        padding: 13px 8px;
    }

    .mega-menu {
        position: static;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 6px;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    .mega-group {
        min-height: auto;
        padding: 16px;
    }

    .mega-group p {
        min-height: auto;
    }

    .clean-hero,
    .clean-service-grid,
    .clean-story-grid,
    .clean-work-grid,
    .clean-capabilities,
    .clean-contact,
    .service-detail-hero,
    .service-detail-grid,
    .service-listing,
    .agency-hero,
    .section-split-head,
    .service-showcase,
    .home-story-stage,
    .home-case-grid,
    .home-capability-wall,
    .home-process-grid,
    .inner-grid,
    .contact-panels {
        grid-template-columns: 1fr;
    }

    .clean-service-grid article:first-child {
        grid-column: auto;
    }

    .clean-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clean-contact,
    .home-final-cta {
        display: grid;
    }

    .story-statement {
        position: static;
    }

    .text-link {
        justify-self: start;
    }

    .signature-hero,
    .signature-services,
    .signature-story,
    .signature-case-grid,
    .signature-capability-grid,
    .signature-process {
        grid-template-columns: 1fr;
    }

    .signature-services .signature-section-copy {
        position: static;
    }

    .signature-visual {
        min-height: 520px;
    }

    .signature-service-list a {
        grid-template-columns: 48px 1fr;
    }

    .signature-service-list small {
        grid-column: 2;
    }

    .signature-case-grid article.is-large {
        grid-row: span 1;
    }

    .signature-cta {
        display: grid;
    }

    .ref-hero,
    .ref-manifest,
    .ref-outdoor,
    .ref-performance {
        grid-template-columns: 1fr;
    }

    .ref-channel-strip > div,
    .ref-platform-grid,
    .ref-process > div {
        grid-template-columns: repeat(2, 1fr);
    }

    .ref-service-grid,
    .ref-work-grid,
    .ref-values > div,
    .ref-testimonials > div,
    .ref-blog > div {
        grid-template-columns: 1fr 1fr;
    }

    .ref-outdoor-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ref-process article:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 680px) {
    .clean-hero,
    .clean-services,
    .clean-story,
    .clean-work,
    .clean-capabilities,
    .clean-process,
    .clean-contact,
    .service-detail-hero,
    .service-detail-grid,
    .service-siblings,
    .service-listing,
    .agency-hero,
    .home-service-lab,
    .home-story-stage,
    .home-case-band,
    .home-process,
    .home-final-cta,
    .inner-hero,
    .inner-grid,
    .contact-panels,
    .signature-hero,
    .signature-services,
    .signature-story,
    .signature-cases,
    .signature-capabilities,
    .signature-cta {
        padding: 72px 18px;
    }

    .agency-hero,
    .inner-hero {
        padding-top: 112px;
    }

    .agency-hero h1,
    .inner-hero h1,
    .signature-hero-copy h1 {
        font-size: clamp(36px, 11vw, 50px);
    }

    .signature-hero {
        min-height: auto;
        padding-top: 112px;
    }

    .signature-visual {
        min-height: 440px;
    }

    .signature-image {
        inset: 0 0 84px 0;
    }

    .signature-logo-mark {
        top: 18px;
        width: min(260px, 78%);
    }

    .signature-metrics {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .signature-metrics article {
        min-height: auto;
        display: flex;
        justify-content: space-between;
        gap: 16px;
        align-items: center;
    }

    .signature-marquee span {
        padding: 14px 18px;
        font-size: 12px;
    }

    .signature-service-list a {
        grid-template-columns: 1fr;
        gap: 10px;
        min-height: auto;
        padding: 22px 0;
    }

    .signature-service-list small {
        grid-column: auto;
    }

    .signature-story-grid article,
    .signature-process article,
    .signature-capability-grid article {
        padding: 24px;
    }

    .signature-process {
        border-bottom: 0;
    }

    .signature-process article {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--clean-line);
    }

    .ref-hero,
    .ref-channel-strip,
    .ref-manifest,
    .ref-services,
    .ref-outdoor,
    .ref-performance,
    .ref-work,
    .ref-process,
    .ref-values,
    .ref-testimonials,
    .ref-blog,
    .ref-cta {
        padding-left: 18px;
        padding-right: 18px;
    }

    .ref-hero {
        padding-top: 104px;
        gap: 18px;
    }

    .ref-hero h1 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .ref-hero-art,
    .ref-hero-art img {
        min-height: 250px;
    }

    .ref-channel-strip > div,
    .ref-service-grid,
    .ref-outdoor-grid,
    .ref-platform-grid,
    .ref-work-grid,
    .ref-process > div,
    .ref-values > div,
    .ref-testimonials > div,
    .ref-blog > div {
        grid-template-columns: 1fr;
    }

    .ref-channel-strip article,
    .ref-service-grid a {
        grid-template-columns: 42px 1fr;
    }

    .ref-blog article {
        grid-template-columns: 1fr;
    }

    .ref-blog img {
        height: 170px;
    }

    .ref-cta {
        display: grid;
    }

    .hero-command-grid,
    .service-showcase-grid {
        grid-template-columns: 1fr;
    }

    .home-capability-wall {
        padding: 0;
    }

    .inner-statement,
    .inner-cases {
        margin: 0 18px 72px;
        padding: 28px;
    }

    .clean-hero {
        min-height: auto;
        padding-top: 104px;
        padding-bottom: 44px;
    }

    .clean-hero h1 {
        font-size: clamp(34px, 9.5vw, 46px);
        line-height: 1;
    }

    .clean-hero-card {
        padding: 20px;
    }

    .clean-service-grid article,
    .clean-story-grid article {
        min-height: auto;
    }

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

    .mega-menu {
        grid-template-columns: 1fr;
    }

    .clean-capabilities {
        grid-template-columns: 1fr;
    }

    .service-detail-hero {
        min-height: auto;
        padding-top: 112px;
    }

    .service-detail-hero h1 {
        font-size: clamp(34px, 10vw, 48px);
    }
}

/* Final reference lock: keep this at EOF so it wins over legacy styles. */
.site-shell {
    background: #020202;
}

.quick-contact,
.cursor-glow {
    display: none;
}

.site-header {
    width: 100%;
    height: 74px;
    margin: 0;
    padding: 0 max(52px, calc((100vw - 1230px) / 2));
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: none;
    transform: none;
}

.site-header.is-scrolled {
    background: rgba(0, 0, 0, 0.96);
    transform: none;
}

.brand-logo {
    width: 166px;
    filter: none;
}

.site-nav {
    gap: 42px;
}

.site-nav a,
.site-nav .mega-toggle {
    color: #eeeeee;
    font-size: 13px;
    font-weight: 700;
}

.site-nav > a:first-child::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    margin: 19px auto 0;
    background: var(--clean-red);
}

.header-cta,
.btn-primary {
    min-height: 42px;
    padding: 0 28px;
    border-radius: 4px;
    background: #e72b32;
    box-shadow: 0 18px 40px rgba(229, 9, 20, 0.24);
}

.btn-secondary {
    min-height: 42px;
    padding: 0 28px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.035);
}

.ref-home {
    --ref-max: 1230px;
}

.ref-hero {
    min-height: 506px;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 20px;
    padding: 108px max(52px, calc((100vw - var(--ref-max)) / 2)) 28px;
}

.ref-kicker {
    margin-bottom: 24px;
    font-size: 15px;
}

.ref-hero h1 {
    max-width: 600px;
    font-size: clamp(40px, 4.7vw, 58px);
    letter-spacing: -0.02em;
}

.ref-hero-copy > p:not(.ref-kicker) {
    max-width: 505px;
    font-size: 17px;
}

.ref-hero-art,
.ref-hero-art img {
    min-height: 390px;
}

.ref-channel-strip,
.ref-services,
.ref-outdoor,
.ref-performance,
.ref-work,
.ref-process,
.ref-values,
.ref-testimonials,
.ref-blog,
.ref-cta {
    padding-left: max(52px, calc((100vw - var(--ref-max)) / 2));
    padding-right: max(52px, calc((100vw - var(--ref-max)) / 2));
}

.ref-channel-strip {
    padding-top: 16px;
    padding-bottom: 14px;
}

.ref-channel-strip h2,
.ref-services > h2,
.ref-work > h2,
.ref-process > h2,
.ref-values > h2,
.ref-testimonials > h2,
.ref-blog > h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

.ref-channel-strip > div {
    max-width: 1090px;
}

.ref-channel-strip article {
    min-height: 98px;
    border-radius: 10px;
}

.ref-manifest {
    min-height: 280px;
    padding: 34px max(52px, calc((100vw - var(--ref-max)) / 2));
}

.ref-manifest img {
    max-height: 286px;
    opacity: 0.88;
}

.ref-service-grid {
    max-width: 1130px;
}

.ref-service-grid a {
    min-height: 118px;
    border-radius: 9px;
}

.ref-outdoor,
.ref-performance {
    grid-template-columns: 310px 1fr;
    padding-top: 24px;
    padding-bottom: 24px;
}

.ref-outdoor-grid a,
.ref-work-grid article,
.ref-platform-grid a,
.ref-blog article,
.ref-values article,
.ref-testimonials article {
    border-radius: 8px;
}

.ref-work-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ref-work-grid img {
    aspect-ratio: 1.33;
}

.ref-process {
    padding-top: 22px;
    padding-bottom: 22px;
}

.ref-values,
.ref-testimonials,
.ref-blog {
    padding-top: 24px;
    padding-bottom: 24px;
}

.ref-cta {
    min-height: 120px;
    padding-top: 22px;
    padding-bottom: 22px;
}

.ref-cta h2 {
    font-size: clamp(26px, 3.2vw, 40px);
}

.site-footer {
    padding: 34px max(52px, calc((100vw - 1230px) / 2)) 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #020202;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.75fr 1fr 1fr 0.8fr;
    gap: 34px;
    align-items: start;
}

.site-footer h3 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.site-footer p,
.site-footer span,
.site-footer a {
    color: #9f9f9f;
    font-size: 13px;
    line-height: 1.55;
}

.site-footer a {
    display: block;
    margin-bottom: 5px;
}

.footer-about p {
    max-width: 285px;
    margin: 14px 0 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 999px;
    color: #ffffff;
}

@media (max-width: 980px) {
    .site-header {
        padding: 0 18px;
    }

    .ref-hero,
    .ref-outdoor,
    .ref-performance {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 680px) {
    .site-header {
        height: auto;
        min-height: 70px;
    }

    .site-nav > a:first-child::after {
        display: none;
    }

    .ref-hero,
    .ref-channel-strip,
    .ref-manifest,
    .ref-services,
    .ref-outdoor,
    .ref-performance,
    .ref-work,
    .ref-process,
    .ref-values,
    .ref-testimonials,
    .ref-blog,
    .ref-cta,
    .site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

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


/* Keep mega menu reachable on every page. */
.site-header,
.site-nav,
.mega-nav {
    overflow: visible;
}

.mega-nav {
    position: relative;
}

.mega-nav::after {
    content: "";
    position: absolute;
    left: -28px;
    right: -28px;
    top: 100%;
    height: 22px;
}

.mega-menu {
    top: 100%;
    z-index: 120;
}

.mega-nav:hover .mega-menu,
.mega-nav.is-open .mega-menu,
.mega-nav:focus-within .mega-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
}


/* Blog listing final EOF alignment */
.inner-page .ref-blog {
    padding: 34px 24px 36px;
}

.inner-page .ref-blog > div {
    width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.inner-page .ref-blog article {
    min-width: 0;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 16px;
}

.inner-page .ref-blog img {
    width: 150px;
    height: 126px;
    border-radius: 6px;
}

.inner-page .ref-blog h3 {
    margin: 0 0 12px;
    line-height: 1.25;
}

.inner-page .ref-blog p {
    margin: 0 0 14px;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .inner-page .ref-blog > div {
        grid-template-columns: 1fr;
        max-width: 760px;
    }
}

@media (max-width: 560px) {
    .inner-page .ref-blog {
        padding-left: 18px;
        padding-right: 18px;
    }

    .inner-page .ref-blog article {
        grid-template-columns: 1fr;
    }

    .inner-page .ref-blog img {
        width: 100%;
        height: 180px;
    }
}

/* SEO content blocks */
.seo-content-block {
    width: min(1120px, calc(100% - 48px));
    margin: 34px auto 54px;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)), #080808;
}

.seo-content-block h2 {
    max-width: 820px;
    margin: 0 0 22px;
    color: #f5f5f5;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
}

.seo-content-block p:not(.eyebrow) {
    max-width: 900px;
    margin: 0 0 18px;
    color: #b9b9c0;
    font-size: 16px;
    line-height: 1.78;
}

.blog-detail-content {
    margin-top: -10px;
}

@media (max-width: 680px) {
    .seo-content-block {
        width: calc(100% - 36px);
        padding: 28px 22px;
        border-radius: 14px;
    }

    .service-rich-overview,
    .service-insight-table,
    .service-deliverables-rich {
        width: calc(100% - 36px);
    }
}

/* Real references page */
.reference-showcase {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto 42px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.reference-card {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background:
        radial-gradient(circle at 20% 0%, rgba(235, 35, 35, 0.16), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.016)),
        #090909;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.reference-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reference-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.reference-card:hover .reference-media img {
    transform: scale(1.055);
    filter: contrast(1.06) saturate(1.05);
}

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

.reference-media span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid rgba(239, 47, 47, 0.45);
    border-radius: 999px;
    background: rgba(8, 8, 8, 0.76);
    color: #ff4b4b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.reference-copy {
    padding: 24px 24px 26px;
}

.reference-copy p {
    margin: 0 0 10px;
    color: #ff3e3e;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.reference-copy h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.02;
    letter-spacing: 0;
}

.reference-copy span {
    display: block;
    max-width: 540px;
    color: #b8b8bf;
    font-size: 15px;
    line-height: 1.7;
}

.reference-copy a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.reference-copy a::after {
    content: "\2192";
    color: #ff3838;
    transform: translateY(-1px);
    transition: transform 0.25s ease;
}

    .reference-copy a:hover::after {
        transform: translate(4px, -1px);
    }

    .about-shell {
        width: calc(100% - 32px);
    }

    .about-hero {
        grid-template-columns: 1fr;
        padding-top: 112px;
        padding-bottom: 52px;
    }

    .about-hero-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-pillars-grid,
    .about-process-rail,
    .about-cap-grid {
        grid-template-columns: 1fr;
    }

    .about-process {
        padding-top: 58px;
        padding-bottom: 58px;
    }
}

.home-references {
    width: min(1180px, calc(100% - 48px));
    margin: 34px auto 54px;
    padding-top: 8px;
}

.home-references-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: end;
    margin-bottom: 20px;
}

.home-references-head .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -12px;
}

.home-references-head h2 {
    max-width: 720px;
    margin: 0;
    color: #f8f8f8;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.04;
    letter-spacing: 0;
}

.home-references-head > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
}

.home-references-head > a:hover {
    border-color: rgba(239, 47, 47, 0.7);
    background: rgba(239, 47, 47, 0.12);
}

.home-reference-grid {
    width: 100%;
    margin-bottom: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-reference-grid .reference-card {
    min-height: 0;
    border-radius: 12px;
}

.home-reference-grid .reference-copy {
    padding: 18px 18px 20px;
}

.home-reference-grid .reference-media {
    aspect-ratio: 16 / 10;
}

.home-reference-grid .reference-media span {
    left: 12px;
    bottom: 12px;
    min-height: 28px;
    padding: 0 10px;
    font-size: 10px;
}

.home-reference-grid .reference-copy h2 {
    font-size: 28px;
    line-height: 1.05;
}

.home-reference-grid .reference-copy p {
    margin-bottom: 7px;
    font-size: 11px;
}

.home-reference-grid .reference-copy span {
    display: block;
    font-size: 14px;
    line-height: 1.6;
}

.home-reference-grid .reference-copy a {
    margin-top: 14px;
    font-size: 13px;
}

.about-page {
    padding-top: 0;
    background: linear-gradient(180deg, #080808 0%, #050505 45%, #040404 100%);
}

.about-modern-shell {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-modern-shell + .about-modern-shell {
    margin-top: 0;
}

.about-modern-shell {
    padding: 78px 0;
}

.about-modern-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 30px;
    align-items: start;
    padding-top: 140px;
}

.about-modern-hero h1 {
    max-width: 700px;
    margin-bottom: 16px;
    font-size: clamp(44px, 5.5vw, 74px);
    line-height: 0.98;
    font-weight: 900;
}

.about-modern-hero p {
    max-width: 620px;
    color: #d3d3d3;
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.72;
}

.about-modern-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.about-modern-kpi {
    display: grid;
    gap: 12px;
}

.about-modern-kpi article {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(160deg, rgba(229, 9, 20, 0.16), rgba(255, 255, 255, 0.01));
    padding: 18px;
    min-height: 124px;
}

.about-modern-kpi strong {
    display: block;
    color: #ff5c64;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
}

.about-modern-kpi h3,
.about-modern-process-copy h2,
.about-modern-copy h2 {
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.04;
    font-weight: 900;
}

.about-modern-kpi h3 {
    margin: 0 0 8px;
    color: #fff;
}

.about-modern-grid,
.about-modern-process,
.about-modern-capability,
.about-modern-story,
.about-modern-final {
    padding-bottom: 76px;
}

.about-modern-copy,
.about-modern-process-copy {
    max-width: 920px;
}

.about-modern-copy h2,
.about-modern-process-copy h2 {
    margin: 0 0 10px;
}

.about-modern-cards,
.about-modern-cap-grid {
    margin-top: 24px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-modern-cards article,
.about-modern-cap-grid article {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px;
    background: #0b0b0b;
}

.about-modern-cards h3,
.about-modern-cap-grid h3 {
    margin: 0 0 10px;
    font-size: clamp(24px, 2.8vw, 34px);
    line-height: 1.08;
    font-weight: 900;
}

.about-modern-cards p,
.about-modern-cap-grid p {
    margin: 0;
    color: #b7b7bf;
    line-height: 1.68;
}

.about-modern-cap-grid ul {
    margin: 14px 0 0;
    padding-left: 18px;
    color: #c9c9d1;
}

.about-modern-cap-grid li {
    margin-bottom: 8px;
}

.about-modern-cap-grid li::marker {
    color: #ff5c64;
}

.about-modern-process-line {
    margin: 22px 0 0;
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-modern-process-line li {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px;
    background: #0a0a0a;
    min-height: 178px;
    display: grid;
}

.about-modern-process-line span {
    display: inline-flex;
    width: 29px;
    height: 29px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border: 1px solid rgba(229, 9, 20, 0.55);
    color: #ff5c64;
    font-size: 12px;
    font-weight: 900;
}

.about-modern-process-line h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.1;
}

.about-modern-process-line p {
    margin: 0;
    color: #b7b7bf;
    line-height: 1.65;
}

.about-modern-story {
    width: min(1020px, calc(100% - 48px));
}

.about-modern-story p {
    margin: 0 0 16px;
    max-width: 930px;
}

.about-modern-final {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 64px;
    padding-top: 56px;
}

.about-modern-final h2 {
    margin: 0 0 10px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
}

.about-shell {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding-top: 86px;
    padding-bottom: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-hero-clean {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.9fr);
    gap: 28px;
    align-items: start;
}

.about-hero-copy h1 {
    max-width: 680px;
    margin-bottom: 14px;
    font-size: clamp(40px, 4.8vw, 58px);
    line-height: 1.05;
    font-weight: 900;
}

.about-hero-copy p {
    color: #d4d4d4;
    font-size: 18px;
    max-width: 650px;
    line-height: 1.7;
}

.about-hero-links {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-hero-stats {
    display: grid;
    gap: 12px;
}

.about-hero-stats article {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0b0b0b;
    padding: 18px;
}

.about-hero-stats strong {
    color: #ff5c64;
    display: block;
    margin-bottom: 8px;
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.about-hero-stats h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.about-hero-stats p {
    margin: 0;
    color: #b8b8bf;
}

.about-pillars-clean h2,
.about-process-clean h2,
.about-capability-clean h2,
.about-clean-cta h2 {
    max-width: 880px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.08;
    margin-top: 8px;
    margin-bottom: 0;
}

.about-card-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.about-card-grid article {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0d0d0d;
    padding: 22px;
    min-height: 176px;
}

.about-card-grid h3 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.1;
}

.about-card-grid p {
    margin: 0;
    color: #b8b8bf;
    line-height: 1.7;
}

.about-card-grid ul {
    margin: 14px 0 0;
    padding-left: 18px;
    color: #c9c9d1;
}

.about-card-grid li::marker {
    color: #ff5c64;
}

.about-process-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-process-grid article {
    min-height: 172px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0d0d0d;
}

.about-step-num {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    border: 1px solid rgba(229, 9, 20, 0.52);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff5c64;
    font-size: 12px;
    font-weight: 900;
}

.about-process-grid h3 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.15;
}

.about-process-grid p {
    margin: 0;
    color: #b8b8bf;
    line-height: 1.65;
}

.about-clean-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
}

.about-clean-cta .btn-primary {
    width: 190px;
}

/* Rebuild pass for about page (premium / high-control) */
.about-page {
    padding-top: 0;
    background:
        radial-gradient(circle at 83% 0%, rgba(229, 9, 20, 0.16), transparent 30rem),
        linear-gradient(180deg, #080808 0%, #050505 46%, #040404 100%);
}

.about-shell {
    width: min(1140px, calc(100% - 46px));
    margin: 0 auto;
    padding: 84px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-shell:first-of-type {
    padding-top: 118px;
}

.about-hero-clean {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 30px;
    align-items: start;
}

.about-hero-copy h1 {
    max-width: 680px;
    margin-bottom: 12px;
    font-size: clamp(38px, 4.5vw, 60px);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: -0.015em;
}

.about-hero-copy > p {
    color: #d4d4d4;
    font-size: clamp(15px, 1.25vw, 18px);
    max-width: 650px;
    line-height: 1.68;
}

.about-hero-copy > p strong {
    color: #f4f4f4;
}

.about-hero-bullets {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    color: #c9c9c9;
    max-width: 560px;
}

.about-hero-bullets li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    line-height: 1.55;
}

.about-hero-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ff4e4e;
}

.about-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.about-hero-stats {
    display: grid;
    gap: 12px;
    align-content: start;
}

.about-hero-visual {
    position: relative;
    min-height: 560px;
    min-width: 0;
}

.about-visual-frame {
    position: absolute;
    inset: 0 0 108px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #111111;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.about-visual-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.54)),
        linear-gradient(90deg, rgba(229, 9, 20, 0.24), transparent 52%);
}

.about-visual-frame img,
.about-story-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-visual-panel {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 22px;
    z-index: 2;
    display: grid;
    gap: 10px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(6, 6, 6, 0.92);
    backdrop-filter: blur(12px);
}

.about-visual-panel span {
    color: #ff5c64;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-visual-panel strong {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.18;
}

.about-hero-stats article {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0a0a0a;
    padding: 18px;
    min-height: 136px;
}

.about-hero-visual .about-hero-stats {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 2;
    width: min(220px, 48%);
}

.about-hero-stats strong {
    color: #ff5c64;
    display: block;
    margin-bottom: 8px;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
}

.about-hero-stats h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.about-hero-stats p {
    margin: 0;
    color: #bcbcc6;
    line-height: 1.6;
}

.about-section-intro {
    display: grid;
    gap: 12px;
    max-width: 980px;
}

.about-section-intro p {
    margin: 0;
    color: #b7b7bf;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.7;
}

.about-pillars-clean h2,
.about-process-clean h2,
.about-capability-clean h2,
.about-benchmark-clean h2,
.about-clean-cta h2 {
    max-width: 880px;
    font-size: clamp(30px, 3.8vw, 44px);
    line-height: 1.08;
    margin-top: 8px;
    margin-bottom: 0;
}

.about-card-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.about-card-grid article {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0c0c0c;
    padding: 22px;
    min-height: 170px;
}

.about-card-grid h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.1;
}

.about-card-grid p {
    margin: 0;
    color: #b8b8bf;
    line-height: 1.7;
}

.about-card-grid ul {
    margin: 14px 0 0;
    padding-left: 18px;
    color: #c9c9d1;
}

.about-card-grid li {
    margin-bottom: 8px;
}

.about-card-grid li::marker,
.about-badges span {
    color: #ff5c64;
}

.about-story-clean {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: stretch;
}

.about-story-copy {
    display: grid;
    align-content: center;
    gap: 14px;
    max-width: 720px;
}

.about-story-copy h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.06;
}

.about-story-copy > p {
    margin: 0;
    color: #bdbdc6;
    font-size: 17px;
    line-height: 1.75;
}

.about-story-copy blockquote {
    margin: 6px 0 0;
    padding: 22px 0 0 18px;
    border-left: 1px solid rgba(229, 9, 20, 0.55);
    color: #f3f3f3;
    font-size: 24px;
    line-height: 1.34;
}

.about-story-media {
    min-height: 440px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0d0d0d;
}

.about-process-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-process-grid article {
    min-height: 166px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0d0d0d;
}

.about-step-num {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    border: 1px solid rgba(229, 9, 20, 0.52);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff5c64;
    font-size: 12px;
    font-weight: 900;
}

.about-process-grid h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.15;
}

.about-process-grid p {
    margin: 0;
    color: #b8b8bf;
    line-height: 1.65;
}

.about-benchmark-clean {
    padding-bottom: 90px;
}

.about-badges {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.about-badges li {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    padding: 16px 16px 16px 18px;
    color: #bdbdc6;
    line-height: 1.72;
    background: #0a0a0a;
}

.about-badges span {
    display: inline-block;
    margin-right: 8px;
    font-weight: 800;
}

.about-clean-cta {
    padding-top: 68px;
    padding-bottom: 96px;
}

.about-clean-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: stretch;
    align-items: center;
    gap: 28px;
    padding: 34px 38px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 100% 0%, rgba(229, 9, 20, 0.12), transparent 18rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
        #080808;
}

.about-clean-cta h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.about-clean-cta .btn-primary {
    width: 188px;
    min-width: 188px;
    justify-self: end;
}

@media (max-width: 1024px) {
    .about-shell {
        width: min(980px, calc(100% - 36px));
        padding-top: 74px;
        padding-bottom: 64px;
    }

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

    .about-story-clean {
        grid-template-columns: 1fr;
    }

    .about-card-grid,
    .about-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-badges li {
        border-left-width: 0;
        padding-left: 14px;
    }
}

@media (max-width: 900px) {
    .reference-showcase {
        grid-template-columns: 1fr;
        max-width: 680px;
    }

    .home-references-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .home-references-head > a {
        justify-self: start;
    }

    .home-reference-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    .about-shell:first-of-type {
        padding-top: 108px;
    }

    .about-hero-visual {
        min-height: 500px;
    }

    .about-visual-frame {
        inset: 0 0 124px;
    }

    .about-hero-visual .about-hero-stats {
        top: auto;
        right: 16px;
        bottom: 16px;
        width: min(100%, 240px);
    }

    .about-visual-panel {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding-right: 270px;
    }

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

    .about-clean-cta-inner {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .about-hero-copy h1 {
        max-width: 100%;
    }

    .about-pillars-clean h2,
    .about-process-clean h2,
    .about-capability-clean h2,
    .about-benchmark-clean h2,
    .about-clean-cta h2 {
        font-size: clamp(30px, 8vw, 42px);
    }

    .about-clean-cta .btn-primary {
        width: 100%;
        min-width: 0;
        margin-top: 10px;
        text-align: center;
        justify-self: stretch;
    }
}

@media (max-width: 560px) {
    .reference-showcase {
        width: calc(100% - 32px);
        gap: 14px;
    }

    .reference-card {
        min-height: 0;
        border-radius: 14px;
    }

    .reference-copy {
        padding: 20px;
    }

    .home-references {
        width: calc(100% - 32px);
    }

    .home-reference-grid {
        grid-template-columns: 1fr;
    }

    .about-shell {
        width: calc(100% - 32px);
        padding-top: 62px;
        padding-bottom: 54px;
    }

    .about-shell:first-of-type {
        padding-top: 100px;
    }

    .about-hero-visual {
        min-height: auto;
    }

    .about-visual-frame {
        position: relative;
        inset: auto;
        min-height: 320px;
    }

    .about-hero-visual .about-hero-stats,
    .about-visual-panel {
        position: relative;
        inset: auto;
        right: auto;
        left: auto;
        bottom: auto;
        top: auto;
        width: 100%;
        margin-top: 14px;
    }

    .about-visual-panel {
        padding: 18px;
    }

    .about-visual-panel strong,
    .about-story-copy blockquote {
        font-size: 21px;
    }

    .about-story-media {
        min-height: 300px;
    }

    .about-hero-copy h1 {
        font-size: clamp(32px, 9vw, 38px);
    }

    .about-hero-stats article {
        min-height: 0;
    }

    .about-hero-stats h3,
    .about-card-grid h3,
    .about-process-grid h3 {
        font-size: 21px;
    }

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

    .about-clean-cta-inner {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .about-clean-cta .btn-primary {
        width: 100%;
        min-width: 0;
        margin-top: 12px;
        justify-self: stretch;
    }

    .about-badges li {
        border-left-width: 0;
        padding-left: 14px;
    }

    .about-modern-shell,
    .about-modern-kpi {
        width: calc(100% - 32px);
    }

    .about-modern-shell {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .about-modern-final,
    .about-modern-hero {
        display: block;
    }

    .about-modern-hero p {
        font-size: 18px;
    }

    .about-modern-kpi article,
    .about-modern-cards article,
    .about-modern-cap-grid article,
    .about-modern-process-line li {
        min-height: 0;
    }
}

/* Final hard override for about layout stability */
.service-page .service-faq-rich {
    width: auto;
    margin: 34px max(24px, calc((100vw - var(--max)) / 2)) 54px;
    display: block;
}

.service-page .service-faq-rich .clean-head {
    max-width: 760px;
    width: 100%;
    margin: 0 0 18px;
    text-align: left;
}

.service-page .service-faq-rich .eyebrow,
.service-page .service-faq-rich h2,
.service-page .service-faq-rich p {
    text-align: left;
}

.service-page .service-faq-rich h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.08;
}

.service-page .service-faq-rich .faq-list {
    width: 100%;
    max-width: none;
}

.service-page .service-faq-rich .faq-list details {
    background: #0b0b0b;
}

.service-page .service-faq-rich .faq-list summary {
    padding: 16px 18px;
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.24;
    text-align: left;
}

.service-page .service-faq-rich .faq-list p {
    max-width: none;
    padding: 0 18px 16px;
    font-size: 15px;
    line-height: 1.72;
    text-align: left;
}

@media (max-width: 680px) {
    .service-page .service-faq-rich {
        margin-left: 18px;
        margin-right: 18px;
    }

    .service-page .service-faq-rich .clean-head {
        margin-bottom: 16px;
    }
}

.about-hero-clean {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
}

.about-hero-visual {
    min-height: 560px;
    min-width: 0;
}

.about-visual-frame {
    inset: 0 0 108px 0;
}

.about-hero-visual .about-hero-stats {
    right: 18px;
    top: 18px;
    width: min(220px, 48%);
}

.about-visual-panel {
    left: 18px;
    right: 18px;
}

.about-clean-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: stretch;
}

.about-clean-cta h2 {
    max-width: 760px;
}

@media (max-width: 900px) {
    .about-hero-visual {
        min-height: 500px;
    }

    .about-visual-frame {
        inset: 0 0 124px;
    }

    .about-hero-visual .about-hero-stats {
        width: min(100%, 240px);
    }

    .about-visual-panel {
        padding-right: 270px;
    }
}

@media (max-width: 560px) {
    .about-hero-clean {
        grid-template-columns: 1fr;
    }

    .about-hero-visual {
        min-height: auto;
    }

    .about-visual-frame {
        position: relative;
        inset: auto;
        min-height: 320px;
    }

    .about-hero-visual .about-hero-stats,
    .about-visual-panel {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: 14px;
    }

    .about-visual-panel {
        padding: 18px;
    }

    .about-clean-cta-inner {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }
}

/* Final compact spacing for service FAQ */
.service-page .service-faq-rich .clean-head {
    margin-bottom: 18px;
}

.service-page .service-faq-rich .faq-list summary {
    padding: 16px 18px;
}

.service-page .service-faq-rich .faq-list p {
    padding: 0 18px 16px;
}

@media (max-width: 680px) {
    .service-page .service-faq-rich .clean-head {
        margin-bottom: 16px;
    }
}

/* Final hard override for home references alignment */
.home-references {
    width: auto;
    margin: 34px max(24px, calc((100vw - var(--max)) / 2)) 54px;
    padding-top: 8px;
}

.home-references-head,
.home-reference-grid {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.home-references-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
    margin-bottom: 20px;
}

.home-references-head .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -10px;
}

.home-references-head h2 {
    max-width: 720px;
}

.home-reference-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 900px) {
    .home-references-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .home-references-head > a {
        justify-self: start;
    }
}

@media (max-width: 680px) {
    .home-references {
        margin-left: 18px;
        margin-right: 18px;
    }

    .home-reference-grid {
        grid-template-columns: 1fr;
    }
}
