:root {
    --xp-blue: #0b67b2;
    --xp-red: #e71927;
    --xp-yellow: #f7b500;
    --xp-ink: #101216;
    --xp-muted: #5f6570;
    --xp-line: #e8ebef;
    --xp-paper: #ffffff;
    --xp-soft: #f6f8fb;
    --xp-shadow: 0 18px 46px rgba(16, 18, 22, 0.13);
    --xp-pad: clamp(24px, 7vw, 90px);
    --xp-wrap: min(1080px, calc(100% - (var(--xp-pad) * 2)));
    --xp-font-body: Arial, Helvetica, sans-serif;
    --xp-text-xs: 11px;
    --xp-text-sm: 12.5px;
    --xp-text-base: 14.5px;
    --xp-text-md: 15.5px;
    --xp-text-lead: 16.5px;
    --xp-text-card: 13px;
    --xp-text-action: 13.5px;
    --xp-text-nav: 12.5px;
    --xp-title-card: 17px;
    --xp-title-section: 30px;
    --xp-title-panel: 24px;
    --xp-title-home: 42px;
    --xp-title-page: 52px;
    --xp-title-commerce: 42px;
    --xp-leading-tight: 1.12;
    --xp-leading-title: 1.08;
    --xp-leading-body: 1.55;
    --xp-leading-card: 1.42;
    --xp-fw-regular: 400;
    --xp-fw-medium: 500;
    --xp-fw-semibold: 600;
    --xp-fw-bold: 700;
    --xp-fw-heavy: 800;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    overflow-x: hidden;
}

body.xprint-body {
    margin: 0;
    color: var(--xp-ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

.xprint-body a {
    color: inherit;
    text-decoration: none;
}

.xp-header {
    display: grid;
    grid-template-columns: 170px 1fr auto;
    align-items: center;
    gap: 22px;
    width: var(--xp-wrap);
    margin: 0 auto;
    padding: 24px 0 18px;
    position: relative;
    z-index: 5;
}

.xp-logo img {
    display: block;
    width: min(164px, 34vw);
    height: auto;
}

.xp-nav {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2.25vw, 34px);
    font-size: clamp(13px, 1.08vw, 14px);
    font-weight: 600;
}

.xp-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.25vw, 34px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.xp-nav a {
    position: relative;
    white-space: nowrap;
}

.xp-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 5px;
    opacity: 0;
    background: var(--xp-yellow);
    transform: rotate(-4deg);
    clip-path: polygon(0 42%, 100% 0, 92% 100%, 4% 88%);
    transition: opacity 0.18s ease;
}

.xp-nav a:hover,
.xp-nav a:focus {
    color: var(--xp-blue);
}

.xp-nav a:hover::after,
.xp-nav a:focus::after,
.xp-nav .current-menu-item:first-child a::after {
    opacity: 1;
}

.xp-offer,
.xp-brush {
    --brush: var(--xp-red);
    --xp-cta-content-y: 0px;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 30px;
    color: #fff;
    font-weight: 900;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    line-height: 1;
    white-space: nowrap;
}

.xp-offer .xp-cta-label,
.xp-offer .xp-cta-arrow,
.xp-brush .xp-cta-label,
.xp-brush .xp-cta-arrow {
    display: inline-block;
    transform: translateY(var(--xp-cta-content-y));
}

.xprint-body .xp-offer,
.xprint-body .xp-brush {
    color: #fff;
}

.xprint-body .xp-brush-yellow {
    color: var(--xp-ink);
}

.xp-offer::before,
.xp-brush::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: auto -16px auto -15px;
    top: 50%;
    height: 48px;
    background: var(--brush);
    transform: translateY(-50%);
    clip-path: none;
}

.xp-offer::after,
.xp-brush::after {
    display: none;
}

.xp-offer::before {
    inset: auto -16px auto -15px;
    top: 50%;
    height: 48px;
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-red-button-swipe.png") center / 100% 100% no-repeat;
    transform: translateY(-50%);
}

.xp-brush-blue {
    --brush: var(--xp-blue);
}

.xp-brush-blue::before {
    inset: auto -15px auto -14px;
    top: 50%;
    height: 48px;
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-blue-button-swipe.png") center / 100% 100% no-repeat;
    transform: translateY(-50%);
}

.xp-brush-yellow {
    --brush: var(--xp-yellow);
    color: var(--xp-ink);
}

.xp-brush-yellow::before {
    inset: auto -20px auto -19px;
    top: 50%;
    height: 48px;
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-yellow-button-swipe.png") center / 100% 100% no-repeat;
    transform: translateY(-50%);
}

.xp-button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 26px;
    border: 2px solid var(--xp-ink);
    border-radius: 4px;
    background: #fff;
    font-weight: 900;
}

.xp-arrow-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 16px;
    height: 10px;
    font-size: 0;
    line-height: 0;
}

.xp-arrow-icon::before,
.xp-arrow-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    display: block;
    background: currentColor;
}

.xp-arrow-icon::before {
    left: 1px;
    width: 13px;
    height: 2px;
    border-radius: 999px;
    transform: translateY(-50%);
}

.xp-arrow-icon::after {
    right: 1px;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    background: transparent;
    transform: translateY(-50%) rotate(45deg);
}

.xp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.xp-main {
    overflow: hidden;
}

.xp-home-exact {
    background: #fff;
}

.xp-home-canvas {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: #fff;
}

.xp-home-mockup {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}

.xp-home-semantics {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.xp-hotspot {
    position: absolute;
    left: calc(var(--x) * 1%);
    top: calc(var(--y) * 1%);
    width: calc(var(--w) * 1%);
    height: calc(var(--h) * 1%);
    display: block;
    border-radius: 4px;
}

.xp-hotspot:focus {
    outline: 3px solid rgba(11, 103, 178, 0.45);
    outline-offset: 2px;
}

.xp-home-hero {
    display: grid;
    grid-template-columns: minmax(320px, 0.72fr) minmax(500px, 1.28fr);
    gap: clamp(12px, 2vw, 32px);
    align-items: center;
    width: var(--xp-wrap);
    min-height: 530px;
    margin: 0 auto;
    padding: 18px 0 30px;
    position: relative;
}

.xp-home-hero::before {
    content: "";
    position: absolute;
    left: max(-18vw, -280px);
    bottom: 22px;
    z-index: 0;
    width: 600px;
    height: 74px;
    background: var(--xp-blue);
    transform: rotate(-8deg);
    clip-path: polygon(0 35%, 100% 0, 92% 45%, 100% 76%, 7% 100%);
}

.xp-home-hero::after {
    content: "";
    position: absolute;
    right: max(-15vw, -230px);
    top: 205px;
    z-index: 0;
    width: 430px;
    height: 78px;
    background: var(--xp-red);
    transform: rotate(-13deg);
    clip-path: polygon(0 42%, 100% 3%, 94% 78%, 3% 96%);
}

.xp-hero-copy,
.xp-hero-visual {
    position: relative;
    z-index: 1;
}

.xp-hero-copy h1 {
    margin: 0 0 22px;
    font-size: clamp(34px, 3.2vw, 46px);
    line-height: 1.12;
    letter-spacing: 0;
}

.xp-page-hero h1 {
    margin: 0 0 24px;
    font-size: clamp(42px, 5.2vw, 68px);
    line-height: 1.05;
    letter-spacing: 0;
}

.xp-hero-copy p,
.xp-page-hero-copy .xp-lead,
.xp-page-hero-copy > p,
.xp-section-heading h2,
.xp-content-body {
    line-height: 1.62;
}

.xp-hero-copy > p {
    width: min(560px, 100%);
    margin: 0 0 28px;
    color: #2f3338;
    font-size: 16px;
}

.xp-blue {
    color: var(--xp-blue);
}

.xp-red {
    color: var(--xp-red);
}

.xp-yellow-text {
    color: var(--xp-yellow);
}

.xp-blue-text {
    color: var(--xp-blue);
}

.xp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.xp-hero-visual {
    margin-right: min(-4vw, -32px);
}

.xp-hero-visual img {
    display: block;
    width: min(100%, 700px);
    margin-left: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    filter: none;
}

.xp-section {
    width: var(--xp-wrap);
    margin: 0 auto;
    padding: 54px 0;
}

.xp-section-heading {
    width: min(760px, 100%);
    margin-bottom: 24px;
}

.xp-section-heading-compact {
    margin-bottom: 20px;
}

.xp-section-heading p,
.xp-page-hero-copy > p {
    margin: 0 0 10px;
    color: var(--xp-ink);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.xp-section-heading p::after,
.xp-page-hero-copy > p::after {
    content: "";
    display: block;
    width: 64px;
    height: 5px;
    margin-top: 8px;
    background: var(--xp-red);
    clip-path: polygon(0 38%, 100% 0, 92% 100%, 4% 88%);
}

.xp-section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
}

.xp-services {
    padding-top: 24px;
}

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

.xp-service-card {
    min-height: 286px;
    padding: 18px 16px 20px;
    border: 1px solid var(--xp-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 18, 22, 0.10);
    display: grid;
    grid-template-rows: 104px auto auto 1fr;
    align-content: start;
    gap: 9px;
    position: relative;
    color: var(--xp-ink);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.xp-service-card:hover,
.xp-service-card:focus {
    transform: translateY(-4px);
    box-shadow: var(--xp-shadow);
}

.xp-service-visual {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 104px;
}

.xp-service-visual img {
    display: block;
    width: auto;
    max-width: 106px;
    max-height: 102px;
    object-fit: contain;
}

.xp-service-card h3 {
    margin: 0;
    color: currentColor;
    font-size: 18px;
    line-height: 1.16;
}

.xp-service-card p {
    margin: 0;
    color: var(--xp-muted);
    font-size: 14px;
    line-height: 1.42;
}

.xp-card-arrow {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: end;
    margin-top: 10px;
    border-radius: 50%;
    color: #fff;
    background: var(--xp-ink);
    font-size: 0;
}

.xp-card-arrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    color: #fff;
    transform: translateX(-1px) rotate(45deg);
}

.xp-card-arrow::after {
    content: "";
    width: 9px;
    height: 2px;
    margin-left: -5px;
    background: #fff;
}

.xp-card-blue {
    color: var(--xp-blue);
}

.xp-card-blue .xp-card-arrow {
    background: var(--xp-blue);
}

.xp-card-red {
    color: var(--xp-red);
}

.xp-card-red .xp-card-arrow {
    background: var(--xp-red);
}

.xp-card-yellow {
    color: var(--xp-yellow);
}

.xp-card-yellow .xp-card-arrow {
    background: var(--xp-yellow);
}

.xp-card-black {
    color: var(--xp-ink);
}

.xp-card-black .xp-card-arrow {
    background: var(--xp-ink);
}

.xp-production-band {
    width: 100%;
    margin: 8px 0 0;
    padding: 0;
    background: #fff;
    position: relative;
}

.xp-production-band img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.xp-process {
    position: relative;
    padding-top: 34px;
}

.xp-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    padding-top: 16px;
}

.xp-process-card {
    position: relative;
    min-height: 166px;
    padding: 38px 28px 26px;
    border: 1px solid var(--xp-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 18, 22, 0.10);
    text-align: center;
}

.xp-process-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: -24px;
    left: 62%;
    width: 82%;
    height: 34px;
    border-top: 3px solid currentColor;
    border-radius: 50%;
    transform: rotate(4deg);
    pointer-events: none;
}

.xp-process-card > strong {
    position: absolute;
    top: -24px;
    left: 20px;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: currentColor;
    box-shadow: 0 6px 18px rgba(16, 18, 22, 0.15);
    font-size: 22px;
    line-height: 1;
}

.xp-process-card > strong::first-letter {
    color: #fff;
}

.xp-process-icon,
.xp-metric-icon {
    display: grid;
    place-items: center;
}

.xp-process-icon {
    height: 54px;
    margin-bottom: 8px;
}

.xp-process-icon svg,
.xp-metric-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.xp-process-icon svg,
.xp-metric-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.xp-metric-icon {
    width: 62px;
    height: 62px;
}

.xp-process-card h3 {
    margin: 0 0 10px;
    color: currentColor;
    font-size: 20px;
    line-height: 1.15;
}

.xp-process-card p {
    margin: 0;
    color: #555d68;
    font-size: 14px;
    line-height: 1.5;
}

.xp-portfolio {
    padding-top: 18px;
}

.xp-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.xp-portfolio-card {
    position: relative;
    min-height: 168px;
    overflow: hidden;
    border-radius: 8px;
    background: #15171b;
    box-shadow: 0 14px 32px rgba(16, 18, 22, 0.14);
}

.xp-portfolio-card img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 168px;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.xp-portfolio-card::after {
    content: "";
    position: absolute;
    inset: 46% 0 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.84));
}

.xp-portfolio-card h3 {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
}

.xp-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    width: var(--xp-wrap);
    margin: 8px auto 60px;
    padding: 24px 0;
    background: #fff;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.xp-metric {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    align-items: center;
    gap: 18px;
    min-height: 88px;
    padding: 0 34px;
    background: transparent;
}

.xp-metric + .xp-metric {
    border-left: 1px solid #dfe3e8;
}

.xp-metric strong {
    display: block;
    margin: 0 0 2px;
    color: currentColor;
    font-size: clamp(24px, 2.1vw, 34px);
    line-height: 1.02;
}

.xp-metric em {
    display: block;
    color: var(--xp-ink);
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
}

.xp-page-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(330px, 0.82fr) minmax(420px, 1.18fr);
    align-items: center;
    gap: 28px;
    width: var(--xp-wrap);
    min-height: 640px;
    margin: 0 auto;
    padding: 34px 0 48px;
}

.xp-page-hero-template {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.xp-page-hero::before {
    content: "";
    position: absolute;
    inset: auto auto 0 -18vw;
    width: 760px;
    height: 120px;
    background: var(--xp-blue);
    opacity: 0.95;
    transform: rotate(-8deg);
    clip-path: polygon(0 34%, 100% 0, 94% 46%, 100% 90%, 0 66%);
    z-index: -1;
}

.xp-page-hero-template::before {
    display: none;
}

.xp-page-hero-media {
    position: relative;
    width: 100%;
    height: clamp(540px, 45.5vw, 780px);
    overflow: hidden;
    background: #fff;
}

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

.xp-page-hero-copy .xp-lead,
.xp-page-hero-copy .xp-lead p {
    margin: 0 0 28px;
    color: #2f3338;
    font-size: 18px;
}

.xp-page-hero > img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--xp-shadow);
}

.xp-page-hero-template img {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    min-width: 1280px;
    max-width: none;
    height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translate(-50%, calc(-1 * clamp(94px, 7.6vw, 145px)));
}

.xp-page-hero-composed {
    position: relative;
    display: grid;
    grid-template-columns: minmax(340px, 0.86fr) minmax(460px, 1.14fr);
    align-items: center;
    gap: clamp(28px, 4vw, 64px);
    width: 100%;
    max-width: none;
    min-height: clamp(500px, 43vw, 640px);
    margin: 0;
    padding: clamp(26px, 4vw, 58px) max(var(--xp-pad), calc((100vw - 1180px) / 2)) clamp(46px, 5vw, 78px);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 76% 18%, rgba(246, 248, 251, 0.82), transparent 48%),
        #fff;
}

.xp-page-hero-composed::before {
    display: block;
    inset: auto auto -22px -7vw;
    width: min(620px, 54vw);
    height: 82px;
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-blue-wide-sweep-clean.png") left center / 100% 100% no-repeat;
    opacity: 1;
    clip-path: none;
    transform: rotate(-3deg);
    z-index: 0;
}

.xp-page-hero-composed::after {
    content: "";
    position: absolute;
    right: -8vw;
    bottom: 72px;
    width: min(480px, 42vw);
    height: 84px;
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-red-dynamic-streak-clean.png") center / 100% 100% no-repeat;
    opacity: 0.96;
    transform: rotate(-8deg);
    pointer-events: none;
}

.xp-page-hero-composed .xp-page-hero-copy,
.xp-page-hero-visual {
    position: relative;
    z-index: 1;
}

.xp-page-hero-composed h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 5.2vw, 76px);
    line-height: 1.02;
    letter-spacing: 0;
}

.xp-page-hero-composed .xp-lead,
.xp-page-hero-composed .xp-lead p {
    max-width: 620px;
    margin: 0 0 28px;
    color: #2f3338;
    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.55;
}

.xp-page-hero-visual img {
    display: block;
    width: min(112%, 780px);
    margin: 0 -18px 0 auto;
    height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-mask-image: radial-gradient(ellipse 88% 78% at 56% 52%, #000 64%, rgba(0, 0, 0, 0.75) 78%, transparent 100%);
    mask-image: radial-gradient(ellipse 88% 78% at 56% 52%, #000 64%, rgba(0, 0, 0, 0.75) 78%, transparent 100%);
}

.xp-page-hero-live {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-start;
    width: 100%;
    max-width: none;
    min-height: clamp(570px, 46vw, 735px);
    margin: 0;
    padding: clamp(72px, 7vw, 118px) max(var(--xp-pad), calc((100vw - 1180px) / 2)) clamp(76px, 7vw, 120px);
    overflow: hidden;
    background: #fff;
}

.xp-page-hero-live::before {
    display: none;
}

.xp-page-hero-live::after {
    content: "";
    position: absolute;
    left: -7vw;
    bottom: 8px;
    z-index: 2;
    width: min(610px, 52vw);
    height: 74px;
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-blue-wide-sweep-clean.png") left center / 100% 100% no-repeat;
    opacity: 0.96;
    transform: rotate(-3deg);
    pointer-events: none;
}

.xp-page-hero-frame,
.xp-page-hero-frame::after {
    position: absolute;
    inset: 0;
}

.xp-page-hero-frame {
    overflow: hidden;
    z-index: 0;
}

.xp-page-hero-frame::after {
    content: "";
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 74%, #fff 100%);
    pointer-events: none;
}

.xp-page-hero-bg {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 0;
    width: 100%;
    min-width: 1280px;
    max-width: none;
    height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translate(-50%, calc(-1 * clamp(94px, 7.6vw, 145px)));
}

.xp-page-hero-mask {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: min(650px, 51vw);
    background: #fff;
    box-shadow: 96px 0 130px rgba(255, 255, 255, 0.97);
    pointer-events: none;
}

.xp-page-hero-live .xp-page-hero-copy {
    position: relative;
    z-index: 3;
    width: min(560px, 45vw);
}

.xp-page-hero-live h1 {
    margin: 0 0 22px;
    font-size: clamp(44px, 5.3vw, 78px);
    line-height: 1.02;
    letter-spacing: 0;
}

.xp-page-hero-live .xp-lead,
.xp-page-hero-live .xp-lead p {
    max-width: 560px;
    margin: 0 0 28px;
    color: #2f3338;
    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.55;
}

.xp-page-hero-live .xp-actions {
    position: relative;
    z-index: 4;
}

.xp-page-content {
    position: relative;
    padding-top: 28px;
}

.xp-page-continuation {
    padding-top: 0;
}

.xp-page-content::before {
    content: "";
    position: absolute;
    top: -72px;
    left: 0;
    right: 0;
    height: 140px;
    background: radial-gradient(ellipse 78% 82% at 50% 100%, #fff 0%, rgba(255, 255, 255, 0.92) 52%, rgba(255, 255, 255, 0) 82%);
    pointer-events: none;
}

.xp-content-body {
    width: min(1080px, 100%);
    font-size: 18px;
}

.xp-content-body h2,
.xp-content-body h3 {
    line-height: 1.2;
}

.xp-content-body h2 {
    margin-top: 34px;
    font-size: 34px;
}

.xp-content-body p {
    color: #2f3338;
}

.xp-content-body ul {
    display: grid;
    gap: 10px;
    padding-left: 22px;
}

.xp-content-body > p,
.xp-content-body > h2,
.xp-content-body > h3,
.xp-content-body > ul,
.xp-content-body > ol {
    max-width: 880px;
}

.xp-blog-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 12px;
}

.xp-blog-card,
.xp-blog-empty {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 24px;
    border: 1px solid rgba(12, 31, 51, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(12, 31, 51, 0.1);
}

.xp-blog-card::before,
.xp-blog-empty::before {
    content: "";
    position: absolute;
    top: -24px;
    right: -34px;
    width: 190px;
    height: 64px;
    background: url("../images/xprint/brush-header-red.png") center / 100% 100% no-repeat;
    transform: rotate(180deg);
    opacity: 0.95;
    pointer-events: none;
}

.xp-blog-card p:first-child {
    margin: 0 0 12px;
    color: #0b6fba;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.xp-blog-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
}

.xp-blog-card h2 a,
.xp-blog-link {
    color: #111;
    text-decoration: none;
}

.xp-blog-card div,
.xp-blog-card div p {
    color: #4d5661;
    font-size: 15px;
    line-height: 1.55;
}

.xp-blog-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin-top: 12px;
    color: #0b6fba;
    font-size: 14px;
    font-weight: 800;
}

.xp-blog-empty {
    max-width: 780px;
}

@media (max-width: 980px) {
    .xp-blog-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .xp-blog-list {
        grid-template-columns: 1fr;
    }

    .xp-blog-card,
    .xp-blog-empty {
        padding: 20px;
    }
}

.xp-service-faq,
.xp-portfolio-page {
    margin-top: clamp(30px, 4vw, 52px);
}

.xp-service-faq-head,
.xp-portfolio-page .xp-section-heading {
    margin-bottom: 18px;
}

.xp-service-faq-head p,
.xp-portfolio-page .xp-section-heading p {
    margin: 0 0 8px;
    color: var(--xp-blue);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.xp-service-faq-head h2 {
    margin: 0;
    color: var(--xp-ink);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
}

.xp-service-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.xp-service-faq details {
    overflow: hidden;
    border: 1px solid rgba(12, 31, 51, 0.12);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(12, 31, 51, 0.08);
}

.xp-service-faq summary {
    cursor: pointer;
    padding: 18px 20px;
    color: var(--xp-ink);
    font-weight: 900;
    line-height: 1.25;
}

.xp-service-faq details[open] summary {
    color: var(--xp-blue);
}

.xp-service-faq details p {
    margin: 0;
    padding: 0 20px 20px;
    color: #3d424a;
    font-size: 15px;
    line-height: 1.55;
}

.xp-service-quote-section {
    padding-top: 12px;
}

.xp-contact-form-panel-compact {
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    margin-top: 0;
    border: 1px solid rgba(12, 31, 51, 0.1);
    box-shadow: 0 16px 38px rgba(12, 31, 51, 0.1);
}

.xp-contact-form-panel-compact .xp-contact-form-copy {
    align-self: stretch;
    padding: clamp(24px, 3vw, 34px);
    border-radius: 8px;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.08), transparent 42%),
        #101216;
}

.xp-contact-form-panel-compact .xp-contact-form-copy h2,
.xp-contact-form-panel-compact .xp-contact-form-copy span {
    color: #fff;
}

.xp-contact-form-panel-compact .xp-contact-form-copy p {
    color: var(--xp-yellow);
}

.xp-portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}

.xp-portfolio-filters a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #dfe4eb;
    border-radius: 999px;
    background: #fff;
    color: var(--xp-ink);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.xp-portfolio-filters a.is-active,
.xp-portfolio-filters a:hover {
    border-color: var(--xp-blue);
    color: #fff;
    background: var(--xp-blue);
}

.xp-portfolio-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.xp-portfolio-page-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border: 1px solid #e1e6ee;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(12, 31, 51, 0.1);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.xp-portfolio-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(12, 31, 51, 0.16);
}

.xp-portfolio-page-card > span {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    color: #fff;
    background: rgba(16, 18, 22, 0.78);
    font-size: 12px;
    font-weight: 900;
}

.xp-portfolio-page-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.xp-portfolio-page-card div {
    padding: 18px;
}

.xp-portfolio-page-card h3 {
    margin: 0 0 8px;
    color: var(--xp-ink);
    font-size: 20px;
    line-height: 1.16;
}

.xp-portfolio-page-card p {
    margin: 0;
    color: #4c535d;
    font-size: 15px;
    line-height: 1.5;
}

.xp-detail-lead {
    position: relative;
    max-width: 880px;
    margin: 0 0 34px;
}

.xp-detail-lead::after {
    content: "";
    display: block;
    width: 164px;
    height: 16px;
    margin-top: 14px;
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-yellow-underline-long.png") left center / 100% 100% no-repeat;
}

.xp-detail-lead p {
    margin: 0;
    color: #2f3338;
    font-size: clamp(19px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.45;
}

.xp-detail-grid,
.xp-detail-split {
    display: grid;
    gap: 18px;
    margin: 28px 0;
}

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

.xp-detail-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xp-detail-card {
    position: relative;
    min-height: 100%;
    padding: 24px;
    border: 1px solid var(--xp-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 18, 22, 0.09);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.xp-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--xp-shadow);
}

.xp-detail-card h2,
.xp-detail-card h3 {
    margin: 0 0 12px;
    color: var(--xp-ink);
    font-size: clamp(21px, 2vw, 26px);
}

.xp-detail-card h2::after,
.xp-detail-card h3::after {
    content: "";
    display: block;
    width: 56px;
    height: 5px;
    margin-top: 9px;
    background: var(--xp-red);
    clip-path: polygon(0 38%, 100% 0, 92% 100%, 4% 88%);
}

.xp-detail-card p,
.xp-detail-card li {
    color: #3d424a;
    font-size: 16px;
    line-height: 1.55;
}

.xp-detail-card p:last-child,
.xp-detail-card ul:last-child {
    margin-bottom: 0;
}

.xp-about-description {
    max-width: 1080px;
    margin: 0 0 48px;
    padding: clamp(26px, 4vw, 42px);
    overflow: hidden;
    background:
        radial-gradient(ellipse 40% 80% at 100% 0%, rgba(247, 181, 0, 0.12), transparent 60%),
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.xp-about-description:hover {
    transform: none;
    box-shadow: 0 12px 30px rgba(16, 18, 22, 0.09);
}

.xp-about-description h2 {
    max-width: 760px;
    font-size: clamp(24px, 2.55vw, 36px);
}

.xp-about-description p {
    max-width: 900px;
    font-size: clamp(16px, 1.35vw, 18px);
}

.xp-contact-form-panel {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(420px, 1.28fr);
    gap: clamp(24px, 4vw, 46px);
    max-width: 1080px;
    margin: 0 0 48px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(16, 18, 22, 0.08);
    border-radius: 8px;
    background:
        radial-gradient(ellipse 46% 80% at 100% 0%, rgba(231, 25, 39, 0.09), transparent 62%),
        linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
    box-shadow: 0 16px 38px rgba(16, 18, 22, 0.09);
    overflow: hidden;
}

.xp-contact-form-panel::before {
    content: "";
    position: absolute;
    left: clamp(-140px, -10vw, -82px);
    bottom: 18px;
    width: clamp(280px, 32vw, 430px);
    height: clamp(38px, 4.4vw, 60px);
    background: url("../images/xprint/project-brush-blue.png") left center / 100% 100% no-repeat;
    pointer-events: none;
}

.xp-contact-form-copy,
.xp-contact-form {
    position: relative;
    z-index: 1;
}

.xp-contact-form-copy p {
    margin: 0 0 9px;
    color: var(--xp-blue);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.xp-contact-form-copy h2 {
    margin: 0 0 12px;
    color: var(--xp-ink);
    font-size: clamp(25px, 2.65vw, 38px);
    line-height: 1.08;
}

.xp-contact-form-copy h2::after {
    content: "";
    display: block;
    width: 128px;
    height: 17px;
    margin-top: 10px;
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-yellow-underline-long.png") left center / 100% 100% no-repeat;
}

.xp-contact-form-copy span {
    display: block;
    color: #3d424a;
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.55;
}

.xp-contact-form {
    display: grid;
    gap: 16px;
}

.xp-contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.xp-contact-form label {
    display: grid;
    gap: 7px;
    color: var(--xp-ink);
    font-size: 13px;
    font-weight: 900;
}

.xp-contact-form input,
.xp-contact-form select,
.xp-contact-form textarea {
    width: 100%;
    border: 1px solid #d8dee8;
    border-radius: 6px;
    background: #fff;
    color: var(--xp-ink);
    font: inherit;
    font-weight: 600;
}

.xp-contact-form input,
.xp-contact-form select {
    min-height: 46px;
    padding: 0 13px;
}

.xp-contact-form textarea {
    min-height: 128px;
    padding: 12px 13px;
    resize: vertical;
}

.xp-file-upload {
    max-width: 100%;
}

.xp-file-control {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 46px;
    overflow: hidden;
    border: 1px solid #d8dee8;
    border-radius: 6px;
    background: #fff;
}

.xp-file-control input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.xp-file-button {
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    padding: 0 14px;
    background: #f2f5f9;
    color: var(--xp-ink);
    border-right: 1px solid #d8dee8;
    font-weight: 900;
}

.xp-file-name {
    min-width: 0;
    padding: 0 13px;
    color: #4b535e;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xp-file-control:focus-within {
    border-color: var(--xp-blue);
    outline: 3px solid rgba(11, 103, 178, 0.13);
}

.xp-contact-form input:focus,
.xp-contact-form select:focus,
.xp-contact-form textarea:focus {
    border-color: var(--xp-blue);
    outline: 3px solid rgba(11, 103, 178, 0.13);
}

.xp-contact-form .xp-brush {
    justify-self: start;
    margin-top: 4px;
}

.xprint-body form button.xp-brush,
.xprint-body .xp-contact-form button.xp-brush {
    appearance: none;
    min-height: 46px;
    padding: 0 30px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    line-height: 1;
    overflow: visible;
}

.xprint-body form button.xp-brush:hover,
.xprint-body form button.xp-brush:focus,
.xprint-body .xp-contact-form button.xp-brush:hover,
.xprint-body .xp-contact-form button.xp-brush:focus {
    background: transparent !important;
    background-color: transparent !important;
}

.xp-form-message {
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 800;
}

.xp-form-message-success {
    border: 1px solid rgba(11, 103, 178, 0.18);
    background: rgba(11, 103, 178, 0.08);
    color: var(--xp-blue);
}

.xp-form-message-error {
    border: 1px solid rgba(231, 25, 39, 0.2);
    background: rgba(231, 25, 39, 0.08);
    color: var(--xp-red);
}

.xp-hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.xp-contact-form-panel.xp-contact-form-panel-compact {
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
    max-width: none;
    margin: 0;
    overflow: visible;
}

.xp-contact-form-panel.xp-contact-form-panel-compact::before {
    bottom: -16px;
}

.xp-contact-form-panel.xp-contact-form-panel-compact .xp-contact-form-copy {
    align-self: stretch;
    padding: clamp(24px, 3vw, 34px);
    border-radius: 8px;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.08), transparent 42%),
        #101216;
}

.xp-contact-form-panel.xp-contact-form-panel-compact .xp-contact-form-copy h2,
.xp-contact-form-panel.xp-contact-form-panel-compact .xp-contact-form-copy span {
    color: #fff;
}

.xp-contact-form-panel.xp-contact-form-panel-compact .xp-contact-form-copy p {
    color: var(--xp-yellow);
}

.xp-detail-note,
.xp-detail-band {
    max-width: 1080px;
    border-radius: 8px;
}

.xp-detail-note {
    margin: 30px 0;
    padding: 22px 24px;
    border-left: 6px solid var(--xp-yellow);
    background: #fff8df;
}

.xp-detail-note p {
    margin: 0;
    color: #3d424a;
    font-size: 17px;
}

.xp-service-detail-visual {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.7fr);
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    max-width: 1080px;
    margin: 34px 0 42px;
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid rgba(16, 18, 22, 0.08);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 252, 0.95) 58%, rgba(255, 246, 219, 0.72) 100%);
    box-shadow: 0 16px 38px rgba(16, 18, 22, 0.09);
    overflow: hidden;
}

.xp-service-detail-visual::before,
.xp-service-detail-visual::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.xp-service-detail-visual::before {
    left: clamp(-150px, -11vw, -96px);
    bottom: clamp(12px, 2vw, 22px);
    width: clamp(300px, 34vw, 480px);
    height: clamp(40px, 4.8vw, 66px);
    background: url("../images/xprint/project-brush-blue.png") left center / 100% 100% no-repeat;
}

.xp-service-detail-visual::after {
    right: clamp(-122px, -9vw, -78px);
    top: clamp(16px, 2vw, 28px);
    width: clamp(260px, 30vw, 420px);
    height: clamp(36px, 4.3vw, 60px);
    background: url("../images/xprint/project-brush-red.png") right center / 100% 100% no-repeat;
    opacity: 0.9;
}

.xp-service-detail-visual-copy,
.xp-service-detail-visual-media {
    position: relative;
    z-index: 1;
}

.xp-service-detail-visual-copy p {
    margin: 0 0 9px;
    color: var(--xp-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.xp-service-detail-visual-copy h2 {
    max-width: 650px;
    margin: 0 0 13px;
    color: var(--xp-ink);
    font-size: clamp(25px, 2.7vw, 38px);
    line-height: 1.06;
}

.xp-service-detail-visual-copy span {
    display: block;
    max-width: 650px;
    color: #3d424a;
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.55;
}

.xp-service-detail-visual-copy ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.xp-service-detail-visual-copy li {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 13px;
    border: 1px solid rgba(16, 18, 22, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--xp-ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    box-shadow: 0 7px 16px rgba(16, 18, 22, 0.07);
}

.xp-service-detail-visual-media {
    min-height: clamp(210px, 24vw, 310px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.xp-service-detail-visual-media::before {
    content: "";
    position: absolute;
    inset: 16% 4% 8%;
    background: radial-gradient(ellipse at center, rgba(11, 103, 178, 0.14), transparent 68%);
    pointer-events: none;
}

.xp-service-detail-visual-media img {
    position: relative;
    z-index: 1;
    width: min(100%, 340px);
    max-height: clamp(190px, 22vw, 292px);
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(16, 18, 22, 0.18));
}

.xp-detail-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 42px 0 38px;
    padding: clamp(32px, 4vw, 46px) clamp(28px, 5vw, 58px);
    color: #fff;
    background:
        radial-gradient(ellipse 60% 80% at 86% 12%, rgba(231, 25, 39, 0.18), transparent 58%),
        linear-gradient(135deg, #101216 0%, #15171d 58%, #0b0d11 100%);
    box-shadow: 0 18px 42px rgba(16, 18, 22, 0.16);
}

.xp-detail-band::before,
.xp-detail-band::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.xp-detail-band::before {
    left: clamp(-176px, -13vw, -116px);
    bottom: clamp(8px, 1.2vw, 16px);
    width: clamp(360px, 42vw, 560px);
    height: clamp(50px, 5.8vw, 76px);
    background: url("../images/xprint/project-brush-blue.png") left center / 100% 100% no-repeat;
    opacity: 1;
    transform: none;
}

.xp-detail-band::after {
    right: clamp(-166px, -12vw, -104px);
    top: clamp(14px, 1.7vw, 24px);
    width: clamp(340px, 38vw, 520px);
    height: clamp(48px, 5.7vw, 76px);
    background: url("../images/xprint/project-brush-red.png") right center / 100% 100% no-repeat;
    opacity: 0.96;
    transform: none;
}

.xp-detail-band h2,
.xp-detail-band p {
    position: relative;
    z-index: 2;
    color: #fff;
}

.xp-detail-band h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.08;
}

.xp-detail-band h2::after {
    content: "";
    display: block;
    width: clamp(154px, 16vw, 232px);
    height: clamp(14px, 1.6vw, 22px);
    margin-top: 10px;
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-yellow-underline-long.png") left center / 100% 100% no-repeat;
}

.xp-detail-band p {
    max-width: 720px;
    margin: 0;
    font-size: clamp(16px, 1.55vw, 19px);
    line-height: 1.55;
}

.xp-project-context {
    position: relative;
    display: grid;
    grid-template-columns: minmax(240px, 0.74fr) minmax(420px, 1.26fr);
    gap: clamp(22px, 3vw, 36px);
    max-width: 1080px;
    margin: 0 0 42px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(16, 18, 22, 0.08);
    border-radius: 8px;
    background:
        radial-gradient(ellipse 48% 75% at 98% 12%, rgba(247, 181, 0, 0.14), transparent 58%),
        #fff;
    box-shadow: 0 16px 34px rgba(16, 18, 22, 0.08);
}

.xp-project-context::before {
    content: "";
    position: absolute;
    left: clamp(20px, 3vw, 34px);
    top: -8px;
    width: clamp(96px, 12vw, 152px);
    height: 14px;
    background: url("../images/xprint/brush-underline-yellow.png") left center / 100% 100% no-repeat;
    pointer-events: none;
}

.xp-project-context-copy p {
    margin: 0 0 9px;
    color: var(--xp-red);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.xp-project-context-copy h2 {
    margin: 0 0 12px;
    color: var(--xp-ink);
    font-size: clamp(24px, 2.45vw, 34px);
    line-height: 1.1;
}

.xp-project-context-copy span {
    display: block;
    color: #3d424a;
    font-size: clamp(15px, 1.35vw, 17px);
    line-height: 1.55;
}

.xp-project-context-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.xp-project-context-card {
    min-height: 172px;
    padding: 20px 18px;
    border: 1px solid rgba(16, 18, 22, 0.08);
    border-radius: 8px;
    background: rgba(246, 248, 251, 0.78);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.xp-project-context-card:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 103, 178, 0.22);
    box-shadow: 0 14px 28px rgba(16, 18, 22, 0.1);
}

.xp-project-context-card b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 50%;
    color: #fff;
    background: var(--xp-blue);
    font-size: 13px;
    line-height: 1;
}

.xp-project-context-card-2 b {
    background: var(--xp-red);
}

.xp-project-context-card-3 b {
    color: var(--xp-ink);
    background: var(--xp-yellow);
}

.xp-project-context-card h3 {
    margin: 0 0 8px;
    color: var(--xp-ink);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.16;
}

.xp-project-context-card p {
    margin: 0;
    color: #3d424a;
    font-size: 14px;
    line-height: 1.45;
}

.xp-child-pages {
    padding-top: 20px;
}

.xp-child-pages .xp-service-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.xp-child-pages .xp-service-card {
    min-height: 274px;
}

.xp-child-pages .xp-service-visual {
    justify-content: center;
}

.xp-child-pages .xp-service-visual img {
    max-width: 124px;
    max-height: 104px;
}

.xp-services-catalog {
    width: min(100%, 1440px);
    padding: clamp(24px, 3vw, 44px) clamp(52px, 7.5vw, 110px);
}

.xp-services-catalog .xp-section-heading {
    margin-bottom: 16px;
}

.xp-services-catalog .xp-service-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: clamp(10px, 1.35vw, 22px);
}

.xp-services-catalog .xp-service-card {
    display: flex;
    flex-direction: column;
    min-height: clamp(235px, 20.5vw, 300px);
    gap: clamp(5px, 0.6vw, 8px);
    padding: clamp(12px, 1.25vw, 18px) clamp(10px, 1.05vw, 16px);
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 9px 24px rgba(16, 18, 22, 0.14);
}

.xp-services-catalog .xp-service-card:hover,
.xp-services-catalog .xp-service-card:focus {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 42px rgba(16, 18, 22, 0.22);
}

.xp-services-catalog .xp-service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%;
    height: clamp(74px, 7.4vw, 108px);
    overflow: visible;
}

.xp-services-catalog .xp-service-visual img {
    width: auto;
    height: auto;
    max-width: min(100%, clamp(92px, 8.8vw, 132px));
    max-height: clamp(72px, 7vw, 104px);
    object-fit: contain;
}

.xp-services-catalog .xp-service-card:nth-child(1) .xp-service-visual img {
    max-height: clamp(82px, 8.2vw, 118px);
}

.xp-services-catalog .xp-service-card:nth-child(2) .xp-service-visual img,
.xp-services-catalog .xp-service-card:nth-child(3) .xp-service-visual img,
.xp-services-catalog .xp-service-card:nth-child(4) .xp-service-visual img,
.xp-services-catalog .xp-service-card:nth-child(6) .xp-service-visual img {
    max-width: min(100%, clamp(100px, 9.4vw, 142px));
}

.xp-services-catalog .xp-service-card:nth-child(5) .xp-service-visual img,
.xp-services-catalog .xp-service-card:nth-child(7) .xp-service-visual img {
    max-height: clamp(84px, 8.4vw, 120px);
}

.xp-services-catalog .xp-service-card h3 {
    font-size: clamp(13px, 1.05vw, 16px);
    line-height: 1.12;
}

.xp-services-catalog .xp-service-card p {
    flex: 1 1 auto;
    font-size: clamp(10.5px, 0.86vw, 12.5px);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.xp-footer {
    color: var(--xp-ink);
    background: #fff;
}

.xp-footer-cta {
    position: relative;
    z-index: 2;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(34px, 5vw, 82px);
    width: 100%;
    min-height: clamp(118px, 12vw, 160px);
    margin: 0 auto;
    padding: clamp(30px, 4vw, 48px) clamp(52px, 7.5vw, 110px);
    color: #fff;
    background:
        radial-gradient(circle at 50% 0, rgba(255, 255, 255, 0.08), transparent 40%),
        #111;
}

.xp-footer-cta::before,
.xp-footer-cta::after {
    content: "";
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.xp-footer-cta::before {
    left: -24px;
    bottom: -26px;
    width: clamp(260px, 34vw, 500px);
    height: clamp(82px, 9vw, 140px);
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-blue-wide-sweep-clean.png") left bottom / contain no-repeat;
    transform: none;
    clip-path: none;
    opacity: 1;
}

.xp-footer-cta::after {
    right: 0;
    top: auto;
    bottom: 0;
    width: clamp(220px, 28vw, 420px);
    height: clamp(72px, 8.5vw, 124px);
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-red-dynamic-streak-clean.png") right bottom / contain no-repeat;
    transform: none;
    clip-path: none;
}

.xp-footer-cta > * {
    position: relative;
    z-index: 3;
}

.xp-footer-cta strong {
    position: relative;
    isolation: isolate;
    display: block;
    width: min(720px, 100%);
    font-size: clamp(20px, 1.9vw, 27px);
    line-height: 1.08;
}

.xp-footer-cta strong::after {
    content: "";
    position: absolute;
    left: clamp(-52px, -3.5vw, -22px);
    bottom: clamp(-42px, -3vw, -30px);
    z-index: -1;
    width: clamp(260px, 32vw, 460px);
    height: clamp(34px, 4.8vw, 64px);
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-blue-curved-underline-clean.png") left bottom / contain no-repeat;
}

.xp-footer-cta .xp-brush-yellow {
    --xp-cta-content-y: 0px;
    overflow: visible;
    min-width: clamp(190px, 18vw, 250px);
    min-height: 46px;
    padding: 0 clamp(30px, 3vw, 42px);
    flex: 0 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

.xp-footer-cta .xp-brush-yellow::before {
    inset: auto -22px auto -21px;
    top: 50%;
    height: 48px;
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-yellow-button-swipe.png") center / 100% 100% no-repeat;
    transform: translateY(-50%);
    clip-path: none;
}

.xp-footer-cta .xp-brush-yellow::after {
    display: none;
}

.xp-footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.55fr 0.82fr 0.76fr 0.9fr 1.35fr;
    gap: clamp(28px, 3vw, 50px);
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: clamp(24px, 3vw, 42px) clamp(52px, 7.5vw, 110px) 18px;
    border-top: 0;
}

.xp-footer-logo {
    width: clamp(118px, 13vw, 180px);
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.xp-footer h2 {
    margin: 0 0 14px;
    font-size: clamp(13px, 1.2vw, 16px);
}

.xp-footer p,
.xp-footer a {
    display: block;
    margin: 0 0 5px;
    color: #3d424a;
    font-size: clamp(11px, 1vw, 14px);
    line-height: 1.35;
}

.xp-footer .xp-footer-cta .xp-brush-yellow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: var(--xp-ink);
    font-size: 16px;
    line-height: 1;
}

.xp-social {
    display: flex;
    gap: 9px;
    margin-top: 12px;
}

.xp-social a {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin: 0;
    border: 1px solid #cfd4dc;
    border-radius: 50%;
    color: #222;
    font-size: 10px;
    font-weight: 800;
}

.xp-copyright {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 8px 0 16px;
    border-top: 1px solid var(--xp-line);
    color: #5f6570;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 860px) {
    .xp-header,
    .xp-home-hero,
    .xp-page-hero {
        grid-template-columns: 1fr;
    }

    .xp-header {
        justify-items: center;
    }

    .xp-hero-visual {
        margin-right: 0;
    }

    .xp-hero-visual img {
        margin: 0 auto;
    }

    .xp-service-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .xp-process-grid,
    .xp-detail-grid,
    .xp-service-detail-visual,
    .xp-contact-form-panel,
    .xp-project-context,
    .xp-metrics,
    .xp-child-pages .xp-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .xp-contact-form-panel,
    .xp-service-detail-visual {
        grid-template-columns: 1fr;
    }

    .xp-detail-split,
    .xp-project-context-grid,
    .xp-service-faq-list,
    .xp-portfolio-page-grid {
        grid-template-columns: 1fr;
    }

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

    .xp-metric:nth-child(odd) {
        border-left: 0;
    }

    .xp-metric:nth-child(n + 3) {
        border-top: 1px solid #dfe3e8;
        padding-top: 24px;
    }

    .xp-process-card:not(:last-child)::after {
        display: none;
    }

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

    .xp-page-hero-media {
        height: clamp(500px, 52vw, 640px);
    }

    .xp-page-hero-template img {
        min-width: 1120px;
    }

    .xp-page-hero-composed {
        grid-template-columns: 1fr;
    }

    .xp-page-hero-visual img {
        margin: 0 auto;
    }

    .xp-page-hero-live {
        min-height: 580px;
        padding-top: 64px;
        padding-bottom: 90px;
    }

    .xp-page-hero-mask {
        width: min(700px, 72vw);
    }

    .xp-page-hero-live .xp-page-hero-copy {
        width: min(560px, 64vw);
    }
}

@media (max-width: 740px) {
    :root {
        --xp-pad: 12px;
    }

    .xp-header {
        width: var(--xp-wrap);
        gap: 18px;
    }

    .xp-nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
        font-size: 14px;
    }

    .xp-nav-list {
        flex-wrap: wrap;
        max-width: 100%;
        gap: 10px 14px;
    }

    .xp-offer,
    .xp-brush {
        min-height: 46px;
        padding: 0 26px;
    }

    .xp-home-hero,
    .xp-page-hero,
    .xp-section,
    .xp-metrics,
    .xp-footer-grid,
    .xp-copyright {
        width: var(--xp-wrap);
    }

    .xp-home-hero {
        min-height: 0;
        padding-top: 12px;
    }

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

    .xp-page-hero-template,
    .xp-page-hero-composed,
    .xp-page-hero-live {
        width: 100%;
    }

    .xp-page-hero-composed {
        min-height: 0;
        padding-top: 34px;
    }

    .xp-page-hero-media {
        height: 460px;
    }

    .xp-page-hero-template img {
        left: 40%;
        min-width: 1020px;
        transform: translate(-50%, -78px);
    }

    .xp-page-hero-live {
        min-height: 530px;
        padding: 46px 22px 86px;
    }

    .xp-page-hero-mask {
        width: 100%;
        background: linear-gradient(90deg, #fff 0%, #fff 72%, rgba(255, 255, 255, 0.78) 100%);
        box-shadow: none;
    }

    .xp-page-hero-live::after {
        width: 430px;
        max-width: 92vw;
    }

    .xp-page-hero-live .xp-page-hero-copy {
        width: min(520px, 100%);
    }

    .xp-page-hero-bg {
        left: 63%;
        min-width: 1020px;
        transform: translate(-50%, -78px);
        opacity: 0.55;
    }

    .xp-hero-copy h1,
    .xp-page-hero h1 {
        font-size: 38px;
    }

    .xp-page-hero-live h1 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .xp-service-grid,
    .xp-process-grid,
    .xp-detail-grid,
    .xp-detail-split,
    .xp-service-detail-visual,
    .xp-project-context,
    .xp-metrics,
    .xp-child-pages .xp-service-grid,
    .xp-footer-grid {
        grid-template-columns: 1fr;
    }

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

    .xp-service-detail-visual {
        padding: 24px 18px;
    }

    .xp-service-detail-visual-copy ul {
        display: grid;
        grid-template-columns: 1fr;
    }

    .xp-service-detail-visual-media {
        min-height: 210px;
    }

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

    .xp-metric,
    .xp-metric + .xp-metric,
    .xp-metric:nth-child(n + 3) {
        border-left: 0;
        border-top: 1px solid #dfe3e8;
        padding: 22px 10px;
    }

    .xp-metric:first-child {
        border-top: 0;
    }

    .xp-footer-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 740px) {
    .home .xp-nav,
    .home .xp-nav-list {
        gap: 10px 14px;
    }

    .home .xp-nav,
    .xp-nav {
        width: 100%;
        justify-content: center;
    }

    .home .xp-nav-list,
    .xp-nav-list {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .xp-nav a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .xp-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .xp-portfolio-grid {
        grid-template-columns: 1fr;
    }

    .xp-metric {
        grid-template-columns: 58px 1fr;
        gap: 14px;
    }

    .xp-metric img {
        width: 52px;
        height: 52px;
    }

    .xp-page-hero-media {
        height: 420px;
    }

    .xp-page-hero-template img {
        left: 35%;
        min-width: 920px;
        transform: translate(-50%, -72px);
    }

    .xp-page-hero-live {
        min-height: 500px;
    }

    .xp-page-hero-bg {
        left: 72%;
        min-width: 900px;
        opacity: 0.45;
    }
}

/* Homepage tuned against the supplied PNG mockup. */
.home .xp-header {
    grid-template-columns: clamp(150px, 19.5vw, 250px) 1fr clamp(140px, 17vw, 225px);
    width: min(100%, 1440px);
    gap: clamp(18px, 2.2vw, 34px);
    padding: clamp(22px, 2.8vw, 38px) clamp(52px, 7.5vw, 110px) 12px;
}

.home .xp-logo img {
    width: clamp(150px, 18vw, 220px);
}

.home .xp-nav,
.home .xp-nav-list {
    gap: clamp(18px, 2.8vw, 42px);
    font-size: clamp(13px, 1.08vw, 14px);
}

.home .xp-offer {
    min-height: clamp(34px, 3.5vw, 46px);
    padding: 0 clamp(22px, 2.75vw, 38px);
    color: #fff;
    font-size: 14px;
}

.home .xp-offer::after,
.home .xp-brush::after {
    display: none;
}

.home .xp-home-hero {
    grid-template-columns: minmax(360px, 0.42fr) minmax(540px, 0.58fr);
    gap: clamp(8px, 1.6vw, 28px);
    width: 100%;
    max-width: none;
    padding-left: max(clamp(52px, 7.5vw, 110px), calc((100vw - 1440px) / 2 + 110px));
    padding-right: 0;
    align-items: start;
    min-height: clamp(455px, 42vw, 650px);
    padding-top: clamp(12px, 1.4vw, 24px);
    padding-bottom: clamp(56px, 7vw, 95px);
}

.home .xp-home-hero::before {
    left: max(-22vw, -220px);
    bottom: 0;
    width: clamp(360px, 44vw, 640px);
    height: clamp(96px, 12vw, 170px);
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-blue-wide-sweep.png") left bottom / contain no-repeat;
    clip-path: none;
    transform: none;
}

.home .xp-home-hero::after {
    right: 0;
    top: clamp(210px, 23vw, 360px);
    width: clamp(145px, 17vw, 240px);
    height: clamp(118px, 14vw, 200px);
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-red-dynamic-streak.png") center / contain no-repeat;
    clip-path: none;
    transform: rotate(-3deg);
}

.home .xp-hero-copy h1 {
    width: min(100%, 500px);
    margin-bottom: 8px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.12;
    font-weight: 900;
}

.home .xp-title-brush {
    display: block;
    width: clamp(138px, 16vw, 220px);
    height: clamp(14px, 1.8vw, 25px);
    margin: 0 0 14px;
    background: url("../images/xprint_asset_pack/png/decorative/decorative-brush-yellow-highlight-dash.png") left center / contain no-repeat;
}

.home .xp-hero-copy > p {
    width: min(100%, 490px);
    margin-bottom: clamp(22px, 2.7vw, 38px);
    color: #171a1f;
    font-size: clamp(13px, 1.35vw, 18px);
    line-height: 1.55;
}

.home .xp-actions {
    gap: clamp(18px, 2vw, 28px);
    overflow: visible;
}

.home .xp-brush {
    overflow: visible;
    min-height: clamp(30px, 3vw, 40px);
    padding: 0 clamp(20px, 2.5vw, 34px);
    font-size: clamp(12px, 1.25vw, 16px);
    line-height: 1;
}

.home .xp-footer-cta .xp-brush-yellow {
    --xp-cta-content-y: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-bottom: 0;
    padding: 0 clamp(30px, 3vw, 42px);
    font-size: 16px;
    line-height: 1;
}

.home .xp-footer-cta .xp-brush-yellow::before {
    height: 48px;
}

.home .xp-button-outline {
    min-height: 34px;
    padding: 0 26px;
    border-width: 1px;
    border-radius: 2px;
    font-size: 13px;
}

.home .xp-hero-visual {
    margin-top: clamp(-12px, -0.8vw, -4px);
    margin-right: 0;
    align-self: start;
}

.home .xp-hero-original {
    position: relative;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
    overflow: visible;
}

.home .xp-hero-original::before {
    content: "";
    position: absolute;
    left: -1px;
    top: -2px;
    bottom: -2px;
    z-index: 2;
    width: clamp(22px, 3.5vw, 58px);
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 28%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.home .xp-hero-original::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 2;
    height: clamp(14px, 2vw, 28px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 88%);
    pointer-events: none;
}

.home .xp-hero-original img {
    display: block;
    width: min(100%, clamp(690px, 56vw, 920px));
    max-width: none;
    margin-left: auto;
    filter: none;
}

.home .xp-hero-stage {
    position: relative;
    width: 100%;
    min-height: clamp(400px, 40vw, 590px);
    overflow: visible;
}

.home .xp-hero-stage img {
    position: absolute;
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    user-select: none;
}

.home .xp-hero-brush {
    pointer-events: none;
}

.home .xp-hero-stage .xp-hero-brush-blue {
    left: 1%;
    top: 55%;
    width: 60%;
    opacity: 0.95;
    transform: rotate(-7deg);
    z-index: 0;
}

.home .xp-hero-stage .xp-hero-brush-red {
    right: -3%;
    top: 40%;
    width: 43%;
    opacity: 0.96;
    transform: rotate(-5deg);
    z-index: 0;
}

.home .xp-hero-stage .xp-hero-brush-yellow {
    right: 20%;
    top: 34%;
    width: 24%;
    opacity: 0.95;
    transform: rotate(-8deg);
    z-index: 1;
}

.home .xp-hero-stage .xp-hero-rollup {
    left: 4%;
    top: 7%;
    width: 25%;
    z-index: 2;
}

.home .xp-hero-stage .xp-hero-tshirt {
    left: 38%;
    top: 1%;
    width: 30%;
    z-index: 4;
}

.home .xp-hero-stage .xp-hero-laptop {
    left: 25%;
    top: 42%;
    width: 37%;
    z-index: 7;
}

.home .xp-hero-stage .xp-hero-mug {
    left: 8%;
    bottom: 1%;
    width: 14%;
    z-index: 8;
}

.home .xp-hero-stage .xp-hero-catalog {
    right: 10%;
    bottom: -1%;
    width: 31%;
    z-index: 5;
}

.home .xp-hero-stage .xp-hero-lightbox {
    right: 0;
    top: 18%;
    width: 28%;
    z-index: 2;
}

.home .xp-hero-stage .xp-hero-vase {
    right: 0;
    bottom: 4%;
    width: 15%;
    z-index: 6;
}

.home .xp-hero-stage .xp-hero-stationery {
    left: 0;
    bottom: 2%;
    width: 18%;
    z-index: 6;
}

.home .xp-section {
    width: min(100%, 1440px);
    padding: clamp(24px, 3vw, 44px) clamp(52px, 7.5vw, 110px);
}

.home .xp-section-heading {
    margin-bottom: 16px;
}

.home .xp-section-heading p {
    font-size: clamp(13px, 1.25vw, 16px);
}

.home .xp-section-heading p::after {
    width: 52px;
    height: 4px;
}

.home .xp-services {
    padding-top: 0;
}

.home .xp-service-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: clamp(10px, 1.35vw, 22px);
}

.home .xp-service-card {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: clamp(235px, 20.5vw, 300px);
    gap: clamp(5px, 0.6vw, 8px);
    padding: clamp(12px, 1.25vw, 18px) clamp(10px, 1.05vw, 16px);
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 9px 24px rgba(16, 18, 22, 0.14);
}

.home .xp-service-card:hover,
.home .xp-service-card:focus {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 42px rgba(16, 18, 22, 0.22);
}

.home .xp-service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%;
    height: clamp(74px, 7.4vw, 108px);
    overflow: visible;
}

.home .xp-service-visual img {
    width: auto;
    height: auto;
    max-width: min(100%, clamp(92px, 8.8vw, 132px));
    max-height: clamp(72px, 7vw, 104px);
    object-fit: contain;
}

.home .xp-service-card:nth-child(1) .xp-service-visual img {
    max-height: clamp(82px, 8.2vw, 118px);
}

.home .xp-service-card:nth-child(2) .xp-service-visual img,
.home .xp-service-card:nth-child(3) .xp-service-visual img,
.home .xp-service-card:nth-child(4) .xp-service-visual img,
.home .xp-service-card:nth-child(6) .xp-service-visual img {
    max-width: min(100%, clamp(100px, 9.4vw, 142px));
}

.home .xp-service-card:nth-child(5) .xp-service-visual img,
.home .xp-service-card:nth-child(7) .xp-service-visual img {
    max-height: clamp(84px, 8.4vw, 120px);
}

.home .xp-service-card h3 {
    font-size: clamp(13px, 1.05vw, 16px);
    line-height: 1.12;
}

.home .xp-service-card p {
    flex: 1 1 auto;
    font-size: clamp(10.5px, 0.86vw, 12.5px);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.home .xp-card-arrow {
    flex: 0 0 auto;
    align-self: flex-start;
    width: clamp(24px, 2.35vw, 32px);
    height: clamp(24px, 2.35vw, 32px);
    margin-top: auto;
}

.home .xp-production-band {
    position: relative;
    z-index: 1;
    margin: 8px 0 -2px;
    background: #fff;
}

.home .xp-production-band::before,
.home .xp-production-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    pointer-events: none;
}

.home .xp-production-band::before {
    top: -1px;
    height: clamp(16px, 2.2vw, 32px);
    background: radial-gradient(ellipse 72% 120% at 50% 0%, #fff 0%, rgba(255, 255, 255, 0.92) 36%, rgba(255, 255, 255, 0) 74%);
}

.home .xp-production-band::after {
    bottom: -1px;
    height: clamp(22px, 3.25vw, 48px);
    background: radial-gradient(ellipse 84% 144% at 57% 100%, #fff 0%, rgba(255, 255, 255, 0.92) 39%, rgba(255, 255, 255, 0) 77%);
}

.home .xp-production-band img {
    display: block;
    width: 100%;
    vertical-align: top;
    position: relative;
    z-index: 1;
}

.home .xp-process {
    position: relative;
    z-index: 2;
    margin-top: -3px;
    padding-top: 22px;
    background: #fff;
}

.home .xp-process::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -12px;
    z-index: 0;
    width: min(100vw, 1180px);
    height: 18px;
    background: radial-gradient(ellipse 76% 110% at 50% 0%, #fff 0%, rgba(255, 255, 255, 0.95) 54%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-50%);
    pointer-events: none;
}

.home .xp-process > * {
    position: relative;
    z-index: 1;
}

.home .xp-process-grid {
    position: relative;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(30px, 4vw, 56px);
    padding-top: clamp(26px, 3vw, 45px);
}

.home .xp-process-card {
    min-height: clamp(146px, 16vw, 225px);
    padding: clamp(34px, 3.8vw, 58px) clamp(22px, 2.5vw, 36px) clamp(20px, 2.4vw, 34px);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home .xp-process-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px rgba(16, 18, 22, 0.18);
}

.home .xp-process-card:not(:last-child)::after {
    display: none;
}

.home .xp-process-card > strong {
    top: clamp(-30px, -2.4vw, -22px);
    left: clamp(14px, 1.6vw, 24px);
    width: clamp(44px, 4.7vw, 66px);
    height: clamp(44px, 4.7vw, 66px);
    color: #fff;
    font-size: clamp(20px, 2vw, 28px);
}

.home .xp-process-card.xp-card-blue > strong {
    background: var(--xp-blue);
}

.home .xp-process-card.xp-card-red > strong {
    background: var(--xp-red);
}

.home .xp-process-card.xp-card-yellow > strong {
    background: var(--xp-yellow);
}

.home .xp-process-card.xp-card-black > strong {
    background: var(--xp-ink);
}

.home .xp-process-icon {
    height: clamp(50px, 5.4vw, 78px);
}

.home .xp-process-icon svg {
    width: clamp(52px, 5.4vw, 78px);
    height: clamp(52px, 5.4vw, 78px);
}

.home .xp-process-card h3 {
    font-size: clamp(18px, 1.9vw, 27px);
}

.home .xp-process-card p {
    font-size: clamp(11px, 1vw, 15px);
    line-height: 1.45;
}

.home .xp-process-arrow {
    position: absolute;
    z-index: 3;
    top: 0;
    height: auto;
    pointer-events: none;
}

.home .xp-process-arrow-1 {
    left: 14%;
    width: 15%;
}

.home .xp-process-arrow-2 {
    left: 39%;
    width: 13%;
}

.home .xp-process-arrow-3 {
    left: 67%;
    width: 12%;
}

.home .xp-portfolio {
    padding-top: 10px;
    padding-bottom: clamp(18px, 2.2vw, 34px);
    overflow: visible;
}

.home .xp-portfolio-grid {
    position: relative;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(10px, 1.3vw, 18px);
}

.home .xp-portfolio-card {
    aspect-ratio: 122 / 114;
    min-height: 0;
    border-radius: 6px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home .xp-portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(16, 18, 22, 0.22);
}

.home .xp-portfolio-card img {
    height: 100%;
    min-height: 0;
    object-position: center;
}

.home .xp-portfolio-card h3 {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: clamp(11px, 1vw, 15px);
}

.home .xp-portfolio-next {
    position: absolute;
    right: -45px;
    top: 50%;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: #222;
    box-shadow: 0 8px 24px rgba(16, 18, 22, 0.18);
    font-weight: 900;
    transform: translateY(-50%);
}

.home .xp-portfolio-next .xp-arrow-icon {
    width: 15px;
    color: var(--xp-ink);
}

.home .xp-metrics {
    width: min(100%, 1440px);
    margin: 12px auto 18px;
    padding: clamp(18px, 2.5vw, 34px) clamp(52px, 7.5vw, 110px);
}

.home .xp-metric {
    grid-template-columns: clamp(56px, 6vw, 86px) 1fr;
    gap: clamp(12px, 1.4vw, 22px);
    min-height: clamp(70px, 8vw, 110px);
    padding: 0 clamp(24px, 2.5vw, 40px);
}

.home .xp-metric-icon {
    width: clamp(54px, 5.8vw, 82px);
    height: clamp(54px, 5.8vw, 82px);
}

.home .xp-metric strong {
    font-size: clamp(25px, 2.7vw, 38px);
}

.home .xp-metric.xp-card-yellow strong {
    font-size: clamp(20px, 2.05vw, 30px);
    line-height: 1.04;
}

.home .xp-metric em {
    font-size: clamp(13px, 1.3vw, 18px);
}

.home .xp-footer-grid {
    grid-template-columns: 1.55fr 0.82fr 0.76fr 0.9fr 1.35fr;
    width: min(100%, 1440px);
    gap: clamp(28px, 3vw, 50px);
    padding: clamp(24px, 3vw, 42px) clamp(52px, 7.5vw, 110px) 18px;
}

.xp-not-found {
    overflow: hidden;
}

.xp-not-found-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: clamp(32px, 5vw, 86px);
    width: min(100% - (var(--xp-pad) * 2), 1440px);
    min-height: clamp(520px, 62vw, 720px);
    margin: 0 auto;
    padding: clamp(52px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}

.xp-not-found-hero::before,
.xp-not-found-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
}

.xp-not-found-hero::before {
    left: -12vw;
    bottom: 70px;
    width: min(620px, 56vw);
    height: 90px;
    background-image: url("../images/xprint/paint-hero-blue.png");
    background-position: left center;
}

.xp-not-found-hero::after {
    right: -9vw;
    top: 72px;
    width: min(560px, 48vw);
    height: 96px;
    background-image: url("../images/xprint_asset_pack/png/decorative/decorative-brush-red-dynamic-streak-clean.png");
    background-position: right center;
}

.xp-not-found-copy {
    position: relative;
    z-index: 2;
}

.xp-not-found-copy .xp-kicker {
    margin: 0 0 12px;
    color: var(--xp-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.xp-not-found-copy h1 {
    width: min(760px, 100%);
    margin: 0;
    color: var(--xp-ink);
    font-size: clamp(42px, 5.7vw, 82px);
    line-height: 1.02;
}

.xp-not-found-copy p:not(.xp-kicker) {
    width: min(640px, 100%);
    margin: 22px 0 0;
    color: #3c424b;
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.55;
}

.xp-not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.xp-not-found-visual {
    position: relative;
    min-height: 420px;
}

.xp-not-found-number {
    position: absolute;
    right: 0;
    top: 6px;
    color: rgba(16, 18, 22, 0.06);
    font-size: clamp(140px, 18vw, 260px);
    font-weight: 900;
    line-height: 0.8;
}

.xp-not-found-visual img {
    position: absolute;
    right: 2vw;
    bottom: 28px;
    width: min(560px, 45vw);
    height: auto;
    filter: drop-shadow(0 22px 44px rgba(16, 18, 22, 0.18));
}

.home .xp-footer-logo {
    width: clamp(118px, 13vw, 180px);
}

.home .xp-footer h2 {
    font-size: clamp(13px, 1.2vw, 16px);
}

.home .xp-footer p,
.home .xp-footer a {
    margin-bottom: 5px;
    font-size: clamp(11px, 1vw, 14px);
    line-height: 1.35;
}

.home .xp-social {
    display: flex;
    gap: 9px;
    margin-top: 12px;
}

.home .xp-social a {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    margin: 0;
    border: 1px solid #cfd4dc;
    border-radius: 50%;
    color: #222;
    font-size: 10px;
    font-weight: 800;
}

.home .xp-copyright {
    width: min(100%, 1440px);
    padding: 8px 0 16px;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 920px) {
    .home .xp-header,
    .home .xp-home-hero,
    .home .xp-section,
    .home .xp-metrics,
    .home .xp-footer-grid,
    .home .xp-copyright {
        width: min(100% - 28px, 805px);
    }

    .home .xp-header {
        grid-template-columns: 1fr;
        justify-items: center;
    }

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

    .home .xp-hero-visual {
        margin-right: 0;
    }

    .home .xp-hero-stage {
        min-height: 430px;
    }

    .home .xp-service-grid,
    .home .xp-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home .xp-process-grid,
    .home .xp-metrics,
    .home .xp-footer-grid,
    .home .xp-footer-cta {
        grid-template-columns: 1fr;
    }

    .home .xp-process-arrow,
    .home .xp-portfolio-next {
        display: none;
    }

    .xp-not-found-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .xp-not-found-visual {
        min-height: 300px;
    }

    .xp-not-found-visual img {
        right: 50%;
        width: min(520px, 82vw);
        transform: translateX(50%);
    }
}

/* Unified typography scale. Keep new sections mapped to these classes/patterns. */
.xprint-body {
    font-family: var(--xp-font-body);
    font-size: var(--xp-text-base);
    font-weight: var(--xp-fw-regular);
    line-height: var(--xp-leading-body);
}

.xprint-body h1,
.xprint-body h2,
.xprint-body h3,
.xprint-body h4,
.xprint-body h5,
.xprint-body h6,
.xprint-body p,
.xprint-body a,
.xprint-body li,
.xprint-body span,
.xprint-body strong,
.xprint-body em,
.xprint-body button,
.xprint-body input,
.xprint-body select,
.xprint-body textarea {
    letter-spacing: 0;
}

.xp-text-kicker,
.home .xp-section-heading p,
.xp-section-heading p,
.xp-page-hero-copy > p,
.xp-service-faq-head p,
.xp-portfolio-page .xp-section-heading p,
.xp-blog-card p:first-child,
.xp-contact-form-copy span,
.xp-service-detail-visual-copy span,
.xp-project-context-copy p,
.xp-portfolio-page-card > span,
.xp-not-found-copy .xp-kicker,
.xps-product-family,
.xps-single-family,
.xps-section-kicker,
.xps-commerce-hero-copy > span {
    font-size: var(--xp-text-sm);
    font-weight: var(--xp-fw-bold);
    line-height: 1.25;
    text-transform: uppercase;
}

.xp-text-lead,
.xp-hero-copy > p,
.home .xp-hero-copy > p,
.xp-page-hero-copy .xp-lead,
.xp-page-hero-copy .xp-lead p,
.xp-page-hero-composed .xp-lead,
.xp-page-hero-composed .xp-lead p,
.xp-page-hero-live .xp-lead,
.xp-page-hero-live .xp-lead p,
.xp-detail-lead p,
.xp-about-description p,
.xp-service-detail-visual-copy p,
.xps-commerce-hero-copy p,
.xps-single-short,
.xps-single-tax-note {
    font-size: var(--xp-text-lead);
    font-weight: var(--xp-fw-regular);
    line-height: var(--xp-leading-body);
}

.xp-text-body,
.xp-content-body,
.xp-content-body p,
.xp-content-body li,
.xp-detail-card p,
.xp-project-context-copy span,
.xp-contact-form-copy p,
.xp-service-faq details p,
.xp-blog-card div,
.xp-blog-card div p,
.xp-portfolio-page-card p,
.xps-single-description-content,
.xps-single-description-content p {
    font-size: var(--xp-text-md);
    font-weight: var(--xp-fw-regular);
    line-height: var(--xp-leading-body);
}

.xp-title-hero,
.xp-hero-copy h1,
.home .xp-hero-copy h1 {
    font-size: var(--xp-title-home);
    font-weight: var(--xp-fw-bold);
    line-height: var(--xp-leading-title);
}

.xp-title-page,
.xp-page-hero h1,
.xp-page-hero-composed h1,
.xp-page-hero-live h1,
.xp-not-found-copy h1 {
    font-size: var(--xp-title-page);
    font-weight: var(--xp-fw-bold);
    line-height: var(--xp-leading-title);
}

.xp-title-section,
.xp-section-heading h2,
.xp-content-body h2,
.xp-service-faq-head h2,
.xp-contact-form-copy h2,
.xp-service-detail-visual-copy h2,
.xp-detail-band h2,
.xp-project-context-copy h2,
.xps-single-description h2 {
    font-size: var(--xp-title-section);
    font-weight: var(--xp-fw-bold);
    line-height: var(--xp-leading-tight);
}

.xp-title-panel,
.xp-detail-card h2,
.xp-detail-card h3,
.xp-about-description h2,
.xp-blog-card h2,
.xp-portfolio-page-card h3,
.xps-single-summary h1,
.xps-commerce-hero h1 {
    font-size: var(--xp-title-panel);
    font-weight: var(--xp-fw-bold);
    line-height: var(--xp-leading-tight);
}

.xps-commerce-hero h1 {
    font-size: var(--xp-title-commerce);
}

.xp-title-card,
.xp-service-card h3,
.xp-process-card h3,
.home .xp-process-card h3,
.xp-project-context-card h3,
.woocommerce-loop-product__title,
.xps-product-card .woocommerce-loop-product__title {
    font-size: var(--xp-title-card);
    font-weight: var(--xp-fw-bold);
    line-height: var(--xp-leading-tight);
}

.xp-card-text,
.xp-service-card p,
.home .xp-service-card p,
.xp-process-card p,
.home .xp-process-card p,
.xp-project-context-card p,
.xp-portfolio-card h3,
.home .xp-portfolio-card h3,
.xps-product-card,
.xps-product-card p,
.xps-product-card .price {
    font-size: var(--xp-text-card);
    font-weight: var(--xp-fw-regular);
    line-height: var(--xp-leading-card);
}

.xp-nav,
.xp-nav-list {
    font-size: var(--xp-text-nav);
    font-weight: var(--xp-fw-medium);
}

.xp-action-text,
.xp-offer,
.xp-brush,
.xp-offer .xp-cta-label,
.xp-offer .xp-cta-arrow,
.xp-brush .xp-cta-label,
.xp-brush .xp-cta-arrow,
.xprint-body form button.xp-brush,
.xprint-body .xp-contact-form button.xp-brush,
.xp-button-outline,
.xp-blog-link,
.xp-portfolio-filters a,
.xps-product-actions .button,
.xps-single-cart .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-size: var(--xp-text-action) !important;
    font-weight: var(--xp-fw-bold) !important;
    line-height: 1 !important;
}

.xprint-body .xp-footer-cta .xp-brush-yellow,
.xprint-body .xp-footer-cta .xp-brush-yellow .xp-cta-label {
    font-size: var(--xp-text-action) !important;
    font-weight: var(--xp-fw-bold) !important;
    line-height: 1 !important;
}

.xp-file-control,
.xp-file-button,
.xp-file-name {
    font-size: var(--xp-text-card);
    font-weight: var(--xp-fw-regular);
    line-height: 1.25;
}

.xp-file-button {
    font-weight: var(--xp-fw-semibold);
}

.xp-file-name {
    font-weight: var(--xp-fw-regular);
}

.xp-footer h2,
.home .xp-footer h2 {
    font-size: var(--xp-text-sm);
    font-weight: var(--xp-fw-bold);
    line-height: 1.25;
}

.xp-footer p,
.xp-footer a,
.home .xp-footer p,
.home .xp-footer a {
    font-size: var(--xp-text-sm);
    font-weight: var(--xp-fw-regular);
    line-height: 1.38;
}

.xp-social a,
.home .xp-social a,
.xp-copyright,
.home .xp-copyright {
    font-size: var(--xp-text-xs);
    font-weight: var(--xp-fw-medium);
}

.xp-metric strong,
.home .xp-metric strong {
    font-size: clamp(21px, 2.2vw, 31px);
    font-weight: var(--xp-fw-bold);
    line-height: 1.08;
}

.xp-metric.xp-card-yellow strong,
.home .xp-metric.xp-card-yellow strong {
    font-size: clamp(18px, 1.75vw, 25px);
}

.xp-metric em,
.home .xp-metric em {
    font-size: clamp(12px, 1.05vw, 15px);
    font-weight: var(--xp-fw-medium);
    line-height: 1.25;
}

.xp-process-card > strong,
.home .xp-process-card > strong,
.home .xp-portfolio-next,
.xp-not-found-number {
    font-weight: var(--xp-fw-bold);
}

.xp-not-found-number {
    font-size: clamp(118px, 14vw, 205px);
}

@media (max-width: 920px) {
    :root {
        --xp-title-home: 34px;
        --xp-title-page: 38px;
        --xp-title-section: 26px;
        --xp-title-panel: 22px;
        --xp-text-lead: 15.5px;
    }
}
