/* ==========================================================================
   BlockWire design options (branch design/hero-options). Loaded after style.css.
   Homepage heroes .hero-a … .hero-e, homepage layouts .body-1 … .body-3 (both only
   with .is-home), other-page heroes .ph-1 … .ph-3 on every .bw-ph block.
   Motif: the logo's isometric block, and wires between blocks ("most connected").
   Brand blue #0066FF fills only; blue TEXT on black uses --on-dark #66A3FF (8.25:1).
   ========================================================================== */
main { overflow-x: clip; }

/* ── shared hero stage ───────────────────────────────────────────────────── */
.hero-x { position: relative; overflow: hidden; isolation: isolate; background: #000; display: flex; align-items: center;
  min-height: clamp(540px, 84vh, 860px); padding: clamp(4.5rem, 10vw, 7rem) 0 clamp(4rem, 8vw, 6rem); }
.hero-x > .wrap { position: relative; z-index: 2; flex: none; }
.hero-x .statement { text-wrap: balance; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; text-align: left; }
.hero-split .tagline { margin-left: 0; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; }
  .hero-split .tagline { margin-left: auto; }
}

/* A · Network: canvas of linked blocks with pulses running the wires */
.hero-net .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-net::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,0) 80%); }

/* B · The block: the logo's cube assembles from 27 blocks, light runs through it */
.cube-stage { display: flex; justify-content: center; }
.cube-svg { width: 100%; max-width: 560px; height: auto; overflow: visible; }
.cube-svg .f-t { fill: #1C222B; } .cube-svg .f-l { fill: #0B0D11; } .cube-svg .f-r { fill: #13171E; }
.cube-svg polygon { stroke: #2C3440; stroke-width: 1; stroke-linejoin: round; }
.cube-svg .blk { animation: bw-drop .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 45ms); }
.cube-svg .f-t { animation: bw-glow 7s ease-in-out infinite; animation-delay: calc(1.8s + var(--w) * .38s); }
.cube-svg .wires path { fill: none; stroke: #26303C; stroke-width: 1.5; }
.cube-svg .wires-pulse path { stroke: #3D8BFF; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 26 220; animation: bw-wire 3.2s linear infinite; }
.cube-svg .wires-pulse path:nth-child(2n) { animation-delay: -1.1s; } .cube-svg .wires-pulse path:nth-child(3n) { animation-delay: -2.2s; }
@keyframes bw-drop { from { opacity: 0; transform: translateY(-70px); } to { opacity: 1; transform: none; } }
@keyframes bw-glow { 0%, 62%, 100% { fill: #1C222B; } 8% { fill: #0066FF; } 22% { fill: #173B78; } }
@keyframes bw-wire { from { stroke-dashoffset: 246; } to { stroke-dashoffset: 0; } }
@media (max-width: 900px) { .cube-svg { max-width: 340px; } }

/* D · Creator wall: the network's own faces, three columns drifting */
.hero-wall .wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; height: clamp(420px, 66vh, 620px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.wall-track { display: flex; flex-direction: column; gap: 14px; animation: bw-up 46s linear infinite; }
.wall-col-1 .wall-track { animation-name: bw-down; animation-duration: 54s; }
.wall-col-2 .wall-track { animation-duration: 40s; }
.wall figure { position: relative; margin: 0; }
.wall img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; filter: grayscale(.35) contrast(1.05); }
.wall figcaption { position: absolute; left: 8px; bottom: 8px; right: 8px; font-size: .78rem; font-weight: 600; color: #fff; background: rgba(0,0,0,.78);
  padding: .25rem .5rem; border-radius: 4px; border-left: 3px solid #0066FF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes bw-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
@keyframes bw-down { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }
@media (max-width: 900px) { .hero-wall .wall { height: 300px; } .wall figcaption { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .cube-svg .blk, .cube-svg .f-t, .cube-svg .wires-pulse path, .wall-track { animation: none; }
}

/* Services grid (every layout): 3 x 2 cards, line icon on a blue block, number, all copy,
   sub-services as chips, a link row that reads as the card's footer. The whole card is the
   link target (stretched ::after on the link), hover draws a blue wire across the top. */
.sec-services .section-head { max-width: 760px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; list-style: none; margin: 2.4rem 0 0; padding: 0; counter-reset: none; }
.svc-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.7rem 1.6rem 0; box-shadow: 0 1px 2px rgba(10,10,10,.04); transition: border-color .2s, box-shadow .2s, transform .2s; }
.svc-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #0066FF, #66A3FF); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.svc-card:hover, .svc-card:focus-within { border-color: #BFD5FF; box-shadow: 0 2px 4px rgba(10,10,10,.04), 0 24px 48px rgba(0,60,160,.12); transform: translateY(-3px); }
.svc-card:hover::before, .svc-card:focus-within::before { transform: scaleX(1); }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.3rem; }
.svc-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #3D8BFF, #0052CC); box-shadow: 0 8px 18px rgba(0,82,204,.28); }
.svc-num { font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px #C9D3E0; }
.svc-card h3 { font-size: 1.28rem; line-height: 1.25; margin: 0 0 .7rem; }
.svc-card > p { color: var(--body); font-size: .95rem; line-height: 1.65; margin: 0 0 1.2rem; }
.svc-tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.svc-tags li { font-size: .78rem; font-weight: 500; color: var(--accent-ink-dark); background: var(--accent-tint); border-radius: 999px; padding: .22rem .7rem; }
.svc-card .svc-more { margin: auto -1.6rem 0; padding: 1rem 1.6rem; border-top: 1px solid var(--line); font-weight: 700; font-size: .95rem; }
.svc-card .svc-more a { color: var(--accent-ink); text-decoration: none; }
.svc-card .svc-more a::after { content: ""; position: absolute; inset: 0; }
.svc-card .svc-more span { display: inline-block; transition: transform .2s; }
.svc-card:hover .svc-more span { transform: translateX(4px); }
.svc-card .svc-more a:focus-visible { outline: none; }
.svc-card:has(.svc-more a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .svc-grid { grid-template-columns: 1fr; gap: 1rem; } .svc-card { padding: 1.4rem 1.3rem 0; } .svc-card .svc-more { margin-inline: -1.3rem; padding-inline: 1.3rem; } .svc-num { font-size: 2rem; } }

/* ── other pages: hero band on every .bw-ph (ph-2 wires, ph-3 blocks) ───────── */
.ph-2 .bw-ph, .ph-3 .bw-ph { position: relative; isolation: isolate; color: var(--muted-on-dark); }
.ph-2 .bw-page-head, .ph-3 .bw-page-head { padding-top: clamp(2.8rem, 6vw, 4.6rem); padding-bottom: clamp(2.8rem, 6vw, 4.6rem); }
.ph-2 .bw-ph::before, .ph-3 .bw-ph::before,
.ph-2 main:has(.bw-ph) > .wrap:first-child::before, .ph-3 main:has(.bw-ph) > .wrap:first-child::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; background: #000; }
.ph-2 main:has(.bw-ph) > .wrap:first-child, .ph-3 main:has(.bw-ph) > .wrap:first-child { position: relative; isolation: isolate; }
.ph-2 main:has(.bw-ph) > .wrap:first-child .breadcrumb, .ph-3 main:has(.bw-ph) > .wrap:first-child .breadcrumb,
.ph-2 main:has(.bw-ph) > .wrap:first-child .breadcrumb a, .ph-3 main:has(.bw-ph) > .wrap:first-child .breadcrumb a { color: var(--muted-on-dark); }
.ph-2 main:has(.bw-ph) > .wrap:first-child .breadcrumb li::after, .ph-3 main:has(.bw-ph) > .wrap:first-child .breadcrumb li::after { color: #4A5059; }
.ph-3 main:has(.bw-ph) > .wrap:first-child::before { background: #05070B; }
.ph-2 .bw-ph h1, .ph-3 .bw-ph h1 { color: #fff; }
.ph-2 .bw-ph h1.accent, .ph-3 .bw-ph h1.accent { color: var(--on-dark); }
.ph-2 .bw-ph .lede, .ph-3 .bw-ph .lede, .ph-2 .bw-ph p, .ph-3 .bw-ph p { color: var(--muted-on-dark); }
.ph-2 .bw-ph .sectors, .ph-3 .bw-ph .sectors { color: #fff; }
.ph-2 .bw-ph .eyebrow, .ph-3 .bw-ph .eyebrow { color: var(--on-dark); }
.ph-2 .bw-ph a:not(.btn), .ph-3 .bw-ph a:not(.btn) { color: var(--on-dark); }
.ph-2 .bw-ph .btn-line, .ph-3 .bw-ph .btn-line { color: #fff; border-color: #fff; }
.ph-2 .bw-ph .btn-line:hover, .ph-3 .bw-ph .btn-line:hover { background: #fff; color: #000; }
.ph-2 .bw-ph .form-card, .ph-3 .bw-ph .form-card { color: var(--body); }
.ph-2 .bw-ph .form-card p, .ph-3 .bw-ph .form-card p { color: var(--muted); }
.ph-2 .bw-ph .form-card a, .ph-3 .bw-ph .form-card a { color: var(--accent-ink); }
.ph-2 .bw-ph .form-card h2, .ph-3 .bw-ph .form-card h2 { color: var(--ink); }
/* creator profile head on dark */
.ph-2 .ph-profile .profile-brand, .ph-3 .ph-profile .profile-brand { color: var(--muted-on-dark); }
.ph-2 .ph-profile .social-list a, .ph-3 .ph-profile .social-list a { color: #fff; }
.ph-2 .ph-profile .social-list .s-count, .ph-3 .ph-profile .social-list .s-count { color: var(--muted-on-dark); }
.ph-2 .ph-profile .profile-photo img, .ph-3 .ph-profile .profile-photo img { box-shadow: 0 0 0 1px #22262C, 0 30px 60px rgba(0,102,255,.18); }

/* ph-2 · wire band: blocks joined by wires on the right, pulses running them */
.ph-2 .bw-ph::before { background: linear-gradient(90deg, #000 0%, #000 34%, rgba(0,0,0,.25) 72%, rgba(0,0,0,0) 100%), url(/images/design/wires.svg) right center / auto 100% no-repeat, #000; }
@media (max-width: 900px) { .ph-2 .bw-ph::before { background: linear-gradient(180deg, rgba(0,0,0,.62), rgba(0,0,0,.9)), url(/images/design/wires.svg) right top / auto 100% no-repeat, #000; } }
@media (prefers-reduced-motion: reduce) {
  .ph-2 .bw-ph::before { background-image: linear-gradient(90deg, #000 0%, #000 34%, rgba(0,0,0,.25) 72%, rgba(0,0,0,0) 100%), url(/images/design/wires-static.svg); }
}

/* keep the badge's own ink on dark; the contact lede carries an inline grey */
.ph-2 .ph-profile .profile-badge, .ph-3 .ph-profile .profile-badge { color: var(--accent-ink-dark); background: var(--accent-tint); }
.ph-2 .ph-contact .lede, .ph-3 .ph-contact .lede { color: var(--muted-on-dark) !important; }
/* services head: heading left, intro right on desktop; grid on a soft ground in light layouts */
@media (min-width: 981px) {
  .sec-services .section-head { max-width: none; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 3rem; align-items: end; }
  .sec-services .section-head h2 { grid-row: span 2; margin: 0; font-size: clamp(2.2rem, 3.6vw, 3rem); }
  .sec-services .section-head p { margin: 0 0 .4rem; }
}
.sec-services > .wrap > .mt-2:last-child { text-align: center; margin-top: 2.4rem; }
.is-home:not(.body-3) .sec-services { background: linear-gradient(180deg, var(--surface), #fff 85%); }
.is-home.body-1 .sec-services + .sec-cases { background: var(--white); border-top: 1px solid var(--line); }

/* /creator-network/ hero: the creator wall beside the page intro, on black; breadcrumb joins the band */
.cn-hero { min-height: 0; padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem); }
.cn-hero .hero-copy { max-width: 600px; }
.cn-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.cn-hero .lede { color: #fff; font-size: 1.2rem; line-height: 1.5; margin: 0 0 1rem; }
.cn-hero p { color: var(--muted-on-dark); margin: 0 0 1.8rem; }
.cn-hero a:not(.btn) { color: var(--on-dark); }
.cn-hero .wall { height: clamp(440px, 62vh, 580px); }
main:has(.cn-hero) > .wrap:first-child { position: relative; isolation: isolate; }
main:has(.cn-hero) > .wrap:first-child::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; background: #000; }
main:has(.cn-hero) > .wrap:first-child .breadcrumb, main:has(.cn-hero) > .wrap:first-child .breadcrumb a { color: var(--muted-on-dark); }
main:has(.cn-hero) > .wrap:first-child .breadcrumb li::after { color: #4A5059; }
.cn-hero + .section { padding-top: clamp(2.5rem, 5vw, 4rem) !important; }
@media (max-width: 900px) { .cn-hero .hero-copy { max-width: none; } .cn-hero .wall { height: 300px; } }

/* ── service pages (design pass) ─────────────────────────────────────────── */
/* hero: copy left, the service's block art right (includes/service_art.php) */
.svc-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.svch .lede { max-width: 64ch; font-size: 1.08rem; line-height: 1.7; }
.svch .lede:first-of-type { font-size: 1.2rem; }
.svch .eyebrow { display: inline-flex; align-items: center; gap: .55rem; }
.svc-head-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #fff; background: linear-gradient(145deg, #3D8BFF, #0052CC); }
.svch .btn { margin-top: .8rem; }
.ph-3 .svch::after { display: none; }
@media (max-width: 980px) {
  .svc-head-grid { grid-template-columns: 1fr; }
}

/* what's included: icon + copy left, items as tiles */
.svc-incl-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; color: #fff; background: linear-gradient(145deg, #3D8BFF, #0052CC); box-shadow: 0 10px 24px rgba(0,82,204,.25); margin-bottom: 1.2rem; }
.svc-included { align-items: center; }
ul.svc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; padding: 0; background: none; border: 0; }
ul.svc-tiles li { margin: 0; padding: .85rem 1rem .85rem 2.7rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--ink); line-height: 1.35; box-shadow: 0 1px 2px rgba(10,10,10,.04); }
ul.svc-tiles li:last-child { border-bottom: 1px solid var(--line); }
ul.svc-tiles li::before { left: 1rem !important; top: 50% !important; transform: translateY(-75%) rotate(-45deg); }
@media (max-width: 560px) { ul.svc-tiles { grid-template-columns: 1fr; } }

/* body: sticky "On this page" beside the text, bullets as cards */
.svc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.svc-toc { position: sticky; top: 104px; }
.svc-toc-h { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; }
.svc-toc ol { list-style: none; margin: 0 0 1.4rem; padding: 0; border-left: 2px solid var(--line); counter-reset: toc; }
.svc-toc li { counter-increment: toc; }
.svc-toc nav a { position: relative; display: block; padding: .5rem 0 .5rem 1rem; margin-left: -2px; border-left: 2px solid transparent; font-size: .92rem; line-height: 1.35; color: var(--body); text-decoration: none; }
.svc-toc nav a:hover, .svc-toc nav a:focus-visible, .svc-toc nav a.is-current { color: var(--accent-ink); border-left-color: var(--accent); }
.svc-toc-cta { width: 100%; text-align: center; }
.svc-body { max-width: 760px; }
.svc-body h2 { scroll-margin-top: 100px; padding-top: 2.4rem; margin-top: 2.4rem; border-top: 1px solid var(--line); }
.svc-body h2:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.svc-body > p { font-size: 1.04rem; line-height: 1.75; }
ul.svc-points { display: grid; gap: .6rem; list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; }
ul.svc-points li { position: relative; margin: 0; padding: .9rem 1.1rem .9rem 3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; line-height: 1.55; }
ul.svc-points li::before { content: ""; position: absolute; left: 1.1rem; top: 1.15rem; width: 18px; height: 18px; border-radius: 5px;
  background: #0066FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.6 2.5L12 5.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 1080px) { .svc-layout { grid-template-columns: 1fr; } .svc-toc { position: static; } .svc-toc-cta { display: none; } .svc-toc ol { margin-bottom: 0; } }

/* coverage strip: real campaign images from the proof case studies */
.svc-coverage { background: #000; padding: clamp(2.6rem, 5vw, 4rem) 0; }
.cov-grid { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cov-grid.cov-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cov-grid.cov-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cov-grid a { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #111418; border: 1px solid #22262C; text-decoration: none; }
.cov-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; transition: transform .5s ease, opacity .3s; opacity: .92; }
.cov-grid a:hover img, .cov-grid a:focus-visible img { transform: scale(1.04); opacity: 1; }
.cov-cap { position: absolute; left: 10px; bottom: 10px; font-size: .82rem; font-weight: 700; color: #fff; background: rgba(0,0,0,.82); border-left: 3px solid #0066FF; padding: .3rem .6rem; border-radius: 4px; }
@media (max-width: 860px) { .cov-grid, .cov-grid.cov-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* more services: icon cards in one row */
.svc-more-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.svc-more-grid a { padding: 1.3rem 1.2rem; }
.svc-more-grid a:hover { transform: translateY(-2px); }
.svc-more-grid .ms-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #3D8BFF, #0052CC); margin-bottom: .9rem; }
@media (max-width: 1100px) { .svc-more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .svc-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .svc-more-grid { grid-template-columns: 1fr; } }

/* services hub: the homepage card grid; the H3 link is stretched over the card */
.hub-grid { margin-top: 2rem; }
.hub-grid .svc-card h3 a { color: var(--ink); text-decoration: none; }
.hub-grid .svc-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.hub-grid .svc-card:hover h3 a { color: var(--accent-ink); }
.hub-grid .svc-card h3 a:focus-visible { outline: none; }
.hub-grid .svc-card:has(h3 a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.hub-grid .svc-more-l { color: var(--accent-ink); }
.hub-grid .svc-more-l span { display: inline-block; transition: transform .2s; }
.hub-grid .svc-card:hover .svc-more-l span { transform: translateX(4px); }

/* ==========================================================================
   SITE THEMES. Only the brand's black, white and blue. Chosen 2026-11-19: Blueprint
   (.th-2) on /services/ pages, Ink & Blue (.th-3) everywhere else (includes/design.php).
   A "dark scope" re-points the colour tokens for everything inside it, so the
   existing components (cards, FAQ, forms, chips) turn dark without new markup.
   ========================================================================== */

/* ── 2 · Blueprint: pale blue bands with a faint grid, blue accents everywhere ── */
.th-2 .section-alt, .th-2 .logo-strip, .th-2 .is-home .sec-services {
  background: linear-gradient(rgba(0,102,255,.045) 1px, transparent 1px) 0 0 / 32px 32px,
              linear-gradient(90deg, rgba(0,102,255,.045) 1px, transparent 1px) 0 0 / 32px 32px, #F3F7FF; }
.th-2 .section-alt, .th-2 .logo-strip { border-top: 1px solid #DCE7FB; border-bottom: 1px solid #DCE7FB; }
.th-2 main .section-head h2::before, .th-2 main .bw-intro h1::before, .th-2 .faq-wrap-h::before,
.th-2 main section > .wrap > h2:first-child::before {
  content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; margin-bottom: 1rem; background: linear-gradient(90deg, #0066FF, #66A3FF); }
.th-2 .bw-intro h1::before { margin-inline: auto; }
.th-2 .creator-card, .th-2 .case-card, .th-2 .partner-card, .th-2 .svc-card, .th-2 .svc-links a, .th-2 .form-card {
  border-top: 3px solid #0066FF; }
.th-2 .creator-card:hover, .th-2 .case-card:hover { box-shadow: 0 24px 50px rgba(0,82,204,.16); }
.th-2 .faq details[open] { border-left: 3px solid #0066FF; padding-left: 1rem; margin-left: -1rem; background: linear-gradient(90deg, #F3F7FF, transparent 60%); }
.th-2 .btn-accent { background: linear-gradient(135deg, #0066FF, #0046B0); box-shadow: 0 8px 20px rgba(0,82,204,.28); }
.th-2 .btn-accent:hover { background: linear-gradient(135deg, #0052CC, #003A94); }
.th-2 .cta-banner { background: radial-gradient(ellipse at 85% 0%, rgba(102,163,255,.35), transparent 55%), linear-gradient(120deg, #0046B0, #0052CC 60%, #003A94); }
.th-2 .cta-banner p { color: #E3EDFF; }
.th-2 .cta-banner .btn-accent { background: #fff; color: #0046B0; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.th-2 .breadcrumb a { color: var(--accent-ink); }
.th-2 .svc-points li { background: #F3F7FF; border-color: #DCE7FB; }

/* ── dark scope: shared by theme 3 (grey bands) and theme 4 (whole page body) ── */
.th-3 main .section-alt, .th-4 main {
  --white: #0E1116; --surface: #0B0D11; --surface-2: #14181E; --warm: #0B0D11;
  --ink: #F3F5F8; --body: #C9CED6; --muted: #AEB5BF; --line: #252A32;
  --accent-ink: #66A3FF; --accent-ink-dark: #CFE0FF; --accent-tint: #15243F;
  color: var(--body); }
.th-3 main .section-alt { background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(0,102,255,.16), transparent 60%), #05070A; border-top: 1px solid #14181E; }
.th-4 main { background: #05070A; }
.th-4 main .section { background: #05070A; }
.th-4 main .section-alt { background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(0,102,255,.14), transparent 60%), #0A0D12; border-top: 1px solid #14181E; border-bottom: 1px solid #14181E; }
/* things that used --white as TEXT on dark grounds keep real white */
.th-3 main .section-alt h1, .th-3 main .section-alt h2, .th-3 main .section-alt h3,
.th-4 main h1, .th-4 main h2, .th-4 main h3 { color: #fff; }
.th-4 main .band-dark h2, .th-4 main .bw-hero .statement, .th-4 main .bw-hero .tagline { color: #fff; }
.th-4 main .sector-tile span { color: #fff; }
/* cards and tiles inside the dark scope */
.th-3 main .section-alt .creator-card img, .th-4 main .creator-card img { filter: grayscale(1) brightness(.92); }
.th-3 main .section-alt .creator-card:hover img, .th-4 main .creator-card:hover img { filter: none; }
.th-3 main .section-alt .creator-card, .th-3 main .section-alt .case-card, .th-3 main .section-alt .partner-card, .th-3 main .section-alt .svc-card, .th-3 main .section-alt .svc-links a,
.th-4 main .creator-card, .th-4 main .case-card, .th-4 main .partner-card, .th-4 main .svc-card, .th-4 main .svc-links a, .th-4 main .svc-tiles li, .th-4 main .svc-checklist {
  background: #0E1116; border-color: #232830; box-shadow: none; }
.th-3 main .section-alt .case-card:hover, .th-3 main .section-alt .creator-card:hover, .th-3 main .section-alt .svc-card:hover,
.th-4 main .case-card:hover, .th-4 main .creator-card:hover, .th-4 main .svc-card:hover { border-color: #2E4F86; box-shadow: 0 24px 60px rgba(0,102,255,.18); }
.th-3 main .section-alt .svc-num, .th-4 main .svc-num { -webkit-text-stroke-color: #3A424E; }
.th-3 main .section-alt .btn-line, .th-4 main .btn-line { color: #fff; border-color: rgba(255,255,255,.8); }
.th-3 main .section-alt .btn-line:hover, .th-4 main .btn-line:hover { background: #fff; color: #000; border-color: #fff; }
.th-4 main .svc-points li { background: #0E1116; border-color: #232830; }
.th-4 main .logo-strip { background: #fff; --ink: #0A0A0A; --muted: #5A6068; --line: #E3E6EA; }
.th-4 main .logo-strip h2 { color: #5A6068; }
.th-4 main .form-card { --white: #ffffff; --ink: #0A0A0A; --body: #2B2F33; --muted: #5A6068; --line: #E3E6EA; --accent-ink: #0057DB; background: #fff; color: var(--body); }
.th-4 main .form-card h2 { color: #0A0A0A; }
.th-4 main .breadcrumb, .th-4 main .breadcrumb a { color: var(--muted); }
.th-4 main .svc-coverage { background: #000; border-block: 1px solid #14181E; }

/* the footer CTA band goes brand blue in themes 3 and 4 */
.th-3 .cta-banner, .th-4 .cta-banner { background: radial-gradient(ellipse at 90% 0%, rgba(102,163,255,.35), transparent 55%), linear-gradient(120deg, #0046B0, #0052CC 60%, #003A94); }
.th-3 .cta-banner p, .th-4 .cta-banner p { color: #E3EDFF; }
.th-3 .cta-banner .btn-accent, .th-4 .cta-banner .btn-accent { background: #fff; color: #0046B0; }
.th-4.is-home .sec-services, .th-4 .is-home .sec-services { background: radial-gradient(ellipse 50% 60% at 0% 0%, rgba(0,102,255,.12), transparent 60%), #05070A; }
.th-4.is-home.body-1 .sec-services + .sec-cases { border-top-color: #14181E; }
.th-2.is-home .sec-services { background: linear-gradient(rgba(0,102,255,.045) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(0,102,255,.045) 1px, transparent 1px) 0 0 / 32px 32px, #F3F7FF; }

/* Ink & Blue: texture on the black bands, from the hero motifs (static, no motion).
   The block grid (some tops lit blue) fades in from two opposite corners of every band
   (top-right and bottom-left); a blue hairline runs along the top edge with a soft glow
   under it. The footer gets the same two-corner grid on every page. */
.th-3 main .section-alt, .th-3 main .band-dark, .site-footer { position: relative; isolation: isolate; overflow: hidden; }
.th-3 main .section-alt::before, .th-3 main .band-dark::before, .site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/images/design/blocks-accent.svg) 0 0 / 415.68px 360px repeat; opacity: .85;
  -webkit-mask-image: radial-gradient(ellipse 45% 75% at 100% 0%, #000 0%, rgba(0,0,0,.45) 40%, transparent 75%), radial-gradient(ellipse 45% 75% at 0% 100%, #000 0%, rgba(0,0,0,.45) 40%, transparent 75%); mask-image: radial-gradient(ellipse 45% 75% at 100% 0%, #000 0%, rgba(0,0,0,.45) 40%, transparent 75%), radial-gradient(ellipse 45% 75% at 0% 100%, #000 0%, rgba(0,0,0,.45) 40%, transparent 75%); }
.site-footer::before { opacity: .7; }
.th-3 main .section-alt::after, .th-3 main .band-dark::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(61,139,255,.85) 50%, transparent) top / 100% 1px no-repeat,
              radial-gradient(ellipse 40% 100% at 50% 0%, rgba(0,102,255,.16), transparent 70%); }
.th-3 main .band-dark { background: radial-gradient(ellipse 50% 70% at 0% 100%, rgba(0,102,255,.14), transparent 65%), #000; }
@media (max-width: 680px) {
  .th-3 main .section-alt::before, .th-3 main .band-dark::before, .site-footer::before { -webkit-mask-image: radial-gradient(ellipse 80% 30% at 100% 0%, #000, transparent 75%), radial-gradient(ellipse 80% 30% at 0% 100%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 30% at 100% 0%, #000, transparent 75%), radial-gradient(ellipse 80% 30% at 0% 100%, #000, transparent 75%); }
}

/* ── service hero art (includes/service_art.php): the BW cube's blocks, a different
   arrangement per service; shares hero B's .cube-svg rules (drop-in + light wave). ── */
.svc-art-wrap { display: flex; justify-content: center; }
.svc-cube { width: 100%; max-width: 560px; }
.svc-cube .wires-pulse path { stroke-dasharray: 26 360; animation-name: bw-wire-long; }
@keyframes bw-wire-long { from { stroke-dashoffset: 386; } to { stroke-dashoffset: 0; } }
@media (max-width: 980px) { .svc-cube { max-width: 380px; } }
.ph-1 .svc-art-wrap { background: #05070A; border-radius: 16px; padding: 1rem; }

/* homepage services head: centred, one line under it */
.sec-services .section-head { text-align: center; max-width: 680px; margin-inline: auto; }
@media (min-width: 981px) {
  .sec-services .section-head { display: block; max-width: 680px; }
  .sec-services .section-head h2 { margin: 0 0 .6rem; }
  .sec-services .section-head p { margin: 0 auto; }
}
.sec-services .section-head p { font-size: 1.1rem; }
.band-dark .section-head p { color: var(--muted-on-dark); }
/* Ink & Blue homepage: services is the black band (texture, dark cards); channel is white */
.th-3.is-home .sec-services.section-alt { background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(0,102,255,.16), transparent 60%), #05070A; border-top: 1px solid #14181E; }
.th-3.is-home .sec-services.section-alt .section-head p { color: var(--muted-on-dark); }
.th-3.is-home .sec-channel { background: var(--white); border-top: 1px solid var(--line); }
.th-3.is-home .sec-channel .section-head p { color: var(--muted); }

/* ── Homepage creator network: one scrollable row of larger cards (two rows on phones) ── */
.creator-rail { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 272px;
  gap: 1.4rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
  padding: 4px 2px 1.1rem; scrollbar-width: thin; scrollbar-color: rgba(102,163,255,.55) transparent; }
.creator-rail > li { scroll-snap-align: start; }
.creator-rail .creator-card:hover { transform: none; }
.creator-rail::-webkit-scrollbar { height: 6px; }
.creator-rail::-webkit-scrollbar-thumb { background: rgba(102,163,255,.55); border-radius: 3px; }
.rail-nav { display: flex; justify-content: flex-end; gap: .5rem; flex: none; }
.section-head.has-rail-nav { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; max-width: none; }
.rail-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: border-color .15s, background .15s; }
.rail-nav button:hover:not(:disabled) { border-color: var(--accent); }
.rail-nav button:disabled { opacity: .35; cursor: default; }
.th-3 main .section-alt .rail-nav button { background: transparent; border-color: #2E4F86; color: #fff; }
@media (max-width: 720px) {
  .creator-rail { grid-template-rows: repeat(2, auto); grid-auto-columns: 46vw; gap: .8rem; }
  .rail-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { .creator-rail { scroll-behavior: auto; } }

/* ── Homepage services band: light cards with a touch of brand blue on the black band ── */
.th-3.is-home main .sec-services.section-alt .svc-card {
  --white: #ffffff; --ink: #0A0A0A; --body: #2B2F33; --muted: #5A6068; --line: #DCE7FB; --accent-ink: #0057DB; --accent-ink-dark: #0046B0; --accent-tint: #E6EFFF;
  color: var(--body); border-color: #CFE0FF;
  background: radial-gradient(ellipse 90% 70% at 100% 0%, rgba(0,102,255,.10), transparent 60%), linear-gradient(180deg, #F5F9FF, #ffffff 55%);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px rgba(0,0,0,.35); }
.th-3.is-home main .sec-services.section-alt .svc-card h3 { color: #0A0A0A; }
.th-3.is-home main .sec-services.section-alt .svc-card::before { transform: scaleX(1); opacity: .9; }
.th-3.is-home main .sec-services.section-alt .svc-card .svc-more { background: #EEF4FF; border-top-color: #DCE7FB; }
.th-3.is-home main .sec-services.section-alt .svc-card .svc-num { -webkit-text-stroke-color: #BFD5FF; }
.th-3.is-home main .sec-services.section-alt .svc-card:hover { border-color: #66A3FF; box-shadow: 0 24px 60px rgba(0,102,255,.35); }
/* creator profiles: "Meet the rest of our partners" sits on plain white, split from the profile by a hairline */
.sec-rest { border-top: 1px solid var(--line); }
.sec-rest { position: relative; isolation: isolate; overflow: hidden; border-top: 0;
  background: radial-gradient(ellipse 50% 70% at 0% 100%, rgba(0,102,255,.06), transparent 65%), #fff; }
/* white twin of the black-band texture: light block grid fading in from top-right and bottom-left */
.sec-rest::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url(/images/design/blocks-light.svg) 0 0 / 415.68px 360px repeat;
  -webkit-mask-image: radial-gradient(ellipse 45% 75% at 100% 0%, #000 0%, rgba(0,0,0,.45) 40%, transparent 75%), radial-gradient(ellipse 45% 75% at 0% 100%, #000 0%, rgba(0,0,0,.45) 40%, transparent 75%);
          mask-image: radial-gradient(ellipse 45% 75% at 100% 0%, #000 0%, rgba(0,0,0,.45) 40%, transparent 75%), radial-gradient(ellipse 45% 75% at 0% 100%, #000 0%, rgba(0,0,0,.45) 40%, transparent 75%); }
.sec-rest::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0,102,255,.55) 50%, transparent) top / 100% 1px no-repeat,
              radial-gradient(ellipse 40% 100% at 50% 0%, rgba(0,102,255,.07), transparent 70%); }
@media (max-width: 680px) {
  .sec-rest::before { -webkit-mask-image: radial-gradient(ellipse 80% 30% at 100% 0%, #000, transparent 75%), radial-gradient(ellipse 80% 30% at 0% 100%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 30% at 100% 0%, #000, transparent 75%), radial-gradient(ellipse 80% 30% at 0% 100%, #000, transparent 75%); }
}
/* creator profiles: photos in full colour (profile photo and the partner rail); elsewhere they stay greyscale */
.ph-profile .profile-photo img, .sec-rest .creator-card img { filter: none; }
