:root {
    --site-fix-max: min(1220px, calc(100% - 32px));
}

/* Shared Laravel navigation: language stays in the header at every width. */
.site-header__dropdown--locale .site-header__dropdown-menu--locale {
    display: block;
    inset-inline-start: auto;
    inset-inline-end: 0;
}

.site-header__dropdown--locale:not(.is-open) .site-header__dropdown-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-header__burger:focus-visible,
.mobile-menu__close:focus-visible {
    outline: 2px solid #f6b64f;
    outline-offset: 3px;
}

@media (max-width: 1200px) {
    .site-header .site-header__bar {
        width: calc(100% - 24px);
        gap: 8px;
        padding: 8px 10px;
    }

    .site-header__actions {
        flex-shrink: 0;
    }

    .site-header .site-header__brand-logo {
        max-width: 100%;
        object-fit: contain;
    }

    .site-header .site-header__burger,
    .site-header .site-header__lang {
        min-height: 44px;
    }

    .site-header .site-header__burger {
        width: 44px;
        flex-shrink: 0;
    }

    .site-header .site-header__lang {
        min-width: 76px;
        padding-inline: 10px;
        gap: 6px;
    }

    .mobile-menu {
        top: var(--mobile-menu-top, 84px);
    }

    .mobile-menu .mobile-menu__panel {
        box-sizing: border-box;
        width: min(390px, calc(100% - 24px));
        padding: clamp(12px, 3vw, 20px);
        padding-bottom: max(20px, env(safe-area-inset-bottom));
        overscroll-behavior-y: contain;
        border-radius: 24px 24px 0 0;
    }

    .mobile-menu__nav {
        gap: 8px;
    }

    .mobile-menu .mobile-menu__link,
    .mobile-menu .mobile-menu__summary,
    .mobile-menu .mobile-menu__sub-link {
        box-sizing: border-box;
        width: 100%;
        min-height: 44px;
        padding: 12px;
        overflow-wrap: anywhere;
        gap: 8px;
    }

    .mobile-menu__summary {
        cursor: pointer;
        list-style: none;
    }

    .mobile-menu__close {
        flex-shrink: 0;
    }
}

html,
body {
    min-height: 100%;
}

body {
    background: #140628 !important;
    overflow-x: hidden;
}

.site-shell,
.site-main,
.nwx-page,
.page-shell {
    position: relative;
}

.site-shell {
    isolation: isolate;
}

.site-main,
.nwx-page,
.page-shell {
    z-index: 2;
}

.page-shell {
    background: transparent !important;
}

.page-shell::before,
.page-shell::after {
    display: none !important;
}

.site-atmosphere {
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 12%, rgba(153, 109, 236, 0.5), transparent 30%),
        linear-gradient(135deg, #140628 0%, #24104c 38%, #4a2f7e 100%) !important;
}

.site-atmosphere__grid {
    opacity: 0.08;
    background-size: 74px 74px;
}

.site-atmosphere__wave {
    opacity: 0.42;
}

.site-atmosphere__wave--a {
    top: 15%;
}

.site-atmosphere__wave--b {
    top: 63%;
    opacity: 0.34;
}

.site-atmosphere__gloss {
    background:
        radial-gradient(circle at 50% 0%, rgba(214, 173, 255, 0.16), transparent 28%),
        radial-gradient(circle at 50% 42%, rgba(176, 130, 255, 0.09), transparent 20%);
}

.site-header {
    z-index: 9000;
    pointer-events: none;
}

.site-header__bar {
    width: var(--site-fix-max);
    margin-inline: auto;
    pointer-events: auto;
    overflow: visible;
}

.site-header__dropdown {
    z-index: 9100;
}

.site-header__dropdown::after {
    top: 100%;
    height: 24px;
}

.site-header__dropdown-menu {
    top: calc(100% + 12px);
    z-index: 9105;
    min-width: 250px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(38, 20, 71, 0.98), rgba(24, 11, 47, 0.98)),
        rgba(24, 11, 47, 0.98);
    box-shadow: 0 28px 72px rgba(7, 4, 17, 0.48);
    backdrop-filter: blur(24px);
}

.site-header__dropdown-item {
    min-height: 50px;
    border-radius: 16px;
}

.nwx-page .nwx-section {
    background: transparent !important;
}

.nwx-hero {
    padding-top: clamp(7.75rem, 10vw, 9.5rem);
}

.nwx-heading {
    max-width: 46rem;
    margin-inline: auto;
    margin-bottom: 2rem;

}

.nwx-heading span {
    display: block;
    max-width: 42rem;
    margin-inline: auto;
}

.nwx-hero__title {
    max-width: 13.5ch !important;
    font-size: clamp(2.8rem, 3.8vw, 4.55rem) !important;
    line-height: 1.5 !important;
    letter-spacing: -0.02em;
}

.nwx-page .nwx-hero__title--split {
    width: max-content;
    max-width: 100% !important;
}

.nwx-page .nwx-hero__title--split .nwx-hero__title-line {
    width: 100%;
    text-align: center;
}

.nwx-page .nwx-hero__title--split .nwx-hero__title-accent {
    color: var(--nw-gold, #f6b64f);
    -webkit-text-fill-color: var(--nw-gold, #f6b64f);
    background: none;
    animation: none;
}

.nwx-page .nwx-hero__title--split .nwx-hero__title-main {
    color: var(--nw-text);
    -webkit-text-fill-color: var(--nw-text);
    background: none;
    animation: none;
}

@media (max-width: 667px) {
    .nwx-page .nwx-hero__title--split {
        width: 100%;
    }

    .nwx-page .nwx-hero__title--split .nwx-hero__title-line,
    .nwx-page .nwx-hero__title--split .nwx-hero__title-accent {
        font-size: clamp(2.35rem, 11vw, 3.1rem);
        white-space: normal;
    }

    .nwx-page .nwx-hero__title--split .nwx-hero__title-accent {
        margin-top: 0.1em;
    }
}

.nwx-hero__text {
    max-width: 36rem;
    line-height: 1.82;
    font-size: 15px;
}

.page-hero__title {
    font-size: clamp(1.3rem, 3.7vw, 3.65rem) !important;
    line-height: 1.03 !important;
}

.page-hero__copy {
    max-width: 27rem;
}

.nwx-about__copy,
.nwx-heading--left,
.nwx-contact>div {
    max-width: 36rem;
}

.nwx-about__visual {
    width: 100%;
    max-width: 560px;
}

.nwx-about-card {
    position: relative;
    margin: 0;
    height: clamp(500px, 16vw, 540px);
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(106, 73, 164, 0.24), rgba(45, 24, 83, 0.36)),
        rgba(255, 255, 255, 0.03);
    box-shadow: 0 26px 70px rgba(13, 6, 31, 0.28);
    backdrop-filter: blur(18px);
}

.nwx-about-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%),
        radial-gradient(circle at top right, rgba(246, 182, 79, 0.12), transparent 24%);
    pointer-events: none;
}

.nwx-about-card img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

.nwx-why {
    padding: clamp(2rem, 4vw, 3rem);
    width: 100%;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(96, 63, 152, 0.18), rgba(34, 16, 63, 0.2)),
        rgba(255, 255, 255, 0.03);
}

.nwx-why__grid {
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    align-items: stretch;
}

.nwx-why__grid--single {
    justify-content: center;
}

.nwx-why__grid--single .nwx-why-card {
    max-width: none;
    min-height: auto;
}

.nwx-why-card {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    min-height: 100%;
    padding: 1.65rem;
    border-radius: 24px;
    align-items: center;
}

.nwx-why-card h3 {
    margin: 0;
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    line-height: 1.3;
}

.nwx-why-card p {
    margin: 0;
    color: rgba(244, 243, 251, 0.8);
    font-size: 0.98rem;
    line-height: 1.85;
}

.nwx-why-card__media {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    min-height: 220px;
}

.nwx-why-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.nwx-why-card__body {
    display: grid;
    gap: 0.95rem;
    align-content: center;
}

.nwx-why-card__body>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #f8bb4a, #ffcf7c);
    color: #2a124d;
    box-shadow: 0 16px 34px rgba(248, 183, 76, 0.24);
}

.nwx-why-card__content {
    display: grid;
    gap: 0.8rem;
}

.nwx-why-card__content> :first-child {
    margin-top: 0;
}

.nwx-why-card__content> :last-child {
    margin-bottom: 0;
}

.nwx-why-card__content p,
.nwx-why-card__content li {
    margin: 0 0 0.95rem;
    color: rgba(244, 243, 251, 0.84);
    font-size: 0.99rem;
    line-height: 1.95;
}

.nwx-why-card__content ul,
.nwx-why-card__content ol {
    margin: 0;
    padding-inline-start: 1.35rem;
}

.nwx-why-card__content strong {
    color: #fff;
}

.nwx-why-card__content img {
    display: block;
    max-width: 100%;
    margin: 0.35rem 0 0;
    border-radius: 18px;
}

.nwx-why-card--featured {
    display: grid;
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    gap: 1.35rem;
    align-items: stretch;
}

/* Allow the homepage why-us grid and its image to shrink on small screens. */
@media (max-width: 900px) {
    .nwx-why--minimal .nwx-why__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .nwx-why--minimal .nwx-why-card,
    .nwx-why--minimal .nwx-why-card__media,
    .nwx-why--minimal .nwx-why-card__body,
    .nwx-why--minimal .nwx-why-card__content {
        box-sizing: border-box;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .nwx-why--minimal .nwx-why-card--featured {
        grid-template-columns: minmax(0, 1fr);
    }

    .nwx-why--minimal .nwx-why-card {
        padding: clamp(1rem, 4vw, 1.5rem);
        gap: 1rem;
    }

    .nwx-why--minimal .nwx-why-card__media {
        min-height: 0;
    }

    .nwx-why--minimal .nwx-why-card__media img {
        max-width: 100%;
        height: auto;
        min-height: 0;
    }

    .nwx-why--minimal .nwx-why-card__body {
        overflow-wrap: anywhere;
    }

    .nwx-why--minimal .nwx-why-card h3 {
        line-height: 1.6;
    }
}

.nwx-tools,
.nwx-tools-grid {
    margin-top: clamp(2rem, 3vw, 2.6rem);
}

.nwx-tools {
    padding: 1.2rem 0;
}

.nwx-tools__grid {
    justify-content: center;
    gap: 0.9rem;
}

.nwx-tools span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 1.4rem;
    border-radius: 999px;
    color: rgba(244, 243, 251, 0.86);
    text-align: center;
}

.nwx-tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.nwx-tools-grid__card {
    min-height: 100%;
    padding: 1.35rem;
    border-radius: 22px;
}

.nwx-tools-grid__card p {
    font-size: 1rem;
    line-height: 1.75;
}

.nwx-contact {
    gap: clamp(1.5rem, 4vw, 3rem);
}

.nwx-form {
    min-height: 100%;
    width: 100%;
    padding: 2rem;
}

.nwx-services {
    align-items: stretch;
}

.nwx-service-card,
.nwx-stat,
.nwx-project,
.nwx-contact,
.nwx-form,
.page-tile,
.page-list-card,
.page-contact-card,
.page-package-card,
.page-blog-card {
    display: flex;
    flex-direction: column;
}

.nwx-service-card {
    min-height: 18rem;
    padding: 1.55rem 1.55rem 1.4rem;
    border-radius: 1.6rem;
}

.nwx-service-card h3 {
    margin-top: 1rem;
}

.nwx-service-card p {
    margin-top: 0.7rem;
    font-size: 0.93rem;
    line-height: 1.85;
}

.nwx-service-card small {
    margin-top: auto;
    padding-top: 1rem;
}

.nwx-why-card {
    min-height: 15.5rem;
    justify-content: space-between;
}

.nwx-stat {
    min-height: 10.5rem;
    justify-content: center;
}

.nwx-project {
    min-height: 100%;
}

.nwx-project footer {
    margin-top: auto;
}

.page-tile {
    min-height: 12rem;
    justify-content: flex-start;
}

.page-list-grid--2 .page-list-card {
    min-height: 13rem;
}

.page-list-grid--3 .page-list-card {
    min-height: 14.5rem;
}

.page-list-grid--4 .page-list-card {
    min-height: 11.5rem;
}

.page-list-card,
.page-contact-card,
.page-package-card,
.page-blog-card {
    justify-content: flex-start;
}

.page-work-card__body,
.page-blog-card__body,
.page-package-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer {
    position: relative;
    z-index: 2;
    margin-top: clamp(4.5rem, 8vw, 7rem);
    padding: 0 0 clamp(1.6rem, 2vw, 2.4rem);
    background: transparent !important;
}

.footer .site-container {
    width: var(--site-fix-max);
}

.footer-panel {
    padding: clamp(2.2rem, 4vw, 3.4rem) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 36px !important;
    background:
        linear-gradient(180deg, rgba(42, 21, 81, 0.88), rgba(18, 9, 39, 0.94)),
        rgba(20, 9, 38, 0.92) !important;
    box-shadow: 0 30px 96px rgba(7, 4, 17, 0.4) !important;
    backdrop-filter: blur(22px);
}

.footer__grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.82fr)) !important;
    gap: clamp(1.4rem, 3vw, 3rem) !important;
    align-items: start;
}

.footer__grid--spaced {
    display: grid !important;
    margin-top: 0 !important;
}

.footer__title {
    margin-bottom: 1rem !important;
    color: #fff;
}

.footer__text {
    max-width: 27rem;
    margin: 1rem 0 0;
    color: rgba(244, 240, 252, 0.86) !important;
    font-size: 0.77rem;
    line-height: 1.95;
}

.footer__links,
.footer__contact-list {
    display: grid !important;
}

.footer__links,
.footer__contact-list {
    margin-top: 1rem !important;
    gap: 0.85rem;
}

.footer__links a,
.footer__contact-item a,
.footer__contact-item span {
    color: rgba(244, 240, 252, 0.88) !important;
}

.footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.35rem;
    width: fit-content;
    transition:
        color 0.26s var(--nw-ease),
        transform 0.26s var(--nw-ease);
}

.footer__link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.5rem;
    width: 1rem;
    height: 1.4rem;
    border-radius: 0.9rem;
    color: var(--nwx-gold, #f6b64f);
    background: rgba(246, 182, 79, 0.1);
    border: 1px solid rgba(246, 182, 79, 0.16);
}

.footer__links a:hover,
.footer__contact-item a:hover {
    color: #fff !important;
}

.footer__links a:hover {
    transform: translateY(-2px);
}

.nwx-heading p,
.nwx-heading>span:first-child,
.page-heading__eyebrow,
.page-hero__eyebrow,
.footer__eyebrow {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    line-height: 1.35;
    text-align: center;
    overflow-wrap: anywhere;
    transition:
        transform 0.34s var(--nw-ease),
        border-color 0.34s var(--nw-ease),
        background-color 0.34s var(--nw-ease),
        color 0.34s var(--nw-ease),
        box-shadow 0.34s var(--nw-ease);
}

.nwx-heading p,
.nwx-heading>span:first-child,
.page-heading__eyebrow {
    gap: 0.5rem;
    padding: 0.58rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.nwx-heading>span:first-child {
    margin: 0 auto;
    color: var(--nwx-gold, #f6b64f);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.nwx-heading--left>span:first-child {
    margin-inline-start: 0;
    margin-inline-end: auto;
}

.nwx-heading p::after,
.nwx-heading>span:first-child::after,
.page-heading__eyebrow::after,
.page-hero__eyebrow::after,
.footer__eyebrow::after {
    content: "";
    position: absolute;
    inset: -46%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.18), transparent 64%);
    transform: translateX(-74%) rotate(8deg);
    transition: transform 0.85s var(--nw-ease);
}

.nwx-heading p::before,
.nwx-heading>span:first-child::before,
.page-heading__eyebrow::before,
.page-hero__eyebrow::before,
.footer__eyebrow::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(circle at 20% 20%, rgba(246, 182, 79, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 58%);
    opacity: 0.86;
}



.nwx-heading p:hover::after,
.nwx-heading>span:first-child:hover::after,
.page-heading__eyebrow:hover::after {
    transform: translateX(74%) rotate(8deg);
}

.nwx-heading p::after,
.nwx-heading>span:first-child::after,
.page-heading__eyebrow::after {
    animation: nwx-shimmer 4.5s var(--nw-ease) infinite;
}

.nwx-heading p,
.nwx-heading>span:first-child,
.page-heading__eyebrow {
    animation: nwx-eyebrow-breathe 5.5s ease-in-out infinite;
}

.footer__quick-actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin: 1.4rem 0 1.4rem !important;
}

.footer__grid>section {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.footer__quick-actions .button {
    width: auto !important;
    min-width: 11rem;
}

.footer__socials {
    margin-top: 1.15rem;
}

.footer__social {
    width: 2.85rem;
    height: 2.85rem;
}

.footer__bottom {
    margin-top: 2rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem 2rem;
}

.footer__bottom-inner p {
    margin: 0;
    color: rgba(244, 240, 252, 0.76) !important;
}

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

@media (max-width: 900px) {

    .site-header__bar,
    .footer .site-container {
        width: calc(100% - 20px);
    }

    .site-header__dropdown::after,
    .site-header__dropdown-menu {
        display: none;
    }

    .nwx-why,
    .footer-panel {
        border-radius: 28px !important;
    }

    .footer__grid {
        grid-template-columns: 1fr !important;
    }

    .footer__quick-actions .button {
        width: 100% !important;
    }
}

@media (max-width: 640px) {
    .nwx-tools span {
        width: 100%;
    }

    .footer-panel {
        padding: 1.6rem !important;
    }
}

.nwx-btn,
.page-btn,
.button,
.nwx-link,
.page-link,
.footer__links a,
.footer__contact-item a {
    transition:
        transform 0.26s ease,
        box-shadow 0.26s ease,
        color 0.26s ease,
        border-color 0.26s ease,
        background-color 0.26s ease;
}

.nwx-btn:hover,
.page-btn:hover,
.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(10, 4, 25, 0.28);
}

.nwx-btn:focus-visible,
.page-btn:focus-visible,
.button:focus-visible,
.nwx-link:focus-visible,
.page-link:focus-visible,
.footer__links a:focus-visible,
.footer__contact-item a:focus-visible,
.nwx-tech-strip__item:focus-visible {
    outline: 0;
    box-shadow:
        0 0 0 3px rgba(22, 10, 38, 0.92),
        0 0 0 5px rgba(247, 183, 76, 0.82);
}

.nwx-why--minimal {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.nwx-why--minimal .nwx-heading {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.nwx-why--minimal .nwx-why__grid {
    margin-top: 0;
}

.nwx-why-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(117, 82, 181, 0.28), rgba(48, 26, 88, 0.38)),
        rgba(255, 255, 255, 0.03);
    box-shadow: 0 26px 60px rgba(11, 6, 24, 0.18);
    backdrop-filter: blur(20px);
}

.nwx-why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(255, 201, 113, 0.08), transparent 46%);
    opacity: 0.9;
    pointer-events: none;
}

.nwx-why-card>* {
    position: relative;
    z-index: 1;
}

.nwx-why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(248, 183, 76, 0.34);
    box-shadow: 0 32px 68px rgba(12, 6, 29, 0.24);
}

.nwx-why-card>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #f8bb4a, #ffcf7c);
    color: #2a124d;
    box-shadow: 0 16px 34px rgba(248, 183, 76, 0.24);
}

.nwx-why-card__body>span {
    position: relative;
    z-index: 1;
}

.nwx-partners-marquee {
    --partner-card-width: 210px;
    --partner-row-gap: 1rem;
    display: grid;
    gap: var(--partner-row-gap);
    margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

.nwx-partners-marquee__row {
    overflow: hidden;
    direction: ltr;
}

.nwx-partners-marquee__track {
    display: flex;
    width: max-content;
    animation: partner-continuous-scroll calc(var(--partner-count) * 8s) linear infinite;
}

.nwx-partners-marquee__set {
    display: flex;
    flex: 0 0 auto;
    gap: var(--partner-row-gap);
    padding-right: var(--partner-row-gap);
}

.nwx-partners-marquee .nwx-partner {
    box-sizing: border-box;
    flex: 0 0 var(--partner-card-width);
    width: var(--partner-card-width);
    min-height: 0;
    aspect-ratio: 3 / 2;
    padding: 14px;
}

.nwx-partners-marquee:hover .nwx-partners-marquee__track,
.nwx-partners-marquee:focus-within .nwx-partners-marquee__track {
    animation-play-state: paused;
}

@keyframes partner-continuous-scroll {
    to { transform: translateX(-50%); }
}

@media (max-width: 767px) {
    .nwx-partners-marquee {
        --partner-card-width: 160px;
        --partner-row-gap: 0.875rem;
    }
    .nwx-partners-marquee__track {
        animation-duration: calc(var(--partner-count) * 6s);
    }
    .nwx-partners-marquee .nwx-partner { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .nwx-partners-marquee__track { animation: none; }
    .nwx-partners-marquee__row { overflow-x: auto; }
    .nwx-partners-marquee [aria-hidden="true"] { display: none; }
}

.nwx-partners--homepage {
    margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

/* Keep short groups from expanding into oversized cards and stretching every slide. */
.nwx-partners-carousel .nwx-partners--homepage {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nwx-partners-carousel .nwx-partner {
    box-sizing: border-box;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 3 / 2;
    padding: 14px;
    overflow: hidden;
}

.nwx-partners-carousel__controls {
    padding-inline: max(4px, env(safe-area-inset-left)) max(4px, env(safe-area-inset-right));
    padding-bottom: max(4px, env(safe-area-inset-bottom));
    gap: 10px;
}

.nwx-partners-carousel__arrow {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    box-shadow: 0 4px 12px rgba(10, 5, 23, 0.12);
}

.nwx-partners-carousel__dots {
    position: relative;
    flex: 0 0 96px;
    width: 96px;
    height: 38px;
    overflow: hidden;
}

.nwx-partners-carousel__dot {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 30px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) scale(0.72);
    transition:
        transform 0.28s ease,
        opacity 0.28s ease,
        visibility 0s linear 0.28s;
}

.nwx-partners-carousel__dot[data-dot-position="previous"],
.nwx-partners-carousel__dot[data-dot-position="current"],
.nwx-partners-carousel__dot[data-dot-position="next"],
.nwx-partners-carousel__dot[data-dot-position^="enter"],
.nwx-partners-carousel__dot[data-dot-position^="exit"] {
    visibility: visible;
    transition-delay: 0s;
}

.nwx-partners-carousel__dot[data-dot-position="previous"],
.nwx-partners-carousel__dot[data-dot-position="current"],
.nwx-partners-carousel__dot[data-dot-position="next"] {
    opacity: 1;
    pointer-events: auto;
}

.nwx-partners-carousel__dot[data-dot-position="previous"] {
    transform: translateX(calc(-50% - 30px)) scale(1);
}

.nwx-partners-carousel__dot[data-dot-position="current"] {
    z-index: 2;
    transform: translateX(-50%) scale(1);
}

.nwx-partners-carousel__dot[data-dot-position="next"] {
    transform: translateX(calc(-50% + 30px)) scale(1);
}

.nwx-partners-carousel__dot[data-dot-position="enter-start"],
.nwx-partners-carousel__dot[data-dot-position="exit-start"] {
    transform: translateX(calc(-50% - 60px)) scale(0.72);
}

.nwx-partners-carousel__dot[data-dot-position="enter-end"],
.nwx-partners-carousel__dot[data-dot-position="exit-end"] {
    transform: translateX(calc(-50% + 60px)) scale(0.72);
}

.nwx-partners-carousel__dot::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.35);
    transition: width 0.2s ease, background-color 0.2s ease;
}

.nwx-partners-carousel__dot[aria-current="true"]::before {
    width: 24px;
    background: #f6b64f;
}

.nwx-partners-carousel__dot:focus-visible,
.nwx-partners-carousel__arrow:focus-visible {
    outline: 2px solid #f6b64f;
    outline-offset: -2px;
}

@media (max-width: 767px) {
    .nwx-partners-carousel .nwx-partners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .nwx-partners-carousel .nwx-partner {
        box-sizing: border-box;
        min-width: 0;
        min-height: 96px;
        padding: 12px;
        border-radius: 18px;
        box-shadow: 0 4px 12px rgba(10, 5, 23, 0.12);
    }

    .nwx-partners-carousel .nwx-partner span {
        overflow-wrap: anywhere;
    }
}

/* Align the homepage hero content with the shared internal-page hero system. */
.nwx-page .nwx-hero {
    min-height: clamp(38rem, 78vh, 46rem);
    padding-top: clamp(7rem, 9vw, 8.6rem);
    padding-bottom: 3.8rem;
}

.nwx-page .nwx-hero>.nwx-container {
    width: var(--nwp-container);
}

.nwx-page .nwx-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 4.4rem);
}

.nwx-page :is(.nwx-hero__copy, .nwx-hero__visual) {
    align-self: start;
}

.nwx-page .nwx-hero__copy {
    width: 100%;
    max-width: 42rem;
    padding-top: 0;
}

.nwx-page .nwx-hero__visual {
    display: flex;
    justify-content: center;
}

.nwx-page .nwx-hero-card {
    width: min(100%, 500px);
}

@media (max-width: 767px) {
    .nwx-page .nwx-hero {
        min-height: auto;
        padding-top: clamp(6.5rem, 25vw, 7.75rem);
        padding-bottom: 2.5rem;
    }

    .nwx-page .nwx-hero>.nwx-container {
        width: min(100% - 28px, 540px);
    }

    .nwx-page .nwx-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .nwx-page .nwx-hero-card {
        width: min(100%, 420px);
    }
}

@media (prefers-reduced-motion: reduce) {

    .nwx-partners-carousel__dot,
    .nwx-partners-carousel__dot::before {
        transition: none;
    }
}

.nwx-partner {
    --nwx-partner-bg-top: rgba(106, 73, 164, 0.16);
    --nwx-partner-bg-bottom: rgba(45, 24, 83, 0.22);
    --nwx-partner-bg-base: rgba(255, 255, 255, 0.018);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    box-shadow: 0 18px 40px rgba(10, 5, 23, 0.12);
    transition: 0.2s;

}

.nwx-partner:hover {
    background: transparent;
}


.nwx-partner.nwx-partner img {
    display: block;
    width: min(100%, 210px);
    height: var(--partner-logo-height, 106px);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 1;
    transition: filter var(--partner-hover-duration) var(--partner-hover-easing);
    transition-delay: 0s;

}

.nwx-partner.nwx-partner:hover img {
    transform: none;
}

/* Shared partner card hover treatment on the homepage and partners page. */
.nwx-partner {
    --partner-hover-duration: 0.35s;
    --partner-hover-easing: cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    isolation: isolate;
    transition:
        background-color var(--partner-hover-duration) var(--partner-hover-easing),
        border-color var(--partner-hover-duration) var(--partner-hover-easing),
        box-shadow var(--partner-hover-duration) var(--partner-hover-easing);
}

.nwx-partner::after {
    content: none;
}

.nwx-partner.nwx-partner::before {
    content: none;
}

.nwx-partner img,
.nwx-partner > span {
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .nwx-partner {
        --partner-logo-height: 80px;
    }
}

.nwx-partner:hover,
.nwx-partner.nwx-reveal.is-visible:hover {
    transform: none;
    translate: none;
    scale: none;
    box-shadow: 0 18px 40px rgba(10, 5, 23, 0.12);
}

@media (hover: hover) and (pointer: fine) {
    .nwx-partner.nwx-partner:hover img {
        filter: none;
    }

    .nwx-partner.nwx-partner:hover {
        background: #fff;
    }

    .nwx-partner.nwx-partner:hover > span {
        color: var(--nw-bg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nwx-partner,
    .nwx-partner.nwx-partner img {
        transition: none;
    }
}

.nwx-partner span {
    color: rgba(244, 243, 251, 0.88);
    font-weight: 700;
    text-align: center;
}

.nwx-tech-strip {
    --nwx-tech-gap: 1rem;
    margin-top: clamp(1.8rem, 3vw, 2.4rem);
    padding: 1rem;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(180deg, rgba(88, 59, 141, 0.26), rgba(33, 17, 62, 0.32)),
        rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nwx-tech-strip__track {
    display: flex;
    align-items: center;
    gap: var(--nwx-tech-gap);
    width: max-content;
    direction: ltr;
}

.nwx-tech-strip.is-marquee .nwx-tech-strip__track {
    position: relative;
    gap: 0;
    width: 100%;
    min-height: 78px;
    animation: none;
    will-change: transform;
}

.nwx-tech-strip.is-marquee .nwx-tech-strip__item {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    will-change: transform;
}

.nwx-tech-strip.is-static .nwx-tech-strip__track {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.nwx-tech-strip:hover .nwx-tech-strip__track {
    animation-play-state: paused;
}

.nwx-tech-strip__set {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: var(--nwx-tech-gap);
    padding-inline-end: var(--nwx-tech-gap);
}

.nwx-tech-strip__item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
        rgba(37, 21, 66, 0.64);
    box-shadow: 0 14px 34px rgba(10, 5, 24, 0.14);
}

.nwx-tech-strip__item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nwx-tech-strip__item strong {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.footer {
    margin-top: clamp(3.5rem, 7vw, 6rem);
}

.footer-panel {
    position: relative;
    overflow: hidden;
}

.footer-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 16%, rgba(255, 216, 128, 0.08), transparent 24%),
        radial-gradient(circle at 85% 8%, rgba(201, 152, 255, 0.14), transparent 28%);
    pointer-events: none;
}

.footer-panel>* {
    position: relative;
    z-index: 1;
}

.footer__brand-logo {
    width: 135px;
    height: auto;
}

.footer__grid section {
    min-width: 0;
}

.footer__title {
    font-weight: 800;
}

.footer__contact-item {
    align-items: flex-start;
}

.footer__contact-item i {
    color: #f7b74c;
    margin-top: 0.18rem;
}

[dir="rtl"] .footer__bottom-inner {
    flex-direction: row-reverse;
}

.page-hero--unified {
    padding-top: clamp(7rem, 9vw, 8.6rem);
}

.page-hero-showcase {
    align-items: center;
    gap: clamp(2rem, 4vw, 4.4rem);
}

.page-hero__intro--showcase {
    --page-hero-text-width: min(100%, 38rem);
    max-width: 42rem;
}

.page-hero__intro--showcase .page-hero__title,
.page-hero__intro--showcase .page-hero__copy {
    max-width: var(--page-hero-text-width);
}

.page-hero__intro--showcase .page-hero__copy {
    width: 77%;
}

.page-hero__intro--showcase:not(.page-hero__intro--start) .page-hero__title,
.page-hero__intro--showcase:not(.page-hero__intro--start) .page-hero__copy {
    margin-inline: auto;
}

.page-hero__intro--start.page-hero__intro--showcase .page-hero__copy {
    margin-inline-start: 0;
    margin-inline-end: auto;
    width: 92%;
    font-size: 15px;
}

.page-hero__intro--matched {
    --page-hero-matched-width: min(100%, 42rem);
}

.page-hero__title--matched,
.page-hero__copy--matched {
    /* width: var(--page-hero-matched-width) !important; */
    max-width: var(--page-hero-matched-width) !important;
    margin-inline-start: 0 !important;
    margin-inline-end: auto !important;
}

.website-hero__description {

    font-size: clamp(0.98rem, 1vw, 1.06rem);
    line-height: 1.82;
}

.mobile-hero__description {
    /* width: 63% !important; */

}

.store-hero__description {
    /* width: 77% !important; */
}

.service-overview-hero__title .page-hero__title-line--sub {
    margin-top: 0.35em;
    font-size: 28px !important;
    line-height: 1.5;
    font-weight: 700;
}

.technical-support-hero__description {
    /* width: 81% !important; */
}





.store-hero__title .page-hero__title-line:last-of-type {
    font-size: clamp(2.05rem, 8vw, 3.07rem) !important;
    font-weight: bold;
}

/* .website-hero__title .page-hero__title-line:last-of-type {
    font-size: 28px !important;
    margin-top: 14px;
    font-weight: bold;
} */

.mobile-hero__title .page-hero__title-line:last-of-type {
    font-size: clamp(2.05rem, 8vw, 3.5rem) !important;
    font-weight: bold;
}

.page-hero__copy--matched {
    line-height: 1.9;
}

.page-hero__title--matched .aurora {
    display: block;
    max-width: 100%;
    padding-bottom: 15px;
    line-height: 1.35;
}

.page-hero__title-line {
    display: block;
    max-width: 100%;
    text-wrap: balance;
}



.page-hero__title-line--systems-main {
    /* line-height: 1.05; */
    font-weight: 800;
}

.page-hero__title-line--sub {
    margin-top: 0.08em;
    font-size: 28px;
    line-height: 1.22;
    font-weight: bold;

}


.strategy-hero__intro {
    --page-hero-matched-width: min(100%, 46rem);
}

.strategy-hero__title .aurora {
    padding: 0.08em 0 0.18em;
    font-size: 60px;
    line-height: 1.08;
    text-shadow: 0 18px 58px rgba(255, 180, 64, 0.16);
}


.marketing-hero__title .page-hero__title-line:last-of-type {
    margin-top: 0.08em;
    font-size: 28px;
}

.service-hero__intro,
.store-hero__intro {
    --page-hero-matched-width: min(100%, 40rem);
}

.ads-hero__intro,
.marketing-hero__intro,
.systems-hero__intro {
    --page-hero-matched-width: min(100%, 42rem);
}

.technical-support-hero__intro,
.blog-hero__intro {
    --page-hero-matched-width: min(100%, 34rem);
}

.blog-hero__title {
    white-space: nowrap;
}

.technical-support-hero__title {
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.page-hero-showcase__visual {
    align-items: center;
    justify-content: center;
}

.page-hero-frame {
    width: min(100%, 560px);
    min-height: clamp(360px, 38vw, 620px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(31, 15, 58, 0.82);
    box-shadow: 0 32px 92px rgba(10, 6, 23, 0.28);
}

.page-hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-stats {
    width: min(100%, 560px);
}

.page-form-card button,
.nwx-form button {
    transition:
        transform 0.26s ease,
        box-shadow 0.26s ease,
        background-color 0.26s ease;
}

.page-form-card button:hover,
.nwx-form button:hover {
    transform: translateY(-2px);
}

@keyframes nwx-tech-marquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes nwx-eyebrow-breathe {

    0%,
    100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.055),
            0 0 0 rgba(246, 182, 79, 0);
    }

    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.08),
            0 14px 34px rgba(246, 182, 79, 0.08);
    }
}

@media (max-width: 900px) {
    .nwx-tech-strip__item {
        width: 70px;
        height: 70px;
        border-radius: 22px;
    }

    .nwx-tech-strip.is-marquee .nwx-tech-strip__track {
        min-height: 70px;
    }

    .nwx-hero__title {
        font-size: clamp(2.4rem, 9vw, 2.6rem) !important;
        max-width: 100% !important;
        text-align: center;
    }

    .page-hero__title {
        font-size: clamp(2.05rem, 8vw, 3.2rem) !important;
    }

    .technical-support-hero__title,
    .blog-hero__title {
        white-space: normal;
    }

    .nwx-service-card,
    .nwx-why-card,
    .page-tile,
    .page-list-card {
        min-height: auto;
    }

    .nwx-why-card--featured {
        grid-template-columns: 1fr;
    }

    .page-hero-frame,
    .page-hero-stats {
        width: 100%;
    }
}

@media (max-width: 640px) {

    .nwx-why-card,
    .nwx-partner {
        border-radius: 22px;
    }

    .nwx-tech-strip {
        --nwx-tech-gap: 0.8rem;
        padding: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .nwx-heading p,
    .nwx-heading>span:first-child,
    .page-heading__eyebrow,
    .page-hero__eyebrow,
    .footer__eyebrow,
    .nwx-heading p::after,
    .nwx-heading>span:first-child::after,
    .page-heading__eyebrow::after,
    .page-hero__eyebrow::after,
    .footer__eyebrow::after,
    .nwx-tech-strip__track,
    .nwx-btn,
    .page-btn,
    .button,
    .nwx-link,
    .page-link {
        animation: none !important;
        transition: none !important;
    }
}

.site-header__dropdown--locale .site-header__dropdown-toggle {
    min-width: 92px;
    justify-content: center;
    gap: 0.55rem;
}

.site-header__dropdown-menu--locale {
    min-width: 190px;
    padding: 0.45rem;
}

.site-header__dropdown-menu--locale .site-header__dropdown-item {
    justify-content: flex-start;
    gap: 0.7rem;
    min-height: 46px;
    padding-inline: 0.9rem;
}

body[dir="rtl"] .site-header__dropdown-menu--locale .site-header__dropdown-item {
    flex-direction: row-reverse;
}

.site-header__dropdown-menu--locale .site-header__dropdown-item.is-active {
    background: rgba(246, 182, 79, 0.12);
    color: #fff;
}

.mobile-menu__actions .mobile-menu__lang.is-active {
    border-color: rgba(246, 182, 79, 0.32);
    background: rgba(246, 182, 79, 0.12);
    color: #fff;
}

.page-hero__title {
    font-size: clamp(2.15rem, 4.25vw, 4.1rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em;
}

.page-hero-showcase__visual {
    gap: 1rem;
}

.page-hero-mini-grid {
    margin-top: 0.25rem;
}

.page-hero-mini-card {
    min-height: 10.5rem;
}

.page-note-banner {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.35rem;
    padding: 1rem 1.15rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(246, 182, 79, 0.2);
    background:
        linear-gradient(135deg, rgba(246, 182, 79, 0.14), rgba(255, 255, 255, 0.04)),
        rgba(255, 255, 255, 0.04);
    box-shadow: 0 18px 56px rgba(8, 4, 20, 0.18);
}

.page-note-banner i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: rgba(246, 182, 79, 0.16);
    color: var(--nwx-gold, #f6b64f);
    flex: 0 0 auto;
}

.page-note-banner span {
    color: rgba(249, 246, 255, 0.9);
    line-height: 1.8;
}

.project-grid,
.system-grid {
    align-items: stretch;
}

.page-work-card--portfolio,
.system-card {
    min-height: 100%;
}

.page-work-card--portfolio .page-work-card__media,
.system-card__media {
    aspect-ratio: 16 / 10;
}

.page-work-card--portfolio .page-work-card__body,
.system-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    /* min-height: 100%; */
}



.project-card__meta,
.system-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 0.95rem;
    margin-top: auto;
    color: rgba(244, 240, 252, 0.72);
    font-size: 0.88rem;
}

.project-card__meta span,
.system-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.project-detail-grid {
    align-items: stretch;
}

.project-detail-card {}

.page-rich-grid {
    display: grid;
    gap: 1.35rem;
}

.page-rich-section,
.page-cta-banner {
    border-radius: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(180deg, rgba(96, 63, 152, 0.16), rgba(24, 11, 47, 0.22)),
        rgba(255, 255, 255, 0.03);
    box-shadow: 0 24px 72px rgba(8, 4, 20, 0.22);
}

.page-rich-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: 1.35rem;
    align-items: center;
    padding: 1.45rem;
}

.page-rich-section__body {
    display: grid;
    gap: 0.9rem;
}

.page-rich-section__body h2,
.page-cta-banner h2 {
    margin: 0;
    font-size: clamp(1.55rem, 2.3vw, 2.1rem);
    line-height: 1.2;
}

.page-rich-section__media {
    overflow: hidden;
    border-radius: 1.45rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-rich-section__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
}

.page-doc-grid,
.page-faq-grid {
    display: grid;
    gap: 1rem;
}

.page-doc-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.page-doc-card {
    display: grid;
    gap: 0.55rem;
    padding: 1.15rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(180deg, rgba(96, 63, 152, 0.12), rgba(24, 11, 47, 0.16)),
        rgba(255, 255, 255, 0.03);
    color: #fff;
    text-decoration: none;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.page-doc-card:hover {
    transform: translateY(-3px);
    color: #fff;
    border-color: rgba(246, 182, 79, 0.28);
    box-shadow: 0 24px 64px rgba(8, 4, 20, 0.24);
}

.page-doc-card strong {
    font-size: 0.98rem;
    line-height: 1.5;
}

.page-doc-card span:last-child {
    color: rgba(244, 240, 252, 0.7);
    font-size: 0.86rem;
}

.page-doc-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 1rem;
    background: rgba(246, 182, 79, 0.14);
    color: var(--nwx-gold, #f6b64f);
}

.page-faq-item {
    padding: 1rem 1.15rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(180deg, rgba(96, 63, 152, 0.12), rgba(24, 11, 47, 0.16)),
        rgba(255, 255, 255, 0.03);
}

.page-faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
}

.page-faq-item summary::-webkit-details-marker {
    display: none;
}

.page-faq-item__body {
    padding-top: 0.8rem;
    color: rgba(244, 240, 252, 0.8);
    line-height: 1.85;
}

.page-faq-item__body> :last-child {
    margin-bottom: 0;
}

.page-cta-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    gap: 1.2rem;
    align-items: center;
    padding: 1.5rem;
}

.page-cta-banner p {
    margin: 0.8rem 0 0;
    color: rgba(244, 240, 252, 0.78);
    line-height: 1.85;
}

@media (max-width: 1024px) {

    .page-rich-section,
    .page-cta-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .page-hero__title {
        max-width: none;
    }

    .page-hero-mini-card {
        min-height: auto;
    }
}

@media (max-width: 680px) {
    .page-doc-grid {
        grid-template-columns: 1fr;
    }
}

.project-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.project-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(244, 240, 252, 0.86);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.project-tab:hover,
.project-tab.is-active {
    transform: translateY(-2px);
    border-color: rgba(246, 182, 79, 0.28);
    background: rgba(246, 182, 79, 0.12);
    color: #fff;
}

.project-grid,
.system-grid,
.project-video-grid,
.project-gallery-grid,
.system-feature-grid {
    display: grid;
    gap: 1.35rem;
}

.project-grid,
.system-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card__media-link,
.system-card__media {
    display: block;
}

.project-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    margin-top: 0.8rem;
    color: rgba(244, 240, 252, 0.72);
    font-size: 0.88rem;
}

.project-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
}

.project-detail-card,
.project-quote,
.project-video-card,
.system-card,
.system-feature-card {
    padding: 1.6rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(95, 62, 151, 0.16), rgba(23, 11, 45, 0.2)),
        rgba(255, 255, 255, 0.03);
    box-shadow: 0 22px 70px rgba(8, 4, 20, 0.2);
}

.project-detail-card h2,
.system-card h2,
.system-card h3,
.project-video-card h3 {
    margin: 0.7rem 0 0.85rem;
}

.project-rich-text,
.project-rich-text p {
    color: rgba(244, 240, 252, 0.82);
    line-height: 1.95;
}

.project-rich-text> :last-child {
    margin-bottom: 0;
}

.project-quote {
    margin-top: 1.35rem;
    text-align: center;
}

.project-quote p {
    margin: 0;
    font-size: clamp(1.08rem, 1.8vw, 1.34rem);
    line-height: 1.9;
    color: #fff;
}

.project-quote footer {
    margin-top: 0.9rem;
    color: rgba(244, 240, 252, 0.68);
    font-weight: 700;
}

.project-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-video-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-video-frame {
    overflow: hidden;
    border-radius: 1.2rem;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.24);
}

.project-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.project-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-gallery-card {
    overflow: hidden;
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    aspect-ratio: 1 / 0.78;
}

.project-gallery-card--project-detail {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.page-shell--projects .page-hero--unified {
    min-height: 100svh;
    padding-top: clamp(6.5rem, 2vw, 8rem);
    display: grid;
    align-items: center;
}

.page-shell--projects .page-hero--unified .page-hero-showcase--projects-centered {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    place-items: center;
    transform: translateY(-7rem);
}

.page-shell--projects .page-hero--unified .projects-hero__intro {
    width: min(100%, 64rem);
    margin-inline: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-shell--projects .page-hero--unified .projects-hero__intro :is(.page-hero__title, .page-hero__copy) {
    margin-inline: auto;
}

.page-shell--projects .page-hero--unified .projects-hero__intro .page-actions {
    justify-content: center;
}

@media (max-width: 767px) {
    .page-shell--projects .page-hero--unified .page-hero-showcase--projects-centered {
        transform: translateY(-1.25rem);
    }
}

.page-shell--project-detail .project-detail-hero__title .aurora {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.04em;
}

.page-shell--project-detail .project-detail-hero__title-main {
    font-size: clamp(2.7rem, 4vw, 4rem);
    white-space: nowrap;
}

.page-shell--project-detail .project-detail-hero__title-sub {
    font-size: clamp(1.45rem, 2vw, 2rem) !important;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .page-shell--project-detail .project-detail-hero__title .aurora {
        align-items: center;
    }

    .page-shell--project-detail .project-detail-hero__title-main,
    .page-shell--project-detail .project-detail-hero__title-sub {
        white-space: normal;
        text-align: center;
    }

    .page-shell--project-detail .project-detail-hero__title-main {
        font-size: clamp(2.15rem, 10vw, 3rem);
    }

    .page-shell--project-detail .project-detail-hero__title-sub {
        font-size: clamp(1.3rem, 6vw, 1.75rem) !important;
    }
}

.project-gallery-card img,
.system-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.system-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.system-card__media {
    overflow: hidden;
    border-radius: 1.2rem;
    aspect-ratio: 16 / 10;
    margin-bottom: 1.15rem;
}

.system-card__body p {
    color: rgba(244, 240, 252, 0.78);
    line-height: 1.85;
}

.system-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.system-feature-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 100%;
}

.system-feature-card i {
    color: var(--nwx-gold, #f6b64f);
    font-size: 1.1rem;
}

@media (max-width: 1100px) {

    .project-grid,
    .system-grid,
    .project-gallery-grid,
    .system-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {

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

@media (max-width: 680px) {

    .project-grid,
    .system-grid,
    .project-gallery-grid,
    .system-feature-grid {
        grid-template-columns: 1fr;
    }
}

:is(.page-list-card, .page-blog-card, .page-package-card, .page-contact-card, .page-work-card--portfolio, .system-card, .project-detail-card, .project-video-card, .system-feature-card, .page-blog-featured--spotlight, .page-cta-banner--mini, .page-doc-card--group) {
    position: relative;
    overflow: hidden;
}

:is(.page-list-card, .page-blog-card, .page-package-card, .page-contact-card, .page-work-card--portfolio, .system-card, .project-detail-card, .project-video-card, .system-feature-card, .page-blog-featured--spotlight, .page-cta-banner--mini, .page-doc-card--group)::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 24%),
        linear-gradient(135deg, rgba(246, 182, 79, 0.08), transparent 44%);
    pointer-events: none;
}

:is(.page-list-card, .page-blog-card, .page-package-card, .page-contact-card, .page-work-card--portfolio, .system-card, .project-detail-card, .project-video-card, .system-feature-card, .page-blog-featured--spotlight, .page-cta-banner--mini, .page-doc-card--group)>* {
    position: relative;
    z-index: 1;
}

.page-list-card,
.page-blog-card,
.page-package-card,
.page-contact-card,
.page-work-card--portfolio,
.system-card,
.project-detail-card,
.project-video-card {
    border-color: rgba(255, 255, 255, 0.11);
    box-shadow: 0 28px 74px rgba(8, 4, 20, 0.2);
}

.page-list-card:hover,
.page-blog-card:hover,
.page-package-card:hover,
.page-contact-card:hover,
.page-work-card--portfolio:hover,
.system-card:hover,
.project-detail-card:hover,
.project-video-card:hover,
.page-doc-card--group:hover {
    transform: translateY(-6px);
    border-color: rgba(246, 182, 79, 0.3);
    box-shadow: 0 34px 86px rgba(9, 5, 22, 0.28);
}

.page-about-advantages .page-list-card {
    transition:
        transform 0.35s var(--nw-ease),
        border-color 0.35s var(--nw-ease),
        box-shadow 0.35s var(--nw-ease);
}

.page-shell--about .about-hero__title .aurora {
    display: inline-grid;
    justify-items: stretch;
    width: fit-content;
    max-width: 100%;
}

.page-shell--about .about-hero__title-line {
    display: block;
    inline-size: 100%;
    max-width: none;
    white-space: nowrap;
}

/* .page-shell--about .about-hero__title-line--company {
    text-align: start;
    font-size: 4.35rem;
} */

.page-shell--about .about-hero__title-line--tagline {
    margin-top: 0.08em;
    font-size: 28px;
}

@media (max-width: 991.98px) {

    .page-hero__title-line--brand,
    .page-hero__title-line--systems-main,
    .page-shell--about .about-hero__title-line--company {
        font-size: 3.3rem;
    }

    .page-hero__title-line--sub,
    .systems-hero__title .page-hero__title-line--sub,
    .page-shell--about .about-hero__title-line--tagline {
        font-size: 2.55rem !important;
    }

    .strategy-hero__title .aurora {
        font-size: 3.15rem;
    }
}

@media (max-width: 575.98px) {

    .page-hero__title-line--brand,
    .page-hero__title-line--systems-main,
    .page-shell--about .about-hero__title-line--company {
        font-size: 2.45rem;
    }

    .page-hero__title-line--sub,
    .systems-hero__title .page-hero__title-line--sub,
    .page-shell--about .about-hero__title-line--tagline {
        font-size: 1.95rem !important;
    }

    .strategy-hero__title .aurora {
        font-size: 2.1rem;
    }
}

.page-shell--about :is(.page-about-stats .page-tile, .page-about-pillars .page-tile, .page-about-advantages .page-list-card) {
    position: relative;
    overflow: hidden;
    transform-origin: center;
    transition:
        transform 0.38s var(--nw-ease),
        border-color 0.38s var(--nw-ease),
        background-color 0.38s var(--nw-ease),
        box-shadow 0.38s var(--nw-ease);
}

.page-shell--about :is(.page-about-stats .page-tile, .page-about-pillars .page-tile, .page-about-advantages .page-list-card)::before {
    z-index: 0;
    opacity: 0.9;
}

.page-shell--about :is(.page-about-stats .page-tile, .page-about-pillars .page-tile, .page-about-advantages .page-list-card)::after {
    content: "";
    position: absolute;
    inset: -42%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.18), transparent 64%);
    transform: translateX(-74%) rotate(8deg);
    transition: transform 0.85s var(--nw-ease);
}

.page-shell--about :is(.page-about-stats .page-tile, .page-about-pillars .page-tile, .page-about-advantages .page-list-card)>* {
    position: relative;
    z-index: 1;
}

.page-shell--about :is(.page-about-stats .page-tile, .page-about-pillars .page-tile, .page-about-advantages .page-list-card):hover::after {
    transform: translateX(74%) rotate(8deg);
}

.page-about-advantages .page-list-card:hover {
    transform: translateY(-7px);
    border-color: rgba(246, 182, 79, 0.42);
    box-shadow: 0 34px 90px rgba(9, 5, 22, 0.34);
}

.page-about-stats .page-tile:hover,
.page-about-pillars .page-tile:hover {
    transform: translateY(-7px);
    border-color: rgba(246, 182, 79, 0.38);
    box-shadow: 0 32px 86px rgba(9, 5, 22, 0.32);
}

.page-about-pillars .page-tile:hover .page-tile__icon,
.page-about-advantages .page-list-card:hover .page-list-card__icon {
    transform: scale(1.06) rotate(-4deg);
}

.page-list-card {
    gap: 1rem;
    padding: 1.45rem;
}

.page-list-card__icon,
.page-contact-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(246, 182, 79, 0.18), rgba(255, 255, 255, 0.06));
    color: var(--nwx-gold, #f6b64f);
    box-shadow: 0 14px 30px rgba(246, 182, 79, 0.12);
    transition:
        transform 0.38s var(--nw-ease),
        border-color 0.38s var(--nw-ease),
        box-shadow 0.38s var(--nw-ease);
}

.page-list-card__copy,
.page-package-card__copy,
/* .page-work-card__copy, */
.page-blog-card__copy,
.page-contact-card__copy,
.system-card__body p {
    flex: 1 1 auto;
    color: rgba(244, 240, 252, 0.8);
    line-height: 1.85;
}

.page-blog-card__body,
.page-work-card__body,
.page-package-card__body,
.system-card__body {
    gap: 0.85rem;
}

.page-blog-card__title,
.page-work-card__title,
.page-package-card__title,
.page-list-card__title {
    line-height: 1.24;
}

.page-blog-card__footer,
.page-work-card__footer,
.page-package-card__footer {
    margin-top: auto;
}

.page-blog-featured--spotlight {
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 34px 90px rgba(8, 4, 20, 0.24);
}

.page-blog-featured--spotlight .page-blog-featured__content {
    justify-content: center;
}

.page-package-card--pricing {
    padding: 1.55rem;
}

.page-package-card__list {
    display: grid;
    gap: 0.65rem;
}

.page-package-card__list p {
    color: rgba(244, 240, 252, 0.76);
}

.page-contact-card {
    gap: 1rem;
    padding: 1.45rem;
}

.page-contact-card--whatsapp {
    border-color: rgba(246, 182, 79, 0.24);
}

.page-work-card--portfolio .page-work-card__media,
.system-card__media {
    border-radius: 1.35rem;
}

.system-card__meta,
.project-card__meta {
    padding-top: 0.2rem;
}

.project-detail-card {
    display: grid;
    gap: 0.9rem;
    align-content: flex-start;
}

.system-feature-card {
    align-items: flex-start;
    padding-block: 1.25rem;
}

.system-feature-card span {
    color: rgba(244, 240, 252, 0.86);
    line-height: 1.8;
}

.page-rich-grid--cta {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-cta-banner--mini {
    min-height: 100%;
    padding: 1.35rem;
    border-radius: 1.55rem;
}

.page-cta-banner--mini h2 {
    font-size: clamp(1.24rem, 2vw, 1.72rem);
}

.page-cta-banner--mini .page-actions {
    margin-top: auto;
}

.page-doc-card--group {
    min-height: 100%;
    gap: 0.75rem;
    padding: 1.3rem;
}

.page-doc-card--group p {
    margin: 0;
    color: rgba(244, 240, 252, 0.76);
    line-height: 1.8;
    flex: 1 1 auto;
}

.footer {
    margin-top: clamp(4rem, 7vw, 6.5rem);
    background:
        linear-gradient(180deg, rgba(20, 9, 44, 0.12), rgba(12, 5, 28, 0.74)),
        rgba(12, 5, 28, 0.68);
}

.footer .site-container {
    width: min(1180px, calc(100% - 32px));
}

.footer-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(1.35rem, 3vw, 2rem);
    border-radius: 34px !important;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(39, 20, 77, 0.88), rgba(17, 8, 37, 0.96));
    box-shadow:
        0 28px 86px rgba(7, 4, 17, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer-panel::before {
    opacity: 0.9;
    background:
        radial-gradient(circle at 8% 14%, rgba(246, 182, 79, 0.16), transparent 28%),
        radial-gradient(circle at 92% 0%, rgba(180, 125, 255, 0.18), transparent 32%),
        linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.045), transparent 58%);
}

.footer__grid {
    grid-template-columns: minmax(260px, 1.2fr) minmax(190px, 0.8fr) minmax(220px, 0.95fr) minmax(220px, 0.95fr) !important;
    gap: var(--footer-card-gap, clamp(1rem, 2.4vw, 1.6rem)) !important;
    align-items: stretch;
}

.footer__brand {
    min-width: 0;
    padding: clamp(1.2rem, 2.4vw, 1.6rem);
    border-radius: 26px;
    border: 1px solid rgba(246, 182, 79, 0.14);
    background:
        linear-gradient(180deg, rgba(246, 182, 79, 0.075), rgba(255, 255, 255, 0.035)),
        rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.footer__brand,
.footer__surface {
    transition:
        transform 0.32s var(--nw-ease),
        border-color 0.32s var(--nw-ease),
        box-shadow 0.32s var(--nw-ease),
        background-color 0.32s var(--nw-ease);
}

.footer__brand:hover,
.footer__surface:hover {
    /* transform: translateY(-3px); */
    border-color: rgba(246, 182, 79, 0.22);
    box-shadow:
        0 20px 54px rgba(7, 4, 17, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.footer__eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 2.2rem;
    padding: 0 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(246, 182, 79, 0.2);
    color: var(--nwx-gold, #f6b64f);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer__brand-lockup {
    display: grid;
    gap: 1.1rem;
}

.footer__brand-copy {
    display: grid;
    gap: 0.75rem;
}

.footer__headline {
    margin: 0;
    color: #fff;
    font-size: clamp(1.55rem, 1vw, 2rem);
    line-height: 1.05;
}

.footer__surface {
    padding: 1.2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.095);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.footer__title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
    color: #fff;
    font-size: 0.96rem;
    letter-spacing: 0.08em;
}

.footer__title::before {
    content: "";
    flex: 0 0 0.56rem;
    width: 0.56rem;
    height: 0.56rem;
    border-radius: 999px;
    background: var(--nwx-gold, #f6b64f);
    box-shadow: 0 0 0 0.3rem rgba(246, 182, 79, 0.1);
}

body[dir="rtl"] .footer__title,
body[dir="rtl"] .footer__eyebrow {
    letter-spacing: 0;
}

.footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.1rem;
}

.footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(244, 240, 252, 0.82);
    font-size: 1.03rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.03);
    box-shadow: 0 14px 34px rgba(8, 4, 20, 0.18);
    transition:
        transform 0.28s var(--nw-ease),
        color 0.28s var(--nw-ease),
        border-color 0.28s var(--nw-ease),
        background 0.28s var(--nw-ease),
        box-shadow 0.28s var(--nw-ease);
}

.footer__social i {
    transition: transform 0.28s var(--nw-ease);
}

.footer__social[aria-label="X"] .bi-twitter::before {
    content: "X";
    font-family: var(--nw-font-family);
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1;
}

.footer__social:hover {
    transform: translateY(-3px);
    color: #231403;
    border-color: rgba(246, 182, 79, 0.42);
    background: linear-gradient(135deg, var(--nwx-gold, #f6b64f), #f3a442);
    box-shadow: 0 18px 42px rgba(246, 182, 79, 0.16);
}

.footer__social:hover i {
    transform: scale(1.06);
}

.footer__social:focus-visible {
    outline: 2px solid rgba(246, 182, 79, 0.78);
    outline-offset: 3px;
}

.footer__contact-item {
    gap: 0.75rem;
    padding: 0.1rem 0;
    line-height: 1.8;
}

.footer__contact-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.5rem;
    width: 1rem;
    height: 1.4rem;
    margin-top: 0;
    border-radius: 0.9rem;
    background: rgba(246, 182, 79, 0.1);
    border: 1px solid rgba(246, 182, 79, 0.16);
}

.footer__links,
.footer__contact-list {
    gap: 0.15rem;
}

.footer__links a {
    width: 100%;
    min-height: 2.01rem;
    padding: 0.01rem 0;
}

.footer__links a:hover .footer__link-icon {
    color: #231403;
    background: linear-gradient(135deg, var(--nwx-gold, #f6b64f), #f3a442);
    border-color: transparent;
}

.footer__links a:hover .footer__contact-item i {
    color: #231403;
    background: linear-gradient(135deg, var(--nwx-gold, #f6b64f), #f3a442);
    border-color: transparent;
}

.footer__bottom-inner {
    gap: 0.9rem 1.6rem;
}

.footer__bottom-inner--center {
    justify-content: center !important;
    text-align: center;
}

@media (max-width: 1180px) {
    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .footer .site-container {
        width: calc(100% - 22px);
    }

    .footer__grid {
        grid-template-columns: 1fr !important;
    }

    .footer__brand {
        grid-column: auto;
    }

    .footer-panel {
        padding: 1.2rem !important;
        border-radius: 28px !important;
    }
}

@media (max-width: 560px) {
    .footer .site-container {
        width: calc(100% - 16px);
    }

    .footer-panel,
    .footer__brand,
    .footer__surface {
        border-radius: 22px !important;
    }

    .footer__brand,
    .footer__surface {
        padding: 1rem;
    }

    .footer__headline {
        font-size: 1.35rem;
    }

    .footer__socials {
        gap: 0.5rem;
    }

    .footer__social {
        width: 2.55rem;
        height: 2.55rem;
    }

    .footer__bottom-inner {
        padding-inline: 0;
    }
}

.page-shell--article .page-hero__copy {
    max-width: 40rem;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.72fr);
    gap: 1.5rem;
    align-items: start;
}

.article-main-card,
.article-side-card,
.article-comment-card {
    border-radius: 1.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(180deg, rgba(101, 67, 160, 0.16), rgba(24, 11, 47, 0.22)),
        rgba(255, 255, 255, 0.03);
    box-shadow: 0 26px 74px rgba(8, 4, 20, 0.22);
}

.article-main-card {
    padding: 1.35rem;
    display: grid;
    gap: 1.25rem;
}

.article-cover {
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 16 / 9.25;
}

.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    color: rgba(244, 240, 252, 0.72);
    font-size: 0.92rem;
}

.article-meta-strip span:not(.page-work-card__tag) {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.article-rich-text {
    color: rgba(244, 240, 252, 0.88);
    line-height: 2.02;
    font-size: 1.03rem;
    word-break: break-word;
}

.article-rich-text> :first-child {
    margin-top: 0;
}

.article-rich-text> :last-child {
    margin-bottom: 0;
}

.article-rich-text h2,
.article-rich-text h3,
.article-rich-text h4 {
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
    color: #fff;
    line-height: 1.32;
}

.article-rich-text p,
.article-rich-text li {
    margin: 0 0 1rem;
}

.article-rich-text a {
    color: var(--nwx-gold, #f6b64f);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.article-rich-text strong {
    color: #fff;
    font-weight: 800;
}

.article-rich-text img,
.article-rich-text iframe,
.article-rich-text video {
    display: block;
    max-width: 100%;
    margin: 1.4rem auto;
    border-radius: 1.3rem;
    overflow: hidden;
}

.article-rich-text code {
    padding: 0.18rem 0.45rem;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff4cb;
    font-size: 0.92em;
}

.article-rich-text pre {
    margin: 1.5rem 0;
    padding: 1rem 1.1rem;
    border-radius: 1.2rem;
    background: rgba(12, 6, 26, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: auto;
}

.article-rich-text pre code {
    padding: 0;
    background: transparent;
}

.article-rich-text ul,
.article-rich-text ol {
    padding-inline-start: 1.2rem;
}

.article-rich-text blockquote {
    margin: 1.4rem 0;
    padding: 1rem 1.15rem;
    border-inline-start: 3px solid rgba(246, 182, 79, 0.66);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
}

.article-sidebar {
    display: grid;
    gap: 1.2rem;
    align-self: start;
    position: sticky;
    top: 7.4rem;
}

.article-side-card {
    display: grid;
    gap: 0.9rem;
    padding: 1.35rem;
}

.article-side-card h2,
.article-side-card h3 {
    margin: 0;
    color: #fff;
    line-height: 1.22;
}

.article-side-card p {
    margin: 0;
    color: rgba(244, 240, 252, 0.76);
    line-height: 1.85;
}

.article-lead {
    display: grid;
    gap: 0.85rem;
    padding: 0.15rem 0.1rem 0;
}

.article-lead h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.9rem, 2.7vw, 3rem);
    line-height: 1.1;
    text-wrap: balance;
}

.article-lead p {
    margin: 0;
    color: rgba(244, 240, 252, 0.78);
    line-height: 1.9;
    font-size: 1rem;
}

.article-side-card--compact {
    padding: 1.2rem;
}

.article-side-points {
    display: grid;
    gap: 0.7rem;
}

.article-side-point {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.8rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-side-point i {
    color: var(--nwx-gold, #f6b64f);
    margin-top: 0.08rem;
}

.article-side-point span {
    color: rgba(244, 240, 252, 0.84);
    line-height: 1.75;
    font-size: 0.94rem;
}

.article-link-stack {
    display: grid;
    gap: 0.75rem;
}

.article-mini-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.4rem;
    padding: 0.85rem 1rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(244, 240, 252, 0.88);
    text-decoration: none;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.article-mini-link:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: rgba(246, 182, 79, 0.24);
    background: rgba(246, 182, 79, 0.08);
}

.article-mini-link i {
    color: var(--nwx-gold, #f6b64f);
}

.article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.2rem;
}

.article-comment-card {
    display: grid;
    gap: 1.15rem;
    margin-top: 1.6rem;
    padding: 1.4rem;
}

.article-comment-card__intro {
    display: grid;
    gap: 0.65rem;
}

.article-comment-card__intro h2,
.article-comment-card__intro p {
    margin: 0;
}

.article-comment-card__intro h2 {
    color: #fff;
}

.article-comment-card__intro p {
    color: rgba(244, 240, 252, 0.74);
}

.article-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
    border-radius: 1.1rem;
    border: 1px solid transparent;
}

.article-alert i {
    margin-top: 0.1rem;
}

.article-alert p,
.article-alert span {
    margin: 0;
}

.article-alert div {
    display: grid;
    gap: 0.35rem;
}

.article-alert--success {
    border-color: rgba(88, 212, 159, 0.26);
    background: rgba(88, 212, 159, 0.1);
    color: #d8fff1;
}

.article-alert--error {
    border-color: rgba(255, 124, 124, 0.28);
    background: rgba(255, 124, 124, 0.1);
    color: #ffe0e0;
}

.article-comment-form {
    display: grid;
    gap: 1rem;
}

.article-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.article-field {
    display: grid;
    gap: 0.55rem;
}

.article-field span {
    color: #fff;
    font-weight: 700;
}

.article-field strong {
    color: var(--nwx-gold, #f6b64f);
}

.article-field input,
.article-field textarea {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding: 0.92rem 1rem;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.article-field input::placeholder,
.article-field textarea::placeholder {
    color: rgba(244, 240, 252, 0.4);
}

.article-field input:focus,
.article-field textarea:focus {
    outline: 0;
    border-color: rgba(246, 182, 79, 0.34);
    background: rgba(255, 255, 255, 0.07);
    box-shadow:
        0 0 0 3px rgba(24, 11, 47, 0.9),
        0 0 0 5px rgba(246, 182, 79, 0.22);
}

.article-field--full {
    grid-column: 1 / -1;
}

.article-comment-form__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.article-comment-form__footer p {
    margin: 0;
    max-width: 34rem;
    color: rgba(244, 240, 252, 0.7);
    line-height: 1.8;
}

.page-contact-layout--enhanced {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    grid-template-areas: "form info";
    align-items: stretch;
    gap: 1.5rem;
}

.page-contact-stack--grid {
    grid-area: info;
    align-content: start;
    gap: 1rem;
}

.page-form-card--contact {
    grid-area: form;
    min-height: 100%;
    padding: clamp(1.45rem, 2vw, 2.1rem);
}

.page-form-card--contact .page-form-grid {
    gap: 1.05rem;
}

.page-form-grid--contact-meta {
    align-items: start;
}

.page-form-card--contact .page-field {
    min-width: 0;
}

.page-form-card--contact .page-field input,
.page-form-card--contact .page-field textarea {
    min-width: 0;
}

body[dir="rtl"] .page-form-card--contact .page-field input:not([dir="ltr"]),
body[dir="rtl"] .page-form-card--contact .page-field textarea {
    text-align: right;
}

.page-form-card--contact .page-field textarea {
    min-height: 11.5rem;
    resize: vertical;
}

.page-form-card__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.page-form-card__footer p {
    margin: 0;
    max-width: 34rem;
    color: rgba(244, 240, 252, 0.72);
    line-height: 1.85;
}

.page-contact-card--wide {
    grid-column: 1 / -1;
}

.page-contact-card__row {
    height: 100%;
    justify-content: space-between;
}

body[dir="rtl"] .page-contact-card__row {
    flex-direction: row-reverse;
    text-align: right;
}

.page-contact-card__copy a,
.page-contact-card__copy div {
    display: block;
}

.page-contact-card__copy a {
    color: rgba(244, 243, 251, 0.88);
}

.page-contact-card__copy a:hover {
    color: #fff;
}

.page-contact-card__list {
    display: grid;
    gap: 0.42rem;
}

.page-map--contact,
.page-map--contact iframe {
    min-height: clamp(22rem, 45vw, 30rem);
}

@media (max-width: 1100px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }

    .page-contact-layout--enhanced {
        grid-template-columns: 1fr;
        grid-template-areas:
            "form"
            "info";
    }
}

@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: 1fr !important;
    }

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

@media (max-width: 640px) {

    .article-main-card,
    .article-side-card,
    .article-comment-card {
        border-radius: 1.45rem;
    }

    .article-main-card,
    .article-comment-card {
        padding: 1.1rem;
    }

    .article-comment-form__footer {
        align-items: stretch;
    }

    .article-comment-form__footer .page-btn {
        width: 100%;
    }

    .page-form-card__footer {
        align-items: stretch;
    }

    .page-form-card__footer .page-btn {
        width: 100%;
    }

    .article-lead h1 {
        font-size: 1.6rem;
    }

    .page-form-card--contact {
        padding: 1.2rem;
    }

    .page-contact-card {
        padding: 1.15rem;
    }

    .page-contact-card__row {
        gap: 0.85rem;
    }
}

/* About page: compact, overflow-safe layout for phones. */
@media (max-width: 767px) {

    .page-shell--about,
    .page-shell--about * {
        box-sizing: border-box;
    }

    .page-shell--about {
        width: 100%;
        max-width: 100%;
        padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
        overflow: clip;
    }

    .page-shell--about .page-container {
        width: auto;
        max-width: none;
        margin-left: max(14px, env(safe-area-inset-left));
        margin-right: max(14px, env(safe-area-inset-right));
    }

    .page-shell--about .page-hero--unified {
        min-height: auto;
        padding-top: clamp(6.5rem, 25vw, 7.75rem);
        padding-bottom: 2.5rem;
    }

    .page-shell--about .page-hero-showcase {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .page-shell--about :is(.page-hero__intro, .page-hero-showcase__visual, .page-about-showcase, .page-about-story, .page-heading, .page-tile, .page-list-card) {
        min-width: 0;
        max-width: 100%;
    }

    .page-shell--about .about-hero__intro {
        display: grid;
        justify-items: start;
        width: 100%;
        text-align: start;
    }

    .page-shell--about .page-hero__eyebrow {
        justify-self: start;
        max-width: 100%;
        padding: 0.5rem 0.8rem;
        font-size: 0.78rem;
        letter-spacing: 0.12em;
        white-space: normal;
    }

    .page-shell--about .about-hero__title {
        width: 100%;
        margin-top: 1rem;
        letter-spacing: -0.012em;
    }

    .page-shell--about .about-hero__title .aurora {
        display: block;
        width: 100%;
        padding-bottom: 0;
        font-size: inherit;
        line-height: 1.2;
    }

    .page-shell--about .about-hero__title-line {
        inline-size: auto;
        width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .page-shell--about .about-hero__title-line--company {
        font-size: clamp(1.95rem, 9vw, 2.55rem);
        line-height: 1.18;
    }

    .page-shell--about .about-hero__title-line--tagline {
        margin-top: 0.45rem;
        font-size: clamp(1.38rem, 6.4vw, 1.85rem) !important;
        line-height: 1.48;
    }

    .page-shell--about .about-hero__description,
    .page-shell--about .page-hero__intro--start.page-hero__intro--showcase .page-hero__copy {
        width: min(92%, 32rem);
        max-width: 32rem;
        margin-top: 1.15rem;
        font-size: 0.95rem;
        line-height: 1.95;
        overflow-wrap: anywhere;
    }

    .page-pill-list,
    .page-shell--about .page-pill-list--hero {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        width: 100%;
        gap: 0.6rem;
        margin-top: 1.25rem;
    }

    .page-shell--about .page-pill-list--hero .page-chip {
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        min-height: 40px;
        white-space: normal;
    }

    .page-shell--about .page-actions {
        width: 100%;
        gap: 0.7rem;
        margin-top: 1.4rem;
    }

    .page-shell--about .page-btn {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding-inline: 1rem;
        text-align: center;
    }

    .page-shell--about .page-hero-frame {
        width: 100%;
        min-height: 0;
    aspect-ratio: 3 / 2;
        padding: 0.45rem;
        border-radius: 1.6rem;
    }

    .page-shell--about .page-hero-frame img {
        border-radius: 1.2rem;
    }

    .page-shell--about .page-section {
        padding-block: 1.35rem 2.75rem;
    }

    .page-shell--about .page-section--flush-top {
        padding-top: 0;
    }

    .page-shell--about .page-section--tight {
        padding-bottom: 2.25rem;
    }

    .page-shell--about .page-container.py-5 {
        padding-block: 0 !important;
    }

    .page-shell--about .page-about-showcase {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .page-shell--about .page-media--wide {
        min-height: 0;
        aspect-ratio: 15 / 14;
        border-radius: 1.4rem;
    }

    .page-shell--about .page-about-story {
        gap: 0.85rem;
        padding: 1.2rem;
        border-radius: 1.4rem;
    }

    .page-shell--about .page-about-story .page-heading__title,
    .page-shell--about .page-about-story .page-heading__copy {
        width: 100%;
        max-width: none;
    }

    .page-shell--about .page-heading__eyebrow {
        font-size: 0.8rem;
        letter-spacing: 0.12em;
        overflow-wrap: anywhere;
    }

    .page-shell--about .page-heading__title {
        margin: 0.8rem 0 2rem 0px;
        font-size: clamp(1.65rem, 8vw, 2.2rem);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .page-shell--about .page-heading__copy,
    .page-shell--about :is(.page-tile__copy, .page-list-card__copy) {
        font-size: 0.92rem;
        line-height: 1.75;
        overflow-wrap: anywhere;
    }

    .page-shell--about .page-about-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin-top: 1.4rem;
    }

    .page-shell--about .page-about-stats .page-tile {
        min-height: 118px;
        padding: 1rem 0.65rem;
        border-radius: 1.25rem;
    }

    .page-shell--about .page-about-stats .page-package-card__price {
        font-size: clamp(1.75rem, 9vw, 2.35rem);
        overflow-wrap: anywhere;
    }

    .page-shell--about .page-about-stats .page-tile__copy {
        margin-top: 0.35rem;
        text-align: center;
    }

    .page-shell--about :is(.page-about-pillars, .page-about-advantages) {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.85rem;
    }

    .page-shell--about .page-about-pillars .page-tile,
    .page-shell--about .page-about-advantages .page-list-card {
        min-height: 0;
        padding: 1.2rem;
        border-radius: 1.4rem;
    }

    .page-shell--about :is(.page-tile__icon, .page-list-card__icon) {
        width: 2.85rem;
        height: 2.85rem;
        flex: 0 0 2.85rem;
    }

    .page-shell--about :is(.page-tile__title, .page-list-card__title) {
        margin-top: 0.8rem;
        font-size: 1.08rem;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 360px) {
    .page-shell--about .page-container {
        margin-left: max(10px, env(safe-area-inset-left));
        margin-right: max(10px, env(safe-area-inset-right));
    }

    .page-shell--about .page-about-stats {
        gap: 0.55rem;
    }

    .page-shell--about .page-about-stats .page-tile {
        padding-inline: 0.45rem;
    }
}

@media (max-width: 767px) and (hover: none) {
    .page-shell--about :is(.page-about-stats .page-tile, .page-about-pillars .page-tile, .page-about-advantages .page-list-card):hover {
        transform: none;
    }
}

/* Website programming page: mobile layout and typography only. */
@media (max-width: 767px) {

    .page-shell--website-programming,
    .page-shell--website-programming * {
        box-sizing: border-box;
    }

    .page-shell--website-programming {
        width: 100%;
        max-width: 100%;
        padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
        overflow: clip;
    }

    .page-shell--website-programming .page-container {
        width: auto;
        max-width: none;
        margin-left: max(14px, env(safe-area-inset-left));
        margin-right: max(14px, env(safe-area-inset-right));
    }

    .page-shell--website-programming .page-hero--unified {
        min-height: auto;
        padding-top: clamp(6.5rem, 25vw, 7.75rem);
        padding-bottom: 2.5rem;
    }

    .page-shell--website-programming .page-hero-showcase {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .page-shell--website-programming :is(.page-hero__intro, .page-hero-showcase__visual, .page-heading, .page-panel, .page-list-card) {
        min-width: 0;
        max-width: 100%;
    }

    .page-shell--website-programming .website-hero__intro {
        display: grid;
        justify-items: start;
        width: 100%;
        text-align: start;
    }

    .page-shell--website-programming .page-hero__eyebrow {
        justify-self: start;
        max-width: 100%;
        padding: 0.5rem 0.8rem;
        font-size: 0.78rem;
        letter-spacing: 0.12em;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .page-shell--website-programming .website-hero__title {
        width: 100%;
        margin-top: 1rem;
        letter-spacing: -0.012em;
    }

    .page-shell--website-programming .website-hero__title .aurora {
        display: block;
        width: 100%;
        max-width: 100%;
        padding-bottom: 0;
        font-size: inherit;
        line-height: 1.2;
    }

    .page-shell--website-programming .website-hero__title .page-hero__title-line {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .page-shell--website-programming .website-hero__title .page-hero__title-line--brand {
        font-size: clamp(1.95rem, 9vw, 2.55rem);
        line-height: 1.18;
    }

    .page-shell--website-programming .website-hero__title .page-hero__title-line--sub {
        margin-top: 0.45rem;
        font-size: clamp(1.38rem, 6.4vw, 1.85rem) !important;
        line-height: 1.48;
    }

    .page-shell--website-programming .website-hero__description,
    .page-shell--website-programming .page-hero__intro--start.page-hero__intro--showcase .website-hero__description {
        width: min(92%, 32rem);
        max-width: 32rem !important;
        margin-top: 1.15rem;
        font-size: 0.95rem;
        line-height: 1.95;
        overflow-wrap: anywhere;
    }

    .page-shell--website-programming .page-pill-list--hero {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        width: 100%;
        gap: 0.6rem;
        margin-top: 1.25rem;
    }

    .page-shell--website-programming .page-pill-list--hero .page-chip {
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        min-height: 40px;
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
        white-space: normal;
    }

    .page-shell--website-programming .page-actions {
        width: 100%;
        gap: 0.7rem;
        margin-top: 1.4rem;
    }

    .page-shell--website-programming .page-btn {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding-inline: 1rem;
        text-align: center;
        white-space: normal;
    }

    .page-shell--website-programming .page-hero-frame {
        width: 100%;
        min-height: 0;
        aspect-ratio: 4 / 3;
        padding: 0.45rem;
        border-radius: 1.6rem;
    }

    .page-shell--website-programming .page-hero-frame img {
        border-radius: 1.2rem;
    }

    .page-shell--website-programming .page-hero-frame__badge {
        inset-inline: 0.8rem;
        inset-block-end: 0.8rem;
        max-width: calc(100% - 1.6rem);
        padding: 0.5rem 0.7rem;
        font-size: 0.76rem;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .page-shell--website-programming .page-section {
        padding-block: 1.35rem 2.75rem;
    }

    .page-shell--website-programming .page-section--flush-top {
        padding-top: 0;
    }

    .page-shell--website-programming .page-section--tight {
        padding-bottom: 2.25rem;
    }

    .page-shell--website-programming .page-heading__eyebrow {
        font-size: 0.8rem;
        letter-spacing: 0.12em;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }

    .page-shell--website-programming .page-heading__title {
        margin: 0.8rem 0 0;
        font-size: clamp(1.65rem, 8vw, 2.2rem);
        line-height: 1.28;
        overflow-wrap: anywhere;
    }

    .page-shell--website-programming .page-heading__copy {
        width: min(94%, 32rem);
        max-width: 32rem;
        margin-top: 0.85rem;
        font-size: 0.92rem;
        line-height: 1.85;
        overflow-wrap: anywhere;
    }

    .page-shell--website-programming .page-process {
        margin-top: 1.35rem;
        padding: 0.8rem;
        border-radius: 1.4rem;
    }

    .page-shell--website-programming .page-process .page-list-grid--4 {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
    }

    .page-shell--website-programming .page-process .page-list-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 0.85rem;
        min-height: 0;
        padding: 1rem;
        border-radius: 1.2rem;
    }

    .page-shell--website-programming .page-process .page-list-card__title {
        margin: 0;
        font-size: 1rem;
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

    .page-shell--website-programming .page-process .page-list-card__index {
        min-width: 2.35rem;
        flex: 0 0 auto;
    }

    .page-shell--website-programming .page-panel--center {
        padding: 1.25rem;
        border-radius: 1.4rem;
    }

    .page-shell--website-programming .page-panel--center .page-heading__copy {
        width: min(94%, 32rem);
    }
}

@media (max-width: 360px) {
    .page-shell--website-programming .page-container {
        margin-left: max(10px, env(safe-area-inset-left));
        margin-right: max(10px, env(safe-area-inset-right));
    }
}

@media (max-width: 767px) and (hover: none) {
    .page-shell--website-programming .page-list-card:hover {
        transform: none;
    }
}

/* Shared mobile structure for service and systems pages. */
@media (max-width: 767px) {

    .page-shell--service-responsive,
    .page-shell--service-responsive * {
        box-sizing: border-box;
    }

    .page-shell--service-responsive {
        width: 100%;
        max-width: 100%;
        padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
        overflow: clip;
    }

    .page-shell--service-responsive .page-container {
        width: auto;
        max-width: none;
        margin-left: max(14px, env(safe-area-inset-left));
        margin-right: max(14px, env(safe-area-inset-right));
    }

    .page-shell--service-responsive .page-hero--unified {
        min-height: auto;
        padding-top: clamp(6.5rem, 25vw, 7.75rem);
        padding-bottom: 2.5rem;
    }

    .page-shell--service-responsive .page-hero-showcase {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .page-shell--service-responsive :is(.page-hero__intro, .page-hero-showcase__visual, .page-heading, .page-panel, .page-tile, .page-list-card, .system-card) {
        min-width: 0;
        max-width: 100%;
    }

    .page-shell--service-responsive .page-hero__intro {
        display: grid;
        justify-items: start;
        width: 100%;
        text-align: start;
    }

    .page-shell--service-responsive .page-hero__eyebrow {
        justify-self: start;
        max-width: 100%;
        padding: 0.5rem 0.8rem;
        font-size: 0.78rem;
        letter-spacing: 0.12em;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .page-shell--service-responsive .page-hero__title {
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
        font-size: clamp(1.95rem, 9vw, 2.55rem) !important;
        line-height: 1.25 !important;
        letter-spacing: -0.012em;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .page-shell--service-responsive .page-hero__title .aurora {
        display: block;
        width: 100%;
        max-width: 100%;
        padding-bottom: 0;
        font-size: inherit;
        line-height: inherit;
    }

    .page-shell--service-responsive .page-hero__title .page-hero__title-line {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .page-shell--service-responsive .page-hero__title :is(.page-hero__title-line--brand, .page-hero__title-line--systems-main) {
        font-size: clamp(1.95rem, 9vw, 2.55rem);
        line-height: 1.18;
    }

    .page-shell--service-responsive .page-hero__title .page-hero__title-line--sub {
        margin-top: 0.45rem;
        font-size: clamp(1.38rem, 6.4vw, 1.85rem) !important;
        line-height: 1.48;
    }

    .page-shell--service-responsive .page-hero__copy,
    .page-shell--service-responsive .page-hero__intro--start.page-hero__intro--showcase .page-hero__copy {
        width: min(92%, 32rem);
        max-width: 32rem !important;
        margin-top: 1.15rem;
        font-size: 0.95rem;
        line-height: 1.95;
        overflow-wrap: anywhere;
    }

    .page-shell--service-responsive .page-pill-list--hero {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        width: 100%;
        gap: 0.6rem;
        margin-top: 1.25rem;
    }

    .page-shell--service-responsive .page-pill-list--hero .page-chip {
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        min-height: 40px;
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
        white-space: normal;
    }

    .page-shell--service-responsive .page-actions {
        width: 100%;
        gap: 0.7rem;
        margin-top: 1.4rem;
    }

    .page-shell--service-responsive .page-btn {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding-inline: 1rem;
        text-align: center;
        white-space: normal;
    }

    .page-shell--service-responsive .page-hero-frame {
        width: 100%;
        min-height: 0;
        aspect-ratio: 4 / 3;
        padding: 0.45rem;
        border-radius: 1.6rem;
    }

    .page-shell--service-responsive .page-hero-frame img {
        max-width: 100%;
        border-radius: 1.2rem;
    }

    .page-shell--service-responsive .page-hero-frame__badge {
        inset-inline: 0.8rem;
        inset-block-end: 0.8rem;
        max-width: calc(100% - 1.6rem);
        padding: 0.5rem 0.7rem;
        font-size: 0.76rem;
        line-height: 1.5;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .page-shell--service-responsive .page-section {
        padding-block: 1.35rem 2.75rem;
    }

    .page-shell--service-responsive .page-section--flush-top {
        padding-top: 0;
    }

    .page-shell--service-responsive .page-section--tight {
        padding-bottom: 2.25rem;
    }

    .page-shell--service-responsive .page-heading__eyebrow {
        font-size: 0.8rem;
        letter-spacing: 0.12em;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }

    .page-shell--service-responsive .page-heading__title {
        margin: 0.8rem 0 0;
        font-size: clamp(1.65rem, 8vw, 2.2rem);
        line-height: 1.28;
        overflow-wrap: anywhere;
    }

    .page-shell--service-responsive .page-heading__copy {
        width: min(94%, 32rem);
        max-width: 32rem;
        margin-top: 0.85rem;
        font-size: 0.92rem;
        line-height: 1.85;
        overflow-wrap: anywhere;
    }

    .page-shell--service-responsive :is(.page-tiles, .page-list-grid, .system-grid) {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.85rem;
    }

    .page-shell--service-responsive :is(.page-tiles, .page-list-grid) {
        margin-top: 1.35rem;
    }

    .page-shell--service-responsive :is(.page-tile, .page-list-card) {
        min-height: 0;
        padding: 1.2rem;
        border-radius: 1.4rem;
    }

    .page-shell--service-responsive :is(.page-tile__icon, .page-list-card__icon) {
        width: 2.85rem;
        height: 2.85rem;
        flex: 0 0 2.85rem;
    }

    .page-shell--service-responsive :is(.page-tile__title, .page-list-card__title) {
        margin-top: 0.8rem;
        font-size: 1.08rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }

    .page-shell--service-responsive :is(.page-tile__copy, .page-list-card__copy) {
        font-size: 0.92rem;
        line-height: 1.75;
        overflow-wrap: anywhere;
    }

    .page-shell--service-responsive .page-process {
        margin-top: 1.35rem;
        padding: 0.8rem;
        border-radius: 1.4rem;
    }

    .page-shell--service-responsive .page-process .page-list-grid--4 {
        margin-top: 0;
        gap: 0.75rem;
    }

    .page-shell--service-responsive .page-process .page-list-card {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 0.85rem;
        padding: 1rem;
        border-radius: 1.2rem;
    }

    .page-shell--service-responsive .page-process .page-list-card__title {
        margin: 0;
        font-size: 1rem;
        line-height: 1.55;
    }

    .page-shell--service-responsive .page-panel--center {
        padding: 1.25rem;
        border-radius: 1.4rem;
    }

    .page-shell--service-responsive .system-grid {
        margin-top: 0;
    }

    .page-shell--service-responsive .system-card {
        min-height: 0;
        padding: 0.85rem;
        border-radius: 1.4rem;
    }

    .page-shell--service-responsive .system-card__media {
        width: 100%;
        aspect-ratio: 16 / 10;
        border-radius: 1rem;
    }

    .page-shell--service-responsive .system-card__body {
        min-width: 0;
        gap: 0.7rem;
        padding: 0.25rem;
    }

    .page-shell--service-responsive .system-card__body h2 {
        margin: 0.65rem 0 0;
        font-size: 1.2rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .page-shell--service-responsive .system-card__body p {
        margin: 0;
        font-size: 0.92rem;
        line-height: 1.75;
        overflow-wrap: anywhere;
    }

    .page-shell--service-responsive .system-card__meta {
        gap: 0.55rem 0.75rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 360px) {
    .page-shell--service-responsive .page-container {
        margin-left: max(10px, env(safe-area-inset-left));
        margin-right: max(10px, env(safe-area-inset-right));
    }
}

@media (max-width: 767px) and (hover: none) {
    .page-shell--service-responsive :is(.page-tile, .page-list-card, .system-card):hover {
        transform: none;
    }
}

/* Projects, marketing, blog and contact page details on phones. */
@media (max-width: 767px) {
    .page-shell--projects .project-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.55rem;
        width: 100%;
        margin-bottom: 1.35rem;
        overflow: visible;
    }

    .page-shell--projects .project-tab {
        min-width: 0;
        max-width: 100%;
        min-height: 42px;
        padding: 0.6rem 0.85rem;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .page-shell--projects .project-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .page-shell--projects .page-work-card--portfolio {
        min-width: 0;
        min-height: 0;
        border-radius: 1.4rem;
    }

    .page-shell--projects .page-work-card__media {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .page-shell--projects .page-work-card__body {
        min-width: 0;
        padding: 1.2rem;
        gap: 0.7rem;
    }

    .page-shell--projects :is(.page-work-card__title, .page-work-card__copy, .project-card__meta) {
        overflow-wrap: anywhere;
    }

    .page-shell--projects .project-card__meta {
        gap: 0.55rem 0.75rem;
        font-size: 0.82rem;
    }

    :is(.page-shell--marketing-strategy, .page-shell--marketing-services) .page-panel {
        padding: 1.2rem;
        border-radius: 1.4rem;
    }

    :is(.page-shell--marketing-strategy, .page-shell--marketing-services) .page-panel .page-heading__copy {
        width: min(94%, 32rem);
    }

    .page-shell--blog .page-blog-featured,
    .page-shell--blog .page-blog-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .page-shell--blog :is(.page-blog-featured, .page-blog-card) {
        min-width: 0;
        min-height: 0;
        border-radius: 1.4rem;
    }

    .page-shell--blog .page-blog-card__media {
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .page-shell--blog :is(.page-blog-featured__content, .page-blog-card__body) {
        min-width: 0;
        padding: 1.2rem;
        gap: 0.7rem;
    }

    .page-shell--blog :is(.page-work-card__title, .page-blog-card__title, .page-work-card__copy, .page-blog-card__copy, .page-blog-meta) {
        overflow-wrap: anywhere;
    }

    .page-shell--contact .page-contact-layout--enhanced {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "form"
            "info";
        gap: 1rem;
    }

    .page-shell--contact .page-form-card--contact {
        min-width: 0;
        padding: 1.2rem;
        border-radius: 1.4rem;
    }

    .page-shell--contact .page-form-grid,
    .page-shell--contact .page-form-grid--2,
    .page-shell--contact .page-contact-stack--grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.85rem;
    }

    .page-shell--contact .page-contact-stack--grid> :first-child {
        grid-column: auto;
    }

    .page-shell--contact :is(.page-field, .page-field input, .page-field textarea) {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .page-shell--contact .page-form-card__footer {
        align-items: stretch;
        gap: 0.85rem;
    }

    .page-shell--contact .page-form-card__footer .page-btn {
        width: 100%;
    }

    .page-shell--contact .page-contact-card {
        min-width: 0;
        padding: 1.1rem;
        border-radius: 1.4rem;
    }

    .page-shell--contact .page-contact-card__row {
        align-items: flex-start;
        gap: 0.8rem;
    }

    .page-shell--contact .page-contact-card__row>div {
        min-width: 0;
    }

    .page-shell--contact :is(.page-contact-card__copy, .page-contact-card__copy a, .page-contact-card__copy div) {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .page-shell--contact .page-map--contact,
    .page-shell--contact .page-map--contact iframe {
        width: 100%;
        min-width: 0;
        min-height: 20rem;
        border-radius: 1.4rem;
    }

    .page-shell--contact .page-title--compact {
        font-size: clamp(1.45rem, 7vw, 1.9rem);
    }
}

@media (max-width: 767px) and (hover: none) {
    :is(.page-shell--projects .page-work-card--portfolio, .page-shell--blog .page-blog-featured, .page-shell--blog .page-blog-card, .page-shell--contact .page-contact-card):hover {
        transform: none;
    }
}

/* Partners: centered hero over the shared site atmosphere. */
.partners-success-hero {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding-block: clamp(9rem, 12vw, 11rem) 4.5rem;
    background: transparent;
}
.partners-success-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: clamp(2.5rem, 5vw, 4rem);
}
.partners-success-hero__intro { min-width: 0; width: 100%; max-width: 780px; text-align: center; }
.partners-success-hero h1 {
    margin: 1.1rem 0 1rem; color: var(--nw-text);
    font-size: clamp(2.8rem, 6vw, 5.4rem); font-weight: 800; line-height: 1.3; text-wrap: balance;
}
.partners-success-hero h1 span { color: var(--nw-gold); }
.partners-success-hero__intro p {
    max-width: 40rem; margin: 0 auto; color: var(--nw-text-soft);
    font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.95;
}
.partners-success-hero__actions {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.7rem;
}
.partners-success-hero__stats {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 850px); gap: 1rem;
}
.partners-success-hero__stat {
    min-width: 0; display: grid; align-content: center; gap: 0.4rem;
    padding: 1.3rem 1rem; text-align: center; border-radius: 1.1rem;
    background: color-mix(in srgb, var(--nw-text) 6%, transparent);
    border: 1px solid color-mix(in srgb, var(--nw-text) 12%, transparent);
    backdrop-filter: blur(12px);
}
.partners-success-hero__stat strong {
    color: var(--nw-text); font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 800; line-height: 1.5;
}
.partners-success-hero__stat:first-child strong { color: var(--nw-gold); }
.partners-success-hero__stat span { color: var(--nw-text-soft); font-size: 0.85rem; line-height: 1.6; }
#partners-grid { scroll-margin-top: 8rem; }
@media (max-width: 767px) {
    .partners-success-hero { padding-block: 8rem 3rem; }
    .partners-success-hero__layout { gap: 2rem; }
    .partners-success-hero__stats { gap: 0.65rem; }
    .partners-success-hero__stat { padding: 1rem 0.6rem; }
    .partners-success-hero__stat span { font-size: 0.75rem; }
}
@media (max-width: 540px) {
    .partners-success-hero__stats { grid-template-columns: minmax(0, 1fr); max-width: 360px; }
    .partners-success-hero__stat { padding: 1rem; }
    .partners-success-hero h1 { font-size: clamp(2.4rem, 10vw, 3.3rem); }
}
@media (max-width: 380px) {
    .partners-success-hero__actions { flex-direction: column; }
}

/* Legacy shared hero styles. */
.partners-page .page-hero--unified {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding-block: clamp(6.5rem, 9vw, 8rem);
}

.partners-page .page-hero--unified .partners-hero--centered {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    justify-items: center;
    align-items: center;
}

.partners-page .page-hero--unified .page-hero__intro {
    width: 100%;
    /* max-width: 48rem; */
    margin-inline: auto;
    align-items: center;
    text-align: center;
}

.partners-page .page-hero--unified .page-hero__intro :is(.page-hero__title, .page-hero__copy) {
    width: 100%;
    margin-inline: auto;
}

.partners-page .page-hero--unified .page-actions {
    justify-content: center;
}

/* Project heroes: keep the complete artwork visible on first paint. */
.page-hero--unified {
    min-height: clamp(38rem, 78vh, 46rem);
    padding-top: clamp(7rem, 9vw, 8.6rem);
    /* padding-bottom: 3.8rem; */
}

.page-hero--unified .page-hero-showcase {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 4.4rem);
}

.page-hero--unified .page-hero__intro,
.page-hero--unified .page-hero-showcase__visual {
    align-self: start;
}

.page-hero--unified .page-hero__intro {
    width: 100%;
    max-width: 42rem;
    padding-top: 0;
}

.page-hero--unified .page-hero-showcase__visual {
    align-items: center;
    justify-content: flex-start;
}

/* Keep every internal-page hero image at the homepage visual scale. */
.page-hero--unified .page-hero-frame {
    width: min(100%, 500px);
    min-height: 0;
    aspect-ratio: 1 / 1;
    padding: 0.65rem;
}

:is(.page-shell--projects, .page-shell--project-detail) .page-hero-frame img {
    object-fit: contain;
    object-position: center;
}

/* Project details: let content shrink within grids and wrap long editor content. */
.page-shell--project-detail,
.page-shell--project-detail *,
.page-shell--project-detail *::before,
.page-shell--project-detail *::after {
    box-sizing: border-box;
}

.page-shell--project-detail :is(.page-hero__intro, .page-hero-showcase__visual, .project-detail-card, .page-rich-section > *, .page-cta-banner > *, .page-doc-card, .project-video-card, .page-work-card) {
    min-width: 0;
    overflow-wrap: anywhere;
}

.page-shell--project-detail :is(.project-detail-hero__title-main, .project-detail-hero__title-sub) {
    white-space: normal;
}

.page-shell--project-detail .project-gallery-card {
    margin: 0;
}

.page-shell--project-detail :is(.project-rich-text, .page-faq-item__body) {
    max-width: 100%;
    overflow-x: auto;
    overflow-wrap: anywhere;
}

.page-shell--project-detail :is(.project-rich-text, .page-faq-item__body) :is(img, video, iframe) {
    max-width: 100%;
}

.page-shell--project-detail :is(.project-rich-text, .page-faq-item__body) :is(img, video) {
    height: auto;
}

@media (max-width: 1024px) {
    .page-shell--project-detail .page-hero--unified {
        min-height: auto;
        padding-bottom: 2.5rem;
    }

    .page-shell--project-detail .page-hero-showcase {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .page-shell--project-detail .page-hero__intro {
        max-width: 100%;
    }

    .page-shell--project-detail .page-hero-showcase__visual {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .page-shell--project-detail .page-container {
        width: calc(100% - 2rem);
    }

    .page-shell--project-detail .page-hero__intro {
        text-align: center;
    }

    .page-shell--project-detail .project-detail-hero__title .aurora {
        font-size: clamp(2rem, 8vw, 3rem);
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .page-shell--project-detail .page-hero__intro .page-hero__copy {
        width: 100%;
        margin-inline: auto;
    }

    .page-shell--project-detail :is(.page-pill-list--hero, .page-actions) {
        justify-content: center;
    }

    .page-shell--project-detail :is(.page-chip, .page-hero__eyebrow) {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.6;
    }

    .page-shell--project-detail :is(.project-detail-card, .project-video-card, .project-quote, .page-rich-section, .page-cta-banner, .page-doc-card) {
        padding: 1.15rem;
        border-radius: 1.2rem;
    }

    .page-shell--project-detail :is(.project-detail-grid, .project-video-grid, .project-gallery-grid, .page-doc-grid, .page-faq-grid, .page-rich-section, .page-cta-banner) {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .page-shell--project-detail :is(.page-rich-section, .page-cta-banner) h2 {
        line-height: 1.5;
    }

    .page-shell--project-detail .page-btn {
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .page-shell--project-detail .page-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}

/* Keep the next project section below the initial viewport on every screen. */
.page-shell--project-detail .page-hero--unified {
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 2.5rem;
}

/* Shared hero title palette: gold first line, white following lines. */
.page-hero--unified .page-hero__title .aurora,
.page-hero--unified .page-hero__title .page-hero__title-line:first-child,
.partners-success-hero h1 .partners-success-hero__title-main {
    background: none !important;
    color: var(--nw-gold) !important;
    -webkit-text-fill-color: var(--nw-gold) !important;
    animation: none;
}

.page-hero--unified .page-hero__title .page-hero__title-line ~ .page-hero__title-line,
.partners-success-hero h1 .partners-success-hero__title-sub {
    background: none !important;
    color: var(--nw-text) !important;
    -webkit-text-fill-color: var(--nw-text) !important;
    animation: none;
}



/* Selected listing heroes keep their title inline and accent only its first word. */
.page-hero--unified .hero-title--inline .aurora,
.partners-success-hero h1.hero-title--inline {
    color: var(--nw-text) !important;
    -webkit-text-fill-color: var(--nw-text) !important;
    background: none !important;
    text-wrap: initial;
}

.page-hero--unified .hero-title--inline .hero-title__first-word,
.partners-success-hero h1.hero-title--inline .hero-title__first-word {
    display: inline;
    color: var(--nw-gold) !important;
    -webkit-text-fill-color: var(--nw-gold) !important;
    background: none !important;
}

.page-hero--unified .hero-title--inline .aurora,
.partners-success-hero h1.hero-title--inline {
    font-family: var(--nw-font-family);
    font-size: clamp(1.8rem, 4.5vw, 3.9375rem);
    font-weight: 800;
    line-height: 1.3;
}

/* Match the homepage eyebrow and shimmer treatment across project headers. */
.page-hero--unified .page-hero__eyebrow.nwx-eyebrow {
    gap: 8px;
    padding: 8px 12px;
    color: rgba(244, 243, 251, 0.76);
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.22em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero--unified .page-hero__eyebrow.nwx-eyebrow i {
    color: #f6b64f;
}

@media (max-width: 767px) {
    .page-hero--unified {
        min-height: auto;
        padding-top: clamp(6.5rem, 25vw, 7.75rem);
        padding-bottom: 2.5rem;
    }

    .page-hero--unified .page-hero-showcase {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .page-hero--unified .page-hero-frame {
        width: min(100%, 420px);
        aspect-ratio: 1 / 1;
        padding: 0.45rem;
    }
}

.project-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    width: 100%;
    margin-bottom: 0.8rem;
}
.project-card-tags__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--nwp-card-border);
    border-radius: 10px;
    color: var(--nw-text);
    background: var(--nwp-card-bg);
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition: background-color 0.35s ease, border-color 0.35s ease;
}
.project-card-tags__tag i {
    display: grid;
    place-items: center;
    color: var(--nw-gold);
}
.project-card-tags__tag:hover,
.project-card-tags__tag:focus-visible {
    color: var(--nw-text);
    background: color-mix(in srgb, var(--nw-gold) 12%, transparent);
    border-color: color-mix(in srgb, var(--nw-gold) 35%, transparent);
}
.project-card-tags__item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    max-width: 100%;
}
.project-card-tags__pointer {
    --tag-pointer-direction: -4px;
    display: inline-flex;
    flex: 0 0 40px;
    width: 40px;
    color: color-mix(in srgb, var(--nw-gold) 75%, var(--nw-mauve));
    pointer-events: none;
    animation: point-to-project-tag 2.6s ease-in-out infinite;
}
.project-card-tags__pointer svg { width: 100%; height: 28px; transform: scaleX(-1); }
[dir="rtl"] .project-card-tags__pointer { --tag-pointer-direction: 4px; }
[dir="rtl"] .project-card-tags__pointer svg { transform: none; }
.project-card-tags__item:hover .project-card-tags__pointer,
.project-card-tags__item:focus-within .project-card-tags__pointer { animation-play-state: paused; }
@keyframes point-to-project-tag {
    0%, 100% { transform: translateX(0); opacity: 0.65; }
    50% { transform: translateX(var(--tag-pointer-direction)); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .project-card-tags__pointer { animation: none; }
}
.project-card-tags__tag:focus-visible { outline: 2px solid var(--nw-gold); outline-offset: 3px; }
.project-tag-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.8rem;
    margin-block: 0.5rem 2rem;
}
.project-tag-filter__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    max-width: 100%;
    padding: 0.6rem 0.8rem 0.6rem 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--nwp-card-border);
    background: var(--nwp-card-bg);
    color: var(--nw-text);
    box-shadow: none;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.35s ease, border-color 0.35s ease;
}
.project-tag-filter__chip > .bi-funnel { color: var(--nw-gold); }
.project-tag-filter__chip span { overflow-wrap: anywhere; }
.project-tag-filter__chip:hover,
.project-tag-filter__chip:focus-visible {
    background: color-mix(in srgb, var(--nw-gold) 12%, transparent);
    border-color: color-mix(in srgb, var(--nw-gold) 35%, transparent);
    color: var(--nw-text);
    box-shadow: none;
}
.project-tag-filter__chip:focus-visible { outline: 2px solid var(--nw-gold); outline-offset: 3px; }
.project-tag-filter__remove {
    display: grid;
    place-items: center;
    flex: 0 0 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 7px;
    background: var(--nwp-card-bg);
    color: var(--nw-text-soft);
    font-size: 0.65rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.project-tag-filter__chip:hover .project-tag-filter__remove,
.project-tag-filter__chip:focus-visible .project-tag-filter__remove { background: color-mix(in srgb, var(--nw-gold) 18%, transparent); color: var(--nw-gold); }
.nwx-project__image-link {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: inherit;
}
.nwx-project > div::after { pointer-events: none; }
/* Keep project actions aligned even when tag counts and copy lengths differ. */
.project-grid > .page-work-card--portfolio,
.nwx-projects > .nwx-project {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}
.project-grid .page-work-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.project-grid .page-work-card__footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.8rem;
    margin-top: auto;
}
.project-grid .page-work-card__footer .project-card-tags { margin-bottom: 0; }
.project-grid .page-work-card__footer > .page-link { margin-top: auto; }
.nwx-projects > .nwx-project > div { flex-shrink: 0; }
.nwx-projects .nwx-project footer {
    flex: 1;
    flex-direction: column;
    align-items: stretch;
}
.project-card-action {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
}
.project-card-action .project-card-tags { margin-bottom: 0.8rem; }
.project-card-action > a { margin-top: auto; }

/* Keep sections and footer slightly inside the centered navigation edges. */
:root {
    --site-content-max: 1220px;
    --site-content-gutter: 32px;
    --site-section-inset: 16px;
    --site-nav-width: min(var(--site-content-max), calc(100% - var(--site-content-gutter)));
    --site-content-width: min(calc(var(--site-content-max) - 2 * var(--site-section-inset)), calc(100% - var(--site-content-gutter) - 2 * var(--site-section-inset)));
    --site-fix-max: var(--site-nav-width);
    --nw-container: var(--site-content-width);
    --nwp-container: var(--site-content-width);
}

.site-header .site-header__bar,
.site-shell .site-container,
.site-shell .nwx-container,
.site-shell .page-container,
.nwx-page .nwx-hero > .nwx-container,
.footer .site-container {
    box-sizing: border-box;
    width: var(--site-content-width);
    max-width: var(--site-content-max);
    margin-inline: auto;
    margin-left: auto;
    margin-right: auto;
}

.site-header .site-header__bar {
    width: var(--site-nav-width);
    transform: none;
}

.footer .footer-panel {
    --footer-card-gap: clamp(1rem, 2.4vw, 1.6rem);
    box-sizing: border-box;
    width: 100%;
    margin-inline: 0;
    padding-top: clamp(2rem, 4vw, 4rem) !important;
    padding-inline: var(--footer-card-gap) !important;
    padding-bottom: var(--footer-card-gap) !important;
}

@media (max-width: 1200px) {
    :root {
        --site-content-gutter: 24px;
        --site-section-inset: 10px;
    }
}

@media (max-width: 767px) {
    :root { --site-section-inset: 6px; }
}
