/*
Theme Name: Regal Access
Theme URI: 
Author: Regal Access Cloud Solutions
Description: Lightweight theme for Regal Access Cloud Solutions: the homepage, six service pages, a working consultation form and an Orbit-logo header and footer. Compatible with Elementor and Elementor Pro (Theme Builder header, footer and single templates). No external fonts, libraries or requests.
Version: 1.0.9
Requires at least: 6.3
Tested up to: 7.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: regal-access
Tags: one-column, custom-menu, accessibility-ready, translation-ready, block-styles
*/

    /* ============================================================
       Tokens
       ============================================================ */
    :root {
      --navy: #0f1f38;
      --navy-2: #1a2f50;
      --text: #1c2733;
      --muted: #5a6672;
      --subtle: #7b8590;
      --green: #1d5fbf;
      --green-hover: #174d9c;
      --green-soft: #e8f0fb;
      --green-line: #c9dbf4;
      --bg: #ffffff;
      --bg-soft: #f5f7fa;
      --card: #fcfcfc;
      --line: #e2e6e9;

      --on-navy: #f3f6f8;
      --on-navy-muted: #b9c4ce;
      --green-on-navy: #8db8f0;

      --sans: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
      --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

      --wrap: 84rem;
      --gutter: clamp(1.25rem, 4vw, 2.5rem);
      --section: clamp(4.5rem, 10vw, 7.5rem);
      --radius: 18px;
    }

    /* ============================================================
       Base
       ============================================================ */
    *, *::before, *::after { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; }
    body {
      margin: 0;
      font-family: var(--sans);
      font-size: 1.0625rem;
      line-height: 1.65;
      color: var(--text);
      background: var(--bg);
    }
    :where(svg):where(:not(.elementor *)) { display: block; max-width: 100%; }
    h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.12; }
    h1, h2 { font-weight: 700; letter-spacing: -0.03em; }
    h3, h4 { font-weight: 600; letter-spacing: -0.01em; }
    p { margin: 0 0 1em; }
    :where(ul, ol):where(:not(.elementor *)) { margin: 0; padding: 0; }
    a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
    a:hover { text-decoration-thickness: 2px; }

    /* Elementor compatibility: Elementor's Kit sets fonts on body, headings and buttons
       (e.g. ".elementor-kit-5 h1"). These rules match that specificity and load after it,
       so the theme's own sections keep their typography. Content built inside Elementor
       (.elementor) still follows the Kit. */
    .ra-site { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--text); }
    .ra-site :is(h1, h2, h3, h4, h5, h6):where(:not(.elementor *)) { font-family: var(--sans); margin: 0; color: var(--navy); line-height: 1.12; }
    .ra-site :is(h1, h2):where(:not(.elementor *)) { font-weight: 700; letter-spacing: -0.03em; }
    .ra-site :is(h3, h4):where(:not(.elementor *)) { font-weight: 600; letter-spacing: -0.01em; }
    .ra-site :is(button, input, textarea, select):where(:not(.elementor *)) { font-family: var(--sans); }

    :focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
    .on-navy :focus-visible { outline-color: var(--green-on-navy); }

    @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

    .wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
    .visually-hidden {
      position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
      overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
    }
    .skip-link {
      position: absolute; left: 1rem; top: -100px; z-index: 100;
      background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px;
      font-weight: 600; text-decoration: none;
    }
    .skip-link:focus { top: 1rem; }

    /* Eyebrow: short rule + spaced caps, as in the reference */
    .eyebrow {
      display: inline-flex; align-items: center; gap: .75rem; margin: 0 0 1.25rem;
      font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green);
    }
    .eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; }
    .on-navy .eyebrow { color: var(--green-on-navy); }

    .section { padding-block: var(--section); }
    section[id] { scroll-margin-top: 4.5rem; } /* keep headings clear of the sticky header */
    .section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 3.25rem); }
    .section-head h2 { font-size: clamp(2.1rem, 5vw, 3.25rem); margin-bottom: 1.1rem; }
    .section-head p { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.15rem); margin: 0; }

    .on-navy { background: var(--navy); color: var(--on-navy); }
    .on-navy h2, .on-navy h3 { color: #fff; }
    .on-navy .section-head p { color: var(--on-navy-muted); }

    /* Buttons */
    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
      min-height: 48px; padding: .75rem 1.4rem;
      font: 600 1rem/1.2 var(--sans); text-decoration: none;
      border-radius: 10px; border: 1.5px solid transparent; cursor: pointer;
      transition: background-color .15s ease, border-color .15s ease, color .15s ease;
    }
    .btn-primary { background: var(--green); color: #fff; }
    .btn-primary:hover { background: var(--green-hover); }
    .btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
    .btn-secondary:hover { border-color: var(--navy); }
    .btn .arrow { transition: transform .15s ease; }
    .btn:hover .arrow { transform: translateX(3px); }
    @media (prefers-reduced-motion: reduce) {
      .btn, .btn .arrow { transition: none; }
      .btn:hover .arrow { transform: none; }
    }

    /* Icon tile (reference: soft green square with line icon) */
    .icon-tile {
      flex: none; width: 2.25rem; height: 2.25rem; border-radius: 9px;
      display: grid; place-items: center;
      background: var(--green-soft); color: var(--green);
    }
    .icon-tile svg { width: 18px; height: 18px; }

    /* ============================================================
       Header
       ============================================================ */
    .site-header {
      position: sticky; top: 0; z-index: 50;
      background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
    }
    @supports (backdrop-filter: blur(8px)) {
      .site-header { background: rgba(255,255,255,.85); backdrop-filter: blur(10px); }
    }
    .header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; }
    .brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); padding-block: .5rem; margin-right: auto; }
    .brand svg { flex: none; }
    .brand-name { display: flex; flex-direction: column; line-height: 1.1; }
    .brand-name strong { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; }
    .brand-name span { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--subtle); margin-top: .22rem; }

    .site-nav { order: 2; }
    .header-actions { order: 3; display: flex; align-items: center; gap: .5rem; }
    .site-nav ul { list-style: none; display: flex; gap: .25rem; align-items: center; }
    .site-nav a {
      display: block; padding: .55rem .85rem; border-radius: 8px;
      text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500;
    }
    .site-nav a:hover { color: var(--navy); background: var(--bg-soft); }
    .site-nav .nav-cta-item { display: none; }
    .header-cta { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }

    .nav-toggle {
      display: none; align-items: center; gap: .55rem; min-height: 44px; padding: .5rem .9rem;
      background: #fff; color: var(--navy); border: 1.5px solid var(--line); border-radius: 10px;
      font: 600 .9rem var(--sans); cursor: pointer;
    }
    .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
      display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
    }
    .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-bars::before { top: -5px; }
    .nav-toggle-bars::after { top: 5px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

    @media (max-width: 54rem) {
      .header-actions { order: 2; }
      .site-nav { order: 3; width: 100%; }
      .js .nav-toggle { display: inline-flex; }
      .js .site-nav { display: none; padding-bottom: 1rem; }
      .js .site-nav.is-open { display: block; }
      .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
      .site-nav li + li { border-top: 1px solid var(--line); }
      .site-nav a { padding: .9rem .25rem; font-size: 1.05rem; color: var(--navy); border-radius: 0; }
      .site-nav .nav-cta-item { display: block; border-top: 0 !important; margin-top: .75rem; }
      .site-nav .nav-cta-item a { text-align: center; color: #fff; background: var(--green); border-radius: 10px; padding: .85rem; font-weight: 600; }
    }
    @media (max-width: 36rem) { .header-cta { display: none; } }

    /* ============================================================
       Hero
       ============================================================ */
    .hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem); position: relative; overflow: hidden; }
    .hero::before {
      content: ""; position: absolute; inset: 0; pointer-events: none;
      background-image: radial-gradient(circle, #d9dee2 1px, transparent 1.2px);
      background-size: 24px 24px;
      mask-image: radial-gradient(ellipse at 78% 45%, #000 0%, transparent 60%);
      -webkit-mask-image: radial-gradient(ellipse at 78% 45%, #000 0%, transparent 60%);
      opacity: .7;
    }
    .hero-grid { position: relative; display: grid; gap: clamp(3rem, 6vw, 4rem); align-items: center; }
    @media (min-width: 62rem) { .hero-grid { grid-template-columns: 1.1fr .9fr; } }
    .hero h1 { font-size: clamp(2.6rem, 6.6vw, 4.5rem); line-height: 1.03; letter-spacing: -0.035em; margin-bottom: 1.5rem; max-width: 15ch; }
    .hero h1 span { color: var(--green); }
    .hero-lede { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--muted); max-width: 36rem; margin-bottom: 2.25rem; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.75rem; }
    .hero-pillars {
      list-style: none; display: flex; flex-wrap: wrap; gap: .6rem;
    }
    .hero-pillars li {
      display: inline-flex; align-items: center; gap: .55rem;
      padding: .4rem .8rem .4rem .45rem; border: 1px solid var(--line); border-radius: 999px;
      font-size: .9rem; font-weight: 600; color: var(--navy); background: #fff;
    }
    .hero-pillars .icon-tile { width: 1.65rem; height: 1.65rem; border-radius: 999px; }
    .hero-pillars .icon-tile svg { width: 14px; height: 14px; }

    .hero-panel {
      background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
      padding: clamp(1.25rem, 3vw, 1.75rem);
      box-shadow: 0 1px 2px rgba(15,31,56,.04), 0 18px 40px -24px rgba(15,31,56,.18);
    }
    .hero-panel-head {
      display: flex; justify-content: space-between; align-items: center; gap: 1rem;
      padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line);
    }
    .hero-panel-head { flex-wrap: wrap; row-gap: .35rem; }
    .hero-panel-head strong { font-size: 1.3rem; color: var(--navy); letter-spacing: -0.01em; }
    .hero-panel-head span { font-size: .9rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #5f6873; }


    .orbit { width: 100%; max-width: 340px; margin: .25rem auto 1rem; }
    @media (prefers-reduced-motion: no-preference) {
      .orbit .sweep { transform-box: view-box; transform-origin: 160px 160px; animation: orbit-sweep 28s linear infinite; }
    }
    @keyframes orbit-sweep { to { transform: rotate(360deg); } }
    .orbit-legend { list-style: none; display: grid; gap: .55rem; padding-top: 1rem; border-top: 1px solid var(--line); }
    .orbit-legend li { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: .6rem; font-size: .88rem; }
    .orbit-legend .ring { width: 11px; height: 11px; border-radius: 50%; border: 3px solid var(--c); transform: translateY(1px); }
    .orbit-legend strong { color: var(--navy); font-weight: 600; min-width: 4.6rem; }
    .orbit-legend li > span:last-child { color: var(--muted); }

    /* ============================================================
       Services (matches reference)
       ============================================================ */
    .service-groups { display: grid; gap: 1.25rem; }
    @media (min-width: 56rem) { .service-groups { grid-template-columns: 1fr 1fr; } }
    .group {
      background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
      padding: clamp(1.4rem, 3vw, 1.6rem) clamp(1.25rem, 3vw, 1.6rem) .75rem;
    }
    .group-head {
      display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
      padding-bottom: 1.1rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line);
    }
    .group-head h3 { font-size: 1.15rem; }
    .group-tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #646f7d; white-space: nowrap; margin: 0; }
    .service-list { list-style: none; }
    .service { display: flex; gap: 1rem; padding-block: 1.1rem; }
    .service + .service { border-top: 1px dashed transparent; }
    .service h4 { font-size: 1rem; margin: .3rem 0 .3rem; }
    .service p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.6; }

    .services-cta {
      margin-top: 1.25rem; padding: 1.25rem 1.5rem; border-radius: var(--radius);
      background: var(--bg-soft); border: 1px solid var(--line);
      display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
    }
    .services-cta p { margin: 0; color: var(--text); max-width: 40rem; }

    /* ============================================================
       Integrated approach
       ============================================================ */
    .approach-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
    @media (min-width: 62rem) { .approach-grid { grid-template-columns: .85fr 1.15fr; align-items: start; } }
    .reasons { list-style: none; display: grid; gap: 1rem; }
    .reason {
      display: flex; gap: 1rem; padding: 1.4rem 1.5rem;
      background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: 14px;
    }
    .reason .icon-tile { background: rgba(141,184,240,.14); color: var(--green-on-navy); }
    .reason h3 { font-size: 1.1rem; margin: .3rem 0 .4rem; }
    .reason p { margin: 0; color: var(--on-navy-muted); font-size: .97rem; }

    /* ============================================================
       Process
       ============================================================ */
    .steps { list-style: none; display: grid; gap: 1.25rem; counter-reset: s; }
    @media (min-width: 40rem) { .steps { grid-template-columns: 1fr 1fr; } }
    @media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
    .step {
      position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
      padding: 1.5rem;
    }
    .step-num {
      display: flex; align-items: center; gap: .75rem; margin: 0 0 1.25rem;
      font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green);
    }
    .step-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
    .step h3 { font-size: 1.15rem; margin-bottom: .5rem; }
    .step p { margin: 0; color: var(--muted); font-size: .95rem; }
    .process-note { margin-top: 2rem; color: var(--muted); }
    .process-note a { color: var(--green); font-weight: 600; }

    /* ============================================================
       Contact
       ============================================================ */
    .contact { background: var(--bg-soft); border-top: 1px solid var(--line); }
    .contact-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
    @media (min-width: 62rem) { .contact-grid { grid-template-columns: .8fr 1.2fr; } }
    .contact-aside h2 { font-size: clamp(2.1rem, 5vw, 3.25rem); margin-bottom: 1.1rem; }
    .contact-aside > p { color: var(--muted); font-size: 1.1rem; }
    .contact-points { list-style: none; display: grid; gap: .85rem; margin-top: 1.75rem; }
    .contact-points li { display: flex; gap: .75rem; align-items: center; font-weight: 500; }
    .contact-points .icon-tile { width: 1.75rem; height: 1.75rem; border-radius: 7px; }
    .contact-points .icon-tile svg { width: 14px; height: 14px; }

    .form-card {
      background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
      padding: clamp(1.5rem, 4vw, 2.25rem);
    }
    .form-grid { display: grid; gap: 1.25rem; }
    @media (min-width: 40rem) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
    .field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; color: var(--navy); }
    .req { font-weight: 400; color: var(--muted); font-size: .85rem; }
    .hint { display: block; font-size: .87rem; color: var(--muted); margin: -.15rem 0 .55rem; }
    input[type="text"], input[type="email"], textarea {
      width: 100%; min-height: 48px; padding: .7rem .85rem;
      font: inherit; font-size: 1rem; color: var(--text);
      background: #fff; border: 1.5px solid #b9c1c8; border-radius: 10px;
    }
    textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
    input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(29,95,191,.35); outline-offset: 0; border-color: var(--green); }
    input:user-invalid, textarea:user-invalid { border-color: #b42318; }

    fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
    .checks { display: grid; gap: .5rem; }
    @media (min-width: 40rem) { .checks { grid-template-columns: 1fr 1fr; } }
    .check {
      display: flex; align-items: center; gap: .65rem; padding: .65rem .8rem;
      border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .95rem; cursor: pointer;
    }
    .check:hover { border-color: #b9c1c8; }
    .check input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--green); flex: none; }
    .check:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
    .check:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
    .check input:focus-visible { outline: none; }

    .form-foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 1.75rem; }
    .form-foot small { color: var(--muted); font-size: .88rem; flex: 1 1 16rem; }
    .form-status {
      margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: 10px;
      background: var(--green-soft); border: 1px solid var(--green-line); color: var(--navy); font-size: .97rem;
    }
    .form-status[hidden] { display: none; }

    /* ============================================================
       Footer
       ============================================================ */
    .site-footer { padding-block: 3.5rem 2.5rem; }
    .site-footer .brand { color: #fff; }
    .site-footer .brand-name span { color: var(--on-navy-muted); }
    .footer-grid { display: grid; gap: 2rem; }
    @media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
    .footer-about { color: var(--on-navy-muted); max-width: 30rem; margin-top: 1rem; font-size: .97rem; }
    .footer-nav h2 { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-on-navy); margin-bottom: .75rem; }
    .footer-nav ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.5rem; }
    .footer-nav a { display: inline-block; padding: .35rem 0; color: var(--on-navy-muted); text-decoration: none; }
    .footer-nav a:hover { color: #fff; text-decoration: underline; }
    .footer-base {
      margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
      display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: var(--on-navy-muted);
    }
    .footer-base a { color: var(--on-navy-muted); }

    @media print {
      .site-header, .nav-toggle, .hero-panel { display: none; }
      .on-navy { background: #fff; color: #000; }
    }

    /* ============================================================
       Shared additions: linked service rows, footer columns
       ============================================================ */
    .service { position: relative; margin-inline: -.75rem; padding-inline: .75rem; border-radius: 12px; transition: background-color .15s ease; }
    .service:hover { background: var(--bg-soft); }
    .service-link { color: inherit; text-decoration: none; }
    .service-link::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
    .service-link:focus-visible { outline: none; }
    .service:has(.service-link:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
    .service h4 .go { display: inline-block; margin-left: .35rem; color: var(--subtle); transition: transform .15s ease, color .15s ease; }
    .service:hover h4 .go { color: var(--green); transform: translateX(3px); }

    .footer-nav ul { grid-template-columns: 1fr; }
    .footer-nav a[aria-current="page"] { color: #fff; font-weight: 600; }
    @media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.3fr 1fr .8fr; } }

    /* ============================================================
       Service pages
       ============================================================ */
    .page-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem); }
    .page-hero::before {
      content: ""; position: absolute; inset: 0; pointer-events: none;
      background-image: radial-gradient(circle, #d9dee2 1px, transparent 1.2px); background-size: 24px 24px;
      mask-image: radial-gradient(ellipse at 85% 30%, #000 0%, transparent 55%);
      -webkit-mask-image: radial-gradient(ellipse at 85% 30%, #000 0%, transparent 55%); opacity: .7;
    }
    .page-hero-grid { position: relative; display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); align-items: start; }
    @media (min-width: 62rem) { .page-hero-grid { grid-template-columns: 1.3fr .7fr; } }
    .breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--muted); margin-bottom: 2rem; }
    .breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--subtle); }
    .breadcrumb a { color: var(--muted); text-decoration: none; }
    .breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
    .breadcrumb [aria-current] { color: var(--navy); font-weight: 600; }
    .icon-tile.lg { width: 3.25rem; height: 3.25rem; border-radius: 14px; margin-bottom: 1.5rem; }
    .icon-tile.lg svg { width: 26px; height: 26px; }
    .page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 1.25rem; max-width: 18ch; }
    .page-hero .hero-lede { margin-bottom: 2rem; }
    .page-hero .hero-actions { margin-bottom: 0; }

    .glance { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem 1.5rem; box-shadow: 0 18px 40px -28px rgba(15,31,56,.25); }
    .glance::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ring); }
    .glance h2 { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--subtle); margin-bottom: 1.25rem; }
    .glance dl { margin: 0; display: grid; gap: 1.25rem; }
    .glance dt { font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: .4rem; }
    .glance dd { margin: 0; color: var(--muted); font-size: .95rem; }
    .glance ul { list-style: none; display: grid; gap: .4rem; }
    .glance li { display: flex; gap: .6rem; align-items: baseline; }
    .glance li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--green); transform: translateY(-1px); }
    .glance dd a { color: var(--green); font-weight: 600; }
    .practice-chip { display: inline-flex; align-items: center; gap: .55rem; }
    .practice-chip::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ring); }

    .feature-grid { list-style: none; display: grid; gap: 1rem; }
    @media (min-width: 40rem) { .feature-grid { grid-template-columns: 1fr 1fr; } }
    @media (min-width: 64rem) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
    .feature { height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem; }
    .feature h3 { font-size: 1.08rem; }
    .feature p { margin: 0; color: var(--muted); font-size: .95rem; }

    .fit { background: var(--bg-soft); border-block: 1px solid var(--line); }
    .fit-grid { display: grid; gap: 2.5rem; }
    @media (min-width: 62rem) { .fit-grid { grid-template-columns: .85fr 1.15fr; align-items: start; } }
    .fit-list { list-style: none; display: grid; gap: .75rem; }
    .fit-list li { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.15rem; }
    .fit-list .icon-tile { width: 1.75rem; height: 1.75rem; border-radius: 7px; }
    .fit-list .icon-tile svg { width: 14px; height: 14px; }

    .related-grid { list-style: none; display: grid; gap: 1rem; }
    @media (min-width: 48rem) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
    .related-card { height: 100%; display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: inherit; text-decoration: none; transition: border-color .15s ease; }
    .related-card:hover { border-color: var(--navy); text-decoration: none; }
    .related-card h3 { font-size: 1.08rem; }
    .related-card p { margin: 0; color: var(--muted); font-size: .95rem; }
    .related-card .go { margin-top: auto; padding-top: .5rem; color: var(--green); font-weight: 600; font-size: .92rem; }

    .cta-band { padding-block: clamp(3.5rem, 8vw, 5rem); }
    .cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
    .cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .6rem; }
    .cta-band p { margin: 0; color: var(--on-navy-muted); max-width: 38rem; }
    .cta-band .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
    .cta-band .btn-secondary:hover { border-color: #fff; }
    .cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

    @media (prefers-reduced-motion: reduce) {
      .service, .service h4 .go, .related-card { transition: none; }
      .service:hover h4 .go { transform: none; }
    }

    /* ============================================================
       Services: four solution cards
       ============================================================ */
    .services-v2 { background: linear-gradient(180deg, #f4f7fc 0%, #ffffff 100%); padding-top: clamp(3rem, 7vw, 5rem); }
    .section-head--wide { max-width: 64rem; }
    .section-head--wide h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
    .section-head--wide p { max-width: 44rem; }
    .eyebrow--trail { flex-direction: row-reverse; }
    .eyebrow--trail::before { width: 4.5rem; }

    .solution-grid { list-style: none; display: grid; gap: 1rem; }
    @media (min-width: 42rem) { .solution-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (min-width: 80rem) { .solution-grid { grid-template-columns: repeat(4, 1fr); } }
    .solution {
      position: relative; height: 100%; display: flex; gap: 1rem; align-items: flex-start;
      padding: 1.6rem 1.35rem 1.35rem; background: #fff;
      border: 1px solid var(--line); border-radius: 14px;
      box-shadow: 0 1px 2px rgba(15,31,56,.04);
      transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
    }
    .solution:hover, .solution:focus-within {
      background: linear-gradient(160deg, #e4eefc 0%, #f2f7fe 100%); border-color: #b6cff4;
      box-shadow: inset 0 -3px 0 var(--green), 0 14px 30px -20px rgba(29,95,191,.55);
    }
    .solution-icon { flex: none; width: 44px; height: 44px; color: var(--green); margin-top: .1rem; }
    .solution-body { min-width: 0; display: flex; flex-direction: column; height: 100%; }
    .solution h3 { font-size: 1.22rem; line-height: 1.22; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 .65rem; }
    .solution-link { color: inherit; text-decoration: none; }
    .solution-link::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
    .solution-link:focus-visible { outline: none; }
    .solution:has(.solution-link:focus-visible) { outline: 3px solid var(--green); outline-offset: 3px; }
    .solution p { color: var(--muted); font-size: .98rem; line-height: 1.55; margin: 0 0 1.1rem; }
    .solution-services { list-style: none; display: grid; gap: .3rem; margin-top: auto; padding-top: .85rem; border-top: 1px dashed #cfd8e3; position: relative; z-index: 1; }
    .solution-services a { font-size: .9rem; font-weight: 600; color: var(--green); text-decoration: none; }
    .solution-services a::after { content: "\00a0→"; }
    .solution-services a:hover { text-decoration: underline; }
    .services-v2 .services-cta { margin-top: 1.5rem; background: #fff; }
    @media (prefers-reduced-motion: reduce) { .solution { transition: none; } }

    /* Eyebrow labels inside section heads keep their own size and colour */
    .section-head .eyebrow { font-size: .8rem; color: var(--green); }
    .on-navy .section-head .eyebrow { color: var(--green-on-navy); }

    /* ============================================================
       WordPress additions
       ============================================================ */
    .hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
    .form-status--invalid, .form-status--error, .form-status--expired { background: #fdecea; border-color: #f3c2bd; }
    .page-builder-area { position: relative; }

    /* Generic pages, posts and 404 */
    .page-head { padding-block: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 3vw, 2rem); }
    .page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; max-width: 22ch; }
    .page-head .meta { color: var(--muted); margin-top: .75rem; font-size: .95rem; }
    .entry-content { max-width: 46rem; padding-bottom: var(--section); }
    .entry-content > * { margin-block: 0 1.25rem; }
    .entry-content h2 { font-size: 1.8rem; margin-top: 2.5rem; }
    .entry-content h3 { font-size: 1.35rem; margin-top: 2rem; }
    .entry-content ul, .entry-content ol { padding-left: 1.25rem; }
    .entry-content a:not(.btn) { color: var(--green); }
    .entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
    .post-list { list-style: none; display: grid; gap: 1rem; padding-bottom: var(--section); }
    .post-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
    .post-card h2 { font-size: 1.35rem; margin-bottom: .4rem; }
    .post-card h2 a { text-decoration: none; }
    .post-card p { color: var(--muted); margin: 0; }
    .pagination { padding-bottom: var(--section); display: flex; gap: 1rem; }
    .alignwide { max-width: var(--wrap); }
    .alignfull { width: 100%; max-width: none; }
    .wp-block-button__link { background: var(--green); color: #fff; border-radius: 10px; }

    /* Keep the sticky header below the WordPress admin bar when logged in */
    .admin-bar .site-header { top: 32px; }
    @media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
    @media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

    /* Tagline */
    .header-tagline { display: none; margin: 0; }
    @media (min-width: 88rem) {
      .header-tagline { display: block; margin: 0 auto 0 1.25rem; padding-left: 1.25rem; border-left: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
      .brand:has(+ .header-tagline) { margin-right: 0; }
    }
    .footer-tagline { margin: 1.1rem 0 0; font-size: 1.1rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; }

    /* Services dropdown */
    .site-nav :is(.has-sub, .menu-item-has-children) { position: relative; display: flex; align-items: center; }
    .sub-toggle { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -.4rem; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; }
    .sub-toggle:hover { color: var(--navy); background: var(--bg-soft); }
    .sub-toggle svg { transition: transform .15s ease; }
    .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
    .site-nav .sub-menu {
      display: none; position: absolute; top: 100%; left: 0; z-index: 60;
      min-width: 19rem; flex-direction: column; align-items: stretch; gap: 0;
      margin-top: .4rem; padding: .5rem; background: #fff;
      border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -20px rgba(15,31,56,.35);
    }
    .site-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.6rem; height: .6rem; }
    .site-nav :is(.has-sub, .menu-item-has-children):is(:hover, :focus-within, .is-open) > .sub-menu { display: flex; }
    .site-nav .sub-menu a { padding: .6rem .75rem; border-radius: 8px; color: var(--navy); font-weight: 500; white-space: nowrap; }
    .site-nav .sub-menu a:hover, .site-nav .sub-menu a[aria-current="page"] { background: var(--bg-soft); color: var(--green); }
    @media (max-width: 54rem) {
      .site-nav :is(.has-sub, .menu-item-has-children) { display: block; }
      .sub-toggle { display: none; }
      .site-nav .sub-menu { display: flex; position: static; min-width: 0; margin: 0 0 .5rem; padding: 0 0 0 1rem; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
      .site-nav .sub-menu::before { display: none; }
      .site-nav .sub-menu li { border-top: 0 !important; }
      .site-nav .sub-menu a { padding: .55rem .25rem; font-size: .98rem; color: var(--muted); white-space: normal; }
    }
    @media (prefers-reduced-motion: reduce) { .sub-toggle svg { transition: none; } }

    /* Footer contact and social */
    .footer-contact { font-style: normal; display: grid; gap: .55rem; margin-top: 1.4rem; color: var(--on-navy-muted); font-size: .97rem; }
    .footer-contact span, .footer-contact a { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; }
    .footer-contact a { color: var(--on-navy-muted); text-decoration: none; }
    .footer-contact a:hover { color: #fff; text-decoration: underline; }
    .footer-contact svg { flex: none; color: var(--green-on-navy); }
    .footer-social { display: flex; gap: .5rem; margin: 1.25rem 0 0; }
    .social-link { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; transition: background-color .15s ease; }
    .social-link:hover { background: var(--green); }
    @media (prefers-reduced-motion: reduce) { .social-link { transition: none; } }

    /* Custom service pages */
    .hero-sub { margin: -.35rem 0 1.25rem; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: var(--green); }
    .hero-copy { max-width: 42rem; margin-bottom: 2rem; }
    .hero-copy p { color: var(--muted); }
    .hero-copy p:last-child { margin-bottom: 0; }
    .approach-list { list-style: none; display: grid; gap: .85rem; }
    .approach-list li { display: flex; align-items: center; gap: .85rem; font-weight: 600; color: var(--navy); font-size: 1.02rem; }
    .section-head--wide p + p { margin-top: .9rem; }
    .section-head p + p { margin-top: .9rem; }
    .subhead { font-size: 1.25rem; margin: 0 0 1.25rem; }
    .subhead--light { color: #fff; }
    .feature h4 { font-size: 1.08rem; }
    .num-badge { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 9px; background: var(--green-soft); color: var(--green); font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
    .feature.sector { border-top: 3px solid var(--green); }
    .reasons--grid { gap: .75rem; }
    @media (min-width: 48rem) { .reasons--grid { grid-template-columns: 1fr 1fr; } }
    .reason h4 { font-size: 1.02rem; color: #fff; margin: .25rem 0 .3rem; }
    .standards-note { margin-top: 1.5rem; padding: 1.25rem 1.4rem; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; }
    .standards-note p { margin: 0 0 .85rem; color: var(--on-navy-muted); }
    .chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
    .chips li { padding: .35rem .8rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; font-size: .88rem; font-weight: 600; }
    @media (min-width: 48rem) { .fit-list--2 { grid-template-columns: 1fr 1fr; } }
    .inline-link { color: var(--green); font-weight: 600; text-decoration: none; }
    .inline-link:hover { text-decoration: underline; }
    @media (min-width: 40rem) { .steps--5 { grid-template-columns: 1fr 1fr; } }
    @media (min-width: 64rem) { .steps--5 { grid-template-columns: repeat(3, 1fr); } }
    @media (min-width: 80rem) { .steps--5 { grid-template-columns: repeat(5, 1fr); } }
    .cta-band p + p { margin-top: .7rem; }
    .custom-service .section-head h2 { font-size: clamp(2rem, 3.8vw, 2.75rem); }
    .cta-band .cta-strong { color: #fff; font-weight: 700; font-size: 1.1rem; }

    /* FAQ */
    .faq-list { display: grid; gap: .75rem; max-width: 56rem; }
    .faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
    .faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; border-radius: 14px; }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-item summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--green); }
    .faq-item[open] summary::after { content: "\2013"; }
    .faq-item summary:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
    .ra-site .faq-q { margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.4; }
    .faq-answer { padding: 0 1.25rem 1.2rem; color: var(--muted); }
    .faq-answer p { margin: 0; }

    /* Capability blocks and tick lists */
    .cap-block { display: grid; gap: 2rem 3.5rem; margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
    .cap-block--flush { margin-top: 0; padding-top: 0; border-top: 0; }
    @media (min-width: 62rem) { .cap-block { grid-template-columns: .9fr 1.1fr; align-items: start; } }
    .ra-site .cap-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin: 1rem 0 1rem; }
    .cap-block p { color: var(--muted); }
    .on-navy .cap-block p { color: var(--on-navy-muted); }
    .cap-lead { font-size: 1.15rem; font-weight: 600; }
    .cap-block .cap-lead { color: var(--navy); }
    .on-navy .cap-block .cap-lead { color: #fff; }
    .ra-site .list-title { font-size: 1.05rem; margin: 0 0 1rem; }
    .on-navy .list-title { color: #fff; }
    .on-navy .num-badge { background: rgba(141,184,240,.15); color: var(--green-on-navy); }
    .tick-list { list-style: none; display: grid; gap: .7rem 1.5rem; }
    @media (min-width: 40rem) { .tick-list { grid-template-columns: 1fr 1fr; } }
    .tick-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .96rem; line-height: 1.45; }
    .tick-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .05rem; border-radius: 6px; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231d5fbf' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
    .on-navy .tick-list li { background: var(--navy-2); border-color: rgba(255,255,255,.08); color: var(--on-navy); }
    .on-navy .tick-list li::before { background: rgba(141,184,240,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%238db8f0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
    .chips--light li { border-color: var(--line); background: #fff; color: var(--navy); font-weight: 500; }
    .tech-note { margin: 1.5rem 0 0; color: var(--muted); }
    .hero-motto { font-weight: 700; color: var(--navy) !important; }
    .approach-list a { color: inherit; text-decoration: none; }
    .approach-list a:hover { color: var(--green); text-decoration: underline; }
    .cta-band .cta-signoff { margin-top: 1.25rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-on-navy); }
