/*
Theme Name: CM Beyer
Theme URI: https://cmbeyer.co.uk
Author: CM Beyer Limited
Author URI: https://cmbeyer.co.uk
Description: Corporate website for CM Beyer Limited — marketing, advertising and business management consultancy based in London.
Version: 4.5.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary - All Rights Reserved
License URI: https://cmbeyer.co.uk/website-tos/
Text Domain: cmbeyer
Tags: corporate, business, consultancy, custom-logo, custom-menu, featured-images, threaded-comments

Changelog 4.5.0 (SEO + GEO + progressive-loading pass)
  - Region switcher v9: server-side rendering via mu-plugin output buffer.
    Base markup is <details>/<summary> so it works with JS off and is
    visible to JS-disabled crawlers (Semrush Free, basic curl). Styling
    tightened to match the spec (wider items, more vertical padding,
    sharper active row).
  - Visible breadcrumbs (mu-plugin cmbeyer-breadcrumbs.php). Cluster
    heuristics so CMB Insight → Services, Privacy Policy → Legal, etc.
    Schema.org microdata on the rendered HTML; JSON-LD BreadcrumbList
    still emitted from functions.php (richer now — includes parents).
  - Cloudflare email-protection fix (mu-plugin cmbeyer-email-protection.php).
    Route handler at /cdn-cgi/l/email-protection returns 200 with a
    client-side decoder; PHP output-buffer filter rewrites every
    __cf_email__ link to a real mailto: before the HTML leaves the
    server. Resolves the 133 broken-link flags Semrush keeps hitting.
  - Optimize plugin v2: async non-critical CSS via the print-media
    swap trick (driven by the new cmbeyer_print_critical_css() helper
    in header.php), explicit width/height on raw <img> tags via
    getimagesize, lazy-load for below-fold images, Link rel=preload
    Early Hints, HSTS + best-practice security headers.
  - FAQ schema auto-detector (mu-plugin cmbeyer-faq-schema.php).
    Detects three Q&A patterns in rendered HTML and emits FAQPage
    JSON-LD. Wins for Generative Engine Optimization — LLM search
    products read FAQPage schema preferentially.
  - functions.php: critical CSS helper, duplicate-canonical dedupe
    filter, post titles differentiated from H1 (category suffix when
    it fits in 70 chars), unique meta descriptions for the three
    pages Semrush flagged as duplicates.
  - "Learn more" anchors on /do-more/ rewritten to "Learn more about
    CMB Insight" / Amplify / Core. Semrush flagged 3 non-descriptive
    anchor texts; this resolves them.
  - /site-credentials/ popup now declares lang="en-GB", carries a
    screen-reader-only <h1>, and a meta description. Page is still
    noindex (it's a popup, not a content page) but the basics are
    in place for the few tools that ignore noindex.

Changelog 4.4.0 (polish pass)
  - AU/NA mobile footer: collapses to 2 columns now (was 1 — created a blank
    right half that made the site feel zoomed-out). Brand spans both columns.
  - AU/NA mobile hero/section padding tightened so content reads less compressed.
  - Region-switcher mu-plugin v8: white-space:nowrap on the label (fixes
    "United Kingdom" wrapping to two lines), tighter padding/gaps, dedicated
    label span with ellipsis fallback, block-level on mobile with full
    container width, focus-visible ring, prefers-reduced-motion override.
  - Modernity: color-scheme:light, frosted-glass sticky header
    (backdrop-filter), card hover lift, button elevation+lift, link
    text-underline-offset, focus-visible rings throughout, smoother page-header
    gradient with radial highlight, tabular numerals in stats/tables, print
    stylesheet, prefers-reduced-motion respect (WCAG 2.1 SC 2.3.3).

Changelog 4.3.0 (consistency + performance pass)
  - Consolidated style-articles.css + style-logo-fix.css into style.css
    (cuts two HTTP requests on every page render).
  - Added canonical .uk-page-hero / .uk-page-main classes so all UK
    page templates render with identical hero/body geometry.
  - AU/NA self-contained templates: max-width normalised 1280 -> 1180 to
    match UK theme width so all three regional sites feel intentional.
  - Region switcher restyled: larger touch target, better contrast, and
    a robust fallback that finds the AU/NA footer Legal column too.
  - hero.jpg re-encoded (690 KB -> 173 KB); hero-mobile.jpg + WebP
    variants added; responsive <picture> + preload hints updated.
*/

/* ═══ TOKENS ═══ */
:root{
  --brand:#11676A;--brand-dark:#0c5052;--brand-light:#178286;--brand-pale:#dff0f0;
  --black:#0a0a0a;--dark:#1a1a1a;--g8:#2a2a2a;--g7:#444;--g6:#555;--g5:#666;--g4:#888;--g3:#aaa;--g2:#d4d4d4;--g1:#e8e8e8;--g0:#f4f4f4;--white:#fff;
  --font:'Helvetica Neue',Helvetica,Arial,sans-serif;
  --font-serif:Georgia,'Times New Roman',serif;
  --mx:1180px;--nr:780px;
  --tr:.2s ease;
}

/* ═══ RESET ═══ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{font-family:var(--font);font-weight:400;color:var(--black);background:var(--white);line-height:1.6;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
ul,ol{list-style:none}
::selection{background:var(--brand);color:var(--white)}
table{border-collapse:collapse;width:100%}

/* ═══ TYPOGRAPHY — Institutional/Corporate ═══ */
h1,h2,h3,h4,h5,h6{font-family:var(--font);line-height:1.2;font-weight:700}
h1{font-size:2.4rem;letter-spacing:-.02em}
h2{font-size:1.8rem;letter-spacing:-.01em}
h3{font-size:1.35rem}
h4{font-size:1.1rem}
h5{font-size:.95rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--g5)}
p{margin-bottom:.9rem}

/* ═══ LAYOUT ═══ */
.container{max-width:var(--mx);margin:0 auto;padding:0 1.25rem}
.container--narrow{max-width:var(--nr)}
.section{padding:3.5rem 0}
.section--gray{background:var(--g0)}
.section--dark{background:var(--dark);color:var(--white)}
.section--brand{background:var(--brand);color:var(--white)}
.grid{display:grid;gap:1.5rem}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}.section{padding:2.5rem 0}}

/* ═══ UTILITY BAR ═══ */
.utility-bar{background:var(--dark);color:var(--white);font-size:.78rem;border-bottom:1px solid var(--g8)}
.utility-bar__inner{display:flex;justify-content:space-between;align-items:center;max-width:var(--mx);margin:0 auto;padding:.45rem 1.25rem}
.utility-bar__left,.utility-bar__right{display:flex;align-items:center;gap:1.25rem}
.utility-bar a{color:rgba(255,255,255,.7);font-weight:500;transition:color var(--tr)}
.utility-bar a:hover{color:var(--white);text-decoration:none}
.utility-bar__divider{width:1px;height:14px;background:rgba(255,255,255,.2)}
@media(max-width:768px){.utility-bar__left{display:none}}

/* ═══ SITE HEADER ═══ */
.site-header{background:var(--white);border-bottom:3px solid var(--brand);position:sticky;top:0;z-index:100;box-shadow:0 1px 4px rgba(0,0,0,.06)}
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;max-width:var(--mx);margin:0 auto;padding:0 1.25rem;height:68px}
.site-logo{display:flex;align-items:center}
.site-logo svg{height:36px;width:auto}
.site-nav{display:flex;align-items:center;gap:0}
.site-nav a{display:block;padding:1.4rem 1rem;font-size:.88rem;font-weight:600;color:var(--black);border-bottom:3px solid transparent;margin-bottom:-3px;transition:all var(--tr)}
.site-nav a:hover,.site-nav a.active{color:var(--brand);border-bottom-color:var(--brand);text-decoration:none;background:var(--g0)}
.site-nav__cta{background:var(--brand)!important;color:var(--white)!important;border-bottom-color:var(--brand)!important;padding:0.7rem 1.5rem!important;margin:.5rem 0 .5rem .5rem;border-radius:3px}
.site-nav__cta:hover{background:var(--brand-dark)!important}

/* Search in header */
.header-search{position:relative;margin-left:.75rem}
.header-search__btn{background:none;border:none;cursor:pointer;padding:.5rem;color:var(--g5);transition:color var(--tr)}
.header-search__btn:hover{color:var(--brand)}
.header-search__btn svg{width:20px;height:20px}

/* Mobile */
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:.5rem}
.menu-toggle span{display:block;width:22px;height:2px;background:var(--black);margin:4px 0;border-radius:1px;transition:var(--tr)}
@media(max-width:768px){
  .menu-toggle{display:block}
  .site-nav{display:none;position:absolute;top:68px;left:0;right:0;background:var(--white);flex-direction:column;border-bottom:3px solid var(--brand);box-shadow:0 8px 20px rgba(0,0,0,.1)}
  .site-nav.open{display:flex}
  .site-nav a{padding:1rem 1.25rem;border-bottom:1px solid var(--g1);margin-bottom:0}
  .site-nav__cta{margin:.75rem 1.25rem;text-align:center}
}

/* ═══ BUTTONS ═══ */
.btn{display:inline-block;padding:.7rem 1.6rem;font-family:var(--font);font-size:.88rem;font-weight:600;border:none;cursor:pointer;transition:all var(--tr);text-decoration:none;border-radius:3px}
.btn:hover{text-decoration:none}
.btn--primary{background:var(--brand);color:var(--white)}
.btn--primary:hover{background:var(--brand-dark)}
.btn--secondary{background:var(--dark);color:var(--white)}
.btn--secondary:hover{background:var(--black)}
.btn--outline{background:transparent;color:var(--brand);border:2px solid var(--brand)}
.btn--outline:hover{background:var(--brand);color:var(--white)}
.btn--white{background:var(--white);color:var(--brand)}
.btn--white:hover{background:var(--g0)}
.btn--sm{padding:.5rem 1rem;font-size:.8rem}
.btn--lg{padding:.85rem 2rem;font-size:.95rem}
.btn--block{display:block;width:100%;text-align:center}
.btn-arrow::after{content:' →'}

/* ═══ HERO — Corporate full-width banner ═══ */
.hero-banner{position:relative;min-height:480px;display:flex;align-items:center;background:var(--dark);color:var(--white);overflow:hidden}
.hero-banner__bg{position:absolute;inset:0}
.hero-banner__bg img{width:100%;height:100%;object-fit:cover;opacity:.25}
.hero-banner__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,103,106,.92) 0%,rgba(17,103,106,.6) 60%,rgba(17,103,106,.3) 100%)}
.hero-banner__content{position:relative;z-index:1;max-width:560px}
.hero-banner__title{font-size:2.6rem;font-weight:700;line-height:1.15;margin-bottom:1rem;letter-spacing:-.02em}
.hero-banner__subtitle{font-size:1.05rem;line-height:1.7;opacity:.9;margin-bottom:1.75rem}
.hero-banner__actions{display:flex;gap:.75rem;flex-wrap:wrap}
@media(max-width:600px){.hero-banner{min-height:360px}.hero-banner__title{font-size:1.8rem}.hero-banner__actions{flex-direction:column}.hero-banner__actions .btn{text-align:center}}

/* ═══ PAGE HEADER — Inner pages ═══
   CANONICAL UK PAGE HERO — Every UK page (whether using .page-header from
   this file, an inline-styled .xx-hero block, or a partial like .lp-hero)
   should match these geometry values so the site feels intentional:
     background gradient  linear-gradient(135deg,#11676A 0%,#0d5254 100%)
     padding              3rem 2rem
     inner max-width      900px
     breadcrumb           font-size:.75rem  rgba(255,255,255,.55)
     h1                   clamp(1.55rem,3.5vw,2.1rem)  weight 700  #fff
     subtitle/desc        font-size:.92rem  rgba(255,255,255,.65)  lh 1.65
                          max-width 620px
   The per-page CSS in templates/ keeps its prefixed class names (so any
   page-specific overrides still work), but the underlying values are
   identical. New templates can drop in .uk-page-hero / .uk-page-main and
   get the canonical look without any extra CSS.
*/
.page-header,.uk-page-hero{background:linear-gradient(135deg,var(--brand) 0%,var(--brand-dark) 100%);color:var(--white);padding:3rem 2rem;border-bottom:none}
.page-header .container,.uk-page-hero__inner{max-width:900px;margin:0 auto}
.page-header__breadcrumb,.uk-page-hero__bc{font-size:.75rem;color:rgba(255,255,255,.55);margin-bottom:.5rem;line-height:1.4}
.page-header__breadcrumb a,.uk-page-hero__bc a{color:rgba(255,255,255,.55);text-decoration:none}
.page-header__breadcrumb a:hover,.uk-page-hero__bc a:hover{color:#fff;text-decoration:underline}
.page-header__title,.uk-page-hero h1{font-size:clamp(1.55rem,3.5vw,2.1rem);font-weight:700;color:var(--white);line-height:1.2;margin:0 0 .35rem}
.page-header__desc,.uk-page-hero__sub{font-size:.92rem;color:rgba(255,255,255,.65);margin:0;line-height:1.65;max-width:620px}
.page-header .wrap{max-width:900px;margin:0 auto}
.page-header__label{font-size:.7rem;font-weight:700;color:rgba(255,255,255,.55);text-transform:uppercase;letter-spacing:.1em;margin-bottom:.4rem}
.uk-page-main{max-width:900px;margin:0 auto;padding:2.25rem 2rem 4rem}

/* ═══ CARDS ═══ */
.card{background:var(--white);border:1px solid var(--g1);padding:1.75rem;transition:all var(--tr)}
.card:hover{box-shadow:0 4px 16px rgba(0,0,0,.08);border-color:var(--g2)}
.card--link{text-decoration:none;display:block;color:inherit}
.card--link:hover{text-decoration:none}
.card--link:hover .card__title{color:var(--brand)}
.card--featured{border-left:4px solid var(--brand)}
.card__label{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--brand);margin-bottom:.35rem}
.card__title{font-size:1.15rem;font-weight:700;margin-bottom:.5rem;transition:color var(--tr)}
.card__text{font-size:.9rem;color:var(--g5);line-height:1.55}
.card__link{display:inline-block;margin-top:1rem;font-size:.85rem;font-weight:600;color:var(--brand)}
.card__link:hover{text-decoration:underline}

/* ═══ PRICING TIERS ═══ */
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;align-items:stretch}
@media(max-width:900px){.pricing-grid{grid-template-columns:1fr;max-width:440px;margin:0 auto}}
.pricing-card{border:1px solid var(--g1);padding:2rem;display:flex;flex-direction:column;background:var(--white)}
.pricing-card+.pricing-card{border-left:none}
@media(max-width:900px){.pricing-card+.pricing-card{border-left:1px solid var(--g1);border-top:none}}
.pricing-card--featured{border:2px solid var(--brand);position:relative;z-index:1;box-shadow:0 4px 20px rgba(0,0,0,.08)}
.pricing-card--featured .pricing-card__head{background:var(--brand);color:var(--white);margin:-2rem -2rem 1.5rem;padding:1.5rem 2rem}
.pricing-card__head{margin-bottom:1.25rem}
.pricing-card__badge{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--brand)}
.pricing-card--featured .pricing-card__badge{color:rgba(255,255,255,.7)}
.pricing-card__name{font-size:1.4rem;font-weight:700;margin-top:.25rem}
.pricing-card__desc{font-size:.85rem;color:var(--g5);line-height:1.5;margin-bottom:1.25rem}
.pricing-card--featured .pricing-card__desc{color:rgba(255,255,255,.8)}
.pricing-card__features{flex:1;margin-bottom:1.5rem}
.pricing-card__features li{padding:.4rem 0 .4rem 1.25rem;font-size:.84rem;color:var(--g6);border-bottom:1px solid var(--g0);position:relative}
.pricing-card__features li::before{content:'✓';position:absolute;left:0;color:var(--brand);font-weight:700;font-size:.8rem}
.pricing-card .btn{width:100%;text-align:center}

/* ═══ FEATURE LIST ═══ */
.feature-list{columns:2;column-gap:2rem;margin:1.5rem 0}
@media(max-width:600px){.feature-list{columns:1}}
.feature-list li{padding:.4rem 0 .4rem 1.25rem;font-size:.9rem;color:var(--g6);border-bottom:1px solid var(--g0);position:relative;break-inside:avoid}
.feature-list li::before{content:'•';position:absolute;left:0;color:var(--brand);font-weight:700}

/* ═══ CONTENT / PROSE ═══ */
.prose{max-width:var(--nr)}
.prose p{font-size:.95rem;line-height:1.75;color:var(--g6);margin-bottom:1rem}
.prose h2{margin-top:2rem;margin-bottom:.75rem;padding-top:1.5rem;border-top:1px solid var(--g1);font-size:1.2rem}
.prose h2:first-child{border-top:none;padding-top:0;margin-top:0}
.prose a{color:var(--brand);text-decoration:underline}
.prose ul{padding-left:1.25rem;margin-bottom:1rem}
.prose ul li{list-style:disc;margin-bottom:.3rem;font-size:.93rem;color:var(--g6)}

/* ═══ LEGAL PAGES — with sidebar TOC ═══ */
.legal-layout{display:grid;grid-template-columns:220px 1fr;gap:3rem;align-items:start}
@media(max-width:768px){.legal-layout{grid-template-columns:1fr}.legal-toc{display:none}}
.legal-toc{position:sticky;top:90px;font-size:.82rem}
.legal-toc__title{font-weight:700;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--g4);margin-bottom:.75rem}
.legal-toc a{display:block;padding:.35rem 0 .35rem .75rem;color:var(--g5);border-left:2px solid var(--g1);transition:all var(--tr)}
.legal-toc a:hover,.legal-toc a.active{color:var(--brand);border-left-color:var(--brand);text-decoration:none}
.legal-body h2{font-size:1.05rem;text-transform:uppercase;letter-spacing:.04em;margin-top:2.5rem;margin-bottom:.75rem;padding-top:1.5rem;border-top:1px solid var(--g1);scroll-margin-top:100px}
.legal-body h2:first-child{border-top:none;padding-top:0;margin-top:0}
.legal-body p{font-size:.9rem;line-height:1.8;color:var(--g6);margin-bottom:.9rem}
.legal-body a{color:var(--brand);text-decoration:underline}

/* ═══ CONTACT ═══ */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem}
@media(max-width:768px){.contact-grid{grid-template-columns:1fr}}
.contact-field{margin-bottom:1.5rem}
.contact-field__label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--g4);margin-bottom:.3rem}
.contact-field__value{font-size:1rem;line-height:1.6}
.contact-field__value a{color:var(--brand)}
.hours-table td{padding:.55rem 0;border-bottom:1px solid var(--g1);font-size:.9rem}
.hours-table td:first-child{font-weight:600;width:120px}
.email-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem}
.email-card{background:var(--g0);padding:1.25rem;border-left:3px solid var(--brand);transition:all var(--tr)}
.email-card:hover{background:var(--white);box-shadow:0 2px 10px rgba(0,0,0,.06)}
.email-card__dept{font-weight:700;font-size:.9rem;margin-bottom:.2rem}
.email-card__addr a{font-size:.85rem;color:var(--brand)}

/* ═══ NEWS ═══ */
.news-item{padding:1.25rem 0;border-bottom:1px solid var(--g1);display:flex;gap:1.25rem;align-items:baseline}
.news-item:hover .news-item__title{color:var(--brand)}
.news-item__date{font-size:.78rem;font-weight:600;color:var(--g4);white-space:nowrap;min-width:90px}
.news-item__title{font-size:.95rem;font-weight:600;transition:color var(--tr)}
.news-pagination{display:flex;gap:.5rem;margin-top:2rem}
.news-pagination a,.news-pagination span{display:inline-block;padding:.4rem .8rem;font-size:.85rem;border:1px solid var(--g2);color:var(--g5)}
.news-pagination .current{background:var(--brand);color:var(--white);border-color:var(--brand)}

/* Dividend */
.dividend-box{background:var(--g0);padding:1.75rem;border-left:4px solid var(--brand)}
.dividend-box__label{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--g4);margin-bottom:.2rem}
.dividend-box__value{font-size:1.4rem;font-weight:700;color:var(--brand)}
.dividend-row{display:flex;gap:2.5rem;flex-wrap:wrap}
.dividend-item{flex:1;min-width:120px}

/* ═══ SUPPORT WIDGET ═══ */
.support-widget{position:fixed;bottom:20px;right:20px;z-index:500}
.support-widget__btn{width:52px;height:52px;background:var(--brand);color:var(--white);border:none;border-radius:50%;cursor:pointer;font-size:1.4rem;box-shadow:0 4px 16px rgba(0,0,0,.2);transition:all var(--tr);display:flex;align-items:center;justify-content:center}
.support-widget__btn:hover{background:var(--brand-dark);transform:scale(1.05)}
.support-panel{display:none;position:absolute;bottom:64px;right:0;width:340px;background:var(--white);border:1px solid var(--g2);box-shadow:0 8px 30px rgba(0,0,0,.15)}
.support-panel.open{display:block}
.support-panel__head{background:var(--brand);color:var(--white);padding:1rem 1.25rem;display:flex;justify-content:space-between;align-items:center}
.support-panel__head h4{font-size:.95rem;font-weight:600;color:var(--white)}
.support-panel__close{background:none;border:none;color:var(--white);font-size:1.2rem;cursor:pointer}
.support-panel__body{padding:1.25rem}
.support-panel__body label{display:block;font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--g4);margin-bottom:.3rem;margin-top:.75rem}
.support-panel__body label:first-child{margin-top:0}
.support-panel__body input,.support-panel__body textarea{width:100%;padding:.6rem;border:1px solid var(--g2);font-family:var(--font);font-size:.88rem;border-radius:2px}
.support-panel__body input:focus,.support-panel__body textarea:focus{outline:none;border-color:var(--brand)}
.support-panel__body textarea{resize:vertical;min-height:80px}
.support-panel__body button{margin-top:1rem}
.support-panel__success{display:none;padding:2rem 1.25rem;text-align:center;color:var(--brand);font-weight:600}

/* ═══ FOOTER — Corporate multi-tier ═══ */
.site-footer{background:var(--dark);color:var(--white)}
.footer-top{border-bottom:1px solid rgba(255,255,255,.08);padding:3rem 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:2.5rem}
@media(max-width:900px){.footer-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.footer-grid{grid-template-columns:1fr 1fr}}
.footer-brand__logo{height:32px;width:auto;margin-bottom:1rem}
.footer-brand__text{font-size:.82rem;color:rgba(255,255,255,.45);line-height:1.7}
.footer-col__title{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.3);margin-bottom:.75rem}
.footer-col a{display:block;font-size:.85rem;color:rgba(255,255,255,.6);padding:.25rem 0;transition:color var(--tr)}
.footer-col a:hover{color:var(--white);text-decoration:none}
.footer-mid{padding:1.5rem 0;border-bottom:1px solid rgba(255,255,255,.08);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.78rem;color:rgba(255,255,255,.35)}
.footer-mid a{color:rgba(255,255,255,.5)}
.footer-mid a:hover{color:var(--white);text-decoration:none}
.footer-bottom{padding:1.25rem 0;font-size:.75rem;color:rgba(255,255,255,.25);line-height:1.6}

/* ═══ BACK LINK ═══ */
.back-link{display:inline-block;font-size:.85rem;font-weight:600;color:var(--brand);margin-bottom:1.5rem}
.back-link::before{content:'← '}

/* ═══ ARTICLE META ═══ */
.article-meta{font-size:.85rem;color:var(--g4);margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid var(--g1)}

/* ═══ INFO BAR ═══ */
.info-bar{background:var(--brand-pale);border-left:4px solid var(--brand);padding:1rem 1.25rem;margin:1.5rem 0;font-size:.9rem;color:var(--g7)}

/* ═══ UTILITIES ═══ */
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* ═══ WP SPECIFIC ═══ */
.wp-block-image{margin-bottom:1.5rem}
.aligncenter{margin-left:auto;margin-right:auto;text-align:center}
.screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;width:1px}

/* ═══ FIX: Headings inherit color in dark/brand contexts ═══ */
.hero-banner h1,.hero-banner h2,.hero-banner h3,
.page-header h1,.page-header h2,
.section--brand h1,.section--brand h2,.section--brand h3,
.section--dark h1,.section--dark h2,.section--dark h3{color:inherit}
/* Fix hero buttons on dark background */
.hero-banner .btn--outline{color:var(--white);border-color:rgba(255,255,255,.5)}
.hero-banner .btn--outline:hover{background:var(--white);color:var(--brand);border-color:var(--white)}

/* ═══ PATCH 4.0.2 — Typography, spacing, pricing, visual density ═══ */

/* Increase base font size */
body{font-size:1rem;line-height:1.7}

/* Better heading sizes */
h1{font-size:2.6rem}
h2{font-size:2rem}
h3{font-size:1.5rem}
h4{font-size:1.2rem}
h5{font-size:.88rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--g4);margin-bottom:.4rem}

/* Prose text larger and more readable */
.prose p{font-size:1.05rem;line-height:1.85}

/* ─── HEADER FIXES ─── */
.site-header__inner{height:72px}
.site-nav{gap:.15rem}
.site-nav a{padding:1.2rem .9rem;font-size:.85rem}
.site-nav__cta{padding:.6rem 1.3rem!important;font-size:.85rem!important;margin:.35rem 0 .35rem .6rem!important;vertical-align:middle}
.header-search{margin-left:.5rem}
/* Ensure nav + cta + search are vertically centered */
.site-nav{align-items:center}
@media(max-width:768px){.site-nav{top:72px}}

/* ─── HERO IMPROVEMENTS ─── */
.hero-banner{min-height:520px}
.hero-banner__title{font-size:2.8rem;line-height:1.12}
.hero-banner__subtitle{font-size:1.1rem;line-height:1.75;max-width:500px}
.hero-banner__actions{gap:1rem}
.hero-banner .btn{font-size:.9rem}

/* ─── PAGE HEADER ───
   (values now defined canonically in the ═══ PAGE HEADER ═══ block above
    so every UK page renders identically. Kept here as a no-op marker.) */

/* ─── PRICING CARDS — Complete redesign, no teal outlines ─── */
.pricing-card{border:none;background:var(--g0);padding:2.25rem;border-radius:0}
.pricing-card+.pricing-card{border-left:none}
@media(max-width:900px){.pricing-card+.pricing-card{border-top:none}}
.pricing-card__head{padding-bottom:1.25rem;border-bottom:1px solid var(--g2);margin-bottom:1.25rem}
.pricing-card__badge{font-size:.65rem;letter-spacing:.12em;margin-bottom:.3rem}
.pricing-card__name{font-size:1.5rem;margin-top:.2rem}
.pricing-card__desc{font-size:.88rem;min-height:auto;margin-bottom:1.5rem}

/* Featured card — elevated, not outlined */
.pricing-card--featured{background:var(--white);box-shadow:0 4px 24px rgba(0,0,0,.1);position:relative;z-index:1;border:none;transform:scale(1.02)}
.pricing-card--featured:hover{box-shadow:0 8px 32px rgba(0,0,0,.14)}
.pricing-card--featured .pricing-card__head{background:var(--brand);color:var(--white);margin:-2.25rem -2.25rem 1.5rem;padding:1.75rem 2.25rem;border-bottom:none}
.pricing-card--featured .pricing-card__badge{color:rgba(255,255,255,.65)}
.pricing-card--featured .pricing-card__name{color:var(--white)}
.pricing-card--featured .pricing-card__desc{color:rgba(255,255,255,.8)}

/* Non-featured cards — clean, no outlines */
.pricing-card:not(.pricing-card--featured){border:none;box-shadow:none}
.pricing-card:not(.pricing-card--featured):hover{background:var(--white);box-shadow:0 2px 12px rgba(0,0,0,.06)}
.pricing-card:not(.pricing-card--featured) .btn--outline{border-color:var(--g2);color:var(--g6)}
.pricing-card:not(.pricing-card--featured) .btn--outline:hover{border-color:var(--brand);color:var(--brand);background:transparent}

/* Feature list inside pricing — cleaner */
.pricing-card__features li{border-bottom-color:var(--g1);padding:.5rem 0 .5rem 1.4rem;font-size:.86rem}
.pricing-card__features li::before{width:16px;height:16px;background:none;border:none}
.pricing-card__features li::after{font-size:.78rem;left:0;top:.35rem}

/* Pricing grid spacing */
.pricing-grid{gap:0;border:1px solid var(--g1);overflow:hidden}
.pricing-card--featured{border:none}

/* ─── CARDS — more visual weight ─── */
.card{padding:2rem}
.card--featured{border-left:4px solid var(--brand);background:var(--white);box-shadow:0 1px 4px rgba(0,0,0,.04)}
.card--featured:hover{box-shadow:0 4px 20px rgba(0,0,0,.08)}
.card__label{font-size:.7rem;margin-bottom:.5rem}
.card__title{font-size:1.1rem;line-height:1.35;margin-bottom:.6rem}
.card__text{font-size:.9rem;line-height:1.65}

/* ─── ABOUT SECTION on homepage — add visual weight ─── */
.section--gray{background:var(--g0);border-top:1px solid var(--g1);border-bottom:1px solid var(--g1)}
@media(max-width:768px){
  .section--gray .container[style*="grid-template-columns"]{display:block!important}
  .section--gray .container[style*="grid-template-columns"]>div+div{margin-top:2rem}
}

/* ─── CONTACT SECTION ─── */
.contact-field__value{font-size:1rem;line-height:1.65}
.contact-field__label{margin-bottom:.35rem}

/* ─── FOOTER ─── */
.footer-grid{gap:2rem}
.footer-col a{font-size:.88rem;padding:.3rem 0}
.footer-brand__text{font-size:.84rem;line-height:1.75}

/* ─── DIVIDEND BOX ─── */
.dividend-box{background:var(--white);border:1px solid var(--g1);border-left:4px solid var(--brand)}

/* ─── NEWS ITEMS — more touch target ─── */
.news-item{padding:1rem 0;gap:1.5rem}
.news-item__title{font-size:1rem}

/* ─── FEATURE LIST on service pages ─── */
.feature-list li{font-size:.93rem;padding:.5rem 0 .5rem 1.3rem}

/* ─── VISUAL PLACEHOLDERS — add image areas to break up text ─── */
.visual-block{background:var(--g0);border:1px solid var(--g1);padding:3rem;display:flex;align-items:center;justify-content:center;min-height:200px;color:var(--g3);font-size:.85rem;text-align:center;margin:2rem 0}

/* ─── BUTTONS — slightly more padding ─── */
.btn{padding:.75rem 1.8rem;font-size:.88rem}
.btn--sm{padding:.55rem 1.2rem;font-size:.82rem}
.btn--lg{padding:.9rem 2.2rem;font-size:.95rem}

/* ─── SECTION SPACING ─── */
.section{padding:4rem 0}
.section--brand{padding:3.5rem 0}

/* ─── SUPPORT WIDGET ─── */
.support-widget__btn{width:48px;height:48px;font-size:1.2rem}

/* ═══ PATCH 4.0.3 — Contact form, images, visual density ═══ */

/* ─── CONTACT FORM ─── */
.contact-form{background:var(--g0);padding:2.5rem;margin-top:2rem;border:1px solid var(--g1)}
.contact-form h3{margin-bottom:1.5rem}
.form-row{margin-bottom:1.25rem}
.form-row label{display:block;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--g4);margin-bottom:.4rem}
.form-row input,.form-row textarea,.form-row select{width:100%;padding:.7rem .9rem;border:1px solid var(--g2);font-family:var(--font);font-size:.92rem;background:var(--white);border-radius:2px;transition:border-color var(--tr)}
.form-row input:focus,.form-row textarea:focus,.form-row select:focus{outline:none;border-color:var(--brand)}
.form-row textarea{resize:vertical;min-height:120px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}
@media(max-width:600px){.form-grid{grid-template-columns:1fr}}
.form-note{font-size:.78rem;color:var(--g4);margin-top:1rem}
.form-success{background:var(--brand-pale);border-left:4px solid var(--brand);padding:1.25rem;margin-top:1rem;display:none}
.form-success.show{display:block}

/* ─── IMAGE BLOCKS ─── */
.img-banner{width:100%;height:320px;object-fit:cover;display:block}
.img-banner--short{height:220px}
.img-block{margin:2.5rem 0}
.img-block img{width:100%;height:auto;display:block}
.img-split{display:grid;grid-template-columns:1fr 1fr;gap:0}
.img-split img{width:100%;height:300px;object-fit:cover}
@media(max-width:600px){.img-split{grid-template-columns:1fr}.img-split img{height:200px}}

/* ─── HERO with proper image overlay ─── */
.hero-banner__content{max-width:520px}

/* ─── SERVICE CARDS — add image area ─── */
.card--service{padding:0;overflow:hidden;border:1px solid var(--g1)}
.card--service__img{width:100%;height:180px;object-fit:cover;display:block;background:var(--g0)}
.card--service__body{padding:1.75rem 2rem}
.card--service:hover{box-shadow:0 6px 24px rgba(0,0,0,.08)}

/* ─── FULL WIDTH BAND ─── */
.band{padding:3rem 0;position:relative;overflow:hidden}
.band--brand{background:var(--brand);color:var(--white)}
.band--dark{background:var(--dark);color:var(--white)}
.band__img{position:absolute;inset:0}
.band__img img{width:100%;height:100%;object-fit:cover;opacity:.2}
.band__content{position:relative;z-index:1}


/* ═══ PATCH 4.0.3 — Contact form, images, density ═══ */

/* ─── CONTACT FORM ─── */
.contact-form{margin-top:2rem}
.contact-form .form-row{margin-bottom:1.25rem}
.contact-form .form-row--half{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
@media(max-width:600px){.contact-form .form-row--half{grid-template-columns:1fr}}
.contact-form label{display:block;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--g4);margin-bottom:.4rem}
.contact-form input,.contact-form textarea,.contact-form select{width:100%;padding:.7rem .9rem;border:1px solid var(--g2);font-family:var(--font);font-size:.92rem;background:var(--white);transition:border-color var(--tr)}
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-pale)}
.contact-form textarea{resize:vertical;min-height:120px}
.contact-form__note{font-size:.78rem;color:var(--g4);margin-top:.5rem}
.contact-form__success{background:#e8f5e9;border-left:4px solid #2e7d32;padding:1.25rem;margin:1.5rem 0;font-size:.92rem;color:#2e7d32;display:none}
.contact-form__error{background:#fce4ec;border-left:4px solid #c62828;padding:1.25rem;margin:1.5rem 0;font-size:.92rem;color:#c62828;display:none}

/* ─── IMAGE BLOCKS ─── */
.img-block{position:relative;overflow:hidden;background:var(--g0)}
.img-block img{width:100%;height:100%;object-fit:cover;display:block}
.img-block--overlay::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.5) 100%)}
.img-block__caption{position:absolute;bottom:0;left:0;right:0;padding:1.5rem;color:var(--white);z-index:1}
.img-block__caption h3{color:var(--white);margin-bottom:.25rem}
.img-block__caption p{font-size:.85rem;opacity:.8;margin-bottom:0}

/* ─── FEATURE BANNER (full-width image + text) ─── */
.feature-banner{display:grid;grid-template-columns:1fr 1fr;min-height:360px}
@media(max-width:768px){.feature-banner{grid-template-columns:1fr}}
.feature-banner__img{position:relative;overflow:hidden;min-height:280px}
.feature-banner__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.feature-banner__content{padding:3rem;display:flex;flex-direction:column;justify-content:center}
.feature-banner__content h2{margin-bottom:.75rem}
.feature-banner__content p{color:var(--g5);line-height:1.75;font-size:.95rem}
.feature-banner--dark .feature-banner__content{background:var(--dark);color:var(--white)}
.feature-banner--dark .feature-banner__content p{color:rgba(255,255,255,.7)}
.feature-banner--dark .feature-banner__content h2{color:var(--white)}
.feature-banner--brand .feature-banner__content{background:var(--brand);color:var(--white)}
.feature-banner--brand .feature-banner__content p{color:rgba(255,255,255,.8)}
.feature-banner--brand .feature-banner__content h2{color:var(--white)}

/* ─── QUICK LINKS BAR ─── */
.quick-links{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--g1)}
@media(max-width:768px){.quick-links{grid-template-columns:repeat(2,1fr)}}
.quick-link{padding:1.5rem;text-align:center;border-right:1px solid var(--g1);transition:all var(--tr);text-decoration:none;color:inherit}
.quick-link:last-child{border-right:none}
.quick-link:hover{background:var(--brand);color:var(--white);text-decoration:none}
.quick-link:hover h4{color:var(--white)}
.quick-link h4{font-size:.9rem;margin-bottom:.25rem;transition:color var(--tr)}
.quick-link p{font-size:.78rem;color:var(--g4);margin:0}
.quick-link:hover p{color:rgba(255,255,255,.7)}

/* ─── ADMIN DIVIDEND NOTICE in editor ─── */
.dividend-entry{padding:1.5rem;border:1px solid var(--g1);border-left:4px solid var(--brand);margin-bottom:1rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}
.dividend-entry__info h4{margin-bottom:.2rem}
.dividend-entry__info p{font-size:.85rem;color:var(--g5);margin:0}
.dividend-entry__actions{display:flex;gap:.5rem}

/* ─── TICKER / MARQUEE ─── */
.ticker{background:var(--dark);color:var(--white);padding:.5rem 0;font-size:.78rem;overflow:hidden;white-space:nowrap}
.ticker__inner{display:inline-block;animation:ticker-scroll 30s linear infinite}
.ticker__item{display:inline;margin-right:3rem;opacity:.7}
.ticker__item strong{opacity:1}
@keyframes ticker-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ═══ PATCH 4.0.5 — Mobile layout fixes ═══ */

/* Article page — sidebar stacks below on mobile */
@media(max-width:900px){
  [style*="grid-template-columns:1fr 280px"]{grid-template-columns:1fr!important}
  [style*="grid-template-columns:1fr 280px"] aside{position:static!important}
}

/* Homepage 4-up service grid — borders + mobile stack */
@media(max-width:768px){
  [style*="grid-template-columns:1fr 1fr"][style*="border"]{display:block!important}
  [style*="grid-template-columns:1fr 1fr"][style*="border"]>div{border-right:none!important;border-bottom:1px solid var(--g1)!important;padding:1.75rem 1.5rem!important}
  [style*="grid-template-columns:1fr 1fr"][style*="border"]>div:last-child{border-bottom:none!important}
  /* About section grid */
  [style*="grid-template-columns:1fr 1fr"][style*="gap:3.5rem"]{display:block!important}
  [style*="grid-template-columns:1fr 1fr"][style*="gap:3.5rem"]>div+div{margin-top:2rem}
}

/* Contact form — full width fields on mobile */
@media(max-width:600px){
  .form-row{grid-template-columns:1fr!important}
  .contact-form .btn--lg{width:100%;text-align:center}
  .contact-grid{grid-template-columns:1fr!important}
}

/* Mobile menu — improved slide-down */
@media(max-width:768px){
  .site-nav{gap:0;padding:0}
  .site-nav a{padding:1rem 1.25rem;font-size:.95rem;font-weight:600;border-bottom:1px solid var(--g1);margin-bottom:0;border-radius:0}
  .site-nav a:last-of-type:not(.site-nav__cta){border-bottom:1px solid var(--g1)}
  .site-nav a:hover,.site-nav a.active{background:var(--g0);color:var(--brand);border-bottom-color:var(--g1)}
  .site-nav__cta{margin:.75rem 1rem!important;padding:.8rem 1.25rem!important;text-align:center;display:block;border-radius:3px!important;border-bottom:none!important;font-size:.95rem!important}
  .header-search{display:none}
  .menu-toggle span{width:24px;height:2.5px;margin:5px 0}
  .site-header__inner{height:64px}
  .site-nav{top:64px}
  /* Better utility bar on mobile */
  .utility-bar__inner{justify-content:flex-end}
  .utility-bar a{font-size:.75rem}
}

/* News items on mobile — don't side-by-side squish */
@media(max-width:600px){
  .news-item,.news-item[style]{flex-direction:column!important;gap:.25rem!important}
  .news-item__date{min-width:auto!important}
  /* Dividend row stack */
  .dividend-row{flex-direction:column;gap:1rem}
}

/* ═══ PATCH 4.0.5b — Mobile menu corporate redesign ═══ */
@media(max-width:768px){
  .site-nav{padding:0!important;border-top:1px solid var(--g1)}
  .site-nav a{text-align:left!important;padding:.9rem 1.25rem!important;font-size:.92rem!important;font-weight:600!important;color:var(--black)!important;border-bottom:1px solid var(--g1)!important;display:block!important;border-radius:0!important;background:var(--white)!important}
  .site-nav a:hover,.site-nav a.active{color:var(--brand)!important;background:var(--g0)!important;border-left:3px solid var(--brand);padding-left:calc(1.25rem - 3px)!important}
  .site-nav__cta{background:var(--brand)!important;color:var(--white)!important;text-align:left!important;margin:0!important;border-radius:0!important;border-bottom:none!important;padding:.9rem 1.25rem!important;font-size:.92rem!important;border-left:none!important}
  .site-nav__cta:hover{background:var(--brand-dark)!important}
  .header-search{display:none!important}
}

/* ═══ PATCH 4.0.5b — Mobile menu redesign ═══ */
@media(max-width:768px){
  .site-nav{
    padding:0!important;
    background:var(--white)!important;
    border-top:3px solid var(--brand);
    box-shadow:0 12px 30px rgba(0,0,0,.12)!important
  }
  .site-nav a{
    text-align:left!important;
    padding:.9rem 1.5rem!important;
    font-size:.92rem!important;
    font-weight:600!important;
    color:var(--black)!important;
    border-bottom:1px solid var(--g1)!important;
    border-radius:0!important;
    background:none!important;
    display:block!important
  }
  .site-nav a:hover,.site-nav a.active{
    background:var(--g0)!important;
    color:var(--brand)!important;
    border-left:3px solid var(--brand);
    padding-left:calc(1.5rem - 3px)!important
  }
  .site-nav__cta{
    text-align:center!important;
    margin:1rem 1.5rem!important;
    padding:.75rem 1.25rem!important;
    display:block!important;
    border-bottom:none!important;
    border-left:none!important
  }
  .site-nav__cta:hover{
    border-left:none!important;
    padding-left:1.25rem!important
  }
  .header-search{
    display:none!important
  }
}



/* ═══════════════════════════════════════════════════════════════
   PATCH 4.0.4 — Articles (was style-articles.css)
   Folded into style.css 4.3.0 to reduce HTTP requests on mobile.
═══════════════════════════════════════════════════════════════ */

/* ═══ ARTICLES PATCH — Featured images, categories, news cards ═══ */

/* Article featured image — uniform aspect ratio */
.wp-post-image{display:block;width:100%;height:100%;object-fit:cover}

/* Category badge */
.cat-badge{display:inline-block;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:.15rem .5rem;border-radius:1px}
.cat-badge--brand{color:var(--brand);background:var(--brand-pale)}
.cat-badge--light{color:rgba(255,255,255,.8);background:rgba(255,255,255,.15)}

/* News page sidebar responsive */
@media(max-width:900px){
  [style*="grid-template-columns:1fr 320px"]{grid-template-columns:1fr!important}
}

/* Article page sidebar responsive */
@media(max-width:900px){
  [style*="grid-template-columns:1fr 280px"]{grid-template-columns:1fr!important}
  [style*="grid-template-columns:1fr 280px"] aside [style*="position:sticky"]{position:static!important}
}

/* Featured image on article page responsive */
@media(max-width:600px){
  [style*="aspect-ratio:16/7"]{aspect-ratio:16/9!important;max-height:250px!important}
}

/* Category tab active state hover */
[style*="border-bottom:2px solid var(--brand)"]:hover{opacity:.9}
[style*="border-bottom:2px solid transparent"]:hover{border-bottom-color:var(--g2)!important;color:var(--g7)!important}



/* ═══════════════════════════════════════════════════════════════
   PATCH 4.1.x — Logo + mobile menu refinements (was style-logo-fix.css)
   Folded into style.css 4.3.0 to reduce HTTP requests on mobile.
═══════════════════════════════════════════════════════════════ */
/* ═══ 1. Logo — LARGER ═══ */
.site-logo svg,.site-logo img{height:42px!important;width:auto!important}
@media(max-width:768px){
  .site-logo svg,.site-logo img{height:64px!important;width:auto!important}
  .site-header__inner{height:auto!important;min-height:64px;padding:.6rem 1.25rem!important}
}

/* ═══ 2. Mobile menu — CTA as proper button ═══ */
@media(max-width:768px){
  .site-nav{
    padding:0!important;
    background:#fff!important;
    border-top:3px solid var(--brand)!important;
    box-shadow:0 8px 24px rgba(0,0,0,.15)!important
  }
  .site-nav a{
    text-align:left!important;
    padding:.85rem 1.5rem!important;
    font-size:.92rem!important;
    font-weight:600!important;
    color:var(--black)!important;
    border-bottom:1px solid var(--g1)!important;
    border-radius:0!important;
    background:none!important;
    display:block!important;
    margin:0!important
  }
  .site-nav a:hover,.site-nav a.active{
    background:var(--g0)!important;
    color:var(--brand)!important;
    border-left:3px solid var(--brand)!important;
    padding-left:calc(1.5rem - 3px)!important
  }
  .site-nav__cta{
    text-align:left!important;
    margin:0!important;
    padding:.85rem 1.5rem!important;
    display:block!important;
    border:none!important;
    border-bottom:1px solid var(--g1)!important;
    border-left:none!important;
    background:none!important;
    color:var(--brand)!important;
    border-radius:0!important;
    font-weight:700!important
  }
  .site-nav__cta:hover{
    border-left:3px solid var(--brand)!important;
    padding-left:calc(1.5rem - 3px)!important;
    background:var(--g0)!important;
    color:var(--brand)!important
  }
  .mobile-search{
    display:block!important;
    padding:.6rem 1.25rem!important;
    border-bottom:1px solid var(--g1)!important;
    background:var(--g0)!important
  }
  .mobile-search form{display:flex;gap:.5rem}
  .mobile-search input{
    flex:1!important;padding:.5rem .75rem!important;border:1px solid var(--g2)!important;
    font-size:.85rem!important;font-family:var(--font)!important;border-radius:2px!important;background:#fff!important
  }
  .mobile-search button{
    padding:.5rem .75rem;border:none;background:var(--brand);color:#fff;
    font-size:.8rem;font-weight:600;cursor:pointer;border-radius:2px;font-family:var(--font)
  }
  .header-search{display:none!important}
}
@media(min-width:769px){.mobile-search{display:none!important}}

/* ═══ 3. Desktop dropdown menu ═══ */
.has-dropdown{position:relative}
.has-dropdown .dropdown{
  display:none;position:absolute;top:100%;left:0;min-width:220px;
  background:#fff;border:1px solid var(--g1);box-shadow:0 6px 20px rgba(0,0,0,.1);
  z-index:100;padding:.5rem 0
}
.has-dropdown:hover .dropdown{display:block}
.dropdown a{
  display:block!important;padding:.6rem 1.25rem!important;font-size:.85rem!important;
  font-weight:500!important;color:var(--g6)!important;border-bottom:none!important;
  white-space:nowrap
}
.dropdown a:hover{background:var(--g0)!important;color:var(--brand)!important}
.dropdown .dropdown__label{
  display:block;padding:.4rem 1.25rem;font-size:.68rem;font-weight:700;
  text-transform:uppercase;letter-spacing:.08em;color:var(--g3);pointer-events:none
}

/* Mobile dropdown — just show inline */
@media(max-width:768px){
  .has-dropdown .dropdown{
    display:none;position:static;box-shadow:none;border:none;
    background:var(--g0);padding:0;min-width:auto
  }
  .has-dropdown.open .dropdown{display:block}
  .dropdown a{padding:.7rem 1.5rem .7rem 2.5rem!important;font-size:.88rem!important;border-bottom:1px solid var(--g1)!important}
  .dropdown .dropdown__label{padding:.5rem 1.5rem .3rem 2.5rem}
  .has-dropdown>a{position:relative}
  .has-dropdown>a::after{content:'▾';margin-left:.4rem;font-size:.7rem}
}

/* ═══ 4. Dividend cards — used on history page ═══ */
.dividend-card{
  background:var(--white);border:1px solid var(--g1);border-left:4px solid var(--brand);
  padding:1.5rem;margin-bottom:1rem;
  display:grid;grid-template-columns:1fr 1fr 1fr 1fr auto;gap:1rem;align-items:center
}
.dividend-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.06)}
.dividend-card__field{display:flex;flex-direction:column;gap:.2rem}
.dividend-card__label{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--g4)}
.dividend-card__value{font-size:1rem;font-weight:700;color:var(--black)}
.dividend-card__value--accent{color:var(--brand)}
.dividend-card__actions{display:flex;gap:.5rem;flex-wrap:wrap}
.dividend-card__actions .btn{font-size:.75rem;padding:.35rem .75rem}
.div-status{display:inline-block;padding:.15rem .5rem;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;border-radius:2px}
.div-status--upcoming{background:#dff0f0;color:var(--brand)}
.div-status--paid{background:#e8f5e9;color:#2e7d32}
@media(max-width:768px){
  .dividend-card{grid-template-columns:1fr 1fr;gap:.75rem;padding:1.25rem}
  .dividend-card__actions{grid-column:1/-1;padding-top:.5rem;border-top:1px solid var(--g1)}
}

/* ═══ 6. Product quick-links near footer — visual cards ═══ */
.quick-links{
  display:grid;grid-template-columns:1fr 1fr;gap:0;
  border:1px solid var(--g1);background:var(--g0)
}
.quick-link{
  display:block;padding:2rem 1.5rem;text-align:center;text-decoration:none;
  color:inherit;border-right:1px solid var(--g1);border-bottom:1px solid var(--g1);
  background:var(--g0);position:relative;transition:all .25s
}
.quick-link:nth-child(2n){border-right:none}
.quick-link:nth-child(n+3){border-bottom:none}
.quick-link::before{
  content:'';position:absolute;bottom:0;left:0;right:0;height:3px;
  background:var(--brand);transform:scaleX(0);transition:transform .3s
}
.quick-link:hover::before{transform:scaleX(1)}
.quick-link:hover{background:var(--brand);color:#fff}
.quick-link:hover h4{color:#fff}
.quick-link:hover p{color:rgba(255,255,255,.8)}
.quick-link h4{font-size:1.05rem;font-weight:800;margin:0 0 .25rem;color:var(--black)}
.quick-link p{font-size:.82rem;color:var(--g4);line-height:1.4;margin:0}
@media(max-width:600px){
  .quick-links{grid-template-columns:1fr}
  .quick-link{border-right:none!important;border-bottom:1px solid var(--g1)!important;text-align:left;padding:1.5rem}
  .quick-link:last-child{border-bottom:none!important}
}

/* ═══ FAQ accordion ═══ */
.faq-item{border-bottom:1px solid var(--g1)}
.faq-item__q{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;cursor:pointer;font-size:.95rem;font-weight:700;color:var(--black)}
.faq-item__q:hover{color:var(--brand)}
.faq-item__q::after{content:'+';font-size:1.2rem;font-weight:400;color:var(--g3)}
.faq-item.active .faq-item__q::after{content:'−'}
.faq-item__a{display:none;padding:0 0 1rem;font-size:.9rem;line-height:1.7;color:var(--g5)}
.faq-item.active .faq-item__a{display:block}

/* ═══ Dividend table fallback ═══ */
.dividend-table{width:100%;border-collapse:collapse;margin-top:1.5rem}
.dividend-table th{text-align:left;padding:.75rem;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--g4);border-bottom:2px solid var(--g2);background:var(--g0)}
.dividend-table td{padding:.75rem;border-bottom:1px solid var(--g1);font-size:.9rem;vertical-align:middle}


/* ═══ MOBILE MENU — full width items, centred ═══ */
@media(max-width:768px){
  .site-nav{
    left:0!important;right:0!important;width:100%!important
  }
  .site-nav a,
  .site-nav .site-nav__cta{
    width:100%!important;
    box-sizing:border-box!important
  }
  /* Hide logo when menu is open */
  .site-logo{transition:opacity .15s ease}
  .menu-open .site-logo{opacity:0;pointer-events:none}
  /* Search bar full width */
  .mobile-search{width:100%!important;box-sizing:border-box!important}
  .mobile-search input{width:100%!important;box-sizing:border-box!important}
  /* Dropdown items indented slightly */
  .has-dropdown .dropdown a{
    padding-left:2rem!important;
    font-size:.88rem!important
  }
  .has-dropdown .dropdown .dropdown__label{
    padding-left:2rem!important
  }
}

/* ═══ SCROLL ANIMATIONS — subtle fade-in-up ═══ */
.fade-in{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.fade-in.visible{opacity:1;transform:translateY(0)}
.fade-in-delay-1{transition-delay:.1s}
.fade-in-delay-2{transition-delay:.2s}
.fade-in-delay-3{transition-delay:.3s}

/* Auto-apply to key sections */
.section,.card,.dividend-box,.quick-link,.pricing-card,.dividend-card{
  opacity:0;transform:translateY(15px);transition:opacity .5s ease,transform .5s ease
}
.section.visible,.card.visible,.dividend-box.visible,.quick-link.visible,.pricing-card.visible,.dividend-card.visible{
  opacity:1;transform:translateY(0)
}
/* Don't animate hero or header */
.hero-banner,.site-header,.page-header,.utility-bar,.site-footer{opacity:1!important;transform:none!important}

/* ═══ FIX: Services dropdown parent — force left align like siblings ═══ */
@media(max-width:768px){
  .has-dropdown{display:block!important;width:100%!important}
  .has-dropdown>a{
    text-align:left!important;
    width:100%!important;
    box-sizing:border-box!important;
    display:block!important
  }
}


/* ═══ JOURNEY CARDS ═══ */
.journey-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem}
.journey-card{background:var(--white);border:1px solid var(--g1);padding:1.5rem;border-top:3px solid var(--brand);transition:box-shadow .3s}
.journey-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.07)}
.journey-card__date{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--brand);display:block;margin-bottom:.5rem}
.journey-card__title{font-size:.95rem;font-weight:700;margin:0 0 .5rem;color:var(--black)}
.journey-card__text{font-size:.85rem;line-height:1.6;color:var(--g5);margin:0}
.journey-card--current{background:var(--brand);border-color:var(--brand);border-top-color:rgba(255,255,255,.3)}
.journey-card--current .journey-card__date{color:rgba(255,255,255,.5)}
.journey-card--current .journey-card__title{color:#fff}
.journey-card--current .journey-card__text{color:rgba(255,255,255,.8)}
@media(max-width:768px){.journey-grid{grid-template-columns:1fr}}

/* ═══ STATS GRID ═══ */
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid var(--g1);background:var(--white)}
.stats-grid__item{padding:2rem;text-align:center;border-right:1px solid var(--g1)}
.stats-grid__item:last-child{border-right:none}
.stats-grid__item h3{font-size:2rem;color:var(--brand);margin:0 0 .25rem}
.stats-grid__item p{font-size:.82rem;color:var(--g5);text-transform:uppercase;letter-spacing:.06em;font-weight:600;margin:0}
@media(max-width:600px){
  .stats-grid{grid-template-columns:1fr 1fr}
  .stats-grid__item:nth-child(2n){border-right:none}
  .stats-grid__item{border-bottom:1px solid var(--g1)}
}

/* ═══ SUPPORT WIDGET SVG ═══ */
.support-widget__btn{display:flex!important;align-items:center!important;justify-content:center!important}
.support-widget__btn svg{width:22px!important;height:22px!important;fill:none!important;stroke:#fff!important;stroke-width:2!important;flex-shrink:0}

/* ═══ COOKIE BANNER ═══ */
.cookie-banner{
  position:fixed;bottom:0;left:0;right:0;z-index:9999;
  background:#1a1a1a;color:#fff;padding:1rem 1.5rem;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  font-size:.85rem;line-height:1.5;box-shadow:0 -4px 20px rgba(0,0,0,.2);
  transform:translateY(100%);transition:transform .4s ease
}
.cookie-banner.show{transform:translateY(0)}
.cookie-banner p{margin:0;flex:1;color:rgba(255,255,255,.85)}
.cookie-banner p a{color:var(--brand);text-decoration:underline}
.cookie-banner__buttons{display:flex;gap:.5rem;flex-shrink:0}
.cookie-banner__btn{padding:.5rem 1.25rem;font-size:.82rem;font-weight:700;border:none;cursor:pointer;border-radius:2px;font-family:inherit}
.cookie-banner__btn--accept{background:var(--brand);color:#fff}
.cookie-banner__btn--accept:hover{background:#0c5052}
.cookie-banner__btn--reject{background:transparent;color:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.2)}
.cookie-banner__btn--reject:hover{color:#fff;border-color:rgba(255,255,255,.4)}
@media(max-width:600px){
  .cookie-banner{flex-direction:column;text-align:center;padding:1.25rem}
  .cookie-banner__buttons{width:100%;justify-content:center}
}


/* ═══ FIX: Gap between services header and product buttons ═══ */
.quick-links{margin-top:1rem!important}


/* ═══════════════════════════════════════════════════════════════
   PATCH 4.4.0 — Modernity polish
   Subtle improvements: focus-visible rings, motion-safe transitions,
   backdrop-filter on sticky header, card lift, link underline offset,
   smoother page-header gradient. Designed to be additive — overrides
   earlier rules rather than rewriting them.
═══════════════════════════════════════════════════════════════ */

/* Browsers can choose a matching scrollbar / form-control colour scheme.
   We're explicitly light. */
html{color-scheme:light}

/* Nicer numerals (tabular figures in stats/tables) where the font supports it. */
table,.dividend-box__value,.stat,[class*="stat-num"],[class*="summary-num"]{
  font-variant-numeric:tabular-nums
}

/* Modern link underline: smaller, offset away from descenders. */
.prose a,
.legal-body a,
.lp-clause a,
.ab-intro a,
.footer-mid a,
p a{
  text-underline-offset:.18em;
  text-decoration-thickness:1px
}

/* Focus-visible rings (keyboard only — mouse clicks don't trigger).
   2px ring + offset so it works on light AND dark backgrounds. */
:focus{outline:none}
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:2px;
  border-radius:3px
}
/* On dark backgrounds the brand ring still works, but lighten slightly. */
.site-footer a:focus-visible,
.hero-banner a:focus-visible,
.page-header a:focus-visible,
.section--brand a:focus-visible,
.section--dark a:focus-visible{
  outline-color:rgba(255,255,255,.7)
}

/* Sticky header: frosted glass look. Falls back gracefully to opaque. */
@supports (backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px)){
  .site-header{
    background:rgba(255,255,255,.85);
    -webkit-backdrop-filter:saturate(180%) blur(14px);
    backdrop-filter:saturate(180%) blur(14px)
  }
}

/* Cards lift subtly on hover — modern micro-interaction. */
.card,.ab-info-card,.ab-div-card,.ab-link,.dm-step,.dm-report,
.au-card,.au-svc,.au-why-card,.au-news-item,
.na-card,.na-svc,.na-why-card,.na-news-item{
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}
.card--link:hover,
.ab-div-card:hover,
.ab-link:hover,
.dm-step:hover,
.dm-report:hover,
.au-svc:hover,
.au-why-card:hover,
.na-svc:hover,
.na-why-card:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(17,103,106,.08)
}

/* Buttons get a soft elevation that strengthens on hover. */
.btn{
  box-shadow:0 1px 2px rgba(0,0,0,.05);
  transition:transform .15s ease,box-shadow .2s ease,background .15s ease,color .15s ease,border-color .15s ease
}
.btn--primary,.btn--secondary{
  box-shadow:0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.04)
}
.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(17,103,106,.18)
}
.btn:active{transform:translateY(0);box-shadow:0 1px 2px rgba(0,0,0,.06)}
.btn--outline:hover{box-shadow:0 4px 12px rgba(17,103,106,.12)}

/* Header nav dropdown — keep the existing display:none/block system (other
   rules elsewhere depend on it) but add a brief slide-in animation when
   the dropdown becomes visible. CSS animations work on display changes
   in a way transitions cannot. */
@media(min-width:769px){
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown{
    animation:cmb-dropdown-in .14s ease-out
  }
}
@keyframes cmb-dropdown-in{
  from{opacity:0;transform:translateY(-4px)}
  to{opacity:1;transform:translateY(0)}
}

/* Smoother canonical page-header gradient (adds a soft inner shadow at the
   bottom so it transitions visually into white content below). */
.page-header,.uk-page-hero{
  background-image:
    linear-gradient(135deg,var(--brand) 0%,var(--brand-dark) 100%),
    radial-gradient(ellipse at top right,rgba(255,255,255,.08),transparent 60%);
  background-blend-mode:overlay,normal;
  position:relative
}
.page-header::after,.uk-page-hero::after{
  content:'';position:absolute;left:0;right:0;bottom:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.12),transparent);
  pointer-events:none
}

/* Hero-banner (homepage): subtle scroll-cue indicator on desktop. */
@media(min-width:769px){
  .hero-banner{position:relative}
  .hero-banner::after{
    content:'';position:absolute;left:50%;bottom:1.5rem;
    width:1px;height:24px;
    background:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,.5));
    transform:translateX(-50%);
    pointer-events:none;
    opacity:.6
  }
}

/* Forms: nicer focused state, modern shadow. */
input:focus,
select:focus,
textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus,
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus{
  border-color:var(--brand);
  box-shadow:0 0 0 3px rgba(17,103,106,.12)
}

/* Selection contrast bumped slightly for the new gradient hero. */
::selection{background:var(--brand);color:#fff}

/* Respect users who prefer less motion. Disables transitions/animations
   site-wide — required for WCAG 2.1 SC 2.3.3. */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important
  }
}

/* Print: hide things that don't print, reset colours. */
@media print{
  .site-header,.site-footer,.utility-bar,.support-widget,
  .cookie-banner,.search-overlay,.menu-toggle,.cmb-rs,
  .au-topbar,.au-header,.au-footer,
  .na-topbar,.na-header,.na-footer{display:none!important}
  body{background:#fff!important;color:#000!important}
  a{color:#000!important;text-decoration:underline}
  .page-header,.uk-page-hero{background:#f0f0f0!important;color:#000!important;border-bottom:2px solid #000}
  .page-header__title,.uk-page-hero h1{color:#000!important}
}
