/* Consistency standards (Scott, 22 November 2026), from the site consistency check: loaded after every other stylesheet. */

/* A1: the blog's closing box uses the standard Pink and outline buttons. */
.bcta__btn { border-radius: var(--r); min-height: 48px; padding: 12px 22px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.bcta__btn--book { background: var(--pink); color: var(--white) !important; box-shadow: none; }
.bcta__btn--msg { background: transparent; color: var(--white) !important; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .16); }
.bcta__btn--msg:hover { background: transparent; color: var(--white) !important; box-shadow: inset 0 0 0 2px var(--white); }

/* A2: person card buttons at the standard size. */
.pc--compact .pc__ctas .btn { padding: 12px 22px; font-size: 15px; }

/* A3: form send buttons at the standard weight and width. */
.sf__send { font-weight: 600; }
.c-form .sf__send { padding-inline: 22px; }

/* A4: "Back to Insights" at the end of a post: the outline button in navy. */
.b-end__back .btn--base { background: transparent; color: var(--base) !important; border-color: var(--base); text-decoration: none !important; }
.b-end__back .btn--base::after { display: none; }
.b-end__back .btn--base:hover { background: var(--base); color: var(--white) !important; }

/* A5: every button 48px tall: the Insights search box and its button. */
.b-search input { padding-block: 12px; }
.b-search .btn { min-height: 48px; }

/* B3: two card title styles. Feature cards: Lexia Ad 27px. Small cards and lists: Montserrat 20px semi-bold. */
.b-card__title, .s-card__title, .vp-types h3, .xt-svc h3, .c-free h3, .h-quality h3, .cp-band h3, .h-band--steps h3, .web-inc h3, .lc-posts h3, .xt-why h3, .xt-pl h3, .pc--compact .pc__title, .pc--mini .pc__title, .lc-extra h3, .lc-steps h3, .lc-services h3, .pr-card__name { font-size: clamp(22px, 1.9vw, 27px); }
.vp-card__title, .a-tl__title, .pf-why h3:not(.pc__title), .h-why h3:not(.pc__title):not(.h-routes__title), .s-faqs.td-fold h3, .xt-how h3, .lc-why h3:not(.pc__title), .sc-offer h3 { font-family: var(--sans); font-size: clamp(18px, 1.4vw, 20px); font-weight: 600; }

/* B4: one article heading size on guides, policies and blog posts. */
.rs-prose h2 { font-size: clamp(26px, 2.3vw, 34px); }

/* E1: links inside sentences take the text's own colour, underlined, and turn Pink on hover. Only links within a paragraph, or a list in article text: whole-card links and link lists are left alone (Scott, 22 November 2026). */
main p a:not([class]), main :is(.prose, .article__content, .rs-prose, .b-post) li a:not([class]) { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
main p a:not([class]):hover, main p a:not([class]):focus-visible, main :is(.prose, .article__content, .rs-prose, .b-post) li a:not([class]):hover, main :is(.prose, .article__content, .rs-prose, .b-post) li a:not([class]):focus-visible { color: var(--pink); }

/* B2 (all pages, Scott, 22 November 2026): every page title the same size, 84px (42px on phones). */
.a-hero__title, .c-hero .a-hero__title, .lc-hero--mosaic .f-hero__title, .b-banner__title, .b-hero__title, .cl-hero__title, .c-hero__title, .c-hero--one .c-hero__title, .h-hero__title, .h-hero--wall .h-hero__title, .w-list-hero__title, .w-hero__title, .xt-hero__title, .f-hero__title, .s-hero__title, .sh-hero__title { font-size: var(--h1); }

/* No underline on links that wrap a picture or a block (cards, tiles, image links), wherever they are (Scott, 22 November 2026). */
main a:has(img, picture, video, h2, h3, h4, p, div):not(.btn) { text-decoration: none; }

/* E2 (Scott, 22 November 2026): no underlines at rest; a line appears on hover and keyboard focus, site-wide.
   Links that wrap a card, image or block (and buttons) get no line at all. One exception, for accessibility:
   links inside running text (a sentence in a body paragraph) keep a faint line, so they can still be
   told apart from the words around them (WCAG 1.4.1); it turns solid Pink on hover. */
a, a:visited, .site-footer__cookie, .sf__again, .pl__back, .pl__skip, .pl-link__btn, .vp-empty__clear, .w-empty__clear, .b-author { text-decoration-line: none !important; }
a:hover, a:focus-visible, .site-footer__cookie:hover, .site-footer__cookie:focus-visible, .sf__again:hover, .sf__again:focus-visible, .pl__back:hover, .pl__back:focus-visible, .pl__skip:hover, .pl__skip:focus-visible, .pl-link__btn:hover, .pl-link__btn:focus-visible, .vp-empty__clear:hover, .vp-empty__clear:focus-visible, .w-empty__clear:hover, .w-empty__clear:focus-visible, .b-author:hover, .b-author:focus-visible { text-decoration-line: underline !important; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a.btn:hover, a.btn:focus-visible, a[class*="btn"]:hover, a[class*="btn"]:focus-visible, a:has(img, picture, video, svg, iframe, h2, h3, h4, p, div, figure, .h-card__cap):hover, a:has(img, picture, video, svg, iframe, h2, h3, h4, p, div, figure, .h-card__cap):focus-visible { text-decoration-line: none !important; }
main :is(p:not([class]), p.wp-block-paragraph, .article__content p, .rs-prose p, .prose p, .w-story__col p) a:not([class]):not(:has(svg, img)) { text-decoration-line: underline !important; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: .22em; }
main :is(p:not([class]), p.wp-block-paragraph, .article__content p, .rs-prose p, .prose p, .w-story__col p) a:not([class]):not(:has(svg, img)):hover, main :is(p:not([class]), p.wp-block-paragraph, .article__content p, .rs-prose p, .prose p, .w-story__col p) a:not([class]):not(:has(svg, img)):focus-visible { text-decoration-color: currentColor; }

/* "Meet the rest of the team" on every person CTA in Green, including the small card (Scott, 22 November 2026). */
main .pc .pc__team a, main .pc .pc__team a:hover, main .pc .pc__team a:focus-visible, .pc .pc__team a, .pc--mini .pc__team a { color: #75DB8A !important; background: none; }

/* Brand backdrop (inc/backdrop.php; Scott, 22 November 2026): the main service pages' hero, in the service's colours. */
.has-bd { position: relative; isolation: isolate; overflow: hidden; background: var(--base); }
.bd { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(60% 80% at 88% 18%, color-mix(in srgb, var(--bd1) 34%, transparent) 0%, transparent 60%), radial-gradient(50% 70% at 70% 100%, color-mix(in srgb, var(--bd2) 32%, transparent) 0%, transparent 65%), linear-gradient(90deg, #02003E 0%, #02003E 38%, #0a0650 100%); }
.bd__f { position: absolute; display: block; will-change: transform; }
.bd__f--1 { right: -6%; top: -10%; width: 58%; height: 130%; background: linear-gradient(160deg, color-mix(in srgb, var(--bd1) 25%, transparent), color-mix(in srgb, var(--bd1) 7%, transparent) 70%); clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%); animation: bd-a 26s ease-in-out infinite alternate; }
.bd__f--2 { right: -4%; bottom: -20%; width: 46%; height: 75%; background: linear-gradient(200deg, color-mix(in srgb, var(--bd2) 33%, transparent), color-mix(in srgb, var(--bd2) 6%, transparent) 75%); clip-path: polygon(0 30%, 100% 0, 100% 100%, 22% 100%); animation: bd-b 32s ease-in-out infinite alternate; }
.bd__f--3 { right: 22%; top: -15%; width: 18%; height: 70%; background: linear-gradient(180deg, rgba(255, 255, 255, .07), transparent); clip-path: polygon(40% 0, 100% 0, 60% 100%, 0 100%); animation: bd-a 40s ease-in-out infinite alternate-reverse; }
.bd::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 0, 62, .85) 0%, rgba(2, 0, 62, .35) 50%, rgba(2, 0, 62, 0) 75%); }
@keyframes bd-a { to { transform: translate3d(-3%, 2%, 0) rotate(-1.5deg); } }
@keyframes bd-b { to { transform: translate3d(-4%, -3%, 0) rotate(2deg); } }
@media (max-width: 700px) { .bd__f--1 { width: 90%; right: -30%; } .bd__f--2 { width: 80%; right: -25%; } .bd::after { background: linear-gradient(180deg, rgba(2, 0, 62, .15), rgba(2, 0, 62, .5)); } .bd__f--1 { opacity: 1.0; } }
@media (prefers-reduced-motion: reduce) { .bd__f { animation: none !important; } }

/* Accessibility tidy from the 22 November recheck (Scott): footer legal line and Cookie settings in white on Pink
   (3.12 to 3.42:1, the agreed brand level), and the phone number in the Xtend and Plus footers underlined in its sentence. */
.site-footer__legal, .site-footer__legal p, .site-footer__legal a, .site-footer__cookie { color: #fff !important; }
.xt-foot__addr a { text-decoration-line: underline !important; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: .22em; }
.xt-foot__addr a:hover, .xt-foot__addr a:focus-visible { text-decoration-color: currentColor; }

/* E3 (Scott, 23 November 2026): no underlined links anywhere, at rest or on hover. Text links change colour on hover and
   keyboard focus instead (white by default; Pink dropped on 23 November, see No Pink rollovers below), and in the Services menu each column takes its own colour: Creative Pink,
   Print Yellow, Digital Blue, AI Teal/Green, as its bar. Links inside body copy are white and bold at rest and turn inverse (Base on white) on hover.
   The :not(#_) lifts these above every earlier link rule, including E2. Buttons and links that wrap images or cards are left alone. */
:root a:not(#_), :root a:not(#_):hover, :root a:not(#_):focus-visible,
:root :is(.site-footer__cookie, .sf__again, .pl__back, .pl__skip, .pl-link__btn, .vp-empty__clear, .w-empty__clear, .b-author):not(#_),
:root :is(.site-footer__cookie, .sf__again, .pl__back, .pl__skip, .pl-link__btn, .vp-empty__clear, .w-empty__clear, .b-author):not(#_):is(:hover, :focus-visible) { text-decoration-line: none !important; }
:root a:not(#_):not(.btn):not([class*="btn"]):not([aria-selected="true"]):not([aria-pressed="true"]):not(.is-current):not(:has(img, picture, video, iframe, h2, h3, h4, p, div, figure, .h-card__cap)):is(:hover, :focus-visible),
:root :is(.site-footer__cookie, .sf__again, .pl__back, .pl__skip, .pl-link__btn, .vp-empty__clear, .w-empty__clear, .b-author):not(#_):is(:hover, :focus-visible) { color: var(--white) !important; transition: color .2s; }
/* Services menu: each column in its own colour. */
:root :is(.dnav__col--pink, .dnav__case.dnav__col--pink) a:not(#_):not(#__):is(:hover, :focus-visible), :root a.dnav__col--pink:not(#_):not(#__):is(:hover, :focus-visible) { color: var(--pink) !important; }
:root :is(.dnav__col--yellow) a:not(#_):not(#__):is(:hover, :focus-visible), :root a.dnav__col--yellow:not(#_):not(#__):is(:hover, :focus-visible) { color: var(--yellow) !important; }
:root :is(.dnav__col--blue) a:not(#_):not(#__):is(:hover, :focus-visible), :root a.dnav__col--blue:not(#_):not(#__):is(:hover, :focus-visible) { color: var(--blue) !important; }
:root :is(.dnav__col--green) a:not(#_):not(#__):is(:hover, :focus-visible), :root a.dnav__col--green:not(#_):not(#__):is(:hover, :focus-visible) { color: var(--green) !important; }
:root :is(.dnav__col--teal) a:not(#_):not(#__):is(:hover, :focus-visible), :root a.dnav__col--teal:not(#_):not(#__):is(:hover, :focus-visible) { color: #2bb3c7 !important; }
/* On the Indigo to Pink Industries panel, the pill links turn inverse (white with Base text) rather than Pink on Pink. */
:root .dnav__card--ind .dnav__card-ind a:not(#_):not(#__):is(:hover, :focus-visible) { color: var(--base) !important; background: var(--white) !important; border-color: var(--white) !important; }
/* Links inside body copy: white and bold at rest, inverse (Base on white) on hover and focus, like the selected Our Work filter. */
:root main :is(p:not([class]), p.wp-block-paragraph, .article__content p, .rs-prose p, .prose p, .w-story__col p, .prose li, .article__content li, .rs-prose li, .b-post li) a:not([class]):not(:has(svg, img)):not(#_):not(#__) { color: var(--white) !important; font-weight: 600; border-radius: 2px; transition: color .2s, background-color .2s, box-shadow .2s; }
:root main :is(p:not([class]), p.wp-block-paragraph, .article__content p, .rs-prose p, .prose p, .w-story__col p, .prose li, .article__content li, .rs-prose li, .b-post li) a:not([class]):not(:has(svg, img)):not(#_):not(#__):is(:hover, :focus-visible) { color: var(--base) !important; background: var(--white); box-shadow: 0 0 0 2px var(--white); }
/* Blog posts sit on white, so links in the article, the contents list and the share row take Base at rest
   and turn inverse (white on Base) on hover and focus; white at rest would vanish (Scott, 24 November 2026). */
:root main .blog-2026 :is(.b-content, .b-side) :is(p, li) a:not([class]):not(:has(svg, img)):not(#_):not(#__),
:root .blog-2026 main :is(.b-content, .b-side) :is(p, li) a:not([class]):not(:has(svg, img)):not(#_):not(#__) { color: var(--base) !important; }
:root main .blog-2026 :is(.b-content, .b-side) :is(p, li) a:not([class]):not(:has(svg, img)):not(#_):not(#__):is(:hover, :focus-visible),
:root .blog-2026 main :is(.b-content, .b-side) :is(p, li) a:not([class]):not(:has(svg, img)):not(#_):not(#__):is(:hover, :focus-visible) { color: var(--white) !important; background: var(--base); box-shadow: 0 0 0 2px var(--base); }
@media (prefers-reduced-motion: reduce) { :root a:not(#_):not(#__) { transition: none !important; } }

/* E3, part 2 (Scott, 23 November 2026): no line under link text inside links either (the menu column titles underlined
   their inner text, and some links underline a span or bold word), nor under text buttons, nor the sliding line under
   the footer links. Each link takes the colour of its section's line on hover; in a menu column the current page sits
   in that colour too. The Pink footer's links turn Base (dark navy), as Pink on Pink would vanish. */
:root a:not(#_) *, :root button:not(#_), :root button:not(#_) *, :root .b-author:not(#_), :root .b-author:not(#_) * { text-decoration-line: none !important; }
:root :is(.footer-col a, .footer-nav .footer-col__links a):not(#_) { background-image: none !important; }
:root .site-footer a:not(#_):not(#__):not(.btn):not([class*="btn"]):not(:has(img, svg)):is(:hover, :focus-visible),
:root .site-footer .site-footer__cookie:not(#_):not(#__):is(:hover, :focus-visible) { color: var(--base) !important; }
:root .dnav__col--pink a[aria-current]:not(#_):not(#__), :root .dnav__col--pink a.dnav__title.is-current:not(#_):not(#__) { color: var(--pink) !important; }
:root .dnav__col--yellow a[aria-current]:not(#_):not(#__), :root .dnav__col--yellow a.dnav__title.is-current:not(#_):not(#__) { color: var(--yellow) !important; }
:root .dnav__col--blue a[aria-current]:not(#_):not(#__), :root .dnav__col--blue a.dnav__title.is-current:not(#_):not(#__) { color: var(--blue) !important; }
:root .dnav__col--green a[aria-current]:not(#_):not(#__), :root .dnav__col--green a.dnav__title.is-current:not(#_):not(#__) { color: var(--green) !important; }
:root .dnav__col--teal a[aria-current]:not(#_):not(#__), :root .dnav__col--teal a.dnav__title.is-current:not(#_):not(#__) { color: #2bb3c7 !important; }
/* Phone menus: the services list and the overlay columns use their own line colours too. */
:root [class*="pm__tone--"] a:not(#_):not(#__):is(:hover, :focus-visible) { color: var(--tone) !important; }
:root [class*="menu-overlay__col--"] a:not(#_):not(#__):is(:hover, :focus-visible) { color: var(--c) !important; }
/* E3, part 3 (Scott, 23 November 2026): on a Pink background, links turn dark blue (Base) on hover so they stay legible:
   the footer (above), Pink link boxes, and links that are themselves Pink (the phone bar's Let's talk, film card buttons).
   The phone menu's large links lose their sliding Pink line. */
:root .link-box--pink a:not(#_):not(#__):not(.btn):not([class*="btn"]):is(:hover, :focus-visible),
:root :is(a.mobile-bar__start, a.pf-card__open):not(#_):not(#__):is(:hover, :focus-visible) { color: var(--base) !important; }
:root .menu-overlay__big:not(#_) { background-image: none !important; }
/* Home "What we do" panels (Scott, 23 November 2026): the service links keep white text on hover, so they stay readable;
   the hover shows in the border, in the panel's own colour, with a lift. */
:root .h-panel li a:not(#_):not(#__):is(:hover, :focus-visible) { color: var(--white) !important; background: rgba(2, 0, 62, .75) !important; border-color: var(--c) !important; }

/* Arrows and dashes (Scott, 23 November 2026): no arrows in buttons anywhere (including the button-style links such as the
   Where to start cards' "See how Xtend works"), none in the footer (the column headings' arrows included), and no dashed
   progress lines beside the testimonial arrows (the arrows still move between testimonials). Footer social icons turn
   dark blue (Base) on hover, like the other footer links. */
:root :is(.btn, [class*="btn"], .h-route__go):not(.h-proj__step):not(#_) .icon-arrow { display: none !important; } /* Icon-only arrow buttons (previous and next) keep their arrows. */
:root .site-footer .icon-arrow:not(#_), :root .site-footer .footer-col__title a:not(#_)::after { display: none !important; content: none !important; }
:root .h-dots:not(#_) { display: none !important; }
:root .site-footer .social a:not(#_):not(#__):is(:hover, :focus-visible) { color: var(--base) !important; }

/* No Pink rollovers (Scott, 23 November 2026): hovers follow the Our Work filter chips instead of Pink. Outlined links and
   cards brighten their border to white; filled hovers go white with Base text (the selected chip); text links go white.
   Exceptions: Pink buttons (btn--pink) stay Pink, as do the project form's choices (Scott, 12 November 2026) and focus rings. */
:root :is(.cl-tile.has-link .cl-tile__in, .sc-card a, .c-way, .h-why__more a, .lc-card a, .ca__links a, .lt-way, .pl__opt, .pl__svcs a, .pl__work, .rs-card, .sr-popular a, .ty-links a, .xt-foot__main):not(#_):is(:hover, :focus-visible) { border-color: var(--white) !important; background: rgba(255, 255, 255, .06) !important; box-shadow: none; }
:root .pr-card[data-package]:not(#_):is(:hover, :focus-within) { border-color: var(--white) !important; background: rgba(255, 255, 255, .06) !important; }
:root .dnav__card:not(.dnav__card--ind) .dnav__card-ind a:not(#_):is(:hover, :focus-visible) { border-color: var(--white) !important; background: rgba(255, 255, 255, .08) !important; }
:root :is(.pr-card__cta, .h-proj__step, .chip, .ca__close, .p-doc__dl, .vp-dialog__close, .xt-mainsite, a.h-example .btn--ghost):not(#_):not(#__):is(:hover, :focus-visible),
:root .pr-card[data-package]:not(#_):is(:hover, :focus-within) .pr-card__cta:not(#__),
:root a.h-example:not(#_):is(:hover, :focus-visible) .btn--ghost:not(#__),
:root .chip.is-current:not(#_):not(#__),
:root .h-talk .h-form :is(.gform_next_button, .gform_button):not(#_):hover { background: var(--white) !important; border-color: var(--white) !important; color: var(--base) !important; }
:root :is(.b-pointer__a, .ca__help a, .pl-link__btn, .s-prices__all):not(#_):not(#__):is(:hover, :focus-visible) { color: var(--white) !important; }
:root .rs-toc a:not(#_):hover { border-left-color: var(--white) !important; }
:root :is(.so-gal__item a, .ws-reel):not(#_):is(:hover, :focus-visible) { box-shadow: 0 0 0 2px var(--white), 0 20px 40px -20px rgba(0, 0, 0, .7) !important; }
:root .xt-team__person img:not(#_):hover { box-shadow: 0 0 0 3px var(--base), 0 0 0 5px var(--white) !important; }

/* No arrows anywhere (Scott, 23 November 2026): every arrow beside link or button text goes, the "Get a quote" card buttons,
   "Read more" links and Back buttons included. Only the icon-only previous and next project buttons keep theirs. */
:root .icon-arrow:not(#_):not(.h-proj__step .icon-arrow) { display: none !important; }
:root :is(.a-fig__more > span[aria-hidden="true"], .h-res__go):not(#_) { display: none !important; }
:root .footer-nav .footer-col__title a:not(#_)::after { content: none !important; }
