/*
Theme Name:   RTG 2026
Theme URI:    https://www.rtgroup.ca
Author:       Robertson Technology Group Ltd.
Author URI:   https://www.rtgroup.ca
Description:  Block theme for rtgroup.ca. Built for business owners rather than
              technical readers: plain language, fast, fully responsive, and
              correct in light and dark. Ported from the approved design concept.
Version:      0.37.29
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
License:      GPL-2.0-or-later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  rtg
Update URI:   https://github.com/rtgroupca/rtg-web-2026
Tags:         block-theme, custom-colors, custom-menu, accessibility-ready, wide-blocks
*/

/* ============================================================================
   Everything below is the design system from the approved concept.

   Colour is handled with three states rather than two, because the browser
   has three:
     1. bare :root                              light, and the default
     2. @media (prefers-color-scheme: dark)     guarded by :not([data-theme="light"])
     3. :root[data-theme="dark"]                an explicit choice wins either way

   Never give a colour its only definition inside a media query or a
   [data-theme] block, or one of the three states loses it.

   One hard-won rule, kept here because it cost an afternoon: a colour that
   works as a background does not automatically work as a foreground. --brand
   lifts to a pale lilac in dark mode, so white text on it measured 2.93:1.
   That is why --band-bg exists separately from --brand.
   ========================================================================= */

/* Font subsets are fetched only when their characters occur on the page. */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('assets/fonts/ibm-plex-mono-cyrillic-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('assets/fonts/ibm-plex-mono-cyrillic-500-normal.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('assets/fonts/ibm-plex-mono-vietnamese-500-normal.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('assets/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url('assets/fonts/ibm-plex-sans-cyrillic-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url('assets/fonts/ibm-plex-sans-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url('assets/fonts/ibm-plex-sans-greek-wght-normal.woff2') format('woff2');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url('assets/fonts/ibm-plex-sans-vietnamese-wght-normal.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url('assets/fonts/ibm-plex-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url('assets/fonts/ibm-plex-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('assets/fonts/source-serif-4-cyrillic-ext-standard-normal.woff2') format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('assets/fonts/source-serif-4-cyrillic-standard-normal.woff2') format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('assets/fonts/source-serif-4-greek-standard-normal.woff2') format('woff2');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('assets/fonts/source-serif-4-vietnamese-standard-normal.woff2') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('assets/fonts/source-serif-4-latin-ext-standard-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url('assets/fonts/source-serif-4-latin-standard-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------- tokens : light is the bare :root ---------- */
:root{
  --bg:#FBFAFD;
  --bg-2:#F3F0F9;
  --surface:#FFFFFF;
  --border:#E4DFEF;
  --border-strong:#CFC6E4;
  --text:#191327;
  --text-muted:#5C5474;
  --brand:#523092;
  --brand-hover:#3E2372;
  --brand-ink:#FFFFFF;
  --brand-soft:#EFEAF8;
  --accent:#8D3092;
  --accent-soft:#F8EAF9;
  --band-bg:#523092;
  --band-card:#FBFAFD;
  --band-card-text:#191327;
  --band-card-border:#D8D0EA;
  /* Review stars. Gold has to clear 3:1 against whatever sits behind it,
     because WCAG 1.4.11 treats a rating graphic as meaningful rather than
     decorative. Every attractive bright gold measures under 2:1 on white,
     so light mode gets a deeper antique gold and dark mode gets the bright
     one. #AD7F00 measures 3.61:1 on the card, 3.47:1 on the page and 3.21:1
     on a tinted band. */
  --star:#AD7F00;
  --star-empty:#CFC6E4;
  /* "Reviews" in the Google Reviews logo, as supplied. */
  --glogo-text:#59657C;
  /* A form field's edge is the only thing that says where the field is, so
     WCAG 1.4.11 wants it at 3:1 against whatever is behind it. --border-strong
     measured 1.63:1 on a white panel, which is why the first render looked
     like floating white boxes.

     Sized against the lightest panel a form sits on, which is --brand-soft on
     the contact page, not against white. 3.73:1 on a white card, 3.16:1 on
     brand-soft. Sizing it against white alone left it failing on the one page
     that matters most. */
  --field-border:#8A7EA8;
  --shadow:0 1px 2px rgba(25,19,39,.05), 0 8px 24px -12px rgba(82,48,146,.22);
  --shadow-lift:0 2px 4px rgba(25,19,39,.06), 0 16px 40px -16px rgba(82,48,146,.32);

  --max:1160px;
  /* The blog index is a grid of cards rather than a column of prose, so it
     earns more width than a reading page does. At 1160 a five-across grid
     gives 216px cards, which is too small to read a headline in. */
  --gutter:clamp(1rem, 4vw, 3rem);
  --step--1:clamp(.8125rem,.79rem + .1vw,.875rem);
  --step-0:clamp(1rem,.97rem + .15vw,1.0625rem);
  --step-1:clamp(1.125rem,1.07rem + .28vw,1.3125rem);
  --step-2:clamp(1.375rem,1.27rem + .5vw,1.75rem);
  --step-3:clamp(1.75rem,1.55rem + .95vw,2.5rem);
  --step-4:clamp(2.25rem,1.8rem + 2.1vw,3.75rem);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#120F1A;
    --bg-2:#1A1526;
    --surface:#1E1830;
    --border:#302748;
    --border-strong:#453862;
    --text:#EFEBF7;
    --text-muted:#A99FC0;
    --brand:#A585EC;
    --brand-hover:#BFA6F7;
    --brand-ink:#17102A;
    --brand-soft:#241C3A;
    --accent:#D07BD6;
    --accent-soft:#2C1C33;
    --band-bg:#2E1A55;
    /* 10.54:1 on the dark card, 11.68:1 on the page. */
    --star:#F5C542;
    --star-empty:#453862;
    --glogo-text:#C9C2DB;
    --field-border:#7A6BA0; /* 3.61:1 on the panel, 4.00:1 on the page. */
    --shadow:0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.7);
    --shadow-lift:0 2px 4px rgba(0,0,0,.45), 0 16px 40px -16px rgba(0,0,0,.8);
  }
}
:root[data-theme="dark"]{
  --bg:#120F1A;
  --bg-2:#1A1526;
  --surface:#1E1830;
  --border:#302748;
  --border-strong:#453862;
  --text:#EFEBF7;
  --text-muted:#A99FC0;
  --brand:#A585EC;
  --brand-hover:#BFA6F7;
  --brand-ink:#17102A;
  --brand-soft:#241C3A;
  --accent:#D07BD6;
  --accent-soft:#2C1C33;
  --band-bg:#2E1A55;
  --star:#F5C542;
  --star-empty:#453862;
  --glogo-text:#C9C2DB;
  --field-border:#7A6BA0;
  --shadow:0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.7);
  --shadow-lift:0 2px 4px rgba(0,0,0,.45), 0 16px 40px -16px rgba(0,0,0,.8);
}

/* ---------- base ---------- */
*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-size:var(--step-0);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:"Source Serif 4",Georgia,"Times New Roman",serif;
  font-weight:600;
  line-height:1.15;
  text-wrap:balance;
  margin:0;
  letter-spacing:-.012em;
}
p{margin:0}
a{color:var(--brand);text-decoration-color:color-mix(in srgb, var(--brand) 35%, transparent);text-underline-offset:3px}
a:hover{color:var(--brand-hover)}
img{max-width:100%}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.001ms !important;transition-duration:.001ms !important}
}
html.is-locked{overflow:hidden}

.wrap{width:100%;max-width:var(--max);margin-inline:auto;padding-inline:var(--gutter)}
/* The footer belongs at the foot of the window. On a short page, the 404 or
   a search that found nothing, it otherwise stopped halfway down with bare
   background beneath it, which reads as a page that failed to load. A page
   taller than the window is unaffected. */
.wp-site-blocks{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.wp-site-blocks > main{flex:1 0 auto}
.eyebrow{
  font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.75rem;font-weight:500;letter-spacing:.13em;text-transform:uppercase;
  color:var(--accent);margin:0;
}
.lead{font-size:var(--step-1);color:var(--text-muted);max-width:62ch;line-height:1.6}
.measure{max-width:65ch}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* Left out on phones, kept on tablets and desktops. For a decorative photo
   that would push something people come for, such as the phone number on
   Contact, a screen further down. Below 640px, the theme's phone width. */
@media (max-width:639.98px){.hide-on-phone{display:none !important}}

/* placeholder facts */

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:40;
  background:color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--border);
}
.site-header .wrap{
  display:flex;align-items:center;gap:1rem;
  min-height:74px;
}
.logo{display:flex;align-items:center;text-decoration:none;flex:0 0 auto}
.logo img{display:block;width:auto;height:38px;max-width:100%}
.logo .logo-rev{display:none}
/* same three state pattern as the colour tokens */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .logo .logo-pos{display:none}
  :root:not([data-theme="light"]) .logo .logo-rev{display:block}
}
:root[data-theme="dark"] .logo .logo-pos{display:none}
:root[data-theme="dark"] .logo .logo-rev{display:block}
@media (max-width:420px){.logo img{height:32px}}
.nav-desktop{display:none;margin-left:auto;align-items:center;gap:.15rem}
.nav-desktop a{
  color:var(--text);text-decoration:none;font-size:.9375rem;font-weight:500;
  padding:.5rem .7rem;border-radius:6px;
}
.nav-desktop a:hover{background:var(--brand-soft);color:var(--brand)}
.nav-desktop a[aria-current="page"]{color:var(--brand);font-weight:600}
/* The call to action is qualified with .site-header on purpose. Unqualified
   it loses to .btn, which is further down this file at the same weight, so
   every .header-cta rule here was silently doing nothing. */
.site-header .header-cta{display:inline-flex;flex:0 0 auto;white-space:nowrap}
/* The header search, which opens beside the button rather than on a page
   of its own. Absolutely positioned so opening it never reflows the nav:
   an expanding field that pushes six menu items sideways is worse than the
   page load it saves. */
.headersearch{position:relative;flex:0 0 auto;margin-left:auto;display:flex}
.headersearch-form{
  position:absolute;right:calc(100% + .5rem);top:50%;transform:translateY(-50%);
  width:min(340px, 46vw);
}
.headersearch-form input{
  width:100%;height:38px;padding:0 .85rem;
  background:var(--surface);color:var(--text);
  border:1px solid var(--field-border);border-radius:8px;
  font:inherit;font-size:.9375rem;
}
.headersearch-form input::placeholder{color:var(--text-muted)}
.headersearch-form input:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--brand)}
.headersearch.is-open .searchbtn{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}

/* Below the desktop nav the whole control goes away. There is no room to
   open a field over anything, and a header carrying a magnifier, a theme
   toggle, a call to action and a burger at 390px carries none of them
   properly. Search moves into the menu as a real field: see .menu-search. */
@media (max-width:999px){
  .headersearch{display:none}
}

.searchbtn{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:8px;flex:0 0 auto;
  background:transparent;border:1px solid var(--border-strong);
  color:var(--text);cursor:pointer;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.searchbtn svg{display:block}
.searchbtn:hover{background:var(--brand-soft);color:var(--brand);border-color:var(--brand)}

.search-form{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.75rem;max-width:620px}
.search-form input{
  flex:1 1 15rem;font:inherit;font-size:1rem;color:var(--text);
  background:var(--surface);border:1px solid var(--border-strong);border-radius:10px;
  padding:.8rem 1rem;min-width:0;
}
.search-form input:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
/* The search block puts the field and the button inside a wrapper of its
   own and gives the button core's grey default. The rules above reached the
   field and never the button, so the 404 page and the search page both
   offered a grey box beside a purple site. Same shape as .btn-primary. */
.search-form .wp-block-search__inside-wrapper{
  display:flex;flex-wrap:wrap;gap:.6rem;width:100%;border:0;padding:0;background:none;
}
.search-form .wp-block-search__button{
  margin:0;font:inherit;font-size:.9375rem;font-weight:600;line-height:1;
  padding:.8rem 1.35rem;border-radius:10px;border:1px solid var(--brand);
  background:var(--brand);color:var(--brand-ink);cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease;
}
.search-form .wp-block-search__button:hover{background:var(--brand-hover);border-color:var(--brand-hover);color:var(--brand-ink)}
.search-form .wp-block-search__button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ---------- the 404: three routes by what the visitor came for ----------
   Grouped by situation rather than a list of popular pages, because the
   site cannot know what is popular and the visitor knows what they came
   for. The cards are the existing .ind-item cards. */
.nf-routes{display:grid;gap:1.75rem;padding-bottom:clamp(3rem,6vw,4.5rem)}
@media (min-width:900px){.nf-routes{grid-template-columns:repeat(3,1fr);gap:1.5rem}}
.nf-route{display:grid;gap:.65rem;align-content:start}
/* WordPress's flow layout puts a top margin on every block after the first
   in a group. In a grid that pushed the second and third routes down, out
   of line with the first. */
.nf-routes > .nf-route{margin:0}
.nf-route .nf-route-label{
  margin:0 0 .15rem;font-family:"IBM Plex Mono",ui-monospace,monospace;
  font-size:.75rem;font-weight:500;letter-spacing:.1em;line-height:1.4;
  text-transform:uppercase;color:var(--text-muted);
}
/* One height for both, stated rather than left to line-height arithmetic.
   Side by side, flex stretched them level. On a phone they wrap onto two
   lines, stretch stops applying, and the field stood 54px beside a 43px
   button. Wrapped, the button takes the whole line under the field. */
.search-form .wp-block-search__input{line-height:1.5}
.search-form .wp-block-search__input,
.search-form .wp-block-search__button{min-height:3.25rem;box-sizing:border-box}
@media (max-width:420px){.search-form .wp-block-search__button{flex:1 1 100%}}
.search-count{margin-top:1.5rem;font-size:.9375rem;color:var(--text-muted)}
/* Same shape as the post grid: the list is the container, each <li> is the
   card. Putting the card styling on the list turned every result into one
   tall box. */
/* The results list.

   Called .search-results until the tag archive fault was found and the rest
   of the sheet audited: WordPress puts search-results on the <body> of every
   search page, so display:grid here was turning the whole page into a grid
   container. Same fault as .tag, one URL further along. */
.search-term{color:var(--brand)}
:root[data-theme="dark"] .search-term{color:var(--accent)}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .search-term{color:var(--accent)}
}
/* Before anybody has searched. Not an error state, so it does not look like
   one: a prompt and a few things worth trying. */
.search-start{margin-top:2rem;display:grid;gap:.9rem}
.search-chips{display:flex;flex-wrap:wrap;gap:.5rem}

.searchlist{list-style:none;margin:1.25rem 0 0;padding:0;display:grid;gap:.9rem}
.searchlist > li,.search-hit{
  position:relative;
  display:grid;gap:.4rem;text-decoration:none;color:inherit;
  background:var(--surface);border:1px solid var(--border);border-radius:14px;
  border-left:4px solid var(--brand);padding:1.25rem 1.35rem;margin:0;
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.searchlist > li:hover,a.search-hit:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px)}
.searchlist > li:hover{border-color:var(--brand)}
.searchlist > li h3,.search-hit h3{font-size:var(--step-1)}
.searchlist > li h3 a{color:inherit;text-decoration:none}
.searchlist > li:hover h3 a{color:var(--brand)}
/* The whole result is the target. A result is one idea, and the part of it
   that reads as clickable should be the part that is: aiming at the heading
   of a box you have already decided to open is a small tax charged on every
   search. Same overlay as the post cards, so one tab stop and no anchor
   nested inside another. */
.searchlist > li h3 a::after{content:"";position:absolute;inset:0}
.searchlist > li h3 a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}
@supports selector(:has(a)){
  .searchlist > li h3 a:focus-visible{outline:none}
  .searchlist > li:has(h3 a:focus-visible){outline:2px solid var(--accent);outline-offset:3px}
}
.searchlist > li p,.search-hit p{font-size:.9375rem;color:var(--text-muted);line-height:1.6}
.search-where{
  font-family:"IBM Plex Mono",monospace;font-size:.6875rem;letter-spacing:.11em;
  text-transform:uppercase;color:var(--accent);font-weight:500;
}
.search-hit mark{background:var(--brand-soft);color:var(--brand);font-weight:600;padding:0 .15em;border-radius:3px}
.search-empty{
  border:1px dashed var(--border-strong);border-radius:14px;
  padding:clamp(1.5rem,3vw,2rem);display:grid;gap:.6rem;
}
.burger{
  margin-left:auto;display:inline-flex;align-items:center;gap:.5rem;
  background:transparent;border:1px solid var(--border-strong);border-radius:8px;
  color:var(--text);font:inherit;font-size:.875rem;font-weight:500;
  padding:.5rem .75rem;cursor:pointer;
}
.burger svg{display:block}
@media (min-width:1000px){
  .nav-desktop{display:flex}
  .site-header .header-cta{margin-left:.75rem}
  .burger{display:none}
}

/* ---------- desktop dropdowns ---------- */
.nav-item{position:relative;display:flex;align-items:center}
.nav-item > a{
  color:var(--text);text-decoration:none;font-size:.9375rem;font-weight:500;
  padding:.5rem .5rem .5rem .7rem;border-radius:6px 0 0 6px;
}
.nav-item.plain > a{padding-right:.7rem;border-radius:6px}
.nav-item > a:hover{background:var(--brand-soft);color:var(--brand)}
.nav-item > a[aria-current="page"]{color:var(--brand);font-weight:600}
.nav-caret{
  background:transparent;border:0;cursor:pointer;color:var(--text-muted);
  padding:.5rem .55rem .5rem .25rem;border-radius:0 6px 6px 0;
  display:flex;align-items:center;
}
.nav-caret:hover{background:var(--brand-soft);color:var(--brand)}
.nav-caret svg{transition:transform .18s ease}
.nav-item[data-open="true"] > a,
.nav-item[data-open="true"] > .nav-caret{background:var(--brand-soft);color:var(--brand)}
.nav-item[data-open="true"] .nav-caret svg{transform:rotate(180deg)}

.nav-panel{
  position:absolute;top:100%;left:0;z-index:50;
  margin-top:.4rem;
  min-width:280px;
  /* Never wider than the window. A 520px panel on a narrow laptop would
     otherwise push a scrollbar onto every page. */
  max-width:min(520px, calc(100vw - 2rem));
  background:var(--surface);border:1px solid var(--border);border-radius:12px;
  box-shadow:var(--shadow-lift);
  padding:.5rem;
  display:none;
}
/* The .4rem gap above is dead space: crossing it fires mouseleave on the
   parent and the panel vanishes before the pointer arrives. This bridges it,
   invisibly, so the pointer never leaves the item. */
.nav-panel::before{
  content:"";position:absolute;left:0;right:0;
  top:-.6rem;height:.6rem;
}
/* The last items sit near the right edge, so their panels open leftward. */
.nav-item:nth-last-child(-n+2) .nav-panel{left:auto;right:0}
.nav-item[data-open="true"] .nav-panel{display:block}
.nav-panel.wide{min-width:min(520px, calc(100vw - 2rem));columns:2;column-gap:.25rem}
/* One column once two will not fit, rather than two cramped ones. */
@media (max-width:1180px){.nav-panel.wide{columns:1;min-width:300px}}
.nav-panel a{
  display:block;break-inside:avoid;
  padding:.55rem .7rem;border-radius:8px;
  color:var(--text);text-decoration:none;font-size:.9375rem;font-weight:500;
}
.nav-panel a:hover{background:var(--brand-soft);color:var(--brand)}
.nav-panel a small{
  display:block;font-size:.75rem;font-weight:400;color:var(--text-muted);margin-top:.1rem;
}
.nav-panel a:hover small{color:var(--brand-hover)}
.nav-panel hr{
  border:0;border-top:1px solid var(--border);margin:.4rem .7rem;
}
.nav-panel .panel-all{color:var(--brand);font-weight:600}

/* ---------- mobile menu groups ----------
   Hierarchy comes from size and colour rather than from weight and filled
   blocks. The first version set every level at 24px serif on a tinted slab,
   which read as seven identical bricks: heavy, and no clue which line was a
   section and which was a page inside it.

   Rows are still at least 44px tall. Smaller type, not smaller targets. */
.menu-group{border-bottom:1px solid var(--border)}
.menu-row{display:flex;align-items:stretch;gap:.5rem}
.menu-row > a{
  flex:1 1 auto;min-height:48px;
  font-family:"Source Serif 4",Georgia,serif;font-size:1.125rem;font-weight:600;
  letter-spacing:-.005em;line-height:1.25;
  color:var(--text);text-decoration:none;padding:.7rem 0;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.menu-row > a small{
  font-family:"IBM Plex Sans",sans-serif;font-size:.75rem;font-weight:400;
  color:var(--text-muted);text-align:right;flex:0 1 auto;line-height:1.3;
}
.menu-row > a[aria-current="page"]{color:var(--brand)}
/* A row with no submenu has no toggle beside it, so its descriptor used to
   run 46px further right than every other one. Reserve the space. */
.menu-row > a:only-child{padding-right:46px}
/* The divider is inset rather than full height. Edge to edge it drew a table
   cell around the caret; short, it just says these are two separate taps. */
.menu-toggle{
  position:relative;flex:0 0 auto;width:46px;
  background:transparent;border:0;
  color:var(--text-muted);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.menu-toggle::before{
  content:"";position:absolute;left:0;top:28%;bottom:28%;
  width:1px;background:var(--border);
}
.menu-toggle svg{transition:transform .18s ease}
.menu-toggle[aria-expanded="true"]{color:var(--brand)}
.menu-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
/* The hidden attribute has to beat any author display rule, or a collapsed
   panel renders open. The mobile submenus are display:grid and were doing
   exactly that: every group showed expanded and the toggle worked backwards.
   The concept never hit this because its host page supplied the reset. */
[hidden]{display:none!important}

/* A hairline down the left says "inside Services" without nine filled
   panels doing it. The links are the body sans at body size, so a section
   heading and a page under it no longer look like the same thing. */
.menu-sub{
  display:grid;padding:.1rem 0 .85rem;
  border-left:1px solid var(--border);margin-left:.15rem;
}
.menu-sub a{
  display:flex;align-items:center;min-height:44px;
  padding:.5rem .75rem .5rem 1rem;
  font-family:"IBM Plex Sans",sans-serif;font-size:.9375rem;font-weight:500;
  line-height:1.35;
  color:var(--text-muted);text-decoration:none;border-radius:0 8px 8px 0;
}
.menu-sub a:hover{color:var(--brand);background:var(--brand-soft)}
.menu-sub a[aria-current="page"]{color:var(--brand);font-weight:600}

/* ---------- mobile menu ---------- */
/* Closed, it is off screen to the right and taken out of the tab order.
   Without the visibility it is only moved, so a keyboard on a desktop tabs
   out of the logo and into thirty links and a search field nobody can see.
   Visibility is switched after the slide rather than with it, so closing
   still animates. */
.menu{
  position:fixed;inset:0;z-index:60;
  background:var(--bg);
  display:flex;flex-direction:column;
  transform:translateX(100%);
  visibility:hidden;
  transition:transform .28s cubic-bezier(.4,0,.2,1), visibility 0s .28s;
  overflow-y:auto;
}
.menu[data-open="true"]{
  transform:translateX(0);
  visibility:visible;
  transition:transform .28s cubic-bezier(.4,0,.2,1), visibility 0s 0s;
}
.menu-top{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1.1rem var(--gutter);border-bottom:1px solid var(--border);
}
.menu-close{
  background:transparent;border:1px solid var(--border-strong);border-radius:8px;
  color:var(--text);font:inherit;font-size:.875rem;font-weight:500;
  padding:.5rem .8rem;min-height:44px;cursor:pointer;
  display:inline-flex;align-items:center;gap:.45rem;
}
/* Search, which is the header magnifier's new home. A field rather than an
   icon, so on a phone you type the words and press go instead of pressing a
   picture to be given a box. 16px on the input or iOS zooms the page. */
.menu-search{
  display:flex;gap:.5rem;margin:1.1rem var(--gutter) 0;
}
.menu-search input{
  flex:1 1 auto;min-width:0;
  height:46px;padding:0 .9rem;
  background:var(--surface);color:var(--text);
  border:1px solid var(--field-border);border-radius:10px;
  font:inherit;font-size:1rem;
}
.menu-search input::placeholder{color:var(--text-muted)}
.menu-search input:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--brand)}
.menu-search-go{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  width:46px;height:46px;border-radius:10px;
  background:transparent;border:1px solid var(--border-strong);
  color:var(--text);cursor:pointer;
}
.menu-search-go:hover{background:var(--brand-soft);color:var(--brand);border-color:var(--brand)}
.menu-search-go:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.menu-search-go svg{display:block}

/* Every link in here is styled by .menu-row > a or .menu-sub a above. There
   used to be a second .menu-links a block below them saying 24px serif with
   a border under it, and being later in the file at the same weight it won:
   it set the submenus back to heading size and drew a second rule under
   every row, beside the one .menu-group already draws. Nothing lives here
   now, so neither can happen again. */
.menu-links{display:flex;flex-direction:column;padding:.35rem var(--gutter) 0}
.menu-foot{margin-top:auto;padding:1.5rem var(--gutter) 2.5rem;display:grid;gap:.9rem}
.menu-foot .btn{width:100%}
.menu-call{
  display:flex;align-items:center;justify-content:center;gap:.5rem;
  font-weight:600;color:var(--text);text-decoration:none;
  border:1px solid var(--border-strong);border-radius:10px;padding:.85rem 1rem;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:"IBM Plex Sans",sans-serif;font-size:.9375rem;font-weight:600;
  line-height:1;padding:.9rem 1.35rem;border-radius:10px;
  text-decoration:none;border:1px solid transparent;cursor:pointer;
  transition:background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}
.btn-primary:hover{background:var(--brand-hover);border-color:var(--brand-hover);color:var(--brand-ink)}
.btn-ghost{background:transparent;color:var(--text);border-color:var(--border-strong)}
.btn-ghost:hover{border-color:var(--brand);color:var(--brand)}
.btn-onbrand{background:#fff;color:#3E2372;border-color:#fff}
.btn-onbrand:hover{background:#F2ECFC;color:#2E1A55}
.btn-onbrand-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.btn-onbrand-ghost:hover{background:rgba(255,255,255,.12);color:#fff;border-color:#fff}

/* ---------- sections ---------- */
.section{padding-block:clamp(3.5rem,7vw,6rem)}
.section-tint{background:var(--bg-2)}
.section-head{display:grid;gap:.9rem;margin-bottom:2.5rem;max-width:60ch}
.section-head h2{font-size:var(--step-3)}

/* ---------- hero ---------- */
.hero{padding-block:clamp(2.75rem,6vw,4.75rem) clamp(2.5rem,5vw,4rem)}
.hero-grid{display:grid;gap:clamp(2rem,4vw,3.5rem)}
.hero-copy{display:grid;gap:1.35rem;justify-items:start}
.hero h1{font-size:var(--step-4);max-width:15ch}
.hero .lead{max-width:52ch}
.hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.35rem}
.tagline{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:"Source Serif 4",Georgia,serif;font-style:italic;font-size:var(--step-1);
  color:var(--brand);
}
.tagline::before{content:"";width:28px;height:2px;background:var(--accent);flex:0 0 auto}

.proof{
  display:grid;gap:0;
  border:1px solid var(--border);border-radius:14px;background:var(--surface);
  overflow:hidden;box-shadow:var(--shadow);
}
.proof-item{padding:1.15rem 1.35rem;border-bottom:1px solid var(--border)}
.proof-item:last-child{border-bottom:0}
.proof-figure{
  font-family:"Source Serif 4",Georgia,serif;font-size:var(--step-2);font-weight:700;
  color:var(--brand);display:block;line-height:1.2;font-variant-numeric:tabular-nums;
}
.proof-label{display:block;font-size:var(--step--1);color:var(--text-muted);margin-top:.2rem}
@media (min-width:560px){
  .proof{grid-template-columns:repeat(2,1fr)}
  .proof-item{border-right:1px solid var(--border)}
  .proof-item:nth-child(2n){border-right:0}
  .proof-item:nth-last-child(-n+2){border-bottom:0}
}
@media (min-width:1000px){
  .proof{grid-template-columns:repeat(4,1fr)}
  .proof-item{border-bottom:0;border-right:1px solid var(--border)}
  .proof-item:nth-child(2n){border-right:1px solid var(--border)}
  .proof-item:last-child{border-right:0}
}

/* ---------- pitch panel ---------- */
.pitch{
  margin-top:1.1rem;
  display:grid;gap:1.75rem;
  background:var(--brand-soft);border:1px solid var(--border);border-radius:16px;
  padding:clamp(1.5rem,3.5vw,2.5rem);
}
.pitch-body{display:grid;gap:.85rem}
.pitch-body h3{font-size:var(--step-2);max-width:26ch}
.pitch-body p{color:var(--text-muted);max-width:60ch}
.pitch-list{
  list-style:none;margin:0;padding:0;display:grid;gap:.7rem;align-content:center;
}
.pitch-list li{
  position:relative;padding-left:1.6rem;font-size:.9375rem;font-weight:500;
}
.pitch-list li::before{
  content:"";position:absolute;left:0;top:.52em;
  width:8px;height:8px;border-radius:2px;background:var(--accent);
}
@media (min-width:900px){
  /* the list is a pulled-out summary of the text beside it, so it sits
     optically level with that text rather than stranded at the top */
  .pitch{grid-template-columns:1.5fr 1fr;gap:0;align-items:center}
  .pitch-list{
    border-left:1px solid var(--border-strong);
    padding-left:2.5rem;margin-left:2.5rem;
  }
}

/* ---------- card grids ---------- */
.grid{display:grid;gap:1.1rem}
@media (min-width:640px){.grid-2{grid-template-columns:repeat(2,1fr)}}
@media (min-width:640px){.grid-3{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.grid-3{grid-template-columns:repeat(3,1fr)}}
@media (min-width:640px){.grid-4{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.grid-4{grid-template-columns:repeat(4,1fr)}}

.card{
  display:flex;flex-direction:column;gap:.6rem;
  background:var(--surface);border:1px solid var(--border);border-radius:14px;
  padding:1.5rem;text-decoration:none;color:inherit;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.card:hover{border-color:var(--brand);box-shadow:var(--shadow-lift);transform:translateY(-2px)}
.card h3{font-size:var(--step-1)}
.card p{color:var(--text-muted);font-size:.9375rem}
.card-wide{grid-column:1/-1}
@media (min-width:760px){
  .card-wide{flex-direction:row;align-items:center;justify-content:space-between;gap:2rem}
  .card-wide > div{display:grid;gap:.5rem;max-width:62ch}
  .card-wide .card-more{margin-top:0;padding-top:0;flex:0 0 auto}
}
.card-more{
  margin-top:auto;padding-top:.5rem;
  font-size:.875rem;font-weight:600;color:var(--brand);
  display:inline-flex;align-items:center;gap:.35rem;
}
a.card:hover .card-wide{grid-column:1/-1}
@media (min-width:760px){
  .card-wide{flex-direction:row;align-items:center;justify-content:space-between;gap:2rem}
  .card-wide > div{display:grid;gap:.5rem;max-width:62ch}
  .card-wide .card-more{margin-top:0;padding-top:0;flex:0 0 auto}
}
.card-more{color:var(--brand-hover)}
.card-more svg{transition:transform .15s ease}
a.card:hover .card-more svg{transform:translateX(3px)}

/* industries list: flat, all visible, no flipping */
.ind-list{display:grid;gap:.65rem}
@media (min-width:700px){.ind-list{grid-template-columns:repeat(2,1fr)}}

.ind-item{
  display:grid;gap:.2rem;align-content:start;
  border:1px solid var(--border);border-radius:12px;background:var(--surface);
  padding:1.1rem 1.2rem;text-decoration:none;color:inherit;
  border-left:3px solid var(--accent);
  transition:border-color .15s ease, background-color .15s ease;
}
.ind-item:hover{background:var(--brand-soft);border-color:var(--brand);border-left-color:var(--brand)}
.ind-item strong{font-size:1.0625rem;font-weight:600;color:var(--text)}
.ind-item span{font-size:.875rem;color:var(--text-muted);line-height:1.5}
.ind-item:hover strong{color:var(--brand)}

/* ---------- steps : a real sequence, so numbered ---------- */
.steps{display:grid;gap:1.75rem;counter-reset:step}
@media (min-width:840px){.steps{grid-template-columns:repeat(3,1fr);gap:2.25rem}}
.step{display:grid;gap:.6rem;align-content:start;padding-top:1.25rem;border-top:2px solid var(--brand)}
.step-n{
  font-family:"IBM Plex Mono",monospace;font-size:.75rem;font-weight:500;
  letter-spacing:.12em;color:var(--accent);
}
.step h3{font-size:var(--step-1)}
.step p{color:var(--text-muted);font-size:.9375rem}

/* ---------- steps with an icon, centred ----------
   The numbered .steps above are a sequence you read across. This variant is
   the same three beats with a mark above each one, for a page where somebody
   is scanning rather than reading: the ring gives each step a shape to land
   on before any words are taken in.

   Every colour is a token, so the ring, the mark and the rule under the
   number all follow light and dark without a second set of rules. */
.steps-icon{display:grid;gap:2.25rem;counter-reset:step}
@media (min-width:840px){.steps-icon{grid-template-columns:repeat(3,1fr);gap:2.5rem}}
.steps-icon .step{
  border-top:0;padding-top:0;
  justify-items:center;text-align:center;gap:.7rem;
}
.step-mark{
  display:grid;place-items:center;
  width:64px;height:64px;border-radius:999px;
  border:2px solid var(--accent);color:var(--accent);
  background:var(--accent-soft);
  margin-bottom:.35rem;
}
.step-mark svg{display:block}
.steps-icon .step h3{font-size:var(--step-1);max-width:20ch}
.steps-icon .step p{max-width:34ch}

/* ---------- a list of ticked points ----------
   Used where the page is making a case rather than listing features, so the
   mark carries the tone and the text does the work. */
.ticks{display:grid;gap:1.75rem;list-style:none;margin:0;padding:0}
@media (min-width:760px){.ticks{grid-template-columns:repeat(2,1fr);gap:2rem 2.5rem}}
.ticks > li{display:grid;gap:.55rem;align-content:start}
.tick-mark{color:var(--accent);display:block}
.ticks h3{font-size:var(--step-1);max-width:26ch}
.ticks p{color:var(--text-muted);font-size:.9375rem;max-width:46ch}
.ticks strong{color:var(--text);font-weight:600}

/* ---------- the counter-position, directly under the hero ----------
   Deliberately not another purple slab. The thesis further down the page and
   the call to action at the foot are both --band-bg, and a third one within
   a screen of the hero would read as the page shouting. This earns its
   separation from the rule and the type instead, and every colour is a token
   so it follows light and dark. */
.counter{
  display:grid;gap:1rem;
  border-top:3px solid var(--brand);
  padding-top:clamp(1.5rem,3vw,2.25rem);
}
.counter .eyebrow{color:var(--text-muted)}
.counter h2{font-size:var(--step-3);max-width:26ch;letter-spacing:-.01em}
.counter p{
  color:var(--text-muted);max-width:62ch;
  font-size:var(--step-1);line-height:1.6;
}

/* ---------- thesis ---------- */
.thesis{
  background:var(--band-bg);color:#fff;border-radius:18px;
  padding:clamp(2rem,5vw,3.5rem);
  display:grid;gap:1.25rem;
}
.thesis h2{font-size:var(--step-3);color:#fff;max-width:22ch}
.thesis p{color:rgba(255,255,255,.86);max-width:58ch;font-size:var(--step-1);line-height:1.6}
.thesis .eyebrow{color:rgba(255,255,255,.75)}

/* ---------- quote ---------- */
.quote{
  display:grid;gap:1.25rem;max-width:60ch;
  border-left:3px solid var(--accent);padding-left:clamp(1.25rem,3vw,2rem);
}
.quote blockquote{
  margin:0;font-family:"Source Serif 4",Georgia,serif;
  font-size:var(--step-2);line-height:1.4;color:var(--text);
}
.quote figcaption{font-size:.9375rem;color:var(--text-muted)}
.quote figcaption b{color:var(--text);font-weight:600}

/* ---------- blog ---------- */
/* Compact post rows on the home page. Renamed off ".post", which
   post_class() puts on every post element WordPress renders. */
.postrow{
  display:flex;flex-direction:column;gap:.55rem;
  text-decoration:none;color:inherit;
  border-top:1px solid var(--border);padding-top:1.1rem;
}
.postrow:hover h3{color:var(--brand)}
.post-meta{
  font-family:"IBM Plex Mono",monospace;font-size:.6875rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--accent);
}
.postrow h3{font-size:var(--step-1);transition:color .15s ease}
.postrow p{font-size:.9375rem;color:var(--text-muted)}

/* ---------- cta band ---------- */
.band{background:var(--band-bg);color:#fff}
.band .wrap{
  padding-block:clamp(2.75rem,6vw,4.25rem);
  display:grid;gap:1.5rem;align-items:center;
}
.band h2{font-size:var(--step-3);color:#fff;max-width:18ch}
.band p{color:rgba(255,255,255,.85);max-width:50ch}
/* The buttons in a call-to-action band.
   ---------------------------------------------------------------------
   Two faults met here, and both are about markup nobody wrote.

   On a blog post the band is built as a block group, so .band-actions
   picks up is-layout-flow and WordPress gives every child but the first
       :root :where(.is-layout-flow) > * { margin-block: 24px 0 }
   which in a flex row drops the second button 24px below the first. The
   same rule as the reading column, in a different place.

   And wpautop wraps a shortcode's output in a paragraph while leaving a
   plain <a> alone, so one button was a flex item and the other was a
   paragraph holding one: different boxes, different alignment, different
   behaviour when they wrap. display:contents makes them the same thing
   again, and if a browser ignores it, align-items keeps them level
   anyway. */
.band-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
:root .band-actions > *{margin-block:0}
.band-actions > p{display:contents}
@media (min-width:900px){
  .band .wrap{grid-template-columns:1fr auto;gap:2.5rem}
}

/* ---------- footer ---------- */
.site-footer{background:var(--bg-2);border-top:1px solid var(--border)}
.footer-grid{
  display:grid;gap:2.25rem;
  padding-block:clamp(2.75rem,5vw,4rem);
}
@media (min-width:640px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1040px){.footer-grid{grid-template-columns:1.5fr repeat(4,1fr)}}
.footer-col h4{
  font-family:"IBM Plex Sans",sans-serif;font-size:.75rem;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);margin:0 0 .9rem;
}
.footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.footer-col a{color:var(--text);text-decoration:none;font-size:.9375rem}
.footer-col a:hover{color:var(--brand);text-decoration:underline}
.footer-about p{color:var(--text-muted);font-size:.9375rem;max-width:38ch;margin-top:1rem}
.footer-contact{display:grid;gap:.35rem;margin-top:1.1rem;font-size:.9375rem}
.footer-contact a{color:var(--brand);text-decoration:none;font-weight:500}
.footer-bottom{
  border-top:1px solid var(--border);padding-block:1.35rem;
  display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;align-items:center;
  font-size:.8125rem;color:var(--text-muted);
}
.footer-bottom .spacer{flex:1 1 auto}

/* ---------- industries page ---------- */
.page-head{padding-block:clamp(2.75rem,6vw,4.5rem) clamp(1.5rem,3vw,2.5rem)}
.page-head h1{font-size:var(--step-4);max-width:16ch;margin-bottom:1.1rem}
.ind-card{
  display:grid;gap:1rem;align-content:start;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
  padding:clamp(1.35rem,3vw,1.9rem);
}
.ind-card h3{font-size:var(--step-2);color:var(--brand)}
/* The four industries with a page of their own link from their heading.
   Not the whole card: each card already holds two or three chips through to
   service pages, and a link inside a link is invalid and unreachable by
   keyboard. The stretched-link trick would swallow those chips. */
.ind-card h3 a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:color-mix(in srgb, var(--brand) 40%, transparent)}
.ind-card h3 a:hover,.ind-card h3 a:focus-visible{text-decoration-color:currentColor}
.ind-card h3 a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}
.ind-block{display:grid;gap:.3rem}
.ind-block h4{
  font-family:"IBM Plex Mono",monospace;font-size:.6875rem;font-weight:500;
  letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin:0;
}
.ind-block p{font-size:.9375rem;color:var(--text-muted)}
.ind-links{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}
.chip{
  font-size:.8125rem;font-weight:500;text-decoration:none;
  border:1px solid var(--border-strong);border-radius:999px;padding:.35rem .8rem;
  color:var(--text);
}
.chip:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}

/* ---------- blog index ---------- */
.blog-head{padding-block:clamp(2.5rem,5vw,4rem) 0}
.blog-head h1{font-size:var(--step-4);max-width:14ch;margin-bottom:1rem}
.cats{
  display:flex;flex-wrap:wrap;gap:.5rem;
  padding-block:1.75rem;margin-top:1.75rem;
  border-top:1px solid var(--border);
}
.cat{
  font-size:.875rem;font-weight:500;text-decoration:none;color:var(--text);
  border:1px solid var(--border-strong);border-radius:999px;padding:.4rem .9rem;
  white-space:nowrap;
}
.cat:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}
.cat[aria-current="true"]{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}

.feature{
  display:grid;gap:1.5rem;text-decoration:none;color:inherit;
  border:1px solid var(--border);border-radius:18px;background:var(--surface);
  padding:clamp(1.5rem,3vw,2.25rem);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.feature:hover{border-color:var(--brand);box-shadow:var(--shadow-lift)}
.feature h2{font-size:var(--step-3);max-width:22ch}
.feature p{color:var(--text-muted);max-width:62ch}
.thumb{
  border-radius:12px;aspect-ratio:16/10;max-width:100%;
  background:var(--brand-soft);
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  font-family:"IBM Plex Mono",monospace;font-size:.6875rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--brand);text-align:center;padding:1rem;
}
.feature-body{display:grid;gap:.8rem;align-content:center}
@media (min-width:860px){
  .feature{grid-template-columns:1.1fr 1fr;gap:2.25rem;align-items:center}
  .feature .thumb{order:2}
}

/* The post grid.

   Written against what WordPress actually emits, which is not what the
   mockup had. The query block renders a <ul class="wp-block-post-template">
   holding one <li> per post, with the pagination as a sibling of that list.
   The first version put the grid on the query block instead, so the grid had
   two children, the list and the pager: every card stacked in one narrow
   column and the pager sat beside them in column two. A class on a block is
   not a class on the thing you pictured.

   The grid sits in the same .wrap as the heading and the topic chips, so
   its edges line up with them. It used to have its own wider container
   (1680px, four and five columns), which ran past the heading on both sides
   and read as spilling over (Ian, 21 November 2026). Three columns at most,
   two on a tablet, one on a phone: cards stay between roughly 270 and 440px.
   Twelve posts a page (rtg_blog_page_size) fill whole rows of two or three.

   Columns are stepped rather than auto-fill so a card never lands between
   sizes. */
.post-grid{
  list-style:none;margin:0;padding:0;
  display:grid;gap:clamp(1.5rem,2.1vw,2rem);
  grid-template-columns:1fr;
}
@media (min-width:560px){.post-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:960px){.post-grid{grid-template-columns:repeat(3,1fr)}}

.post-grid > li{
  position:relative;
  display:flex;flex-direction:column;
  margin:0;padding:0 0 1.35rem;
  background:var(--surface);
  border:1px solid var(--border);border-radius:16px;overflow:hidden;
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.post-grid > li > *{padding-inline:1.35rem}
.post-grid > li:hover{border-color:var(--brand);box-shadow:var(--shadow-lift);transform:translateY(-3px)}
.post-grid > li:focus-within{border-color:var(--brand);box-shadow:var(--shadow-lift)}

/* Every one of these images is a made graphic with words baked into it, so
   the crop has to be gentle. HubSpot produced them at roughly 1.91:1 and
   16/9 is the nearest standard ratio, which trims a few percent off the
   sides rather than cutting a headline in half. */
.post-grid .card-media{margin:0 0 0;padding-inline:0;line-height:0}
.post-grid .card-media img{
  display:block;width:100%;height:auto;
  aspect-ratio:16/9;object-fit:cover;
  border:0;border-radius:0;
  border-bottom:1px solid var(--border);
}
.post-grid > li:not(:has(.card-media img)) .wp-block-post-terms{padding-top:1.35rem}

.post-grid .card-topic{
  margin:.95rem 0 .45rem;
  font-family:"IBM Plex Mono",ui-monospace,monospace;
  font-size:.625rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;
  color:var(--accent);
}
/* Lifted above the card-wide title link below, so the topic stays clickable. */
.post-grid .card-topic a{position:relative;z-index:1;color:inherit;text-decoration:none}
.post-grid .card-topic a:hover{color:var(--brand);text-decoration:underline}

.post-grid .wp-block-post-title{
  font-size:1.0625rem;line-height:1.35;margin:0 0 .55rem;font-weight:600;
}
.post-grid .wp-block-post-title a{color:var(--text);text-decoration:none;transition:color .15s ease}
.post-grid > li:hover .wp-block-post-title a{color:var(--brand)}
/* The whole card is the target, image included, without wrapping it in an
   anchor. One tab stop per card and no anchor nested inside another.
   
   The featured image is deliberately not a link of its own. Every imported
   image carries alt="", so linking it would create a link with no
   accessible name and a second tab stop on every card, to reach the page
   the title already reaches. The overlay covers the image, so clicking the
   picture works and the keyboard still sees one target.

   The card must not clamp the title with overflow:hidden, or this overlay
   gets clipped to the heading and stops covering anything. */
.post-grid .wp-block-post-title a::after{content:"";position:absolute;inset:0}
/* The focus ring goes on the link, so a browser without :has() still shows
   one. Only where :has() works is it moved to the card, which is the shape
   the pointer target actually has. Never drop the ring first and add it back
   conditionally: on the browser that misses the condition, there is none. */
.post-grid .wp-block-post-title a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}
@supports selector(:has(a)){
  .post-grid .wp-block-post-title a:focus-visible{outline:none}
  .post-grid > li:has(.wp-block-post-title a:focus-visible){outline:2px solid var(--accent);outline-offset:3px}
}

.post-grid .wp-block-post-excerpt{margin:0 0 .9rem}
.post-grid .wp-block-post-excerpt__excerpt{
  margin:0;font-size:.875rem;line-height:1.55;color:var(--text-muted);
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
.post-grid .post-meta{margin-top:auto;padding-top:.35rem}

.blog-list .pager{margin-top:clamp(2.5rem,4vw,3.5rem)}
.blog-list{padding-block:clamp(.5rem,1.5vw,1.25rem) clamp(3.5rem,6vw,5.5rem)}

.pager{
  display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:center;
  margin-top:3rem;padding-top:2rem;border-top:1px solid var(--border);
}
.pager a,.pager span{
  min-width:42px;text-align:center;font-size:.9375rem;font-weight:500;
  padding:.5rem .75rem;border-radius:8px;text-decoration:none;color:var(--text);
  border:1px solid transparent;
}
.pager a:hover{background:var(--brand-soft);color:var(--brand)}
.pager [aria-current="page"]{background:var(--brand);color:var(--brand-ink)}
.pager .dots{color:var(--text-muted)}
/* The review pager is buttons rather than links: changing page swaps cards
   already in the page and goes nowhere. Same look as the blog's. */
.pager button{
  font:inherit;min-width:42px;text-align:center;font-size:.9375rem;font-weight:500;
  padding:.5rem .75rem;border-radius:8px;color:var(--text);background:none;
  border:1px solid transparent;cursor:pointer;
}
.pager button:hover:not(:disabled):not([aria-current]){background:var(--brand-soft);color:var(--brand)}
.pager button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.pager button:disabled{color:var(--text-muted);cursor:default;opacity:.55}
/* Previous and Next carry words, so give them an edge that says they are
   buttons even before the pointer arrives. */
.reviews-pager button[aria-label^="Previous"],
.reviews-pager button[aria-label^="Next"]{border-color:var(--border-strong);padding-inline:1rem}
.reviews-pager{margin-top:2rem;padding-top:1.5rem}
.reviews:focus{outline:none}

/* ---------- single post ---------- */
.breadcrumb{
  font-size:.8125rem;color:var(--text-muted);
  padding-block:1.5rem 0;display:flex;gap:.45rem;flex-wrap:wrap;
}
.breadcrumb a{color:var(--text-muted);text-decoration:none}
.breadcrumb a:hover{color:var(--brand);text-decoration:underline}
/* A post is one centred reading column.

   It used to be margin-inline:0, which on a 2100px monitor left a 570px
   column of text jammed against the left edge with two thirds of the screen
   empty beside it. Reading width is a typographic decision and stays where
   it is; where that column sits on the page is a layout decision and it
   belongs in the middle.

   The cover image is allowed to be wider than the text. That difference is
   what gives the page a shape at full width. */
/* The top of a post.

   The cover image used to sit under the headline at full column width, which
   pushed the first sentence most of the way down a laptop screen. The image
   is the least useful thing on the page and it was taking the best position
   on it. Headline, standfirst and date on the left, image on the right, and
   the writing starts where the eye already is. */
.post-hero{
  display:grid;gap:1.75rem;align-items:center;
  padding-block:clamp(2rem,4vw,3.25rem) clamp(1.5rem,3vw,2.25rem);
}
/* The hero splits at the same width the body does, not before it. They used
   to split at 900 and 1080: between the two, the headline sat at the
   container's left edge while the body was still a centred 740 column, so
   the two disagreed by about a hundred pixels on an iPad. Below the split,
   the hero is capped and centred to match the column underneath it. */
@media (max-width:1079px){
  /* The children, not .post-hero itself. .post-hero carries the .wrap class,
     so capping it caps its border box, padding included, and its content
     then starts a gutter further in than the article below it. Capping the
     children leaves the padding where it is and the two line up. */
  .post-hero-text,.post-hero-media{max-width:740px;margin-inline:auto;width:100%}
}
@media (min-width:1080px){
  .post-hero{grid-template-columns:1fr 1fr;gap:clamp(2rem,4vw,3.5rem)}
}
.post-hero-text{display:grid;gap:1rem;align-content:center}
.post-hero-text h1{font-size:var(--step-3);line-height:1.15}
.post-hero-text .eyebrow a{color:inherit;text-decoration:none}
.post-hero-text .eyebrow a:hover{text-decoration:underline}
.post-standfirst{font-size:var(--step-1);line-height:1.55;color:var(--text-muted);margin:0}
.post-standfirst p{margin:0}
.post-hero-media .figure-featured{margin:0}
.post-hero-media .figure-featured img{border-radius:16px;width:100%}

/* Body and sidebar.

   The sidebar earns the width a post cannot use: a reading column stops at
   about 740px whatever the screen does, and on a 2100px monitor that left
   two thirds of the page empty. Contents on the way in, more to read on the
   way out. */
.post-layout{
  display:grid;gap:clamp(2rem,4vw,3.5rem);
  padding-bottom:clamp(3rem,6vw,5rem);
}
@media (min-width:1080px){
  .post-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:start}
}
@media (min-width:1360px){
  .post-layout{grid-template-columns:minmax(0,1fr) 330px}
}
/* No max-width of its own any more: the grid column is the measure. At the
   1160 container with a 300px sidebar that lands around 700px, which is the
   width this column has always wanted. One column below the breakpoint, so
   it needs a cap there. */
.article{margin-inline:0;padding-block:0 clamp(2rem,4vw,3rem)}
@media (max-width:1079px){.article{max-width:740px;margin-inline:auto}}

.post-aside{display:grid;gap:2rem;align-content:start;font-size:.9375rem}
@media (min-width:1080px){
  /* Clears the sticky header, which is why this is not simply top:0.
     --header-h is measured and published by the theme script, because the
     header is two lines tall on some widths.

     A sticky element taller than the window has a bottom you can never
     reach: it stops moving, and the last few related posts sit below the
     fold for the whole page. Cap it to the window and let it scroll. */
  .post-aside{
    position:sticky;
    top:calc(var(--header-h, 84px) + 1.5rem);
    max-height:calc(100vh - var(--header-h, 84px) - 3rem);
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:var(--border-strong) transparent;
    /* Room for the scrollbar so it never sits on top of the text. */
    padding-right:.35rem;
  }
  .admin-bar .post-aside{
    top:calc(var(--header-h, 84px) + 1.5rem + 32px);
    max-height:calc(100vh - var(--header-h, 84px) - 3rem - 32px);
  }
}
.post-aside-title{
  font-family:"IBM Plex Mono",ui-monospace,monospace;
  font-size:.6875rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;
  color:var(--text-muted);margin:0 0 .9rem;
}

.post-toc ol{list-style:none;margin:0;padding:0;display:grid;gap:.1rem}
.post-toc a{
  display:block;padding:.4rem .7rem;border-radius:8px;
  color:var(--text-muted);text-decoration:none;line-height:1.45;
  border-left:2px solid var(--border);
}
.post-toc a:hover{color:var(--brand);background:var(--brand-soft);border-left-color:var(--brand)}
.post-toc .toc-l3 a{padding-left:1.35rem;font-size:.875rem}

.post-related ul{list-style:none;margin:0;padding:0;display:grid;gap:1.1rem}
/* The picture is part of the link. It was not, so the one thing in the row
   that looks most clickable was the one thing that was not. Same overlay as
   the post cards: one tab stop and no anchor inside another. */
.post-related li{display:grid;gap:.35rem;position:relative}
.post-related a{color:var(--text);text-decoration:none;font-weight:600;line-height:1.35}
.post-related a::after{content:"";position:absolute;inset:0}
.post-related li:hover a{color:var(--brand)}
.post-related li:hover .related-thumb img{border-color:var(--brand)}
.post-related a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}
@supports selector(:has(a)){
  .post-related a:focus-visible{outline:none}
  .post-related li:has(a:focus-visible){outline:2px solid var(--accent);outline-offset:4px;border-radius:10px}
}
.post-related .related-thumb img{
  display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;
  border-radius:10px;border:1px solid var(--border);
}
.post-related .post-meta{font-size:.625rem}

/* Below the two-column breakpoint the sidebar has nowhere to go but under
   the post, and Ian's call is that it should not go there at all: "if it
   isn't full screen, I don't want it."

   He is right, and the first version only half believed it. The contents
   list was already dropped here, because a contents list under the article
   is a list of places you have just been. More to read was kept, and it
   stacked into a column of 700px-wide cover images below a post nobody had
   finished reading.

   Both go now. The markup stays in the page, so the links to those posts
   are still there to be crawled and followed. */
@media (max-width:1079px){
  .post-aside{display:none}
}

/* The end of a post is the point at which somebody has read the whole thing
   and is most likely to want to talk to us. It used to be a tag list and
   then the footer. */
.post-band{margin-top:0}
.article-meta{
  display:flex;flex-wrap:wrap;gap:.4rem .9rem;align-items:center;
  font-size:.875rem;color:var(--text-muted);
}
/* The closing section, from the blog footer library.

   Set apart from the writing above it, because it is the company talking
   about itself rather than a continuation of the article. Quieter than a
   tinted band: the Book a call band sits directly below and two loud blocks
   in a row read as an advert rather than as a sign-off. */
.post-footer{
  margin-top:2.75rem;padding-top:1.75rem;
  border-top:1px solid var(--border);
  font-size:.9375rem;line-height:1.7;color:var(--text-muted);
  display:grid;gap:.9rem;
}
.post-footer h2,.post-footer h3,.post-footer h4{
  font-size:var(--step-0);font-weight:600;color:var(--text);margin:0;
}
.post-footer p{margin:0}
.post-footer a{color:var(--brand);text-underline-offset:3px}
.post-footer ul,.post-footer ol{margin:0;padding-left:1.35rem;display:grid;gap:.4rem}

/* The tags follow the closing section, so they need no second rule above
   them when one is present. */
.post-footer + .tags{border-top:0;margin-top:1.5rem;padding-top:0}

.article .tags{
  display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;
  margin-top:2.75rem;padding-top:1.75rem;border-top:1px solid var(--border);
}
.article .tags a{
  font-size:.8125rem;font-weight:500;text-decoration:none;color:var(--text);
  border:1px solid var(--border-strong);border-radius:999px;
  padding:.3rem .8rem;background:var(--surface);
}
.article .tags a:hover{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}

/* The reading column's rhythm.
   ---------------------------------------------------------------------
   The grid gap is the only thing that spaces these children apart, which
   is why the rule below zeroes the margin WordPress adds. Together they
   were putting 46px between two paragraphs set on a 29.75px line: one and
   a half blank lines every time somebody pressed Enter.

   The numbers are all ratios of the line height, which is what the eye
   actually reads:

     paragraph to paragraph   24px   0.81x   a clear break, not a rest
     above an h2              48px   1.61x   twice the paragraph gap
     below an h2              24px   0.81x   a heading belongs to what
                                             follows it, not to what is
                                             above it
     above an h3              36px   1.21x   subordinate to the h2
*/
.article-body{display:grid;gap:1.5rem;font-size:1.0625rem;line-height:1.75}

/* WordPress spaces the children of a flow layout itself, with
       :root :where(.is-layout-flow) > * { margin-block: 24px 0 }
   which is 0-1-0 and therefore beat this file's own p{margin:0} at 0-0-1.
   So every paragraph in an article carried 24px on top of the grid gap and
   nothing here was winning. The ul had been immune the whole time, by
   accident, because .article-body ul is 0-2-0: a list sat 22px under the
   paragraph above it while two paragraphs sat 46px apart, and that
   asymmetry is what gave it away.

   Every rule in this block is qualified with :root so it outranks that one
   by weight rather than by source order, which depends on enqueue order
   and is not ours to rely on. The grid gap is then the only thing spacing
   these children, and the headings add to it from here. */
:root .article-body > *{margin-block:0}
:root .article-body > h2{margin-block-start:1.5rem}
:root .article-body > h3{margin-block-start:.75rem}

.article-body h2{font-size:var(--step-2)}
.article-body h3{font-size:var(--step-1)}
.article-body ul{margin:0;padding-left:1.35rem;display:grid;gap:.6rem}
.article-body li::marker{color:var(--accent)}
.article-body strong{font-weight:600;color:var(--text)}
.article-body blockquote{
  margin:.5rem 0;padding-left:1.35rem;border-left:3px solid var(--accent);
  font-family:"Source Serif 4",Georgia,serif;font-size:var(--step-2);line-height:1.4;
}
.takeaway{
  background:var(--brand-soft);border-radius:14px;
  padding:clamp(1.35rem,3vw,1.9rem);display:grid;gap:.8rem;
  border-left:4px solid var(--brand);
}
.takeaway h2{margin:0;font-size:var(--step-1)}
.takeaway ul{margin:0;padding-left:1.25rem;display:grid;gap:.5rem;font-size:1rem}
/* Renamed off ".author", the body class on an author archive. */
.authorbox{
  display:flex;gap:1.1rem;align-items:flex-start;
  border-top:1px solid var(--border);margin-top:2.5rem;padding-top:1.75rem;
}
.authorbox-avatar{
  width:56px;height:56px;border-radius:50%;flex:0 0 auto;
  background:var(--brand-soft);border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  font-weight:700;color:var(--brand);font-size:1.1rem;
}
.authorbox-body{display:grid;gap:.3rem}
.authorbox-body strong{font-size:1.0625rem}
.authorbox-body p{font-size:.9375rem;color:var(--text-muted)}

/* ---------- about + enquiry block ---------- */
.aboutcta{display:grid;gap:1.25rem}
@media (min-width:900px){.aboutcta{grid-template-columns:1.15fr 1fr;gap:2rem;align-items:stretch}}
/* The two boxes are block children of a flow group, so WordPress gives the
   second one
       :root :where(.is-layout-flow) > * { margin-block: 24px 0 }
   and the form box sat 24px below the panel beside it (Careers, Contact).
   Qualified with :root to outrank that rule by weight. They also stretch to
   the same height, so the pair reads as one row with a shared top and
   bottom. */
:root .aboutcta > *{margin-block:0}
.about-panel{
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
  padding:clamp(1.5rem,3vw,2.25rem);display:grid;gap:1rem;align-content:start;
}
.about-panel h2{font-size:var(--step-2)}
.about-panel p{color:var(--text-muted)}
.about-facts{
  display:grid;gap:.55rem;margin:.25rem 0;padding:0;list-style:none;
}
.about-facts li{
  display:flex;gap:.7rem;align-items:baseline;font-size:.9375rem;
  border-top:1px solid var(--border);padding-top:.55rem;
}
.about-facts li:first-child{border-top:0;padding-top:0}
.about-facts b{
  font-family:"Source Serif 4",Georgia,serif;font-weight:700;color:var(--brand);
  flex:0 0 auto;min-width:7.5rem;font-variant-numeric:tabular-nums;
}
.about-facts span{color:var(--text-muted)}
.about-links{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}

.cta-panel{
  background:var(--brand-soft);border:1px solid var(--border);border-radius:16px;
  padding:clamp(1.5rem,3vw,2rem);display:grid;gap:1rem;align-content:start;
}
.cta-panel h2{font-size:var(--step-1)}
.cta-panel > p:not(.eyebrow){color:var(--text-muted);font-size:.9375rem}
/* Without :not(.eyebrow) the rule above (0-1-1) beat .eyebrow (0-1-0), so
   the small capitals label in the form box came out at 15px and grey while
   the one in the panel beside it was 12px and accent coloured. */
.field{display:grid;gap:.35rem}
.field label{font-size:.8125rem;font-weight:600;letter-spacing:.01em}
.field input,.field textarea{
  font:inherit;font-size:.9375rem;color:var(--text);
  background:var(--surface);border:1px solid var(--border-strong);border-radius:9px;
  padding:.65rem .8rem;width:100%;
}
.field textarea{min-height:96px;resize:vertical}
.field input:focus,.field textarea:focus{border-color:var(--brand);outline:2px solid var(--accent);outline-offset:1px}
.cta-panel .btn{width:100%}
.cta-alt{
  font-size:.875rem;color:var(--text-muted);text-align:center;
  padding-top:.65rem;border-top:1px solid var(--border);
}
.form-note{font-size:.75rem;color:var(--text-muted)}
.check{
  display:flex;gap:.65rem;align-items:flex-start;
  font-size:.875rem;line-height:1.5;cursor:pointer;
  background:var(--surface);border:1px solid var(--border-strong);border-radius:9px;
  padding:.75rem .85rem;
}
.check input{
  flex:0 0 auto;width:18px;height:18px;margin:.1rem 0 0;accent-color:var(--brand);cursor:pointer;
}
.check:hover{border-color:var(--brand)}

/* ---------- article images ---------- */
.figure{margin:0;display:grid;gap:.6rem}
.figure img{
  display:block;width:100%;height:auto;max-width:100%;
  border-radius:12px;border:1px solid var(--border);
}
.figure figcaption{
  font-size:.8125rem;line-height:1.55;color:var(--text-muted);
  padding-left:.9rem;border-left:2px solid var(--accent);
}
/* stand-in for a real image, sized to the aspect the real one will use */
.imgbox{
  border-radius:12px;border:1px solid var(--border);background:var(--brand-soft);
  display:flex;align-items:center;justify-content:center;text-align:center;
  padding:1rem;max-width:100%;
  font-family:"IBM Plex Mono",monospace;font-size:.6875rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--brand);
}
.figure-featured{margin-bottom:2rem}
.figure-featured .imgbox{aspect-ratio:16/9}
.figure-inline .imgbox{aspect-ratio:3/2}
/* breaks out past the text column on wide screens, never past the viewport */
.figure-wide{width:min(980px, 100%)}
/* A letterbox strip of the city, low on the about page. Scene setting
   rather than a figure in its own right, so no border and no caption.
   The ratio is enforced here because the file is 3:1 and a browser that
   has not loaded it yet should still reserve the right box. */
.figure-rooted{width:100%;margin:0}
.figure-rooted img{border:0;border-radius:14px;aspect-ratio:3/1;object-fit:cover}

.figure-wide .imgbox{aspect-ratio:21/9}
@media (min-width:1080px){
  .figure-wide{width:980px;max-width:calc(100vw - (2 * var(--gutter)))}
}
@media (max-width:760px){
  .figure-wide .imgbox{aspect-ratio:16/9}
}

/* ---------- the fork: which model are you ---------- */
.fork{display:grid;gap:1.25rem}
@media (min-width:880px){.fork{grid-template-columns:repeat(2,1fr);gap:1.5rem}}
.fork-card{
  display:grid;gap:1rem;align-content:start;
  background:var(--surface);border:1px solid var(--border);border-radius:18px;
  padding:clamp(1.5rem,3vw,2.25rem);
  border-top:4px solid var(--brand);
}
.fork-card h3{font-size:var(--step-2)}
.fork-card > p{color:var(--text-muted)}
.recognise{list-style:none;margin:0;padding:0;display:grid;gap:.7rem}
.recognise li{
  position:relative;padding-left:1.75rem;font-size:.9375rem;line-height:1.55;
}
.recognise li::before{
  content:"";position:absolute;left:0;top:.42em;width:10px;height:6px;
  border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);
  transform:rotate(-45deg);
}
.fork-foot{margin-top:.35rem;display:flex;flex-wrap:wrap;gap:.65rem;align-items:center}
/* the "not this" counterpart to .recognise */
.recognise-no li::before{
  content:"";position:absolute;left:1px;top:.45em;width:11px;height:11px;
  border:0;transform:none;
  background:
    linear-gradient(to bottom right, transparent 44%, var(--text-muted) 44%, var(--text-muted) 56%, transparent 56%),
    linear-gradient(to bottom left,  transparent 44%, var(--text-muted) 44%, var(--text-muted) 56%, transparent 56%);
}
.recognise-no li{color:var(--text-muted)}

/* ---------- service detail ---------- */
.svc-hero{padding-block:clamp(1.5rem,3vw,2.5rem) clamp(2.5rem,5vw,3.5rem)}
.svc-hero h1{font-size:var(--step-4);max-width:16ch;margin-bottom:1.1rem}
.svc-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.75rem}
/* product hero: copy first on mobile, image alongside on wide screens */
.svc-hero-split{display:grid;gap:2rem}
@media (min-width:940px){
  .svc-hero-split{grid-template-columns:1.1fr .9fr;gap:3rem;align-items:center}
}
.hero-shot{
  border-radius:16px;overflow:hidden;border:1px solid var(--border);
  background:var(--bg-2);box-shadow:var(--shadow);
  aspect-ratio:1/1;max-width:100%;
}
.hero-shot img{width:100%;height:100%;object-fit:cover;display:block}
/* A wide shot rather than a product cut-out. The square crop suits a single
   device on white; a desk scene loses half its subject to it. */
.hero-shot-wide{aspect-ratio:3/2}
/* A 16:9 shot, for a photograph that is wider than it is tall by more than a
   product cut-out. Cropping 1600x898 to 3:2 would take a fifth of the height
   off a picture whose subject is spread across it. */
.hero-shot-cine{aspect-ratio:16/9}
.shot-credit{
  font-size:.75rem;color:var(--text-muted);margin-top:.6rem;
}

.scene{
  background:var(--band-bg);color:#fff;border-radius:18px;
  padding:clamp(1.75rem,4vw,3rem);display:grid;gap:1rem;
}
.scene h2{color:#fff;font-size:var(--step-2);max-width:24ch}
.scene p{color:rgba(255,255,255,.86);max-width:60ch}
.scene .eyebrow{color:rgba(255,255,255,.75)}

.incl{display:grid;gap:1.75rem}
@media (min-width:760px){.incl{grid-template-columns:repeat(2,1fr);gap:2rem}}
@media (min-width:1080px){.incl{grid-template-columns:repeat(3,1fr)}}
.incl-group{display:grid;gap:.75rem;align-content:start;padding-top:1rem;border-top:2px solid var(--brand)}
.incl-group h3{font-size:var(--step-1)}
.incl-group ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.incl-group li{
  position:relative;padding-left:1.1rem;
  font-size:.9375rem;color:var(--text-muted);line-height:1.55;
}
/* without a marker these read as loose paragraphs rather than a list */
.incl-group li::before{
  content:"";position:absolute;left:0;top:.62em;
  width:5px;height:5px;border-radius:50%;background:var(--accent);
}

/* ---------- FAQ: answers always visible ---------- */
.faq{display:grid;gap:1.75rem;max-width:none}
/* Two balanced columns rather than a two column grid. A grid lines the
   answers up in rows, so one long answer stretches its row and an odd
   count leaves the last question on its own under the left column (Ian,
   Hospitality, seven questions). Columns flow down and balance by height,
   so the two sides end level whatever the count. Margins next to a column
   break are dropped, so only the very last item needs resetting. */
@media (min-width:900px){
  .faq{display:block;columns:2;column-gap:3rem}
  .faq > .faq-item{break-inside:avoid;margin:0 0 2rem}
  .faq > .faq-item:last-child{margin-bottom:0}
}
.faq-item{display:grid;gap:.5rem;align-content:start}
.faq-item h3{font-size:var(--step-1)}
.faq-item p{color:var(--text-muted);font-size:.9375rem}

.xlinks{display:grid;gap:.65rem}
@media (min-width:700px){.xlinks{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1040px){.xlinks{grid-template-columns:repeat(3,1fr)}}

.policy{max-width:70ch;display:grid;gap:1.3rem;font-size:1.0625rem;line-height:1.75}
.policy h2{font-size:var(--step-1);margin-top:1.4rem}
/* A subsection: body size, set apart by the serif and its weight. Left to
   the global h3 it came out larger than the h2 above it on a phone. */
.policy h3{font-size:1.0625rem;margin-top:.4rem}
.policy ul{margin:0;padding-left:1.35rem;display:grid;gap:.7rem}
.policy li::marker{color:var(--accent)}
.policy strong{font-weight:600;color:var(--text)}
.policy a{font-weight:600}
.policy-meta{
  font-size:var(--step--1);color:var(--text-muted);
  border-top:1px solid var(--border);padding-top:1.1rem;margin-top:1.25rem;
}

/* ---------- audience: a second axis, kept visually distinct from topic ---------- */
.filterbar{
  display:grid;gap:1rem;padding-block:1.75rem;margin-top:1.75rem;
  border-top:1px solid var(--border);
}
.filterrow{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.filterlabel{
  font-family:"IBM Plex Mono",monospace;font-size:.6875rem;font-weight:500;
  letter-spacing:.11em;text-transform:uppercase;color:var(--text-muted);
  flex:0 0 auto;margin-right:.15rem;
}
.aud-pick{display:inline-flex;border:1px solid var(--border-strong);border-radius:999px;overflow:hidden}
.aud-pick a{
  font-size:.8125rem;font-weight:500;text-decoration:none;color:var(--text);
  padding:.4rem .9rem;border-right:1px solid var(--border-strong);white-space:nowrap;
}
.aud-pick a:last-child{border-right:0}
.aud-pick a:hover{background:var(--brand-soft);color:var(--brand)}
.aud-pick a[aria-current="true"]{background:var(--brand);color:var(--brand-ink)}
/* badge on a post that is not written for the default reader */
.aud{
  display:inline-block;font-family:"IBM Plex Sans",sans-serif;
  font-size:.6875rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  padding:.15rem .5rem;border-radius:4px;
  background:var(--accent-soft);color:var(--accent);
  border:1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  vertical-align:middle;margin-left:.4rem;
}

/* ---------- founder ---------- */
.founder{display:grid;gap:1.75rem}
@media (min-width:820px){
  .founder{grid-template-columns:minmax(240px,320px) 1fr;gap:3rem;align-items:start}
}
.founder-photo{
  border-radius:16px;overflow:hidden;border:1px solid var(--border);
  background:var(--brand-soft);aspect-ratio:4/5;max-width:100%;
  display:flex;align-items:center;justify-content:center;text-align:center;padding:1.25rem;
  font-family:"IBM Plex Mono",monospace;font-size:.6875rem;letter-spacing:.09em;
  text-transform:uppercase;color:var(--brand);line-height:1.7;
}
.founder-photo img{width:100%;height:100%;object-fit:cover;display:block}
.founder-body{display:grid;gap:1.1rem;align-content:start}
/* h1 on the founder's own page, h2 wherever the block is reused. */
.founder-body h1,.founder-body h2{font-size:var(--step-3)}
.founder-role{
  font-family:"IBM Plex Mono",monospace;font-size:.75rem;letter-spacing:.12em;
  text-transform:uppercase;color:var(--accent);
}
.founder-body p{color:var(--text-muted);max-width:62ch}
.founder-quote{
  font-family:"Source Serif 4",Georgia,serif;font-size:var(--step-2);line-height:1.4;
  color:var(--text);border-left:3px solid var(--accent);padding-left:1.25rem;margin:.35rem 0;
}
.founder-links{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.35rem}

/* ---------- values ---------- */
.values{display:grid;gap:1.75rem}
@media (min-width:700px){.values{grid-template-columns:repeat(2,1fr);gap:2rem}}
@media (min-width:1040px){.values{grid-template-columns:repeat(4,1fr)}}
.value{display:grid;gap:.5rem;align-content:start;padding-top:1rem;border-top:2px solid var(--brand)}
.value h3{font-size:var(--step-1)}
.value p{font-size:.9375rem;color:var(--text-muted)}

/* ---------- brand mark, reusable, theme aware ---------- */
.brandmark{
  display:flex;align-items:center;justify-content:center;flex:0 0 auto;
  background:var(--brand-soft);border:1px solid var(--border);border-radius:12px;
  padding:.85rem;overflow:hidden;
}
.brandmark img{width:100%;height:100%;object-fit:contain;display:block}
.brandmark .mark-rev{display:none}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .brandmark .mark-pos{display:none}
  :root:not([data-theme="light"]) .brandmark .mark-rev{display:block}
}
:root[data-theme="dark"] .brandmark .mark-pos{display:none}
:root[data-theme="dark"] .brandmark .mark-rev{display:block}

/* ---------- the bridge between the two about pages ---------- */
.crosscard{
  display:grid;gap:1.25rem;align-items:center;
  background:var(--surface);border:1px solid var(--border);border-radius:18px;
  padding:clamp(1.5rem,3vw,2.25rem);text-decoration:none;color:inherit;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.crosscard:hover{border-color:var(--brand);box-shadow:var(--shadow-lift)}
@media (min-width:700px){
  .crosscard{grid-template-columns:auto 1fr auto;gap:1.75rem}
}
.crosscard-visual{
  width:88px;height:110px;border-radius:12px;flex:0 0 auto;
  background:var(--brand-soft);border:1px solid var(--border);overflow:hidden;
  display:flex;align-items:center;justify-content:center;text-align:center;
  font-family:"IBM Plex Mono",monospace;font-size:.5625rem;letter-spacing:.08em;
  text-transform:uppercase;color:var(--brand);padding:.5rem;line-height:1.6;
}
.crosscard-visual img{width:100%;height:100%;object-fit:cover;display:block}
.crosscard-visual.is-mark{padding:.85rem}
.crosscard-visual.is-mark img{object-fit:contain}
.crosscard-body{display:grid;gap:.4rem}
.crosscard-body h3{font-size:var(--step-2)}
.crosscard-body p{color:var(--text-muted);font-size:.9375rem;max-width:56ch}
.crosscard-go{
  font-size:.9375rem;font-weight:600;color:var(--brand);
  display:inline-flex;align-items:center;gap:.4rem;flex:0 0 auto;
}
.crosscard:hover .crosscard-go svg{transform:translateX(3px)}
.crosscard-go svg{transition:transform .15s ease}

/* ---------- client support: a utility page, not a sales page ---------- */
.urgent{
  display:grid;gap:1rem;align-items:center;
  background:var(--band-bg);color:#fff;border-radius:18px;
  padding:clamp(1.5rem,3.5vw,2.25rem);
}
@media (min-width:760px){.urgent{grid-template-columns:1fr auto;gap:2rem}}
.urgent h2{color:#fff;font-size:var(--step-2);max-width:22ch}
.urgent p{color:rgba(255,255,255,.86);max-width:52ch}
/* The band is purple in both themes, so a link in it cannot take the
   brand colour and still be read. */
.urgent p a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.urgent p a:hover{text-decoration-thickness:2px}
.urgent .eyebrow{color:rgba(255,255,255,.75)}
.bignum{
  font-family:"Source Serif 4",Georgia,serif;font-weight:700;
  font-size:clamp(1.75rem,4vw,2.5rem);color:#fff;text-decoration:none;
  display:inline-flex;align-items:center;gap:.6rem;white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.bignum:hover{color:#fff;text-decoration:underline;text-underline-offset:6px}

.support-grid{display:grid;gap:1.25rem}
@media (min-width:820px){.support-grid{grid-template-columns:repeat(3,1fr);gap:1.5rem}}
.support-card{
  display:grid;gap:.75rem;align-content:start;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
  padding:clamp(1.5rem,3vw,2rem);text-decoration:none;color:inherit;
  border-top:4px solid var(--brand);
  transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.support-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px)}
.support-icon{
  width:46px;height:46px;border-radius:13px;
  background:var(--brand-soft);color:var(--brand);
  display:grid;place-items:center;
  transition:background .15s ease, color .15s ease;
}
.support-icon svg{width:23px;height:23px;display:block}
a.support-card:hover .support-icon{background:var(--brand);color:var(--brand-ink)}
.support-card h3{font-size:var(--step-2)}
.support-card p{color:var(--text-muted);font-size:.9375rem}
.support-when{
  margin-top:.35rem;padding-top:.75rem;border-top:1px solid var(--border);
  font-size:.875rem;
}
.support-when b{display:block;font-size:.6875rem;letter-spacing:.11em;text-transform:uppercase;
  color:var(--accent);font-family:"IBM Plex Mono",monospace;margin-bottom:.3rem;font-weight:500}
.support-go{
  margin-top:auto;padding-top:.75rem;font-size:.9375rem;font-weight:600;color:var(--brand);
  display:inline-flex;align-items:center;gap:.4rem;
}
a.support-card:hover .support-go svg{transform:translateX(3px)}
.support-go svg{transition:transform .15s ease}

.warn{
  border:2px solid var(--accent);border-radius:16px;background:var(--accent-soft);
  padding:clamp(1.5rem,3.5vw,2.25rem);display:grid;gap:.85rem;
}
.warn h2{font-size:var(--step-2);max-width:26ch}
.warn p{color:var(--text-muted);max-width:62ch}
.warn strong{color:var(--text)}

/* ---------- careers ---------- */
.jobs{display:grid;gap:.85rem}
.job{
  display:grid;gap:.5rem;
  background:var(--surface);border:1px solid var(--border);border-radius:14px;
  padding:1.35rem 1.5rem;text-decoration:none;color:inherit;
  border-left:3px solid var(--brand);
  transition:border-color .15s ease, box-shadow .15s ease;
}
a.job:hover{border-color:var(--brand);box-shadow:var(--shadow-lift)}
.job-top{display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:baseline;justify-content:space-between}
.job h3{font-size:var(--step-1)}
.job p{font-size:.9375rem;color:var(--text-muted);max-width:62ch}
.job-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.2rem}
/* Job chips: Open, Full time, Greater Victoria.
   
   This was called .tag, which WordPress also puts on the <body> of every tag
   archive. A chip rule became a page rule: the whole of /blog/tag/<slug>/
   rendered in mono, uppercase, letter-spaced, on an accent-soft background,
   because font-family, text-transform, letter-spacing and color all inherit.
   It looked like a second theme. No selector here may be a bare word
   WordPress also generates. tools/check-class-collisions.py enforces it. */
.jobchip{
  font-family:"IBM Plex Mono",monospace;font-size:.6875rem;letter-spacing:.07em;
  text-transform:uppercase;color:var(--accent);
  border:1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background:var(--accent-soft);border-radius:4px;padding:.15rem .45rem;
}
.jobchip-open{color:var(--brand);border-color:color-mix(in srgb, var(--brand) 35%, transparent);background:var(--brand-soft)}
.jobs-empty{
  border:1px dashed var(--border-strong);border-radius:14px;background:var(--bg-2);
  padding:clamp(1.35rem,3vw,1.85rem);display:grid;gap:.5rem;
}
.jobs-empty h3{font-size:var(--step-1)}
.jobs-empty p{color:var(--text-muted);font-size:.9375rem;max-width:62ch}

/* A job posting's own page, /careers/<slug>/ (RTG_Jobs, Ian, 23 November
   2026): the facts under the title, the posting in the blog's body type,
   then the confidential careers form. A closed posting says so instead. */
.page-head .eyebrow a{color:inherit;text-decoration:none}
.page-head .eyebrow a:hover{text-decoration:underline}
.job-facts{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:1rem 2rem;
  margin:1.5rem 0 0;max-width:62rem;
}
.job-facts dt{
  margin:0 0 .2rem;font-family:"IBM Plex Mono",ui-monospace,monospace;font-size:.6875rem;
  letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);
}
.job-facts dd{margin:0;color:var(--text);font-weight:500}
.job-closed{
  margin:1.25rem 0 0;max-width:62ch;padding:1rem 1.25rem;
  border:1px solid var(--border-strong);border-left:3px solid var(--accent);border-radius:12px;background:var(--surface);
}
.job-body .article-body{max-width:68ch}
.job-apply{margin-top:clamp(2rem,4vw,3rem);max-width:46rem}

/* The Living Wage BC badge (Ian, 23 November 2026). Their artwork comes in
   colour, for a light page, and in white, for a dark one. Both files are cut
   to the same size, so the swap between them lines up exactly. */
.living-wage{
  display:flex;flex-wrap:wrap;align-items:center;gap:1.25rem 2.25rem;
  margin-top:clamp(2rem,4vw,3rem);padding-top:clamp(1.5rem,3vw,2rem);border-top:1px solid var(--border);
}
.living-wage-badge{flex:0 0 auto;width:clamp(230px,32vw,320px)}
.living-wage-badge img{display:block;width:100%;height:auto}
.living-wage-badge .living-wage-dark{display:none}
.living-wage p{flex:1 1 18rem;max-width:52ch;color:var(--text-muted)}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .living-wage-badge .living-wage-light{display:none}
  :root:not([data-theme="light"]) .living-wage-badge .living-wage-dark{display:block}
}
:root[data-theme="dark"] .living-wage-badge .living-wage-light{display:none}
:root[data-theme="dark"] .living-wage-badge .living-wage-dark{display:block}

.perks{display:grid;gap:1.75rem}
@media (min-width:700px){.perks{grid-template-columns:repeat(2,1fr);gap:2rem}}
@media (min-width:1040px){.perks{grid-template-columns:repeat(3,1fr)}}
.perk{display:grid;gap:.5rem;align-content:start;padding-top:1rem;border-top:2px solid var(--brand)}
.perk h3{font-size:var(--step-1)}
.perk p{font-size:.9375rem;color:var(--text-muted)}

/* ---------- service area ---------- */
.area{display:grid;gap:1.75rem}
@media (min-width:860px){.area{grid-template-columns:1.15fr 1fr;gap:2.5rem;align-items:start}}
.area-group{display:grid;gap:.85rem;align-content:start}
.area-group h3{font-size:var(--step-1)}
.area-group > p{font-size:.9375rem;color:var(--text-muted);max-width:56ch}
.places{display:flex;flex-wrap:wrap;gap:.45rem;margin:0;padding:0;list-style:none}
.places li{
  font-size:.875rem;font-weight:500;
  border:1px solid var(--border-strong);border-radius:999px;padding:.35rem .85rem;
  background:var(--surface);
}
.places-soft li{background:transparent;color:var(--text-muted)}

/* ---------- contact: clients first ----------
   Somebody who already has us and has a problem should not read a page of
   ways to start a conversation. This sits above the three routes, in the
   tint and with the accent edge, so it reads as a different audience from
   the white cards below it rather than a fourth option among them. Not the
   solid purple band: that would out-shout Book a call for everybody else. */
.client-strip{
  display:grid;gap:1rem;align-items:center;
  background:var(--brand-soft);border:1px solid var(--border);
  border-left:6px solid var(--accent);border-radius:16px;
  padding:clamp(1.25rem,3vw,1.75rem);
  margin-bottom:clamp(1.25rem,3vw,1.75rem);
}
@media (min-width:760px){
  .client-strip{grid-template-columns:auto 1fr auto;gap:1.5rem}
}
.client-strip-mark{
  display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;
  background:var(--surface);color:var(--accent);border:1px solid var(--border);
}
.client-strip-copy{display:grid;gap:.35rem}
.client-strip h2{font-size:var(--step-2);color:var(--text)}
.client-strip-copy > p:not(.eyebrow){color:var(--text-muted);max-width:60ch}
.client-strip .btn{justify-self:start;white-space:nowrap}
/* The same panel closes the client support page, pointing the other way:
   at people who are not clients yet. Nothing follows it there. */
.client-strip:last-child{margin-bottom:0}

/* ---------- contact routes ---------- */
.routes{display:grid;gap:1.25rem}
@media (min-width:820px){.routes{grid-template-columns:repeat(3,1fr);gap:1.5rem}}
.route{
  display:grid;gap:.6rem;align-content:start;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
  padding:clamp(1.35rem,3vw,1.85rem);text-decoration:none;color:inherit;
  border-top:4px solid var(--brand);
  transition:box-shadow .15s ease, transform .15s ease;
}
a.route:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px)}
.route h3{font-size:var(--step-1)}
.route p{font-size:.9375rem;color:var(--text-muted)}
.route-value{
  font-family:"Source Serif 4",Georgia,serif;font-weight:700;font-size:var(--step-2);
  color:var(--brand);font-variant-numeric:tabular-nums;word-break:break-word;
}

/* ---------- newsletter issue ---------- */
.issue-head{
  display:grid;gap:.9rem;
  padding-bottom:1.75rem;margin-bottom:2rem;
  border-bottom:3px double var(--border-strong);
}
.issue-meta{
  display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:baseline;
  font-family:"IBM Plex Mono",monospace;font-size:.75rem;font-weight:500;
  letter-spacing:.12em;text-transform:uppercase;color:var(--accent);
}
.issue-meta .sep{color:var(--border-strong)}
.issue-head h1{font-size:var(--step-3)}
.issue-standfirst{font-size:var(--step-1);color:var(--text-muted);line-height:1.6}

.issue-note{
  display:grid;gap:1rem;
  background:var(--bg-2);border-radius:14px;
  padding:clamp(1.35rem,3vw,1.85rem);margin-bottom:2.5rem;
}
.issue-note p{color:var(--text);line-height:1.7}
.issue-from{display:flex;align-items:center;gap:.8rem}
.issue-from img{width:44px;height:44px;border-radius:50%;object-fit:cover;display:block;flex:0 0 auto}
.issue-from span{font-size:.875rem;color:var(--text-muted)}
.issue-from b{display:block;color:var(--text);font-size:.9375rem}

.issue-items{display:grid;gap:0}
.issue-item{
  display:grid;gap:.55rem;
  padding-block:1.75rem;border-top:1px solid var(--border);
}
.issue-item:first-child{border-top:0;padding-top:.5rem}
.issue-kicker{
  font-family:"IBM Plex Mono",monospace;font-size:.6875rem;font-weight:500;
  letter-spacing:.11em;text-transform:uppercase;color:var(--accent);
}
.issue-item h2{font-size:var(--step-2)}
.issue-item p{color:var(--text-muted);line-height:1.7}
.issue-item a.more{font-weight:600;font-size:.9375rem;display:inline-flex;align-items:center;gap:.4rem}
.issue-item a.more svg{transition:transform .15s ease}
.issue-item a.more:hover svg{transform:translateX(3px)}

.issue-sign{
  margin-top:2.5rem;padding-top:1.75rem;border-top:3px double var(--border-strong);
  display:grid;gap:.5rem;
}
.issue-sign p{color:var(--text-muted)}
.issue-sign .sig{
  font-family:"Source Serif 4",Georgia,serif;font-size:var(--step-2);
  color:var(--brand);font-weight:600;
}

.subscribe{
  display:grid;gap:1rem;
  border:2px solid var(--brand);border-radius:16px;background:var(--brand-soft);
  padding:clamp(1.5rem,3.5vw,2.25rem);
}
.subscribe h2{font-size:var(--step-2);max-width:24ch}
.subscribe > p{color:var(--text-muted);max-width:58ch}
.subscribe-form{display:grid;gap:.75rem;max-width:440px}
@media (min-width:560px){
  .subscribe-form{grid-template-columns:1fr auto;align-items:end;max-width:520px}
  .subscribe-form .form-note{grid-column:1/-1}
}

/* ---------- post lede: wider than the reading column ---------- */
.article-lede{
  width:min(980px, 100%);
  margin-bottom:2.25rem;
}
@media (min-width:1080px){
  /* the wrap is wider than the reading column, so media can run on past it */
  .article-lede{width:980px;max-width:calc(100vw - (2 * var(--gutter)))}
}
.article-head-split{display:grid;gap:1.5rem;align-items:start}
@media (min-width:820px){
  .article-head-split{grid-template-columns:1.25fr .75fr;gap:2.5rem}
}
.article-head-split .hero-shot{aspect-ratio:4/3}

/* ---------- video: a facade, so the player only loads on demand ---------- */
.video{
  position:relative;aspect-ratio:16/9;max-width:100%;
  border-radius:14px;overflow:hidden;border:1px solid var(--border);
  background:var(--bg-2);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;margin-top:1.5rem;
}
.video img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.video-play{
  position:relative;z-index:1;
  display:flex;flex-direction:column;align-items:center;gap:.75rem;text-align:center;
}
.video-play-btn{
  width:66px;height:66px;border-radius:50%;
  background:var(--band-bg);color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 24px -6px rgba(0,0,0,.45);
  transition:transform .15s ease, background-color .15s ease;
}
.video:hover .video-play-btn{transform:scale(1.07);background:var(--brand-hover)}
.video-label{
  font-family:"IBM Plex Mono",monospace;font-size:.6875rem;font-weight:500;
  letter-spacing:.11em;text-transform:uppercase;color:var(--text-muted);
}
.video-cap{font-size:.8125rem;color:var(--text-muted);margin-top:.6rem}
/* small play badge on cards for posts that have a video */
.has-video{position:relative}
.has-video::after{
  content:"";position:absolute;left:.65rem;top:.65rem;
  width:26px;height:26px;border-radius:50%;
  background:var(--brand);
  clip-path:circle(50%);
  box-shadow:0 2px 8px rgba(0,0,0,.3);
}
.has-video::before{
  content:"";position:absolute;left:1.42rem;top:1.24rem;z-index:1;
  border-style:solid;border-width:5px 0 5px 8px;
  border-color:transparent transparent transparent #fff;
}

/* ---------- 30 day roadmap: a genuine sequence, so genuinely numbered ---------- */
.roadmap{display:grid;gap:1.25rem;position:relative}
@media (min-width:1000px){.roadmap{grid-template-columns:repeat(4,1fr);gap:1.5rem}}
.stage{
  display:grid;gap:.7rem;align-content:start;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
  padding:clamp(1.35rem,3vw,1.75rem);
  border-top:4px solid var(--brand);
}
.stage-days{
  font-family:"IBM Plex Mono",monospace;font-size:.75rem;font-weight:500;
  letter-spacing:.12em;text-transform:uppercase;color:var(--accent);
}
.stage h3{font-size:var(--step-1)}
.stage ul{list-style:none;margin:0;padding:0;display:grid;gap:.5rem}
.stage li{font-size:.9375rem;color:var(--text-muted);line-height:1.55;padding-left:1rem;position:relative}
.stage li::before{
  content:"";position:absolute;left:0;top:.6em;width:5px;height:5px;border-radius:50%;
  background:var(--accent);
}

/* ---------- the two starting points ---------- */
.starts{display:grid;gap:1.25rem}
@media (min-width:880px){.starts{grid-template-columns:repeat(2,1fr);gap:1.5rem}}

/* ---------- objections answered plainly ---------- */
.myths{display:grid;gap:1.5rem}
@media (min-width:820px){.myths{grid-template-columns:repeat(2,1fr);gap:1.75rem 2.5rem}}
.myth{display:grid;gap:.4rem;align-content:start;padding-left:1.1rem;border-left:3px solid var(--accent)}
.myth h3{font-size:1.0625rem;color:var(--text-muted);font-family:"IBM Plex Sans",sans-serif;font-weight:500;font-style:italic}
.myth p{font-size:.9375rem}
.myth p strong{color:var(--text)}

/* ---------- FAQ library ---------- */
.faq-search{display:grid;gap:.75rem;max-width:560px;margin-top:1.75rem}
.faq-search input{
  font:inherit;font-size:1rem;color:var(--text);
  background:var(--surface);border:1px solid var(--border-strong);border-radius:10px;
  padding:.8rem 1rem;width:100%;
}
.faq-search input:focus{border-color:var(--brand);outline:2px solid var(--accent);outline-offset:1px}
.faq-meta{display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:center;font-size:.8125rem;color:var(--text-muted)}
.faq-count{font-variant-numeric:tabular-nums}
.faq-expand{
  background:transparent;border:0;padding:0;cursor:pointer;
  font:inherit;font-size:.8125rem;font-weight:600;color:var(--brand);
  text-decoration:underline;text-underline-offset:3px;
}

.faq-list{display:flex;flex-direction:column}
.faq-head{padding-block:2rem .75rem}
.faq-head h2{font-size:var(--step-2)}
.faq-head p{font-size:.9375rem;color:var(--text-muted);max-width:60ch;margin-top:.35rem}

/* native details, so the answer is in the HTML whether it is open or not */
.faq-q{border-top:1px solid var(--border)}
.faq-q > summary{
  list-style:none;cursor:pointer;
  display:flex;align-items:flex-start;gap:1rem;justify-content:space-between;
  padding-block:1.15rem;
}
.faq-q > summary::-webkit-details-marker{display:none}
.faq-q > summary:hover .faq-qtext{color:var(--brand)}
.faq-q > summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
.faq-qtext{
  font-family:"Source Serif 4",Georgia,serif;font-size:var(--step-1);font-weight:600;
  line-height:1.3;transition:color .15s ease;
}
.faq-chevron{
  flex:0 0 auto;margin-top:.35rem;color:var(--text-muted);
  transition:transform .2s ease, color .15s ease;
}
.faq-q[open] > summary .faq-chevron{transform:rotate(180deg);color:var(--brand)}
.faq-q[open] > summary .faq-qtext{color:var(--brand)}
.faq-a{padding-bottom:1.35rem;display:grid;gap:.75rem;max-width:68ch}
.faq-a p{color:var(--text-muted);font-size:.9375rem;line-height:1.65}
.faq-a p strong{color:var(--text)}
.faq-tags{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin-top:.15rem}
.faq-where{
  font-family:"IBM Plex Mono",monospace;font-size:.625rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--accent);
}
.faq-pin{
  font-family:"IBM Plex Sans",sans-serif;font-size:.625rem;font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;
  color:var(--brand-ink);background:var(--brand);border-radius:4px;padding:.1rem .4rem;
}
/* Only after a search that found nothing. It used to render on every visit,
   taking up space under a page full of questions and saying nothing matched
   when nobody had asked for anything. */
.faq-empty{
  border:1px dashed var(--border-strong);border-radius:14px;background:var(--bg-2);
  padding:2rem;text-align:center;color:var(--text-muted);margin-top:2rem;
}
.faq-empty[hidden],.faq-q[hidden],.faq-head[hidden],.cat[hidden]{display:none}

/* The filter box and Open all only do anything with the theme script
   running, so without it they are not shown at all. A box you can type into
   that does nothing is worse than no box, which is precisely how this got
   noticed. The .js class is set by the blocking head script, so this never
   flashes. */
.faq-search{display:none}
.js .faq-search{display:grid}

/* the same component embedded on any other page */
.faq-embed{border-top:1px solid var(--border)}
.faq-embed .faq-head{display:none}

/* ---------- a lead capture that is not in the purple band ----------
   .band-split lives inside .band, where the background is --band-bg and the
   text is white whatever the theme. This is the same two-column shape for a
   form that sits in the page itself, so every colour comes from a token and
   follows light and dark rather than being pinned to the band. */
.lead-capture{display:grid;gap:2rem}
@media (min-width:900px){
  .lead-capture{grid-template-columns:1fr minmax(340px,440px);gap:3rem;align-items:start}
}
.lead-copy{display:grid;gap:1rem;align-content:start}
.lead-copy h2{font-size:var(--step-3);max-width:20ch}
.lead-copy > p{color:var(--text-muted);max-width:52ch}
.lead-points{list-style:none;margin:.35rem 0 0;padding:0;display:grid;gap:.6rem}
.lead-points li{
  position:relative;padding-left:1.6rem;
  color:var(--text);font-size:.9375rem;
}
/* A tick drawn in CSS rather than nine more inline SVGs. */
.lead-points li::before{
  content:"";position:absolute;left:0;top:.36em;
  width:.55rem;height:.3rem;
  border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);
  transform:rotate(-45deg);
}
.lead-form{
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
  padding:clamp(1.35rem,3vw,2rem);display:grid;gap:1rem;
  box-shadow:var(--shadow);
}
.lead-form h3{font-size:var(--step-1);color:var(--text)}
.lead-form .band-form-note{font-size:.6875rem;color:var(--text-muted);line-height:1.5}

/* Wide variant: copy above, form across the whole column.
   A triage form with ten fields and a real explanation under half of them
   does not belong in a sidebar. Sat next to the copy it left a tall empty
   block on the left and a cramped column on the right. Above it, the copy
   reads as an introduction and the form gets the width its longest
   description actually needs. */
.lead-wide .lead-copy h2,
.lead-wide .lead-copy > p{max-width:60ch}
@media (min-width:900px){
  .lead-capture.lead-wide{grid-template-columns:1fr;gap:2.25rem}
  .lead-wide .lead-points{grid-auto-flow:column;grid-auto-columns:1fr;gap:1.75rem}
}

/* ---------- CTA band with an inline form ---------- */
.band-split{display:grid;gap:2rem}
@media (min-width:900px){.band-split{grid-template-columns:1fr minmax(340px,420px);gap:3rem;align-items:start}}
.band-copy{display:grid;gap:1rem;align-content:start}

.band-form{
  background:var(--band-card);color:var(--band-card-text);
  border:1px solid var(--band-card-border);border-radius:16px;
  padding:clamp(1.35rem,3vw,1.75rem);
  display:grid;gap:.85rem;
}
.band-form h3{font-size:var(--step-1);color:var(--band-card-text)}
.band-form > p{font-size:.875rem;color:#5C5474}
.band-form .field label{color:var(--band-card-text)}
.band-form .field input{
  background:#fff;color:var(--band-card-text);border-color:#CFC6E4;
}
.band-form .field input:focus{border-color:#523092;outline-color:#8D3092}
.band-form .btn{width:100%;background:#523092;color:#fff;border-color:#523092}
.band-form .btn:hover{background:#3E2372;border-color:#3E2372;color:#fff}
.band-form-note{font-size:.6875rem;color:#5C5474;line-height:1.5}
.band-form-note a{color:#523092}
.field-row{display:grid;gap:.85rem}
@media (min-width:480px){.field-row{grid-template-columns:1fr 1fr}}

/* ---------- partner badge ---------- */
.partner-badge{
  display:inline-block;border-radius:12px;overflow:hidden;
  border:1px solid var(--border);background:#333;line-height:0;
  max-width:280px;
}
.partner-badge img{width:100%;height:auto;display:block}

/* ---------- client reviews ---------- */
.stars{display:flex;gap:.15rem;line-height:0;color:var(--star)}
.stars svg{flex:0 0 auto;width:18px;height:18px;fill:currentColor}
.stars .star-empty{color:var(--star-empty)}
/* Windows high contrast replaces authored colour outright, so give the
   filled and empty stars a shape difference rather than only a colour one. */
@media (forced-colors: active){
  .stars svg{fill:currentColor}
  .stars .star-empty{opacity:.45}
}

.reviews{display:grid;gap:1.25rem}
@media (min-width:760px){.reviews{grid-template-columns:repeat(2,1fr);gap:1.5rem}}
@media (min-width:1100px){.reviews{grid-template-columns:repeat(3,1fr)}}
.review{
  display:grid;gap:1rem;align-content:start;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
  padding:clamp(1.35rem,3vw,1.75rem);
  border-top:4px solid var(--accent);
}
.review blockquote{
  margin:0;font-family:"Source Serif 4",Georgia,serif;
  font-size:var(--step-1);line-height:1.45;color:var(--text);
}
.review figcaption{
  margin-top:auto;padding-top:.85rem;border-top:1px solid var(--border);
  font-size:.875rem;color:var(--text-muted);
}
.review figcaption b{display:block;color:var(--text);font-size:.9375rem;font-weight:600}
.review-meta{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin-top:.5rem}
.review-src{
  font-family:"IBM Plex Mono",monospace;font-size:.625rem;letter-spacing:.09em;
  text-transform:uppercase;color:var(--accent);
  border:1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background:var(--accent-soft);border-radius:4px;padding:.1rem .4rem;
}
.review-date{font-size:.8125rem;color:var(--text-muted)}
.review-pending{
  grid-column:1/-1;
  border:1px dashed var(--border-strong);border-radius:16px;background:var(--bg-2);
  padding:clamp(1.5rem,3.5vw,2.25rem);display:grid;gap:.6rem;
}
.review-pending h3{font-size:var(--step-1)}
.review-pending p{color:var(--text-muted);font-size:.9375rem;max-width:62ch}

/* ---------- Google reviews ----------
   Its own section above the other reviews. It reads as Google reviews through
   the conventions review widgets share: a big score, a row of stars, a count,
   an initial in a circle beside each name. It does not borrow Google's own
   colours, logo or type. The API terms forbid replicating the look of
   Google's interface or implying Google endorses the business, so the brand
   here is ours and the word "Google" does the attributing. */
.greviews-head{
  display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;
  gap:1.25rem 2.5rem;margin-bottom:2.5rem;
}
.greviews-head .section-head{margin-bottom:0}
/* The Google Reviews logo as the heading, with Google's permission. The
   letters keep Google's colours in both themes; "Reviews" is a grey that
   disappears on the dark background, so it takes its own token. */
.greviews-title{margin:0;line-height:0}
.greviews-title .glogo{display:block;width:clamp(10.5rem,20vw,14.5rem);height:auto}
.greviews-title .glogo-t{fill:var(--glogo-text)}
.greviews-score{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .8rem;margin:0}
.greviews-avg{
  font-family:"Source Serif 4",Georgia,serif;font-size:var(--step-4);
  font-weight:700;line-height:1;color:var(--text);font-variant-numeric:tabular-nums;
}
.greviews-count{font-size:.9375rem;color:var(--text-muted)}
/* Two rows of the same five stars, the filled one cut to the exact average.
   No gap between stars: the path carries its own margins, so 94% of the row
   is 94% of the stars. */
.gstars{position:relative;display:inline-block;line-height:0;color:var(--star)}
.gstars-row{display:flex;white-space:nowrap}
.gstars-row svg{flex:0 0 auto;width:22px;height:22px;fill:currentColor}
.gstars-empty{color:var(--star-empty)}
.gstars-fill{position:absolute;inset:0 auto 0 0;overflow:hidden}
@media (forced-colors: active){
  .gstars-row svg{fill:currentColor}
  .gstars-empty{opacity:.45}
}

.greviews-grid{display:grid;gap:1.25rem}
@media (min-width:760px){.greviews-grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}}
@media (min-width:1100px){.greviews-grid{grid-template-columns:repeat(3,1fr)}}
.greview{
  display:grid;gap:.85rem;align-content:start;margin:0;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
  padding:clamp(1.25rem,3vw,1.5rem);box-shadow:var(--shadow);
}
.greview-by{display:flex;align-items:center;gap:.75rem}
.greview-avatar{
  flex:0 0 auto;width:2.5rem;height:2.5rem;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:1.0625rem;font-weight:600;line-height:1;
  background:var(--brand-soft);color:var(--brand);
}
.greview-avatar-1{background:var(--accent-soft);color:var(--accent)}
.greview-avatar-2{background:var(--brand);color:var(--brand-ink)}
.greview-who{display:grid;gap:.1rem;min-width:0}
.greview-who b{color:var(--text);font-size:.9375rem;font-weight:600;overflow-wrap:anywhere}
.greview-date{font-size:.8125rem;color:var(--text-muted)}
.greview-text{margin:0;display:grid;gap:.6rem;color:var(--text);font-size:.9375rem;line-height:1.6}
.greview-text p,.greview-reply p{margin:0}
.greview-reply{
  display:grid;gap:.35rem;border-left:2px solid var(--border-strong);padding-left:.85rem;
  font-size:.875rem;line-height:1.55;color:var(--text-muted);
}
.greview-reply .greview-reply-label{font-size:.8125rem;font-weight:600;color:var(--text)}
.greviews-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}
/* Two buttons of different lengths cannot share a phone's width, and
   wrapping them leaves a ragged pair. Stack them at the same width. */
@media (max-width:520px){.greviews-actions .btn{flex:1 1 100%}}

/* ============================================================================
   WordPress specifics. Everything above this line came from the concept.
   ========================================================================= */

/* The header only sticks if its box can move.

   A sticky element sticks within its parent. WordPress wraps the header
   template part in a div exactly as tall as the header, so .site-header
   had no room to travel and scrolled away with the page, sticky in name
   only. display:contents removes the wrapper's box without removing the
   wrapper, so the header's parent becomes the page shell, which runs the
   full height of the page. Nothing else in the wrapper cares: the skip
   link is absolutely placed and the phone menu is fixed to the window. */
.wp-block-template-part:has(> .site-header){display:contents}

/* The admin bar is position:fixed, so a sticky header needs to clear it. */
.admin-bar .site-header{top:32px}
@media (max-width:782px){.admin-bar .site-header{top:46px}}

/* A link to part of a page lands below the header rather than under it.
   --header-h is measured by the theme script, since the header is taller
   on a narrow screen. */
html{scroll-padding-top:calc(var(--header-h, 84px) + 1.5rem)}

/* Editor alignment classes.

   These are scoped to .article-body, the blog reading column, and must never
   be widened to .entry-content. WordPress puts entry-content on the content
   block of every page, so a max-width there caps every section of every page.
   That is exactly what happened: with --measure undefined the fallback of 70ch
   applied site-wide, and margin-inline:0 pinned it all to the left.

   Pages size themselves with .wrap. Nothing here should reach them. */
.article-body > *{max-width:100%;margin-inline:0}

/* Wider than the text, centred on it. min() keeps it inside the viewport on a
   narrow screen, where the breakout collapses to nothing rather than causing
   a sideways scroll. */
.article-body > .alignwide{
  width:min(980px, calc(100vw - (2 * var(--gutter))));
  max-width:none;
  margin-inline:calc((100% - min(980px, calc(100vw - (2 * var(--gutter))))) / 2);
}
.article-body > .alignfull{width:100vw;max-width:none;margin-inline:calc(50% - 50vw)}

/* The body of every imported post is HubSpot's own markup, which carries
   inline widths, wrapper divs and embed scaffolding written for a different
   page. None of it can be trusted to stay inside the column on its own. */
.article-body img{max-width:100%;height:auto;border-radius:12px}
.article-body iframe,.article-body video,.article-body embed,.article-body object{max-width:100%}
.article-body figure{margin:0}
.article-body table{width:100%;border-collapse:collapse;font-size:.9375rem}
.article-body table th,.article-body table td{
  border:1px solid var(--border);padding:.6rem .75rem;text-align:left;vertical-align:top;
}
.article-body pre{overflow-x:auto;max-width:100%}
.alignleft{float:left;margin:.35rem 1.5rem 1rem 0}
.alignright{float:right;margin:.35rem 0 1rem 1.5rem}
.aligncenter{margin-inline:auto}

/* WordPress emits these on images and captions. */
.wp-block-image img{height:auto;border-radius:12px}
.wp-block-image figcaption,.wp-caption-text{
  font-size:var(--step--1);color:var(--text-muted);margin-top:.6rem;line-height:1.5;
}
.screen-reader-text{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* Skip link. Visible only once focused, which is the whole point of it. */
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--brand);color:var(--brand-ink);
  padding:.75rem 1.25rem;border-radius:0 0 8px 0;font-weight:600;
}
.skip-link:focus{left:0}

/* A single toggle in the footer. The site follows the operating system until
   somebody says otherwise, and the choice is remembered per browser. */
.themeswitch{
  display:inline-flex;align-items:center;gap:.5rem;
  background:transparent;border:1px solid var(--border-strong);border-radius:999px;
  color:var(--text-muted);font:inherit;font-size:.8125rem;font-weight:500;
  padding:.4rem .9rem;cursor:pointer;
}
.themeswitch:hover{border-color:var(--brand);color:var(--brand)}
/* The light and dark switch.

   Both icons are in the markup and CSS picks one, in the same three states
   every colour token uses: bare :root is light, the media query is the
   system preference guarded against an explicit light choice, and
   [data-theme="dark"] wins over both. Swapping icons in JavaScript instead
   would show the wrong one to anyone with the script blocked, since the
   blocking head script has already set the theme by then.

   The icon shows what pressing it gives you, not what you are looking at:
   a moon on the light site, a sun on the dark one. */
.themeswitch{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:8px;flex:0 0 auto;
  background:transparent;border:1px solid var(--border-strong);
  color:var(--text);cursor:pointer;padding:0;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.themeswitch:hover{border-color:var(--brand);color:var(--brand);background:var(--brand-soft)}
.themeswitch:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.themeswitch svg{display:block}
.themeswitch .icon-sun{display:none}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .themeswitch .icon-sun{display:block}
  :root:not([data-theme="light"]) .themeswitch .icon-moon{display:none}
}
:root[data-theme="dark"] .themeswitch .icon-sun{display:block}
:root[data-theme="dark"] .themeswitch .icon-moon{display:none}

/* In the mobile menu it is a labelled row rather than an icon, because a
   bare icon in a list of worded links is a guess. */
.themeswitch-wide{
  width:100%;height:auto;gap:.6rem;
  padding:.7rem 1rem;font-size:.9375rem;font-weight:500;
  font-family:inherit;
}

/* The core categories block renders a plain list. Dress it as the concept's
   filter chips so the blog index matches the rest of the site. */
.wp-block-categories.cats{
  list-style:none;margin:0;padding:0;
  display:flex;flex-wrap:wrap;gap:.45rem;
}
.wp-block-categories.cats li{margin:0}
.wp-block-categories.cats a{
  display:inline-block;
  font-size:.875rem;font-weight:500;text-decoration:none;color:var(--text);
  border:1px solid var(--border-strong);border-radius:999px;
  padding:.35rem .85rem;background:var(--surface);
}
.wp-block-categories.cats a:hover{
  border-color:var(--brand);color:var(--brand);background:var(--brand-soft);
}
.wp-block-categories.cats .current-cat > a{
  background:var(--brand);border-color:var(--brand);color:var(--brand-ink);font-weight:600;
}
/* The way back to the whole blog. Set apart from the topics beside it, so a
   row of eight chips has an obvious first one rather than nine equals. */
.wp-block-categories.cats .cat-item-all a{font-weight:600}
.wp-block-categories.cats .cat-item-all:not(.current-cat) a{
  border-color:var(--brand);color:var(--brand);
}
.wp-block-categories.cats .cat-item-all:not(.current-cat) a:hover{background:var(--brand-soft)}

/* ---------- narrow header ----------
   Five controls do not fit across a phone. At 390px the logo, magnifier,
   theme toggle, call to action and burger left the button reading "Book /
   a / call" on three lines and the burger clipped at the edge.

   So below the desktop nav the header carries three things: the logo, the
   one call to action, and the way into the menu. The magnifier and the
   theme toggle are not lost, they move into the menu, where the theme
   toggle is a worded row and search is a field you type into rather than
   an icon that reveals one.

   Then the same graceful shedding as before: the burger drops its label
   first, then everything tightens, so the menu is reachable at 320px. */
.site-header .wrap{flex-wrap:nowrap;min-width:0}
.logo{min-width:0}
.burger{flex:0 0 auto;white-space:nowrap}

@media (max-width:999px){
  .site-header .themeswitch{display:none}
  /* The call to action takes the free space so it sits beside the burger
     rather than beside the logo, and shrinks enough to keep its label on
     one line at 320px. */
  .site-header .header-cta{
    margin-left:auto;
    padding:.7rem 1rem;font-size:.875rem;
  }
  .burger{margin-left:0}
}
@media (max-width:400px){
  .burger-label{
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
  }
  .burger{gap:0;padding:.55rem .6rem}
  .site-header .wrap{gap:.5rem}
  .logo img{height:28px}
}
@media (max-width:360px){
  .site-header .header-cta{padding:.7rem .8rem}
  /* The menu descriptors are a nicety, and at this width the longest of them
     wraps to two lines and crowds the word it is describing. The seven words
     on their own are the navigation. */
  .menu-row > a small{display:none}
  .menu-row > a:only-child{padding-right:0}
}
@media (max-width:340px){
  .logo img{height:26px}
  .site-header .wrap{gap:.35rem}
}

/* ---------- responsive guards ----------
   Checked at 320, 360, 390, 414, 768, 834, 1024, 1280, 1440 and 1920. */

/* Nothing may push the page sideways. Wide things scroll inside their own box
   instead, which is handled per component below. */
html,body{overflow-x:clip;max-width:100%}

/* The header has to survive the awkward width where the desktop nav has just
   appeared but there is not much room for it yet. */
@media (min-width:1000px) and (max-width:1180px){
  .site-header .wrap{gap:.5rem}
  .nav-desktop{gap:0}
  .nav-desktop a{padding-inline:.45rem;font-size:.875rem}
  .site-header .header-cta{margin-left:.4rem}
}
/* Below 1120px the desktop nav needs the room more than the call to action
   does, and there is another one in the menu and one in the footer. Below
   1000px it comes back, because by then the nav is a burger and the call to
   action is the only thing left worth putting in a header. */
@media (min-width:1000px) and (max-width:1119px){
  .site-header .header-cta{display:none}
}

/* Anything that genuinely cannot reflow scrolls in its own container rather
   than widening the page. */
.wp-block-table,
.entry-content table{display:block;max-width:100%;overflow-x:auto}

/* Long unbroken strings, which in practice means URLs pasted into copy. */
.article-body,.policy,.faq-a,.card p,.lead{overflow-wrap:break-word}

/* Images never exceed their column, whatever width attribute they carry.
   An iframe is kept narrow too, but never given height:auto: it has no
   shape of its own, so auto means the browser's default 150 pixels, and
   every pasted video player came out as a letterbox slot. */
img,svg,video{max-width:100%;height:auto}
iframe{max-width:100%}

/* A video player in a post, sized by rtg-core: the column's width, with an
   aspect ratio taken from the player's own width and height. An upright
   video stops at most of the screen's height, and the player letterboxes
   it, rather than running a full column wide and twice the screen tall. */
.rtg-video{display:block;width:100%;height:auto;max-height:85vh;border:0}

/* The pricing page (Ian, 20 November 2026). The estimator is a Gravity
   Forms form, styled in rtg-core's forms.css. The prices are not shown
   below it: they are in the page's structured data for search engines and
   AI tools, and a visitor gets their figure from the estimator (Ian, 21
   November 2026). */
/* The page head already ends with room to spare, so the estimator follows
   the lead closely rather than after a full section gap. */
:root .estimator-section{padding-top:0}
.estimator-notes{
  margin:1.25rem 0 0;padding-left:1.1rem;max-width:68ch;
  color:var(--text-muted);font-size:.9375rem;line-height:1.55;
}
.estimator-notes li + li{margin-top:.3rem}

/* iOS zooms the page when a focused field is under 16px. */
@media (max-width:782px){
  input,select,textarea{font-size:16px}
}

/* Tap targets on touch devices. */
@media (pointer:coarse){
  .nav-panel a,.menu-links a,.footer-col a{min-height:44px;display:flex;align-items:center}
  .btn{min-height:44px}
}

/* Respect a stated preference for less movement. */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important;
  }
}

/* =========================================================================
   Home page: the annual report layout (Ian, 18 November 2026)

   Chosen from four layout samples (design/layout-samples, option A). The
   fonts, colours and words are unchanged; what changes is the rhythm. The
   old page repeated one pattern in every section, a label, a heading, a
   sentence and a grid of boxes, which is what read as templated.

   Only the front page: WordPress puts .home on the body there and nowhere
   else (the blog index gets .blog). Every selector starts body.home, so it
   cannot reach another page, and check-class-collisions passes it because
   the leading compound is body.home, not a bare WordPress class.

   Phone, under 640px    one column. Headings above their content, boxes
                         become ruled lists, the figures a ruled list.
   Tablet, 640 to 999px  the same, with ruled lists in two columns and the
                         figures in a 2 by 2 grid.
   Desktop, 1000px up    each section heading sits in a left column and
                         stays put while its content scrolls beside it,
                         clear of the sticky header and the admin bar.

   Everywhere: tinted bands become hairlines between sections, corners on
   the purple panel and the photograph go square, the three blog posts are
   one list so the third never sits alone on a row.
   ========================================================================= */

/* ---------- sections: hairlines instead of tints ---------- */
body.home .entry-content > .section-tint{background:transparent}
body.home .entry-content > .section + .section{border-top:1px solid var(--border)}

/* ---------- hero: a larger headline, the figures as a ruled table ---------- */
body.home .hero h1{font-size:clamp(2.6rem,1.7rem + 3.6vw,5.25rem);max-width:13ch;line-height:1.04}
body.home .hero .proof{
  border:0;border-block:1px solid var(--text);border-radius:0;
  background:none;box-shadow:none;overflow:visible;
  /* Each figure and its label share rows across the table, so a figure
     that wraps ("Greater Victoria" on a narrower screen) does not push its
     label out of line with the other three. */
  grid-auto-rows:auto;
}
body.home .hero .proof-item{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:.2rem;align-content:start}
body.home .hero .proof-label{margin-top:0}
body.home .hero .proof-figure{font-size:clamp(1.6rem,1.15rem + 1.4vw,2.25rem);font-weight:600;line-height:1.15}
/* Flush with the text above: no inset on the first column. */
@media (max-width:559.98px){
  body.home .hero .proof-item{padding-inline:0}
}
@media (min-width:560px) and (max-width:999.98px){
  body.home .hero .proof-item:nth-child(odd){padding-left:0}
}
@media (min-width:1000px){
  body.home .hero .proof-item:first-child{padding-left:0}
}

/* ---------- the statement under the hero ---------- */
body.home .counter{border-top:0;padding-top:0}
body.home .counter h2{font-size:var(--step-4);max-width:20ch}

/* ---------- ruled lists instead of boxes ---------- */
body.home .section .grid-3,
body.home .section .grid-4{gap:1.75rem 2.5rem}
body.home .card{
  background:none;border:0;border-top:1px solid var(--border-strong);border-radius:0;
  box-shadow:none;padding:1.25rem 0 0;
}
body.home a.card:hover{transform:none;box-shadow:none;border-top-color:var(--brand)}
body.home a.card h3{transition:color .15s ease}
body.home a.card:hover h3{color:var(--brand)}
body.home .ind-list{gap:0 2.5rem}
body.home .ind-item{background:none;border:0;border-top:1px solid var(--border);border-radius:0;padding:1rem 0}
body.home .ind-item:hover{background:none;border-top-color:var(--brand)}
/* The three blog posts as one list at every width. In two columns the
   third sat alone on a row, the fault Ian caught on Hospitality. */
body.home .section .grid-3:has(> .postrow){grid-template-columns:1fr;gap:1.5rem}
body.home .postrow p{max-width:62ch}

/* ---------- statements, the purple panel and the photograph ---------- */
@media (min-width:640px){body.home .quote blockquote{font-size:var(--step-3);line-height:1.3}}
body.home .thesis{border-radius:0}
body.home .figure-rooted img{border-radius:0}

/* ---------- desktop: headings in a left column that stays put ---------- */
@media (min-width:1000px){
  body.home .section > .wrap:has(> .section-head){
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.1fr);
    column-gap:clamp(2.5rem,5vw,5rem);align-items:start;
  }
  body.home .section > .wrap > .section-head{
    grid-column:1;grid-row:1 / span 20;margin:0;
    position:sticky;top:calc(var(--header-h, 84px) + 1.5rem);
  }
  body.admin-bar.home .section > .wrap > .section-head{top:calc(var(--header-h, 84px) + 1.5rem + 32px)}
  body.home .section > .wrap:has(> .section-head) > :not(.section-head){grid-column:2}
  /* The photograph opens its section across the full width, above the
     heading column. Written with the same :has() as the column rule above
     so it outweighs it rather than relying on !important. */
  body.home .section > .wrap:has(> .section-head) > .figure-rooted{grid-column:1 / -1;grid-row:1;margin-bottom:3rem}
  body.home .section > .wrap:has(> .figure-rooted) > .section-head{grid-row:2 / span 20}

  body.home .section > .wrap > .grid-3,
  body.home .section > .wrap > .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.home .section > .wrap > .grid-3:has(> .postrow){grid-template-columns:1fr}

  /* The three steps as a ruled list, the step number in its own column. */
  body.home .steps{grid-template-columns:1fr;gap:0}
  body.home .step{grid-template-columns:7rem minmax(0,1fr);column-gap:1.5rem;padding:1.25rem 0;border-top:1px solid var(--border-strong)}
  body.home .step > :not(.step-n){grid-column:2}
  body.home .step > .step-n{grid-row:1 / span 3;padding-top:.3rem}
}

/* The Book a call page, /book/ (Ian, 22 and 23 November 2026): Zoom or
   Microsoft Teams first, then TimeZest's booking calendar in a frame, drawn
   by RTG_Booking::frame and switched by rtg-booking.js. TimeZest is light
   only, a white card on #FAFAFA (its bg-tz-gray-50), and it cannot report
   its height. So the frame always sits in a light panel of that exact grey,
   in light and dark mode alike, and the frame's own edges never show. The
   heights come from the page content (the shortcode's height and narrow)
   and switch on the frame's own width, because TimeZest stacks its card
   below about 700px of frame, whatever the window. */
.book-section{padding-block:clamp(1.25rem,3vw,2.5rem) clamp(2.5rem,5vw,4rem)}
/* Keeps a phrase such as "22-minute" on one line, so a heading never breaks
   at its hyphen. */
.nowrap{white-space:nowrap}
.rtg-book{--tz-bg:#FAFAFA;width:100%;max-width:960px;margin-inline:auto}

/* The platform choice, as two numbered steps: 1, Zoom or Microsoft Teams;
   2, pick a time. Big enough to be seen before the calendar (Ian, 23
   November 2026: the first version was easy to miss), small enough not to
   compete with it. Each button carries the app's logo on a small white
   tile, so the logo reads the same on a light page, a dark page and a
   chosen (filled) button. Hidden until the theme's head script says
   scripts run, since without them the buttons could not switch anything;
   the frame still shows Zoom and its new-tab link. */
.rtg-book__choose{display:none;margin:0 0 1rem}
.js .rtg-book__choose{display:block}
.rtg-book__step{
  display:flex;align-items:center;gap:.6rem;margin:0 0 .75rem;
  font-family:"IBM Plex Sans",sans-serif;font-size:1.0625rem;font-weight:600;line-height:1.3;color:var(--text);
}
.rtg-book__choice + .rtg-book__step{margin:1.5rem 0 0}
.rtg-book__n{
  display:inline-grid;place-items:center;flex:0 0 auto;width:1.75rem;height:1.75rem;border-radius:50%;
  background:var(--brand);color:var(--brand-ink);font-size:.875rem;font-weight:700;line-height:1;
}
.rtg-book__choice{display:flex;flex-wrap:wrap;gap:.75rem}
.rtg-book__choice button{
  -webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;gap:.7rem;
  min-height:56px;min-width:13rem;padding:.5rem 1.25rem .5rem .55rem;border-radius:12px;text-align:left;
  font-family:"IBM Plex Sans",sans-serif;font-size:1rem;font-weight:600;line-height:1.2;cursor:pointer;
  background:var(--surface);color:var(--text);border:2px solid var(--border-strong);
  transition:background-color .15s ease, border-color .15s ease, color .15s ease;
}
.rtg-book__logo{
  flex:0 0 auto;width:32px;height:32px;padding:3px;box-sizing:border-box;object-fit:contain;
  background:#FFFFFF;border-radius:8px;box-shadow:0 0 0 1px rgba(25,19,39,.12);
}
.rtg-book__choice button:hover{border-color:var(--brand)}
.rtg-book__choice button[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}
.rtg-book__choice button[aria-pressed="true"]:hover{background:var(--brand-hover);border-color:var(--brand-hover)}
.rtg-book__choice button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* On a phone the two share the row equally, so both are full-size targets. */
@media (max-width:479px){
  .rtg-book__choice button{flex:1 1 0;min-width:0;padding-right:.75rem}
}

.rtg-book__panel{
  container:book / inline-size;
  background:var(--tz-bg);border-radius:16px;padding:12px;
}
.rtg-book__frame{
  display:block;width:100%;height:var(--book-h,1150px);
  border:0;background:var(--tz-bg);
  /* The page may be dark; the calendar never is. */
  color-scheme:light;
}
@container book (max-width:699px){
  .rtg-book__frame{height:var(--book-h-narrow,1500px)}
}
.rtg-book__fallback{margin:.85rem 0 0;text-align:center;font-size:.875rem;color:var(--text-muted)}
.book-next{max-width:62ch;margin:2rem auto 0;color:var(--text)}
.book-next h2{font-size:1.25rem;margin:0 0 .6rem}
.book-next ul{margin:0;padding-left:1.2rem}
.book-next li + li{margin-top:.35rem}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .rtg-book__panel{box-shadow:var(--shadow)}
}
:root[data-theme="dark"] .rtg-book__panel{box-shadow:var(--shadow)}

/* The /cdo/ campaign page (Ian, 23 November 2026; docs/cdo-landing-page.md):
   the Canadian Doctors Orchestra program ad's landing page. Most visitors
   arrive on a phone from the QR code, so it is written phone first: one
   column, the button near the top, the form well before the questions. It
   reuses the site's ticks, lead capture and question styles; these rules
   are only what it adds. */
.cdo-hero h1{max-width:16ch}
.cdo-pledge-line{margin-top:.85rem;max-width:54ch;font-size:.9375rem;color:var(--text-muted)}
.cdo-closed{display:grid;gap:.75rem;margin-top:1.5rem;max-width:56ch}
.cdo-closed h2{font-size:var(--step-2)}
.cdo-closed p{color:var(--text-muted)}
.cdo-closed-form{margin:0 auto;text-align:center;justify-items:center}
.cdo-also{margin-top:1.5rem;max-width:62ch;color:var(--text-muted)}

.cdo-pair{display:grid;gap:clamp(2.25rem,5vw,3.5rem)}
@media (min-width:900px){.cdo-pair{grid-template-columns:1fr 1fr}}
.cdo-pair h2{font-size:var(--step-2);margin:.35rem 0 1rem}
.cdo-get{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.cdo-get li{position:relative;padding-left:1.75rem}
.cdo-get li::before{
  content:"";position:absolute;left:.15rem;top:.45em;width:.65rem;height:.35rem;
  border-left:2px solid var(--brand);border-bottom:2px solid var(--brand);transform:rotate(-45deg);
}
.cdo-steps{list-style:none;margin:0;padding:0;display:grid;gap:1.1rem;counter-reset:cdo}
.cdo-steps li{position:relative;padding-left:2.75rem;counter-increment:cdo}
.cdo-steps li::before{
  content:counter(cdo);position:absolute;left:0;top:0;width:1.9rem;height:1.9rem;border-radius:50%;
  display:grid;place-items:center;background:var(--brand);color:var(--brand-ink);font-weight:700;font-size:.9375rem;
}
.cdo-steps h3{font-size:var(--step-1);margin:0 0 .2rem}
.cdo-steps p{color:var(--text-muted)}
.cdo-reassure{margin-top:1.25rem;font-weight:600;color:var(--text)}

.cdo-pledge{display:grid;gap:1.75rem;align-items:center}
@media (min-width:900px){.cdo-pledge{grid-template-columns:1.2fr 1fr}}
.cdo-pledge h2{font-size:var(--step-2);margin:.35rem 0 .75rem;max-width:24ch}
.cdo-pledge p{color:var(--text-muted);max-width:56ch}
.cdo-tally{
  display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.5rem;padding:1.35rem 1.5rem;
  background:var(--surface);border:1px solid var(--border);border-radius:16px;
}
.cdo-tally-n{
  font-family:"Source Serif 4",Georgia,serif;font-size:clamp(2rem,1.6rem + 1.6vw,2.75rem);font-weight:600;
  line-height:1;color:var(--brand);font-variant-numeric:tabular-nums;
}
.cdo-tally-n span{font-size:1rem;color:var(--text-muted);font-family:"IBM Plex Sans",sans-serif;font-weight:500}
.cdo-tally-label{margin-top:.35rem;font-size:.875rem;color:var(--text-muted)}
.cdo-tally-bar{grid-column:1 / -1;height:8px;border-radius:999px;background:var(--brand-soft);overflow:hidden}
.cdo-tally-bar span{display:block;height:100%;background:var(--brand);border-radius:inherit}

/* Once the form is sent, the confirmation and its booking calendar take the
   whole width, so the calendar is not squeezed into the form's column. */
.lead-capture:has(.cdo-booked){grid-template-columns:1fr}
.lead-capture:has(.cdo-booked) .lead-copy{display:none}
.cdo-booked{display:grid;gap:.85rem}
.cdo-booked-title{font-size:var(--step-2)}
.cdo-booked-title:focus{outline:none}
.cdo-booked > p{color:var(--text-muted);max-width:60ch}

.cdo-faq{max-width:52rem;border-bottom:1px solid var(--border)}
.cdo-fine{max-width:68ch}
.cdo-fine h2{font-size:var(--step-1);margin-bottom:.5rem}
.cdo-fine p{font-size:.875rem;line-height:1.6;color:var(--text-muted)}
.cdo-contact{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem 2.5rem;
  margin-top:clamp(2rem,4vw,2.75rem);padding-top:1.5rem;border-top:1px solid var(--border);
}
.cdo-contact p{color:var(--text-muted)}
.cdo-contact .cdo-contact-name{color:var(--text);font-weight:600}
