/* ============================================================
   Master CMS — Pixel structural family
   Built on the Studio layouts (header, footer, blog, posts, case
   studies), with its own look: a light page with a floating white
   header, rounded "bento" cards, square pixel motifs and pixel-art
   illustrations. Loaded after theme-studio.css when the active
   theme's family is "pixel". First used for digitaldemand.co.uk.

   Every colour comes from the active theme, so the Pixel
   colourways (and any new one) restyle the whole site:
     --color-dark       navy: headings, dark cards, CTA band
     --color-primary    blue: links, accents, highlight words
     --color-accent     primary on hover
     --color-highlight  the one bright pixel (yellow by default)
     --color-background the light page background
     --color-line       borders and form fields
   Pixel-art illustrations in /uploads/illustrations/ use these
   too (plus --px-mid and --px-empty below), so they follow the
   colourway.
   ============================================================ */

.theme-pixel {
  --px-ink: #1E1A26;
  --px-muted: #4A4658;
  --px-soft: color-mix(in srgb, var(--color-primary) 9%, #fff);
  --px-empty: color-mix(in srgb, var(--color-primary) 9%, #fff);
  --px-mid: color-mix(in srgb, var(--color-primary) 35%, #8FA9C2);
  --px-gap: #fff;
  --px-on-dark: color-mix(in srgb, #fff 82%, var(--color-dark));
  --px-line-dark: color-mix(in srgb, #fff 16%, var(--color-dark));
  --px-wrap: 1280px;
  --px-gutter: max(1.25rem, calc((100% - var(--px-wrap)) / 2));
  --px-shadow: 0 1px 2px rgba(16, 58, 99, .06), 0 8px 24px rgba(16, 58, 99, .06);
  --studio-surface: var(--color-background);
  --studio-muted: var(--px-muted);
  --studio-gutter: var(--px-gutter);
  /* Logo (written inline) follows the theme */
  --logo-ring: var(--color-dark);
  --logo-chevron: var(--color-primary);
  --logo-digital: var(--color-primary);
  --logo-pixels: var(--px-mid);
  --logo-demand: #261F2E;
  /* The trio of squares used as a small motif */
  --px-trio:
    linear-gradient(var(--color-primary), var(--color-primary)) 0 0 / 12px 12px no-repeat,
    linear-gradient(var(--color-highlight), var(--color-highlight)) 16px 16px / 12px 12px no-repeat,
    linear-gradient(var(--color-dark), var(--color-dark)) 0 16px / 12px 12px no-repeat;
}

.theme-pixel body { font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--px-ink); background: var(--color-background); }
.theme-pixel h1, .theme-pixel h2, .theme-pixel h3, .theme-pixel h4 { font-family: var(--font-heading); font-weight: 800; color: var(--color-dark); line-height: 1.08; letter-spacing: -.03em; }
.theme-pixel h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -.035em; line-height: 1.03; }
.theme-pixel h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.theme-pixel h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.theme-pixel a { color: var(--color-primary); }
.theme-pixel a:hover { color: var(--color-dark); }
.theme-pixel ::selection { background: var(--color-primary); color: #fff; }
.theme-pixel :focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }

/* *Accent* words: just the blue, no tilted block */
.theme-pixel .accent-word,
.theme-pixel .block-banner-bold .accent-word {
  font-style: normal; font-weight: inherit; color: var(--color-primary); background: none;
  display: inline; padding: 0; border-radius: 0; transform: none; text-decoration: none;
}

/* ---- Buttons ---- */
.theme-pixel .btn { border-radius: 14px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; text-transform: none; padding: 1rem 1.5rem; border: 0; transition: background .2s, color .2s, transform .2s var(--motion-easing); }
.theme-pixel .btn:hover { transform: var(--hover-btn); box-shadow: none; }
.theme-pixel .btn-primary { background: var(--color-dark); color: #fff; }
.theme-pixel .btn-primary:hover { background: var(--color-primary); color: #fff; }
.theme-pixel .btn-secondary { background: #fff; color: var(--color-dark); border: 0; }
.theme-pixel .btn-secondary:hover { background: var(--color-dark); color: #fff; }
.theme-pixel .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 0; }
.theme-pixel .btn-ghost:hover { background: #fff; color: var(--color-dark); }

/* ---- Eyebrows: a white pill with one bright pixel ---- */
.theme-pixel .eyebrow, .theme-pixel .bold-eyebrow, .theme-pixel .eyebrow-on-banner,
.theme-pixel .block-banner .eyebrow-on-banner, .theme-pixel .contact-split .bold-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; width: fit-content;
  background: #fff; color: var(--color-dark); border-radius: 999px; padding: .45rem 1rem .45rem .6rem;
  font-family: var(--font-body); font-size: .88rem; font-weight: 600; letter-spacing: 0; text-transform: none; margin: 0 0 1.2rem;
}
.theme-pixel .eyebrow::before, .theme-pixel .bold-eyebrow::before, .theme-pixel .eyebrow-on-banner::before {
  content: ""; width: 12px; height: 12px; flex: none; background: var(--color-highlight);
}
/* On white sections the pill turns light */
.theme-pixel .block-testimonials .eyebrow, .theme-pixel .block-steps .eyebrow { background: var(--color-background); }

/* ---- Header: a floating white bar ---- */
.theme-pixel .site-header {
  position: sticky; top: 12px; z-index: 50;
  margin: 20px var(--px-gutter) 0; padding: .7rem .8rem .7rem 1.2rem;
  background: #fff; color: var(--px-ink); border-radius: 20px; box-shadow: var(--px-shadow); gap: 1rem;
}
.theme-pixel .site-header .logo { display: flex; align-items: center; }
.theme-pixel .site-header .logo svg { height: 46px; width: auto; display: block; }
.theme-pixel .site-header .logo img { height: 46px; }
.theme-pixel .main-nav { gap: .25rem; margin-left: auto; }
.theme-pixel .main-nav a, .theme-pixel .main-nav .nav-parent-link { color: var(--px-ink); font-weight: 600; font-size: .95rem; padding: .6rem .85rem; border-radius: 12px; text-decoration: none; }
.theme-pixel .main-nav a:hover, .theme-pixel .main-nav a:focus-visible, .theme-pixel .main-nav a[aria-current] { background: var(--px-soft); color: var(--color-dark); }
.theme-pixel .mega-menu { background: #fff; border: 0; border-radius: 18px; box-shadow: 0 24px 50px -16px rgba(16, 58, 99, .28); padding: .5rem; min-width: 280px; }
.theme-pixel .mega-menu-item, .theme-pixel .main-nav .mega-menu a { color: var(--px-ink); font-weight: 600; border-radius: 12px; padding: .7rem .9rem; }
.theme-pixel .mega-menu-item:hover, .theme-pixel .main-nav .mega-menu a:hover { background: var(--px-soft); color: var(--color-dark); }
.theme-pixel .site-header > .header-cta { margin-left: .5rem; background: var(--color-primary); color: #fff; border-radius: 12px; padding: .8rem 1.2rem; font-size: .95rem; }
.theme-pixel .site-header > .header-cta:hover { background: var(--color-dark); color: #fff; }
.theme-pixel .header-phone { color: var(--color-dark); font-weight: 700; text-decoration: none; }
.theme-pixel .nav-toggle span { background: var(--color-dark); }

/* ---- Sections ---- */
.theme-pixel main > .block, .theme-pixel .block { padding: clamp(3.5rem, 6vw, 5rem) var(--px-gutter); }
.theme-pixel .block.block-ticker { padding: 0; }
.theme-pixel .section-head { margin-bottom: 2rem; align-items: flex-end; }
.theme-pixel .section-head h2 { max-width: 22ch; margin: 0; }
.theme-pixel .section-head .eyebrow { margin-bottom: 1rem; }
.theme-pixel .section-intro { color: var(--px-muted); margin: 0; }
.theme-pixel .section-link { font-weight: 700; color: var(--color-primary); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.theme-pixel .section-link:hover { color: var(--color-dark); }
.theme-pixel .feature-grid-heading, .theme-pixel .faq-heading { text-align: left; max-width: none; margin: 0 0 2rem; }
.theme-pixel .feature-grid-heading h2, .theme-pixel .faq-heading h2 { margin: 0; max-width: 24ch; }

/* ---- Hero slider (home) ---- */
.theme-pixel .block-hero-slider { background: transparent; min-height: 0; overflow: visible; padding: clamp(2.5rem, 5vw, 4rem) var(--px-gutter) 3rem; }
.theme-pixel .block-hero-slider::before { display: none; }
.theme-pixel .hero-slide { position: absolute; inset: 0; padding: 0; color: var(--px-ink); flex-direction: row; text-align: left; gap: clamp(2rem, 5vw, 3.5rem); flex-wrap: wrap; align-items: center; min-height: clamp(460px, 44vw, 560px); }
.theme-pixel .hero-slide.active { position: relative; display: flex; animation: px-fade .55s ease both; }
@keyframes px-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .theme-pixel .hero-slide.active { animation: none; } }
.theme-pixel .hero-slide .banner-copy { flex: 1 1 520px; min-width: 0; }
.theme-pixel .hero-slide .banner-media { flex: 1 1 400px; min-width: 0; background: #fff; border-radius: 28px; padding: clamp(1.25rem, 2.6vw, 2rem); box-shadow: 0 8px 32px rgba(16, 58, 99, .08); }
.theme-pixel .hero-slide .banner-media img { border-radius: 16px; }
.theme-pixel svg.theme-art { display: block; width: 100%; height: auto; }
.theme-pixel .hero-slide h1, .theme-pixel .hero-slide .hero-title { color: var(--color-dark); font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.03; letter-spacing: -.035em; margin: 0; }
.theme-pixel .hero-slide .banner-copy p { margin: 1.4rem 0 0; max-width: 34rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--px-muted); }
.theme-pixel .hero-slide .banner-ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.theme-pixel .hero-slide .btn-primary { background: var(--color-dark); color: #fff; }
.theme-pixel .hero-slide .btn-primary:hover { background: var(--color-primary); }
.theme-pixel .hero-slide .btn-secondary { background: #fff; color: var(--color-dark); border: 0; }
.theme-pixel .hero-slide .btn-secondary:hover { background: var(--color-dark); color: #fff; }
.theme-pixel .hero-slider-controls { position: static; transform: none; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 2rem; }
.theme-pixel .hero-slider-nav { width: 48px; height: 48px; min-width: 48px; padding: 0; border: 0; border-radius: 14px; background: #fff; color: var(--color-dark); }
.theme-pixel .hero-slider-nav:hover { background: var(--color-dark); color: #fff; }
.theme-pixel .hero-slider-dots { position: static; transform: none; gap: 0; }
.theme-pixel .hero-slider-dot { width: 44px; height: 44px; border-radius: 0; background: transparent; display: grid; place-items: center; }
.theme-pixel .hero-slider-dot::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: color-mix(in srgb, var(--color-primary) 28%, #fff); transition: width .25s, background .25s; }
.theme-pixel .hero-slider-dot.active::before { width: 36px; background: var(--color-dark); }
.theme-pixel .hero-slider-dot::after { display: none; }
.theme-pixel .hero-slider-pause { margin-left: auto; height: 44px; padding: 0 1rem; border: 0; border-radius: 12px; background: #fff; color: var(--color-dark); font-size: .88rem; }
.theme-pixel .hero-slider-pause:hover { background: var(--color-dark); color: #fff; }

/* ---- Banner (inner pages, "Bold" layout): light, text left, pixel art right ---- */
.theme-pixel .block-banner.block-banner-bold {
  display: flex; flex-direction: row; flex-wrap: wrap; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; text-align: left;
  background: transparent; color: var(--px-ink); padding: clamp(2.5rem, 5vw, 3.5rem) var(--px-gutter) clamp(2.5rem, 5vw, 3.5rem); overflow: visible;
}
.theme-pixel .block-banner-bold .bold-orb { display: none; }
.theme-pixel .block-banner-bold .bold-inner { flex: 1 1 560px; min-width: 0; }
.theme-pixel .block-banner-bold h1, .theme-pixel .block-banner-bold.bold-compact h1 { color: var(--color-dark); font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.03; letter-spacing: -.035em; max-width: 20ch; margin: 0; }
.theme-pixel .block-banner-bold .bold-foot { display: block; margin-top: 0; }
.theme-pixel .block-banner-bold .bold-sub { margin: 1.3rem 0 0; max-width: 36rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--px-muted); opacity: 1; }
.theme-pixel .block-banner-bold .banner-ctas { margin-top: 1.8rem; }
.theme-pixel .block-banner-bold .btn-primary { background: var(--color-dark); color: #fff; }
.theme-pixel .block-banner-bold .btn-primary:hover { background: var(--color-primary); }
.theme-pixel .block-banner-bold .btn-ghost { background: #fff; color: var(--color-dark); }
.theme-pixel .block-banner-bold .btn-ghost:hover { background: var(--color-dark); color: #fff; }
.theme-pixel .block-banner-bold .bold-media { flex: 0 1 420px; min-width: 0; margin: 0; aspect-ratio: auto; background: #fff; border-radius: 28px; padding: clamp(1.25rem, 2.4vw, 1.75rem); box-shadow: 0 8px 32px rgba(16, 58, 99, .08); overflow: visible; }
.theme-pixel .block-banner-bold .bold-media img { border-radius: 16px; height: auto; }
/* No picture: a quiet trio of pixels in the corner */
.theme-pixel .block-banner-bold:not(.has-media) { position: relative; }
.theme-pixel .block-banner-bold:not(.has-media)::after {
  content: ""; display: block; position: static; flex: none; margin-left: auto; align-self: flex-end; width: 92px; height: 92px;
  clip-path: none; opacity: 1; z-index: auto;
  background:
    linear-gradient(var(--color-primary), var(--color-primary)) 0 0 / 28px 28px no-repeat,
    linear-gradient(var(--px-mid), var(--px-mid)) 32px 0 / 28px 28px no-repeat,
    linear-gradient(var(--color-dark), var(--color-dark)) 32px 32px / 28px 28px no-repeat,
    linear-gradient(var(--color-highlight), var(--color-highlight)) 64px 64px / 28px 28px no-repeat;
  border-radius: 0;
}
@media (max-width: 760px) { .theme-pixel .block-banner-bold:not(.has-media)::after { display: none; } }
.theme-pixel .page-breadcrumb { width: 100%; font-size: .9rem; font-weight: 600; color: var(--px-muted); margin: 0 0 1.4rem; }
.theme-pixel .page-breadcrumb a { color: var(--px-muted); text-decoration: none; }
.theme-pixel .page-breadcrumb a:hover { color: var(--color-dark); text-decoration: underline; }
.theme-pixel .page-breadcrumb [aria-current] { color: var(--color-dark); }
.theme-pixel .block-banner-bold .page-breadcrumb + .bold-eyebrow { margin-top: 0; }
.theme-pixel .page-title-banner { background: transparent; color: var(--color-dark); }
.theme-pixel .page-title-banner h1 { color: var(--color-dark); }
.theme-pixel .breadcrumb-pill { color: var(--px-muted); }
.theme-pixel .breadcrumb-pill span { color: var(--color-dark); }

/* ---- Text ---- */
.theme-pixel .block-text { font-size: 1.08rem; color: var(--px-muted); }
.theme-pixel .block-text h2, .theme-pixel .block-text h3 { color: var(--color-dark); }
.theme-pixel .block-text p, .theme-pixel .block-text li { line-height: 1.75; }
.theme-pixel .block-text strong { color: var(--px-ink); }
.theme-pixel .block-text ol, .theme-pixel .block-text ul { padding-left: 1.3rem; }
.theme-pixel .block-text li { margin-bottom: .35rem; }
.theme-pixel .block-text li::marker { color: var(--color-primary); font-weight: 700; }
@media (min-width: 1000px) {
  .theme-pixel .block-text:has(> h2:first-child) > h2:first-child { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }
}
/* Text with a card beside it */
.theme-pixel .block-text.has-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.theme-pixel .block-text.has-aside > * { max-width: none; margin-left: 0 !important; margin-right: 0 !important; justify-self: stretch; }
.theme-pixel .block-text.has-aside .text-main { max-width: 760px; }
.theme-pixel .block-text.has-aside .text-main > :first-child { margin-top: 0; }
.theme-pixel .text-aside { position: sticky; top: 120px; background: var(--color-dark); color: #fff; border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; gap: .7rem; }
.theme-pixel .text-aside::before { content: ""; width: 28px; height: 28px; margin-bottom: .4rem; background: var(--px-trio); }
.theme-pixel .text-aside-title { font-size: .88rem; font-weight: 700; color: var(--color-highlight); }
.theme-pixel .text-aside-price { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.theme-pixel .text-aside-price .accent-word { color: var(--color-highlight); }
.theme-pixel .text-aside-note { margin: 0; color: var(--px-on-dark); font-size: .98rem; line-height: 1.55; }
.theme-pixel .text-aside-ctas { display: flex; flex-direction: column; gap: .6rem; margin-top: .6rem; }
.theme-pixel .text-aside-ctas .btn { text-align: center; }
.theme-pixel .text-aside-ctas .btn-primary { background: var(--color-highlight); color: var(--px-ink); }
.theme-pixel .text-aside-ctas .btn-primary:hover { background: #fff; color: var(--color-dark); }
.theme-pixel .text-aside-ctas .btn-secondary { background: rgba(255, 255, 255, .12); color: #fff; }
.theme-pixel .text-aside-ctas .btn-secondary:hover { background: #fff; color: var(--color-dark); }
@media (max-width: 960px) { .theme-pixel .block-text.has-aside { grid-template-columns: 1fr; } .theme-pixel .text-aside { position: static; } }

/* ---- Image + text: pixel art on a white card ---- */
.theme-pixel .block-image-text { gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 720px) { .theme-pixel .block-image-text > .block-media { flex: none; } .theme-pixel .hero-slide .banner-media, .theme-pixel .hero-slide .banner-copy { flex-basis: 100%; } }
.theme-pixel .block-image-text .block-media { background: #fff; border-radius: 28px; padding: clamp(1.25rem, 2.6vw, 2rem); box-shadow: 0 8px 32px rgba(16, 58, 99, .08); }
.theme-pixel .block-image-text .block-media img { border-radius: 16px; aspect-ratio: auto; }
.theme-pixel .block-image-text.reverse .block-media { background: var(--color-dark); }
.theme-pixel .block-image-text.reverse .block-media svg.theme-art { --px-empty: color-mix(in srgb, #fff 12%, var(--color-dark)); }
.theme-pixel .block-image-text .block-copy { color: var(--px-muted); font-size: 1.08rem; }
.theme-pixel .block-image-text .block-copy h2 { color: var(--color-dark); font-size: clamp(1.9rem, 3vw, 2.6rem); margin: 0 0 1rem; }
.theme-pixel .block-image-text .block-copy p { line-height: 1.75; }
.theme-pixel .block-image-text .block-copy a { font-weight: 700; text-decoration: none; }
.theme-pixel .block-image-text .block-copy a::after { content: " \2192"; }

/* ---- Services list ---- */
.theme-pixel .svc-layout-grid .svc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 1rem; }
.theme-pixel .svc-card { background: #fff; color: var(--px-ink); border: 0; border-radius: 24px; padding: 1.75rem; gap: .65rem; box-shadow: none; transition: transform .25s var(--motion-easing), box-shadow .25s; }
.theme-pixel .svc-card { transition: transform .25s var(--motion-easing), box-shadow .25s, background-color .25s, color .25s; }
.theme-pixel .svc-card :is(.svc-card-title, .svc-card-text, .svc-card-more) { transition: color .25s; }
/* Hover (and keyboard focus): the card turns blue and lifts slightly */
.theme-pixel .svc-card:is(:hover, :focus-visible),
.theme-pixel .svc-layout-grid .svc-list:has(> .svc-card:nth-child(5)) > .svc-card:first-child:is(:hover, :focus-visible) {
  background: var(--color-primary); color: #fff; transform: var(--hover-card); box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--color-primary) 70%, transparent); border: 0;
}
.theme-pixel .svc-card:is(:hover, :focus-visible) .svc-card-title { color: #fff; }
.theme-pixel .svc-card:is(:hover, :focus-visible) .svc-card-text { color: color-mix(in srgb, #fff 88%, var(--color-primary)); }
.theme-pixel .svc-card:is(:hover, :focus-visible) .svc-card-more { color: var(--color-highlight); }
.theme-pixel .svc-card:is(:hover, :focus-visible) .svc-card-num { background:
    linear-gradient(#fff, #fff) 0 0 / 12px 12px no-repeat,
    linear-gradient(var(--color-highlight), var(--color-highlight)) 16px 16px / 12px 12px no-repeat,
    linear-gradient(var(--color-dark), var(--color-dark)) 0 16px / 12px 12px no-repeat; }
.theme-pixel .svc-layout-grid .svc-list:has(> .svc-card:nth-child(5)) > .svc-card:first-child:is(:hover, :focus-visible) .svc-card-num { background:
    linear-gradient(var(--color-highlight), var(--color-highlight)) 0 0 / 22px 22px no-repeat,
    linear-gradient(#fff, #fff) 28px 0 / 22px 22px no-repeat,
    linear-gradient(var(--color-dark), var(--color-dark)) 84px 0 / 22px 22px no-repeat,
    linear-gradient(#fff, #fff) 28px 28px / 22px 22px no-repeat,
    linear-gradient(var(--color-highlight), var(--color-highlight)) 56px 28px / 22px 22px no-repeat; }
.theme-pixel .svc-layout-grid .svc-list:has(> .svc-card:nth-child(5)) > .svc-card:first-child:is(:hover, :focus-visible) .svc-card-text { color: color-mix(in srgb, #fff 88%, var(--color-primary)); }
@media (prefers-reduced-motion: reduce) { .theme-pixel .svc-card:is(:hover, :focus-visible) { transform: none; } }
.theme-pixel .svc-card-num { display: block; width: 28px; height: 28px; font-size: 0; color: transparent; background: var(--px-trio); margin-bottom: .35rem; }
.theme-pixel .svc-card-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.35rem; color: var(--color-dark); letter-spacing: -.02em; }
.theme-pixel .svc-card-text { color: var(--px-muted); opacity: 1; font-size: .98rem; line-height: 1.55; }
.theme-pixel .svc-card-more { color: var(--color-primary); font-size: .95rem; }
/* Five or more services: a bento — the first is a tall navy feature card */
@media (min-width: 900px) {
  .theme-pixel .svc-layout-grid .svc-list:has(> .svc-card:nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-pixel .svc-layout-grid .svc-list:has(> .svc-card:nth-child(5)) > .svc-card:first-child { grid-row: span 2; }
}
.theme-pixel .svc-layout-grid .svc-list:has(> .svc-card:nth-child(5)) > .svc-card:first-child { background: var(--color-dark); color: #fff; justify-content: flex-end; min-height: 300px; padding: 2rem; }
.theme-pixel .svc-layout-grid .svc-list:has(> .svc-card:nth-child(5)) > .svc-card:first-child .svc-card-num { width: 112px; height: 54px; margin-bottom: auto; background:
    linear-gradient(var(--color-highlight), var(--color-highlight)) 0 0 / 22px 22px no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) 28px 0 / 22px 22px no-repeat,
    linear-gradient(var(--px-mid), var(--px-mid)) 84px 0 / 22px 22px no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) 28px 28px / 22px 22px no-repeat,
    linear-gradient(var(--color-highlight), var(--color-highlight)) 56px 28px / 22px 22px no-repeat; }
.theme-pixel .svc-layout-grid .svc-list:has(> .svc-card:nth-child(5)) > .svc-card:first-child .svc-card-title { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.theme-pixel .svc-layout-grid .svc-list:has(> .svc-card:nth-child(5)) > .svc-card:first-child .svc-card-text { color: var(--px-on-dark); font-size: 1.05rem; }
.theme-pixel .svc-layout-grid .svc-list:has(> .svc-card:nth-child(5)) > .svc-card:first-child .svc-card-more { color: var(--color-highlight); }
/* Rows layout (services page) */
.theme-pixel .svc-layout-rows .svc-list { border: 0; display: grid; gap: .75rem; }
.theme-pixel .svc-row { background: #fff; border: 0; border-radius: 20px; padding: 1.5rem 1.75rem; color: var(--px-ink); transition: transform .25s var(--motion-easing), box-shadow .25s; }
.theme-pixel .svc-row:hover { transform: translateY(-2px); box-shadow: var(--px-shadow); }
.theme-pixel .svc-row-num { color: var(--color-primary); font-family: var(--font-heading); font-weight: 800; }
.theme-pixel .svc-row-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; color: var(--color-dark); }
.theme-pixel .svc-row-sub { color: var(--px-muted); }
.theme-pixel .svc-row-arrow { width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--px-soft); color: var(--color-dark); display: grid; place-items: center; }
.theme-pixel .svc-row-arrow svg { border: 0; background: none; }
.theme-pixel .svc-row:hover .svc-row-arrow { background: var(--color-dark); color: #fff; }

/* ---- Feature grid: white cards with an icon tile ---- */
.theme-pixel .feature-grid { gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
@media (min-width: 1100px) { .theme-pixel .feature-grid:has(> .feature-item:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.theme-pixel .feature-item, .theme-pixel .feature-item:first-child { background: #fff; color: var(--px-ink); border-radius: 24px; padding: 1.75rem; border: 0; }
.theme-pixel .feature-icon, .theme-pixel .feature-item:first-child .feature-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--px-soft); color: var(--color-primary); margin-bottom: .4rem; }
.theme-pixel .feature-item h3 { color: var(--color-dark); font-size: 1.3rem; margin: .2rem 0 .2rem; }
.theme-pixel .feature-item p, .theme-pixel .feature-item:first-child p { color: var(--px-muted); opacity: 1; font-size: .98rem; line-height: 1.6; margin: 0; }
.theme-pixel .feature-readmore { color: var(--color-primary); font-weight: 700; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; margin-top: .4rem; }
.theme-pixel .feature-readmore svg { border: 0; background: none; padding: 0; }

/* ---- Steps: numbered cards, the last pixel bright ---- */
.theme-pixel .block-steps { background: #fff; }
.theme-pixel .steps-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.theme-pixel .steps-light .step, .theme-pixel .step { background: var(--color-background); border-radius: 24px; padding: 1.75rem; gap: .6rem; border: 0; }
.theme-pixel .step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--color-primary); color: #fff; font-size: 1rem; margin-bottom: .5rem; }
.theme-pixel .step:last-child .step-num { background: var(--color-highlight); color: var(--px-ink); }
.theme-pixel .step-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; color: var(--color-dark); letter-spacing: -.015em; }
.theme-pixel .step-text { color: var(--px-muted); font-size: .98rem; line-height: 1.6; }
.theme-pixel .block-steps.steps-dark { background: var(--color-dark); }
.theme-pixel .steps-dark .step { background: color-mix(in srgb, #fff 6%, var(--color-dark)); border: 0; border-radius: 24px; }
.theme-pixel .steps-dark .steps-list { border: 0; gap: 1rem; }
.theme-pixel .steps-dark .step-title { color: #fff; }
.theme-pixel .steps-dark .step-text { color: var(--px-on-dark); }

/* ---- Testimonials ---- */
.theme-pixel .block-testimonials { background: #fff; }
.theme-pixel .block-testimonials .tm-grid { gap: 1rem; }
.theme-pixel .block-testimonials .tm-card { background: var(--color-background); color: var(--px-ink); border-radius: 24px; padding: 1.9rem; gap: 1.2rem; }
.theme-pixel .block-testimonials .tm-card:nth-child(3n + 2) { background: var(--color-primary); color: #fff; }
.theme-pixel .block-testimonials .tm-mark { display: block; width: 18px; height: 18px; border-radius: 4px; background: var(--color-highlight); }
.theme-pixel .block-testimonials blockquote { font-size: 1.15rem; font-weight: 600; line-height: 1.5; }
.theme-pixel .block-testimonials figcaption { margin-top: auto; font-size: .92rem; flex-direction: row; gap: .4rem; flex-wrap: wrap; }
.theme-pixel .block-testimonials figcaption strong { color: var(--color-dark); }
.theme-pixel .block-testimonials .tm-card:nth-child(3n + 2) figcaption strong { color: #fff; }
.theme-pixel .block-testimonials figcaption span::before { content: "· "; }
.theme-pixel .block-testimonial .testimonial-card { background: var(--color-primary); color: #fff; border-radius: 28px; }
.theme-pixel .block-testimonial blockquote { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.theme-pixel .block-testimonial cite { color: #fff; }

/* ---- Latest posts ---- */
.theme-pixel .post-cards { gap: 1rem; }
.theme-pixel .post-card { background: #fff; border-radius: 24px; overflow: hidden; padding-bottom: 1.5rem; gap: .5rem; color: var(--px-ink); transition: transform .25s var(--motion-easing), box-shadow .25s; }
.theme-pixel .post-card:hover { transform: var(--hover-card); box-shadow: var(--px-shadow); }
.theme-pixel .post-card-media { border-radius: 0; aspect-ratio: 16 / 10; background: var(--color-dark); }
.theme-pixel .post-card-date, .theme-pixel .post-card-title { padding: 0 1.5rem; }
.theme-pixel .post-card-date { margin-top: 1rem; font-size: .85rem; font-weight: 600; color: var(--px-muted); }
.theme-pixel .post-card-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; line-height: 1.28; color: var(--color-dark); letter-spacing: -.015em; }
.theme-pixel .post-chip { border-radius: 8px !important; font-weight: 700; }

/* ---- FAQs ---- */
.theme-pixel .faq-list { max-width: 960px; border: 0; display: grid; gap: .6rem; }
.theme-pixel .block-faqs details.faq-item { background: #fff; border: 0; border-radius: 16px; padding: 0 1.4rem; }
.theme-pixel .block-faqs summary { padding: 1.15rem 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: var(--color-dark); letter-spacing: -.01em; }
.theme-pixel .faq-answer { padding: 0 0 1.25rem; color: var(--px-muted); font-size: 1.02rem; }
.theme-pixel .faq-answer p { margin: 0; }
.theme-pixel .faq-chevron { background: var(--px-soft); border-radius: 10px; }
.theme-pixel .faq-chevron::before { border-color: var(--color-dark); }
.theme-pixel details[open] .faq-chevron { background: var(--color-dark); }

/* ---- Call to action band: navy, the button is the bright pixel ---- */
.theme-pixel .block-cta-scroller:not(.cta-photo-band) {
  position: relative; overflow: hidden; background: var(--color-dark); color: #fff; border-radius: 32px;
  margin: clamp(1.5rem, 4vw, 3rem) var(--px-gutter) clamp(3.5rem, 6vw, 5.5rem); padding: clamp(2rem, 5vw, 4rem);
  display: flex; flex-wrap: wrap; gap: 1.6rem 2rem; align-items: center; justify-content: space-between;
}
.theme-pixel .block-cta-scroller:not(.cta-photo-band)::after {
  content: ""; position: absolute; right: clamp(1rem, 3vw, 2.5rem); top: clamp(1rem, 3vw, 2rem); width: 60px; height: 60px; opacity: .9;
  background:
    linear-gradient(var(--color-primary), var(--color-primary)) 0 0 / 18px 18px no-repeat,
    linear-gradient(var(--px-mid), var(--px-mid)) 21px 21px / 18px 18px no-repeat,
    linear-gradient(var(--color-highlight), var(--color-highlight)) 42px 42px / 18px 18px no-repeat;
}
.theme-pixel .block-cta-scroller h2 { color: #fff; margin: 0; max-width: 22ch; font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.06; }
.theme-pixel .block-cta-scroller .cta-copy { flex: 1 1 460px; position: relative; }
.theme-pixel .block-cta-scroller .cta-text { color: var(--px-on-dark); margin: .9rem 0 0; font-size: 1.1rem; max-width: 40rem; opacity: 1; }
.theme-pixel .block-cta-scroller .btn.btn-primary { position: relative; z-index: 1; background: var(--color-highlight); color: var(--px-ink); padding: 1.05rem 1.6rem; font-size: 1.02rem; font-weight: 800; }
.theme-pixel .block-cta-scroller .btn.btn-primary:hover { background: #fff; color: var(--color-dark); }

/* ---- Contact (split layout) ---- */
.theme-pixel .block-contact-form.contact-split { background: transparent; color: var(--px-ink); padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: clamp(3.5rem, 6vw, 5rem); gap: clamp(2rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.theme-pixel .contact-split .bold-orb { display: none; }
.theme-pixel .contact-split .cf-info h1 { color: var(--color-dark); font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1.03; letter-spacing: -.035em; }
.theme-pixel .contact-split .cf-intro { color: var(--px-muted); opacity: 1; font-size: 1.15rem; }
.theme-pixel .contact-split .cf-cards { background: var(--color-dark); border-radius: 24px; padding: 1.25rem; gap: .25rem; max-width: none; }
.theme-pixel .contact-split .cf-card { border: 0; border-radius: 14px; color: #fff; padding: .85rem; }
.theme-pixel .contact-split a.cf-card:hover { background: rgba(255, 255, 255, .08); }
.theme-pixel .contact-split .cf-card-icon { background: rgba(255, 255, 255, .1); color: var(--color-highlight); border-radius: 12px; }
.theme-pixel .contact-split .cf-card-label { color: var(--color-highlight); opacity: 1; font-size: .85rem; font-weight: 700; }
.theme-pixel .contact-split .cf-card-value { font-weight: 700; font-size: 1.1rem; }
.theme-pixel .contact-split .cf-social a { border-color: var(--color-line); color: var(--color-dark); }
.theme-pixel .contact-split .cf-form { background: #fff; border-radius: 28px; box-shadow: none; padding: clamp(1.5rem, 3.4vw, 2.5rem); }
.theme-pixel .cf-form-heading { color: var(--color-dark); }
.theme-pixel .cf-field span, .theme-pixel .cf-chips legend { font-size: .9rem; font-weight: 700; color: var(--color-dark); }
.theme-pixel .block-contact-form input:not([type=checkbox]):not([type=hidden]), .theme-pixel .block-contact-form textarea, .theme-pixel .block-contact-form select,
.theme-pixel .cf-field input, .theme-pixel .cf-field textarea {
  border: 1.5px solid color-mix(in srgb, var(--color-primary) 22%, #fff); border-radius: 12px; background: color-mix(in srgb, var(--color-primary) 3%, #fff); font: inherit; min-height: 52px;
}
.theme-pixel .block-contact-form input:focus, .theme-pixel .block-contact-form textarea:focus, .theme-pixel .cf-field input:focus, .theme-pixel .cf-field textarea:focus { outline: 3px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.theme-pixel .cf-chip span { border-color: color-mix(in srgb, var(--color-primary) 22%, #fff); border-radius: 12px; font-weight: 600; background: #fff; }
.theme-pixel .cf-chip input:checked + span { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }
.theme-pixel .cf-consent { font-size: .92rem; color: var(--px-muted); }
.theme-pixel .cf-consent input { accent-color: var(--color-primary); width: 20px; height: 20px; }
.theme-pixel .cf-submit { background: var(--color-dark); color: #fff; border-radius: 14px; }
.theme-pixel .cf-submit:hover { background: var(--color-primary); }
.theme-pixel .form-status-success { background: color-mix(in srgb, var(--color-highlight) 30%, #fff); color: var(--px-ink); border-radius: 12px; padding: .9rem 1rem; }
@media (max-width: 900px) { .theme-pixel .block-contact-form.contact-split { grid-template-columns: 1fr; } }

/* ---- Footer: light ---- */
.theme-pixel .site-footer-studio { background: #fff; color: var(--px-muted); padding: 0 var(--px-gutter) 2rem; }
.theme-pixel .sf-grid { padding: clamp(3rem, 5vw, 4rem) 0 2.5rem; }
.theme-pixel .sf-logo svg { height: 52px; width: auto; display: block; }
.theme-pixel .sf-tagline p { margin: 0; color: var(--px-muted); font-size: .95rem; }
.theme-pixel .sf-heading { color: var(--color-dark); font-weight: 800; font-size: 1rem; }
.theme-pixel .sf-col a, .theme-pixel .sf-social a { color: var(--color-primary); text-decoration: none; }
.theme-pixel .sf-col a:hover, .theme-pixel .sf-social a:hover { color: var(--color-dark); text-decoration: underline; }
.theme-pixel .sf-col span { color: var(--px-muted); }
.theme-pixel .sf-bottom { border-top: 1px solid var(--color-line); color: var(--px-muted); }
.theme-pixel .sf-bottom a { color: var(--px-muted); }
.theme-pixel .back-to-top { background: var(--color-dark); }

/* ---- Blog listing (Studio layout) ---- */
.theme-pixel .blog-studio { padding-top: 1rem; }
.theme-pixel .bs-pill { background: #fff; border: 0; border-radius: 12px; color: var(--color-dark); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.theme-pixel .bs-pill:hover { background: var(--px-soft); }
.theme-pixel .bs-pill.is-active { background: var(--color-dark); color: #fff; }
.theme-pixel .bs-search { background: #fff; border: 0; border-radius: 14px; }
.theme-pixel .bs-search .btn { border-radius: 10px; }
.theme-pixel .bs-featured { background: #fff; border-radius: 28px; box-shadow: none; }
.theme-pixel .bs-featured-media { background: var(--color-dark); }
.theme-pixel .bs-flag { background: var(--color-highlight); color: var(--px-ink); border-radius: 8px; }
.theme-pixel .bs-featured-title, .theme-pixel .bs-card-title { color: var(--color-dark); }
.theme-pixel .bs-featured-excerpt, .theme-pixel .bs-card-excerpt, .theme-pixel .bs-date { color: var(--px-muted); }
.theme-pixel .bs-arrow { background: var(--color-dark); border-radius: 12px; }
.theme-pixel .bs-featured:hover .bs-arrow, .theme-pixel .bs-card:hover .bs-arrow { background: var(--color-primary); }
.theme-pixel .bs-grid { gap: 1rem; }
.theme-pixel .bs-card { background: #fff; border-radius: 24px; overflow: hidden; padding-bottom: 1.5rem; gap: .6rem; }
.theme-pixel .bs-card > :not(.bs-card-media) { margin-left: 1.5rem; margin-right: 1.5rem; }
.theme-pixel .bs-card-media { border-radius: 0; background: var(--color-dark); }
.theme-pixel .bs-card-title { font-size: 1.3rem; line-height: 1.25; }
.theme-pixel .bs-card:hover .bs-card-title { color: var(--color-primary); }
.theme-pixel .bs-chip { border-radius: 8px; font-weight: 700; }
.theme-pixel .bs-spotlight { background: var(--color-dark); border-radius: 28px; }
.theme-pixel .bs-page { border: 0; background: #fff; border-radius: 12px; color: var(--color-dark); }
.theme-pixel .bs-page.is-active { background: var(--color-dark); color: #fff; }

/* ---- Blog post (Studio layout, made light) ---- */
.theme-pixel .ps-hero { background: transparent; color: var(--px-ink); padding: clamp(2rem, 4vw, 3rem) var(--px-gutter) 2.5rem; }
.theme-pixel .ps-hero h1 { color: var(--color-dark); font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: 1.05; letter-spacing: -.035em; }
.theme-pixel .ps-back { color: var(--px-muted); font-weight: 600; }
.theme-pixel .ps-back:hover { color: var(--color-dark); }
.theme-pixel .ps-standfirst { color: var(--px-muted); }
.theme-pixel .ps-meta { border-top-color: var(--color-line); }
.theme-pixel .ps-author { color: var(--color-dark); }
.theme-pixel .ps-when { color: var(--px-muted); }
.theme-pixel .ps-avatar { background: var(--color-dark); border-radius: 12px; }
.theme-pixel .ps-share { color: var(--px-muted); }
.theme-pixel .ps-share a, .theme-pixel .ps-share button { background: #fff; border: 0; color: var(--color-dark); border-radius: 12px; }
.theme-pixel .ps-share a:hover, .theme-pixel .ps-share button:hover, .theme-pixel .ps-copy.is-copied { background: var(--color-dark); color: #fff; }
.theme-pixel .ps-chip { border-radius: 8px; }
.theme-pixel .ps-image { margin-top: 0; padding: 0 var(--px-gutter); }
.theme-pixel .ps-image img { border-radius: 28px; box-shadow: none; aspect-ratio: 21 / 8; }
.theme-pixel .ps-image-none { margin-top: 0; }
.theme-pixel .ps-progress span { background: var(--color-primary); }
.theme-pixel .ps-inshort { background: #fff; }
.theme-pixel .ps-toc { background: var(--color-dark); border-radius: 24px; }
.theme-pixel .ps-toc-num { color: var(--color-highlight); }
.theme-pixel .ps-toc a { color: #fff; }
.theme-pixel .ps-toc a:hover { color: var(--color-highlight); }
.theme-pixel .post-card, .theme-pixel .bs-card, .theme-pixel .bs-featured, .theme-pixel .ps-rel-card { color: var(--px-ink); }
.theme-pixel .ps-body { color: #2C2838; }
.theme-pixel .ps-body h2, .theme-pixel .ps-body h3 { color: var(--color-dark); }
.theme-pixel .ps-body li::marker { color: var(--color-primary); }
.theme-pixel .ps-body blockquote { color: var(--color-dark); }
.theme-pixel .ps-cta { background: var(--color-dark); border-radius: 24px; }
.theme-pixel .ps-cta-btn { background: var(--color-highlight); color: var(--px-ink); border-radius: 12px; }
.theme-pixel .ps-after { border-color: var(--color-line); }
.theme-pixel .ps-related { background: #fff; }
.theme-pixel .ps-rel-card { background: var(--color-background); border-radius: 24px; }
.theme-pixel .ps-rel-media { background: var(--color-dark); }
.theme-pixel .ps-rel-title { color: var(--color-dark); }

/* ---- Not found ---- */
.theme-pixel .not-found { padding: 6rem var(--px-gutter); }

/* ---- Small screens ---- */
@media (max-width: 900px) {
  .theme-pixel .site-header { margin: 12px 12px 0; top: 8px; padding: .55rem .6rem .55rem 1rem; }
  .theme-pixel .site-header .logo svg { height: 40px; }
  .theme-pixel .site-header > .header-cta { display: none; }
  .theme-pixel .main-nav {
    background: #fff; border-top: 0; border-radius: 20px; box-shadow: 0 24px 50px -16px rgba(16, 58, 99, .3);
    left: 12px; right: 12px; margin-top: 8px;
  }
  .theme-pixel .main-nav > a, .theme-pixel .main-nav .nav-parent-link { color: var(--color-dark); border-bottom-color: var(--color-line); border-radius: 0; font-size: 1.15rem; padding: 1rem 1.4rem; }
  .theme-pixel .nav-item-has-children > .nav-parent-link::after { background-color: var(--px-soft) !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23103A63' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: center !important; }
  .theme-pixel .nav-item-has-children.mega-menu-open > .nav-parent-link { color: var(--color-primary); }
  .theme-pixel .main-nav .mega-menu { background: var(--color-background); border-bottom-color: var(--color-line); }
  .theme-pixel .main-nav .mega-menu-item, .theme-pixel .main-nav .mega-menu-item:first-child { color: var(--color-dark); }
  .theme-pixel .main-nav .mega-menu-item:hover { background: var(--px-soft); color: var(--color-dark); }
  .theme-pixel .main-nav .header-cta-mobile { background: var(--color-primary); color: #fff; border-radius: 14px; }
  .theme-pixel .main-nav .nav-mobile-phone { color: var(--color-dark); }
}
@media (max-width: 720px) {
  .theme-pixel main > .block, .theme-pixel .block { padding: 3rem 1.25rem; }
  .theme-pixel .block-hero-slider { padding: 2rem 1.25rem 2.5rem; }
  .theme-pixel .hero-slide { min-height: 0; }
  .theme-pixel .hero-slider-pause { margin-left: 0; }
  .theme-pixel .block-cta-scroller:not(.cta-photo-band) { margin: 1rem 1.25rem 3rem; border-radius: 24px; }
  .theme-pixel .block-cta-scroller:not(.cta-photo-band)::after { display: none; }
  .theme-pixel .block-banner.block-banner-bold { padding: 2rem 1.25rem; }
  .theme-pixel .ps-image { padding: 0 1.25rem; }
  .theme-pixel .ps-image img { aspect-ratio: 16 / 9; border-radius: 20px; }
}
