/* Wisdigix stylesheet. GENERATED by app/tools/build-css.php from assets/css/src/*.css: edit the parts, then run the tool.
   The design rules are in DESIGN.md at the project root. */

/* ---- 00-fonts.css ---- */
/* 0. Fonts
   Schibsted Grotesk (Bakken & Bæck, SIL OFL 1.1) for every word, Red Hat Mono (MCKL, SIL OFL 1.1) only for
   numbered indices, counts and other figures. Both self-hosted latin variable files; sources and licences
   in docs/design/resources.md. The fallbacks are Arial and Courier New scaled to each face's measured
   metrics, so the swap moves almost nothing.
   ----------------------------------------------------------------------- */
@font-face {
    font-family: "Schibsted Grotesk";
    src: url("../fonts/schibsted-grotesk-latin-var.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
    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: "Red Hat Mono";
    src: url("../fonts/red-hat-mono-latin-var.woff2") format("woff2");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
    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: "Schibsted Grotesk Fallback";
    src: local("Arial");
    size-adjust: 105.2%;
    ascent-override: 92.8%;
    descent-override: 24.5%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "Red Hat Mono Fallback";
    src: local("Courier New");
    size-adjust: 100%;
    ascent-override: 101.8%;
    descent-override: 30.5%;
    line-gap-override: 0%;
}

/* ---- 00b-icons.css ---- */
/* 0b. Template icon fonts (generated)
   Only the glyph rules the site uses, taken from the template's
   css/font-awesome.min.css (Font Awesome 4.7) and css/icons.css (fontello
   "mei"). Font Awesome loads a glyph subset of the template's font
   (fonts/fontawesome-webfont-subset.*). After adding an icon to icon() in
   app/helpers.php run: php app/tools/icon-subset.php --write, then
   php app/tools/font-subset.php, then icon-subset.php --write again.
   ----------------------------------------------------------------------- */
@font-face { font-family: "FontAwesome"; src: url("../fonts/fontawesome-webfont-subset.woff2?v=1793659963") format("woff2"), url("../fonts/fontawesome-webfont-subset.woff?v=1793659964") format("woff"); font-weight: normal; font-style: normal; font-display: block; }
.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.fa-search:before { content: "\f002"; }
.fa-envelope-o:before { content: "\f003"; }
.fa-film:before { content: "\f008"; }
.fa-th:before { content: "\f00a"; }
.fa-check:before { content: "\f00c"; }
.fa-times:before { content: "\f00d"; }
.fa-search-plus:before { content: "\f00e"; }
.fa-signal:before { content: "\f012"; }
.fa-cog:before { content: "\f013"; }
.fa-clock-o:before { content: "\f017"; }
.fa-road:before { content: "\f018"; }
.fa-inbox:before { content: "\f01c"; }
.fa-refresh:before { content: "\f021"; }
.fa-lock:before { content: "\f023"; }
.fa-flag:before { content: "\f024"; }
.fa-headphones:before { content: "\f025"; }
.fa-tags:before { content: "\f02c"; }
.fa-book:before { content: "\f02d"; }
.fa-print:before { content: "\f02f"; }
.fa-camera:before { content: "\f030"; }
.fa-font:before { content: "\f031"; }
.fa-video-camera:before { content: "\f03d"; }
.fa-picture-o:before { content: "\f03e"; }
.fa-pencil:before { content: "\f040"; }
.fa-map-marker:before { content: "\f041"; }
.fa-pencil-square-o:before { content: "\f044"; }
.fa-play:before { content: "\f04b"; }
.fa-pause:before { content: "\f04c"; }
.fa-info-circle:before { content: "\f05a"; }
.fa-crosshairs:before { content: "\f05b"; }
.fa-plus:before { content: "\f067"; }
.fa-minus:before { content: "\f068"; }
.fa-eye-slash:before { content: "\f070"; }
.fa-calendar:before { content: "\f073"; }
.fa-random:before { content: "\f074"; }
.fa-retweet:before { content: "\f079"; }
.fa-bar-chart:before { content: "\f080"; }
.fa-key:before { content: "\f084"; }
.fa-cogs:before { content: "\f085"; }
.fa-external-link:before { content: "\f08e"; }
.fa-credit-card:before { content: "\f09d"; }
.fa-hdd-o:before { content: "\f0a0"; }
.fa-bullhorn:before { content: "\f0a1"; }
.fa-globe:before { content: "\f0ac"; }
.fa-wrench:before { content: "\f0ad"; }
.fa-tasks:before { content: "\f0ae"; }
.fa-filter:before { content: "\f0b0"; }
.fa-briefcase:before { content: "\f0b1"; }
.fa-users:before { content: "\f0c0"; }
.fa-link:before { content: "\f0c1"; }
.fa-flask:before { content: "\f0c3"; }
.fa-files-o:before { content: "\f0c5"; }
.fa-list-ul:before { content: "\f0ca"; }
.fa-list-ol:before { content: "\f0cb"; }
.fa-table:before { content: "\f0ce"; }
.fa-columns:before { content: "\f0db"; }
.fa-linkedin:before { content: "\f0e1"; }
.fa-tachometer:before { content: "\f0e4"; }
.fa-comments-o:before { content: "\f0e6"; }
.fa-sitemap:before { content: "\f0e8"; }
.fa-umbrella:before { content: "\f0e9"; }
.fa-clipboard:before { content: "\f0ea"; }
.fa-lightbulb-o:before { content: "\f0eb"; }
.fa-exchange:before { content: "\f0ec"; }
.fa-stethoscope:before { content: "\f0f1"; }
.fa-suitcase:before { content: "\f0f2"; }
.fa-file-text-o:before { content: "\f0f6"; }
.fa-medkit:before { content: "\f0fa"; }
.fa-angle-double-up:before { content: "\f102"; }
.fa-angle-right:before { content: "\f105"; }
.fa-angle-down:before { content: "\f107"; }
.fa-desktop:before { content: "\f108"; }
.fa-laptop:before { content: "\f109"; }
.fa-mobile:before { content: "\f10b"; }
.fa-circle-o:before { content: "\f10c"; }
.fa-quote-left:before { content: "\f10d"; }
.fa-reply:before { content: "\f112"; }
.fa-folder-open-o:before { content: "\f115"; }
.fa-flag-o:before { content: "\f11d"; }
.fa-terminal:before { content: "\f120"; }
.fa-code:before { content: "\f121"; }
.fa-star-half-o:before { content: "\f123"; }
.fa-location-arrow:before { content: "\f124"; }
.fa-code-fork:before { content: "\f126"; }
.fa-puzzle-piece:before { content: "\f12e"; }
.fa-shield:before { content: "\f132"; }
.fa-rocket:before { content: "\f135"; }
.fa-bullseye:before { content: "\f140"; }
.fa-minus-square:before { content: "\f146"; }
.fa-level-up:before { content: "\f148"; }
.fa-check-square:before { content: "\f14a"; }
.fa-compass:before { content: "\f14e"; }
.fa-instagram:before { content: "\f16d"; }
.fa-long-arrow-left:before { content: "\f177"; }
.fa-long-arrow-right:before { content: "\f178"; }
.fa-bug:before { content: "\f188"; }
.fa-graduation-cap:before { content: "\f19d"; }
.fa-cube:before { content: "\f1b2"; }
.fa-cubes:before { content: "\f1b3"; }
.fa-database:before { content: "\f1c0"; }
.fa-file-powerpoint-o:before { content: "\f1c4"; }
.fa-file-code-o:before { content: "\f1c9"; }
.fa-life-ring:before { content: "\f1cd"; }
.fa-paper-plane:before { content: "\f1d8"; }
.fa-paper-plane-o:before { content: "\f1d9"; }
.fa-paragraph:before { content: "\f1dd"; }
.fa-sliders:before { content: "\f1de"; }
.fa-share-alt:before { content: "\f1e0"; }
.fa-share-alt-square:before { content: "\f1e1"; }
.fa-binoculars:before { content: "\f1e5"; }
.fa-plug:before { content: "\f1e6"; }
.fa-eyedropper:before { content: "\f1fb"; }
.fa-paint-brush:before { content: "\f1fc"; }
.fa-pie-chart:before { content: "\f200"; }
.fa-line-chart:before { content: "\f201"; }
.fa-cart-plus:before { content: "\f217"; }
.fa-diamond:before { content: "\f219"; }
.fa-street-view:before { content: "\f21d"; }
.fa-heartbeat:before { content: "\f21e"; }
.fa-mouse-pointer:before { content: "\f245"; }
.fa-object-group:before { content: "\f247"; }
.fa-object-ungroup:before { content: "\f248"; }
.fa-clone:before { content: "\f24d"; }
.fa-balance-scale:before { content: "\f24e"; }
.fa-hourglass-half:before { content: "\f252"; }
.fa-calendar-check-o:before { content: "\f274"; }
.fa-map-signs:before { content: "\f277"; }
.fa-map-o:before { content: "\f278"; }
.fa-shopping-bag:before { content: "\f290"; }
.fa-shopping-basket:before { content: "\f291"; }
.fa-universal-access:before { content: "\f29a"; }
.fa-question-circle-o:before { content: "\f29c"; }
.fa-handshake-o:before { content: "\f2b5"; }
.fa-address-book:before { content: "\f2b9"; }
.fa-user-o:before { content: "\f2c0"; }
.fa-id-card-o:before { content: "\f2c3"; }
.fa-window-maximize:before { content: "\f2d0"; }
.fa-microchip:before { content: "\f2db"; }
.fa-fw{width:1.28571429em;text-align:center}
@font-face { font-family: "fontello"; src: url("../fonts/fontello.woff2?25982426") format("woff2"), url("../fonts/fontello.woff?25982426") format("woff"); font-weight: normal; font-style: normal; font-display: block; }
[class^="mei-"]:before, [class*=" mei-"]:before { font-family: "fontello"; font-style: normal; font-weight: normal; speak: none; display: inline-block; text-decoration: inherit; width: 1em; margin-right: .2em; text-align: center; font-variant: normal; text-transform: none; line-height: 1em; margin-left: .2em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.mei-settings:before { content: "\e800"; }
.mei-team:before { content: "\e801"; }
.mei-transfer:before { content: "\e802"; }
.mei-web-design:before { content: "\e803"; }
.mei-app-development:before { content: "\e804"; }
.mei-computer-graphic:before { content: "\e805"; }
.mei-development:before { content: "\e807"; }
.mei-menu:before { content: "\e809"; }
.mei-project-management:before { content: "\e80b"; }
.mei-advertising:before { content: "\e80c"; }
.mei-magnifying-glass:before { content: "\e80d"; }
/* end 0b */

/* ---- 01-tokens.css ---- */
/* 1. Tokens
   The public site is ALL DARK (owner, 2026-11-16): charcoal and obsidian grounds, orange the one accent, slate and
   ice blue only as small details. layout.php puts .on-dark on the public <body>, which applies the dark scope
   below to every page. :root keeps the light values only for the private admin, which shares this stylesheet.
   Components read the semantic tokens (--fg, --fg-strong, --fg-muted, --rule, --focus, --accent-fg,
   --surface-*), never raw hex. Pure black is never used.
   ----------------------------------------------------------------------- */
:root {
    /* Dark grounds (the public site) */
    --c-oil: #0C0C0C;         /* deepest: hero base, footer, drawers, panels */
    --c-obsidian: #0B1215;    /* the page ground */
    --c-coal: #171717;        /* surfaces and the alternate section ground */
    --c-graphite: #1F2327;    /* raised surfaces on coal */
    --c-line: #2A3036;        /* quiet dividers on dark */
    --c-rail-dark: #636D75;   /* meaningful borders on dark: 3.6:1 on obsidian */
    --c-ash: #8A939A;         /* muted text on dark: 5.9:1 on obsidian */
    --c-silver: #B8C0C6;      /* body text on dark: 10.3:1 on obsidian */
    --c-paper: #FFFFFF;       /* true white, never re-pointed (light button hover) */
    --c-scrollbar: #3A4248;   /* scrollbar thumb on dark */

    /* The owner's first palette (navy family): the admin's light theme uses it; on the public site body.on-dark
       re-points the navy-family names to the dark neutrals above. Orange, burnt, slate and ice keep their values. */
    --c-navy: #011222;        /* brand foundation: hero, header, footer, dark bands */
    --c-abyss: #020D19;       /* deepest panels on navy: menus, drawers, the coordination panel */
    --c-steel: #1A2730;       /* raised surfaces on navy; body text on light */
    --c-charcoal: #424048;    /* reserved neutral: disabled controls, print */
    --c-slate: #45586C;       /* structure: muted text and strong rules on light (never text on navy) */
    --c-ice: #B0CEE2;         /* contrast: connector lines, highlights, the one light-blue field */
    --c-orange: #E95D2C;      /* the primary action and the single active signal */
    --c-burnt: #A63E1B;       /* orange's form on light grounds: accent text, focus ring, links */
    --c-mist: #F1F5F8;        /* light ground and text on navy */
    --c-white: #FFFFFF;       /* cards and the alternate light ground */

    /* Derived (each checked for contrast in DESIGN.md) */
    --c-ice-soft: #DCE8F1;    /* light-blue surface tint on light grounds */
    --c-fog: #9DB0C2;         /* muted text on navy: 8.3:1 */
    --c-haze: #C5D3DF;        /* body text on navy: 12.4:1 */
    --c-rail: #6E8396;        /* meaningful borders: 4.6:1 on navy, 3.7:1 on mist */
    --c-hairline: #D3DCE4;    /* quiet dividers on light */
    --c-orange-hover: #F2774B;

    /* Light theme (default) */
    --ground: var(--c-mist);
    --ground-alt: var(--c-white);
    --fg: var(--c-steel);
    --fg-strong: var(--c-navy);
    --fg-muted: var(--c-slate);
    --rule: var(--c-hairline);
    --rule-strong: var(--c-rail);
    --accent-fg: var(--c-burnt);
    --focus: var(--c-burnt);
    --surface-1: var(--c-white);
    --surface-2: var(--c-mist);
    --field-bg: var(--c-white);
    --field-border: var(--c-rail);

    --error: #B4231B;
    --error-tint: #FCEDEB;
    --success: #13693F;
    --success-tint: #E6F3EC;

    /* Type */
    --font-sans: "Schibsted Grotesk", "Schibsted Grotesk Fallback", Arial, sans-serif;
    --font-mono: "Red Hat Mono", "Red Hat Mono Fallback", "Courier New", monospace;
    --fs-display: clamp(2.625rem, 1.55rem + 4.6vw, 6rem);     /* 42 → 96px */
    --fs-banner: clamp(2.25rem, 1.6rem + 2.8vw, 4.25rem);     /* 36 → 68px, page h1 */
    --fs-title: clamp(1.875rem, 1.45rem + 1.9vw, 3.25rem);    /* 30 → 52px, section h2 */
    --fs-h3: clamp(1.25rem, 1.15rem + .45vw, 1.5rem);         /* 20 → 24px */
    --fs-h4: 1.125rem;
    --fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.375rem);    /* 18 → 22px */
    --fs-body: clamp(1rem, .97rem + .14vw, 1.0625rem);        /* 16 → 17px */
    --fs-small: .9375rem;
    --fs-label: .8125rem;
    --fs-mono: .8125rem;
    --lh-display: 1.02;
    --lh-title: 1.08;
    --lh-body: 1.6;
    --track-display: -.034em;
    --track-title: -.024em;
    --track-label: .04em;

    /* Space: one 8px rhythm */
    --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
    --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;
    --section-y: clamp(5rem, 3.4rem + 6.4vw, 9rem);          /* 80 → 144px */
    --head-gap: clamp(2.5rem, 1.9rem + 2.4vw, 4.5rem);
    --container: 1280px;
    --pad: clamp(1.25rem, .6rem + 2.8vw, 3rem);               /* page side gutter 20 → 48px */
    --gap: clamp(1.25rem, .9rem + 1.4vw, 2rem);               /* grid gap 20 → 32px */
    --header-h: 80px;

    /* Shape and depth */
    --radius-sm: 2px;
    --radius: 4px;
    --radius-lg: 6px;
    --shadow-card: 0 1px 2px rgba(1, 18, 34, .05), 0 10px 28px -14px rgba(1, 18, 34, .2);
    --shadow-lift: 0 2px 4px rgba(1, 18, 34, .06), 0 22px 44px -18px rgba(1, 18, 34, .32);
    --shadow-img: 0 34px 64px -32px rgba(2, 13, 25, .6);
    --shadow-panel: 0 40px 80px -28px rgba(0, 5, 12, .75);

    /* Motion: one curve family (DESIGN.md "Motion") */
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --dur-fast: 150ms;
    --dur: 240ms;
    --dur-slow: 480ms;
    --dur-hero: 760ms;

    /* Legacy names still read by parts not yet rebuilt and by the admin; each points at its new role */
    --ink: var(--c-navy);
    --ink-3: var(--c-steel);
    --paper: var(--c-white);
    --stone: var(--c-mist);
    --line: var(--c-hairline);
    --line-dark: rgba(176, 206, 226, .16);
    --blue: var(--c-orange);
    --sky: var(--c-orange);
    --text: var(--c-steel);
    --text-strong: var(--c-navy);
    --muted: var(--c-slate);
    --on-ink: var(--c-mist);
    --on-ink-muted: var(--c-fog);
    --font-display: var(--font-sans);
    --font-body: var(--font-sans);
    --fs-hero: var(--fs-display);
    --gutter: 12px;
    --edge: 1px;
    --frame: 1px;
    --ease: var(--ease-out);
    --ease-pop: var(--ease-in-out);
    --dur-card: var(--dur-slow);
}

@media (max-width: 767px) {
    :root { --header-h: 68px; }
}

/* Theme scope: every dark container re-points the semantic tokens once */
.wg-dark,
.wg-header,
.wg-footer,
.wg-menu,
.wg-search,
.wg-hero,
.wg-banner,
.wg-cta,
.wg-statement,
.wg-widget--ink,
.wg-plan__head,
.on-dark {
    --fg: var(--c-silver);
    --fg-strong: var(--c-mist);
    --fg-muted: var(--c-ash);
    --rule: var(--c-line);
    --rule-strong: var(--c-rail-dark);
    --accent-fg: var(--c-mist);       /* resting arrows, ticks, markers and link underlines: neutral on dark */
    --focus: var(--c-orange);
    --surface-1: var(--c-coal);
    --surface-2: var(--c-oil);
    --field-bg: var(--c-oil);
    --field-border: var(--c-rail-dark);
    --error: #FF9A8B;
    --error-tint: rgba(255, 154, 139, .08);
    --success: #7FD3A6;
    --success-tint: rgba(127, 211, 166, .08);
    color: var(--fg);
}

/* The public site: every page dark. The old navy-family names that components use for fills and for text on
   light fills (orange buttons, selected tabs) are re-pointed to the neutral darks here, once. */
body.on-dark {
    --c-navy: var(--c-obsidian);
    --c-abyss: var(--c-oil);
    --c-steel: var(--c-coal);
    --c-fog: var(--c-ash);
    --c-haze: var(--c-silver);
    --c-rail: var(--c-rail-dark);
    --c-hairline: var(--c-line);
    --c-ice-soft: var(--c-graphite);
    --c-white: var(--c-coal);
    --ground: var(--c-obsidian);
    --ground-alt: var(--c-coal);
    --fg-inverse: var(--c-obsidian);
    --fg-inverse-muted: var(--c-slate);
    --accent-inverse: var(--c-burnt);
    --shadow-card: 0 1px 2px rgba(12, 12, 12, .5), 0 16px 32px -18px rgba(12, 12, 12, .85);
    --shadow-lift: 0 2px 4px rgba(12, 12, 12, .55), 0 26px 48px -20px rgba(12, 12, 12, .9);
    --shadow-img: 0 40px 70px -34px rgba(12, 12, 12, .95);
    --shadow-panel: 0 48px 90px -30px rgba(12, 12, 12, .95);
    color-scheme: dark;
    scrollbar-color: var(--c-scrollbar) var(--c-obsidian);
}
body.on-dark .wg-section--stone { --surface-1: var(--c-graphite); --tile-bg: var(--c-graphite); }

/* ---- 02-base.css ---- */
/* 2. Base
   ----------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 1.25rem);
    scrollbar-color: var(--c-slate) var(--c-mist);
    color-scheme: light;
}

body {
    margin: 0;
    background: var(--ground);
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: var(--lh-body);
    letter-spacing: -.003em;
    font-optical-sizing: auto;
    font-kerning: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    caret-color: var(--c-orange);
}

img,
video,
svg { display: block; max-width: 100%; height: auto; }
/* img_ratio() in helpers.php states width and height as a ratio, which Chrome's lazy-image check reads */
img[style*="--img-ratio"] { aspect-ratio: var(--img-ratio); }
picture { display: contents; }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 .5em;
    color: var(--fg-strong);
    font-family: var(--font-sans);
    font-weight: 650;
    line-height: var(--lh-title);
    letter-spacing: var(--track-title);
    text-wrap: balance;
}
h3, h4, h5, h6 { letter-spacing: -.012em; line-height: 1.25; }

p, ul, ol, dl, figure, blockquote { margin: 0 0 1.25em; }
p { text-wrap: pretty; }

a {
    color: var(--fg-strong);
    text-decoration: none;
    text-underline-offset: .22em;
    text-decoration-thickness: 1px;
    transition: color var(--dur-fast) var(--ease-out);
}
a:hover { color: var(--accent-fg); }

strong, b { color: var(--fg-strong); font-weight: 650; }

::selection { background: var(--c-ice); color: var(--c-navy); }
body.on-dark ::selection { background: rgba(233, 93, 44, .38); color: var(--c-paper); }

:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

button { font: inherit; color: inherit; letter-spacing: inherit; }
input, select, textarea { font: inherit; letter-spacing: inherit; }

[hidden] { display: none !important; }

/* Figures that are data: counts, indices, codes */
.wg-num,
.wg-mono {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    letter-spacing: .01em;
}

/* Icons: authored inline SVG (helpers.php icon()), plus the template icon fonts for data icons */
.wg-icon {
    display: inline-block;
    flex: none;
    width: 1.15em;
    height: 1.15em;
    font-size: 1.15em;
    line-height: 1;
    font-style: normal;
    vertical-align: -.18em;
}
svg.wg-icon { font-size: inherit; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
i.wg-icon { width: auto; height: auto; }
.wg-icon[class*="mei-"]::before { margin: 0; }

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.wg-nowrap { white-space: nowrap; }
@media (max-width: 19.9em) {
    body { overflow-wrap: anywhere; }
    .wg-nowrap { white-space: normal; }
    .wg-crumbs li { max-width: 100%; }
}

.wg-skip {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    padding: .875rem 1.25rem;
    border-radius: var(--radius);
    background: var(--c-orange);
    color: var(--c-navy);
    font-weight: 650;
}
.wg-skip:focus { top: 1rem; color: var(--c-navy); outline-color: var(--c-mist); }

@media (forced-colors: active) {
    .wg-btn, .wg-input, .wg-choice > span { border: 1px solid CanvasText; }
    :focus-visible { outline-color: Highlight; }
}

/* ---- 03-layout.css ---- */
/* 3. Layout
   A 1280px editorial container with a fluid side gutter, a 12-column grid for asymmetric compositions,
   and the section grounds: mist (default), white (--stone, kept as the class JS and next_ground() toggle),
   oil (.wg-dark, the deepest band). The old triangle photo grounds are gone; .wg-triangles is kept as an alias of .wg-dark.
   ----------------------------------------------------------------------- */
.wg-container {
    width: 100%;
    max-width: calc(var(--container) + var(--pad) * 2);
    margin-inline: auto;
    padding-inline: var(--pad);
}
.wg-container--narrow { max-width: calc(880px + var(--pad) * 2); }

.wg-section {
    position: relative;
    padding-block: var(--section-y);
}
.wg-section--tight { padding-block: calc(var(--section-y) * .62); }
.wg-section--flush-top { padding-top: 0; }
.wg-section--stone { background: var(--ground-alt); }
.wg-section--line { border-top: 1px solid var(--rule); }

.wg-dark,
.wg-triangles {
    position: relative;
    background-color: var(--c-navy);
}
body.on-dark .wg-dark,
body.on-dark .wg-triangles { background-color: var(--c-oil); }
.wg-triangles--2,
.wg-triangles--left,
.wg-triangles--7 { background-image: none; }
/* Two sections on the same ground keep a hairline between them */
.wg-dark + .wg-dark,
.wg-section:not(.wg-dark):not(.wg-section--stone):not(.wg-ice) + .wg-section:not(.wg-dark):not(.wg-section--stone):not(.wg-ice),
.wg-section--stone + .wg-section--stone { border-top: 1px solid var(--rule); }

/* Raised band (class kept as .wg-ice for the templates): on the all-dark site a graphite band with a hairline
   above and below, used sparingly to set one section apart */
.wg-ice {
    background: var(--c-graphite);
    border-block: 1px solid var(--c-line);
    color: var(--fg);
}
html:has(> body.on-dark) { background: var(--c-obsidian); color-scheme: dark; scrollbar-color: var(--c-scrollbar) var(--c-obsidian); }

/* Grids */
.wg-grid { display: grid; gap: var(--gap); }
ul.wg-grid,
ol.wg-grid { margin: 0; padding: 0; list-style: none; }
.wg-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.wg-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.wg-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
@media (min-width: 992px) {
    .wg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 991px) {
    .wg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wg-grid--2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 576px) and (max-width: 991px) {
    .wg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 12-column editorial grid: children place themselves with --span / --start */
.wg-cols {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--gap);
}
.wg-cols > * { grid-column: 1 / -1; }
@media (min-width: 992px) {
    .wg-cols > * { grid-column: var(--start, auto) / span var(--span, 12); }
}

/* Two-part split: asymmetric by default (7/5), equal or reversed by modifier */
.wg-split {
    display: grid;
    gap: var(--s-7) var(--gap);
    align-items: center;
}
@media (min-width: 992px) {
    .wg-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7) clamp(2rem, 1rem + 4vw, 6rem); }
    .wg-split--even { grid-template-columns: 1fr 1fr; }
    .wg-split--wide-left { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
    .wg-split--wide-right { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
    .wg-split--top { align-items: start; }
}

.wg-stack > * + * { margin-top: var(--stack, 1.25rem); }

/* ---- 04-type.css ---- */
/* 4. Typography
   Sentence case everywhere. Headings carry their own weight: no eyebrow label above a heading on public pages.
   .wg-subtitle survives only as a quiet label for the admin and legacy markup.
   ----------------------------------------------------------------------- */
.wg-display {
    font-size: var(--fs-display);
    font-weight: 680;
    line-height: var(--lh-display);
    letter-spacing: var(--track-display);
}

.wg-title {
    margin-bottom: .45em;
    font-size: var(--fs-title);
    font-weight: 650;
    line-height: var(--lh-title);
    letter-spacing: var(--track-title);
}
.wg-h3 {
    font-size: var(--fs-h3);
    font-weight: 620;
    line-height: 1.25;
    letter-spacing: -.014em;
}
.wg-h4 {
    font-size: var(--fs-h4);
    font-weight: 620;
    line-height: 1.3;
    letter-spacing: -.01em;
}
.wg-lead {
    max-width: 38rem;
    color: var(--fg);
    font-size: var(--fs-lead);
    line-height: 1.5;
    letter-spacing: -.008em;
}

.wg-subtitle {
    display: block;
    margin: 0 0 .5rem;
    color: var(--fg-muted);
    font-size: var(--fs-small);
    font-weight: 600;
    line-height: 1.4;
}
.wg-subtitle--accent { color: var(--accent-fg); }

/* A small factual label (meta, field groups). Not for headings. */
.wg-label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--fg-muted);
    font-size: var(--fs-label);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: var(--track-label);
}

/* Numbered index: a sequence the reader needs (stages, steps). Mono, tabular. */
.wg-index {
    display: inline-block;
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    line-height: 1;
}

.wg-measure { max-width: 40rem; }

.wg-prose { max-width: 42rem; }
.wg-prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.wg-prose h3 { margin-top: 1.6em; font-size: var(--fs-h3); }
.wg-prose ul,
.wg-prose ol { padding-left: 1.2em; }
.wg-prose li { margin-bottom: .45em; }
.wg-prose li::marker { color: var(--accent-fg); }
.wg-prose a,
.wg-inline-link {
    color: var(--fg-strong);
    text-decoration: underline;
    text-decoration-color: var(--accent-fg);
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
}
.wg-prose a:hover,
.wg-prose a:focus-visible,
.wg-inline-link:hover,
.wg-inline-link:focus-visible { color: var(--accent-fg); text-decoration-thickness: 2px; }

/* Section head: title, then one paragraph. contact.js reads the head's last <p>, so nothing follows it. */
.wg-section-head { max-width: 50rem; margin-bottom: var(--head-gap); }
.wg-section-head > .wg-title:last-child { margin-bottom: 0; }
.wg-section-head > p:not(.wg-subtitle):not(.wg-meta) { max-width: 38rem; margin-bottom: 0; color: var(--fg); font-size: var(--fs-lead); line-height: 1.5; }
.wg-section-head > .wg-meta { margin-bottom: var(--s-4); }
.wg-section-head--center { margin-inline: auto; text-align: center; }
.wg-section-head--center > p { margin-inline: auto; }
.wg-section-head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--s-5) var(--s-7);
    max-width: none;
}
.wg-section-head--split > div { max-width: 46rem; }
.wg-section-head--split > div > p:last-child { margin-bottom: 0; }

/* ---- 05-buttons.css ---- */
/* 5. Buttons and links
   .wg-btn--blue is the primary action (the class name is kept for the templates and JS; the colour is orange).
   Orange fill always carries dark text (--c-navy, which body.on-dark points at obsidian: 5.2:1). One primary action per view.
   ----------------------------------------------------------------------- */
.wg-btn {
    --btn-bg: var(--c-navy);
    --btn-fg: var(--c-mist);
    --btn-border: transparent;
    --btn-bg-hover: var(--c-steel);
    --btn-fg-hover: var(--c-mist);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 52px;
    padding: .75rem 1.625rem;
    border: 1px solid var(--btn-border);
    border-radius: var(--radius);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 620;
    line-height: 1.2;
    letter-spacing: -.005em;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.wg-btn:hover,
.wg-btn:focus-visible { background: var(--btn-bg-hover); color: var(--btn-fg-hover); border-color: var(--btn-border-hover, var(--btn-border)); }
.wg-btn:active { transform: scale(.985); }
.wg-btn .wg-icon { transition: transform var(--dur) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
    .wg-btn:hover .wg-icon { transform: translateX(3px); }
}

/* Secondary on dark grounds: quiet outline */
.wg-dark .wg-btn,
.wg-hero .wg-btn,
.wg-banner .wg-btn,
.wg-header .wg-btn,
.wg-menu .wg-btn,
.wg-cta .wg-btn,
.wg-footer .wg-btn,
.wg-widget--ink .wg-btn,
.on-dark .wg-btn,
.wg-btn.on-ink {
    --btn-bg: transparent;
    --btn-fg: var(--c-mist);
    --btn-border: rgba(241, 245, 248, .24);
    --btn-bg-hover: rgba(241, 245, 248, .06);
    --btn-border-hover: var(--c-mist);
    --btn-fg-hover: var(--c-mist);
}

/* Primary */
.wg-btn.wg-btn--blue,
.wg-btn--primary {
    --btn-bg: var(--c-orange);
    --btn-fg: var(--c-navy);
    --btn-border: var(--c-orange);
    --btn-bg-hover: var(--c-orange-hover);
    --btn-fg-hover: var(--c-navy);
}

.wg-btn.wg-btn--light {
    --btn-bg: var(--c-mist);
    --btn-fg: var(--c-navy);
    --btn-border: var(--c-mist);
    --btn-bg-hover: var(--c-paper);
    --btn-fg-hover: var(--c-navy);
}

.wg-btn.wg-btn--outline {
    --btn-bg: transparent;
    --btn-fg: var(--fg-strong);
    --btn-border: var(--rule-strong);
    --btn-bg-hover: transparent;
    --btn-fg-hover: var(--fg-strong);
}
.wg-btn.wg-btn--outline:hover,
.wg-btn.wg-btn--outline:focus-visible { border-color: var(--fg-strong); }

.wg-btn--sm { min-height: 44px; padding: .55rem 1.125rem; font-size: .9375rem; }
.wg-btn--block { width: 100%; }
.wg-btn[disabled],
.wg-btn.is-loading { cursor: progress; opacity: .72; }
.wg-btn[disabled]:active,
.wg-btn.is-loading:active { transform: none; }

.wg-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-4) var(--s-6);
}
.wg-section-head--center + .wg-actions,
.wg-actions--center { justify-content: center; }

/* Text link with an arrow: the arrow carries the accent, the label stays strong */
.wg-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 24px;
    color: var(--fg-strong);
    font-size: var(--fs-small);
    font-weight: 620;
    line-height: 1.4;
    text-decoration: none;
}
.wg-link--flow,
.wg-link:has(> .wg-nowrap) { display: inline; padding-block: 2px; } /* link_label() output wraps as text, so the flex gap never doubles the space before the arrow */
.wg-link .wg-icon { color: var(--accent-fg); transition: transform var(--dur) var(--ease-out); }
.wg-link:hover,
.wg-link:focus-visible {
    color: var(--fg-strong);
    text-decoration: underline;
    text-decoration-color: var(--accent-fg);
    text-decoration-thickness: 1px;
    text-underline-offset: .28em;
}
@media (hover: hover) and (pointer: fine) {
    .wg-link:hover .wg-icon { transform: translateX(3px); }
}

/* ---- 10-header.css ---- */
/* 6. Header
   Transparent over the dark hero and banners (they reserve --header-h in their top padding). After 40px of
   scroll wisdigix.js adds .is-stuck: a fixed obsidian bar, 72px, with the site's one sanctioned glass, because
   real photography scrolls beneath it. Without backdrop-filter, or when the visitor asks for less
   transparency or more contrast, it is solid obsidian. The bar sits on the 1280 container like the page.
   Neutral throughout: hairlines are --rule, the current page carries a mist underline; the bar's orange is the Start a project button.
   JS hooks kept: #header, .is-stuck, li[data-dropdown], .wg-nav__link (the link and the button JS swaps in
   with the same className), .wg-drop[id], .wg-nav__item.is-open, [data-search-open], [data-plan-open],
   [data-plan-count][data-count], [data-plan-unit], [data-menu-open], .wg-header__inner (made inert).
   ----------------------------------------------------------------------- */
.wg-header {
    --header-row: var(--header-h);
    position: absolute;
    inset: 0 0 auto;
    z-index: 900;
    color: var(--fg);
    transition: background-color var(--dur) var(--ease-out);
}
/* A soft obsidian wash keeps the header legible where a photograph reaches the top edge */
.wg-header::before {
    content: "";
    position: absolute;
    inset: 0 0 -2rem;
    z-index: -1;
    background: linear-gradient(to bottom, color-mix(in srgb, var(--c-obsidian) 60%, transparent), transparent);
    pointer-events: none;
    transition: opacity var(--dur) var(--ease-out);
}

.wg-header.is-stuck {
    --header-row: 72px;
    position: fixed;
    background-color: var(--c-obsidian);
    /* the hairline, drawn inside so the bar stays 72px */
    box-shadow: inset 0 -1px 0 var(--c-line);
}
.wg-header.is-stuck::before { opacity: 0; }
@media (max-width: 767px) {
    .wg-header.is-stuck { --header-row: 64px; }
}
/* Functional glass: only where the blur exists (otherwise the solid obsidian above stays) */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .wg-header.is-stuck {
        background-color: color-mix(in srgb, var(--c-obsidian) 90%, transparent);
        -webkit-backdrop-filter: blur(16px) saturate(140%);
        backdrop-filter: blur(16px) saturate(140%);
    }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
    .wg-header.is-stuck {
        background-color: var(--c-obsidian);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .wg-header.is-stuck { animation: wg-header-in var(--dur-slow) var(--ease-out) both; }
}
@keyframes wg-header-in {
    from { transform: translateY(-100%); }
    to { transform: none; }
}

/* While a drop panel is open, header and panel read as one oil slab */
.wg-header:has(.wg-nav__item.is-open),
.no-js .wg-header:has([data-dropdown]:hover),
.no-js .wg-header:has([data-dropdown]:focus-within) {
    background-color: var(--c-oil);
    box-shadow: inset 0 -1px 0 var(--rule);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.wg-header:has(.wg-nav__item.is-open)::before { opacity: 0; }
/* The page beneath an open panel steps back. Decorative only: it takes no pointer events, so a click on the
   page still reaches wisdigix.js's outside-click close, and leaving the item still closes on hover devices. */
.wg-header::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: -1;
    height: 100vh;
    background: color-mix(in srgb, var(--c-oil) 62%, transparent);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 150ms var(--ease-out), visibility 0s linear 150ms;
}
.wg-header:has(.wg-nav__item.is-open)::after,
.no-js .wg-header:has([data-dropdown]:hover)::after,
.no-js .wg-header:has([data-dropdown]:focus-within)::after {
    opacity: 1;
    visibility: visible;
    transition: opacity 200ms var(--ease-out), visibility 0s;
}

.wg-header__inner {
    display: flex;
    align-items: center;
    gap: var(--s-6);
    width: 100%;
    max-width: calc(var(--container) + var(--pad) * 2);
    min-height: var(--header-row);
    margin-inline: auto;
    padding-inline: var(--pad);
}

/* Wordmark: the name alone, no invented symbol (logo.php). Also printed by the admin header. */
.wg-logo {
    display: inline-flex;
    flex: none;
    align-items: center;
    min-height: 44px;
    color: var(--c-mist);
    text-decoration: none;
}
.wg-logo:hover { color: var(--c-mist); }
/* Logo image (logo.php): the SVG box includes the ring and glow, so the height is larger than the ink */
.wg-logo__img { display: block; width: auto; height: 52px; }
.wg-logo--symbol .wg-logo__img { height: 58px; }
.wg-logo--footer .wg-logo__img { height: 72px; }
@media (max-width: 767px) {
    .wg-logo__img { height: 44px; }
    .wg-logo--symbol .wg-logo__img { height: 50px; }
}
.wg-logo__word {
    font-family: var(--font-sans);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1;
}

/* Main nav: the list stretches to the bar's height, so the pointer never leaves an item on its way to a panel */
.wg-nav {
    display: flex;
    align-self: stretch;
    margin-inline: auto;
}
.wg-nav__list {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.wg-nav__item {
    display: flex;
    align-items: center;
}
/* a and button (wisdigix.js copies the link's className onto the disclosure button) */
.wg-nav__link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: var(--fs-small);
    font-weight: 500;
    letter-spacing: -.005em;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease-out);
}
.wg-nav__text { position: relative; }
.wg-nav__text::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.5rem;
    height: 1px;
    background: var(--accent-fg);   /* the current page: a mist underline (the bar's orange is the Start a project button) */
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--dur) var(--ease-out);
}
.wg-nav__link:hover,
.wg-nav__link:focus-visible,
.wg-nav__link[aria-expanded="true"],
.wg-nav__link.is-current,
.wg-nav__link[aria-current="page"] { color: var(--fg-strong); }
.wg-nav__link.is-current .wg-nav__text::after,
.wg-nav__link[aria-current="page"] .wg-nav__text::after { transform: scaleX(1); }
.wg-nav__link .wg-icon {
    width: 14px;
    height: 14px;
    color: var(--fg-muted);
    transition: transform var(--dur) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.wg-nav__link:hover .wg-icon,
.wg-nav__link[aria-expanded="true"] .wg-icon { color: var(--fg-strong); }
.wg-nav__link[aria-expanded="true"] .wg-icon,
.wg-nav__item.is-open > .wg-nav__link .wg-icon,
.no-js .wg-nav__item:hover > .wg-nav__link .wg-icon,
.no-js .wg-nav__item:focus-within > .wg-nav__link .wg-icon { transform: rotate(180deg); }

/* Drop panels: a full-width oil panel under the bar, laid out on the 1280 container.
   Closed = hidden by visibility (keyboard and AT skip it); open via .is-open or, without JS, hover/focus. */
.wg-drop {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-row));
    max-height: calc(100dvh - var(--header-row));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--c-oil);
    box-shadow: inset 0 -1px 0 var(--rule), var(--shadow-panel);
    color: var(--fg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), visibility 0s linear 150ms;
}
.wg-nav__item.is-open > .wg-drop,
.no-js .wg-nav__item:hover > .wg-drop,
.no-js .wg-nav__item:focus-within > .wg-drop {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s;
}
.wg-drop__inner {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 var(--gap);
    max-width: calc(var(--container) + var(--pad) * 2);
    margin-inline: auto;
    padding: var(--s-7) var(--pad) var(--s-6);
}
.wg-drop__col { grid-column: span 2; min-width: 0; }
/* Six stage lanes: the heading row and the list row line up across all six */
@supports (grid-template-rows: subgrid) {
    .wg-drop--services .wg-drop__col {
        display: grid;
        grid-row: span 2;
        grid-template-rows: subgrid;
    }
}
/* Solutions: the lead on the left four columns, the four situations as lanes across the other eight */
.wg-drop__situations {
    grid-column: 5 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 var(--gap);
}
.wg-drop__situation { display: flex; flex-direction: column; }
.wg-drop__situation .wg-drop__heading { margin-bottom: var(--s-2); font-size: var(--fs-h4); }
.wg-drop__hint { display: grid; gap: .35rem; margin: 0 0 var(--s-4); color: var(--fg-muted); font-size: var(--fs-small); line-height: 1.4; }
.wg-drop__count { margin: auto 0 0; color: var(--fg-muted); }
.wg-drop__situation:has(.wg-drop__heading:hover, .wg-drop__heading:focus-visible) .wg-drop__hint { color: var(--fg); }
.wg-drop__lead {
    grid-column: 1 / span 4;
    max-width: 15em;
    margin: 0;
    padding-top: var(--s-4);
    color: var(--fg-strong);
    font-size: var(--fs-h3);
    font-weight: 620;
    letter-spacing: -.014em;
    line-height: 1.25;
    text-wrap: balance;
}
.wg-drop__heading {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .625rem;
    margin-bottom: var(--s-3);
    padding-top: var(--s-4);
    border-top: 1px solid var(--rule);
    color: var(--fg-strong);
    font-size: 1rem;
    font-weight: 620;
    letter-spacing: -.01em;
    line-height: 1.25;
    text-decoration: none;
}
/* A mist segment draws along the lane's top rule when its heading is pointed at or focused */
.wg-drop__heading::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--fg-strong);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--dur) var(--ease-out);
}
.wg-drop__heading:hover,
.wg-drop__heading:focus-visible { color: var(--fg-strong); }
.wg-drop__heading:hover::before,
.wg-drop__heading:focus-visible::before { transform: scaleX(1); }
.wg-drop__heading .wg-index { color: var(--fg-muted); transition: color var(--dur-fast) var(--ease-out); }
.wg-drop__heading:hover .wg-index,
.wg-drop__heading:focus-visible .wg-index { color: var(--accent-fg); }
.wg-drop ul { margin: 0; padding: 0; list-style: none; }
.wg-drop li a {
    display: block;
    width: fit-content; /* the focus ring and the hover rule wrap the words, not the whole lane */
    max-width: 100%;
    padding: .3125rem 0;
    color: var(--fg);
    font-size: var(--fs-small);
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: .28em;
    transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out);
}
.wg-drop li a:hover,
.wg-drop li a:focus-visible { color: var(--fg-strong); text-decoration-color: var(--rule-strong); }
.wg-drop li a[aria-current="page"] {
    color: var(--fg-strong);
    text-decoration: underline;
    text-decoration-color: var(--accent-fg);
    text-underline-offset: .28em;
}
.wg-drop__foot {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3) var(--s-6);
    margin-top: var(--s-6);
    padding-top: var(--s-5);
    border-top: 1px solid var(--rule);
    color: var(--fg-muted);
    font-size: var(--fs-small);
}
.wg-drop__foot .wg-link { vertical-align: baseline; }
.wg-drop__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-6); }
.wg-drop--solutions .wg-drop__foot { justify-content: flex-start; }

/* Actions: search, the project shortlist, the primary CTA, and the burger below 1100px */
.wg-header__actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: var(--s-2);
    margin-left: auto;
}
.wg-nav + .wg-header__actions { margin-left: 0; }

.wg-search-toggle,
.wg-burger {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius);
    color: var(--fg);
    touch-action: manipulation;
    transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.wg-search-toggle .wg-icon,
.wg-burger .wg-icon { width: 20px; height: 20px; }
.wg-search-toggle:hover,
.wg-search-toggle:focus-visible { color: var(--fg-strong); background-color: color-mix(in srgb, var(--c-mist) 6%, transparent); }

.wg-plan-toggle {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    margin: 0;
    padding: 0 .625rem;
    border: 0;
    border-radius: var(--radius);
    background: none;
    color: var(--fg);
    font-family: var(--font-sans);
    font-size: var(--fs-small);
    font-weight: 500;
    letter-spacing: -.005em;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
    transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.wg-plan-toggle:hover,
.wg-plan-toggle:focus-visible { color: var(--fg-strong); background-color: color-mix(in srgb, var(--c-mist) 6%, transparent); }
.wg-plan-toggle .wg-icon { width: 20px; height: 20px; }
/* The count is data: mono, tabular. Empty = a quiet rail outline; with services = the orange signal, obsidian figure. */
.wg-plan-toggle__count {
    display: inline-grid;
    place-items: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 .375rem;
    border: 1px solid var(--c-orange);
    border-radius: var(--radius-sm);
    background: var(--c-orange);
    color: var(--c-obsidian);
    font-family: var(--font-mono);
    font-size: .8125rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    line-height: 1;
    transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.wg-plan-toggle__count[data-count="0"] {
    border-color: var(--rule-strong);
    background: transparent;
    color: var(--fg-muted);
}

.wg-header__cta { flex: none; margin-left: var(--s-2); white-space: nowrap; }

.wg-burger {
    border: 1px solid var(--rule-strong);
    color: var(--fg-strong);
    background: none;
    cursor: pointer;
}
.wg-burger:hover,
.wg-burger:focus-visible { border-color: var(--fg-strong); background-color: color-mix(in srgb, var(--c-mist) 6%, transparent); }

/* Breakpoints in em, so a larger default text size gets the burger early (68.75em is 1100px at 16px) */
@media (min-width: 68.75em) {
    .wg-burger { display: none; }
}
@media (min-width: 80em) {
    .wg-nav__list { gap: 2rem; }
}
/* A sixth nav item (Work, once real work exists) keeps the narrower gap for longer */
@media (min-width: 80em) and (max-width: 89.99em) {
    .wg-header--six .wg-nav__list { gap: 1.5rem; }
}
@media (min-width: 68.75em) and (max-width: 74.99em) {
    .wg-header--six .wg-nav__list { gap: 1.125rem; }
}
@media (max-width: 68.74em) {
    .wg-nav { display: none; }
    .wg-nav + .wg-header__actions { margin-left: auto; }
    .wg-header__inner { flex-wrap: wrap; } /* only very large text on a phone ever needs a second row */
}
@media (max-width: 39.99em) {
    .wg-header__cta { display: none; }
    .wg-header__inner { gap: var(--s-4); }
    .wg-header__actions { gap: var(--s-1); }
}
/* The label leaves the screen, never the accessible name: below 480px, and at 1100-1279px where the nav,
   the actions and the wordmark share one row. The list icon stands in for it only while it is hidden. */
.wg-plan-toggle .wg-icon { display: none; }
@media (max-width: 29.99em), (min-width: 68.75em) and (max-width: 79.99em) {
    .wg-plan-toggle .wg-icon { display: block; }
    .wg-plan-toggle__label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (forced-colors: active) {
    .wg-nav__text::after,
    .wg-drop__heading::before { forced-color-adjust: none; background: CanvasText; }
    .wg-header.is-stuck,
    .wg-header:has(.wg-nav__item.is-open),
    .wg-drop { border-bottom: 1px solid CanvasText; }
}

/* 7. Close button (menu, search, project drawer): 44px, one rule, 4px corners
   ----------------------------------------------------------------------- */
.wg-close {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    background: transparent;
    color: var(--fg-strong);
    cursor: pointer;
    touch-action: manipulation;
    transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out), transform 120ms var(--ease-out);
}
.wg-close .wg-icon { width: 20px; height: 20px; }
.wg-close:hover,
.wg-close:focus-visible { border-color: var(--fg-strong); background-color: color-mix(in srgb, var(--c-mist) 6%, transparent); }
.wg-close:active { transform: scale(.96); }

/* 7a. Overlay menu (#menu, below 1100px)
   A dialog: hidden by visibility until .is-open (wisdigix.js never puts [hidden] back), visible in the same
   frame it opens (visibility has no delay on open) so the focus calls land. No focusable inside is
   position:fixed (the focus trap reads offsetParent). Hooks: [data-menu-close], .wg-menu__link[aria-controls]
   with aria-expanded, .wg-menu__sub[hidden], [data-menu-reply].
   ----------------------------------------------------------------------- */
.wg-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--c-oil);
    color: var(--fg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms var(--ease-out), visibility 0s linear 180ms;
}
.wg-menu.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur) var(--ease-out), visibility 0s;
}
.wg-menu__top {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    min-height: var(--header-h);
    padding-inline: max(var(--pad), calc((100% - var(--container)) / 2));
    border-bottom: 1px solid var(--rule);
    background: var(--c-oil);
}
.wg-menu__body {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    gap: var(--s-7);
    width: 100%;
    max-width: calc(var(--container) + var(--pad) * 2);
    margin-inline: auto;
    padding: var(--s-5) var(--pad) var(--s-7);
}
@media (prefers-reduced-motion: no-preference) {
    .wg-menu__body { transform: translateY(12px); transition: transform 180ms var(--ease-out); }
    .wg-menu.is-open .wg-menu__body { transform: none; transition-duration: var(--dur-slow); }
}
@media (min-width: 48em) {
    .wg-menu__body {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-template-rows: 1fr auto;
        align-items: start;
        gap: var(--s-7) var(--gap);
        padding-top: var(--s-7);
    }
    .wg-menu__list--main { grid-column: 1 / span 7; }
    .wg-menu__goals { grid-column: 9 / -1; }
    .wg-menu__foot { grid-column: 1 / -1; }
}
.wg-menu__list { margin: 0; padding: 0; list-style: none; }
.wg-menu__list--main > li { border-bottom: 1px solid var(--rule); }
.wg-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: .875rem 0;
    border: 0;
    background: none;
    color: var(--fg-strong);
    font-family: var(--font-sans);
    font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);
    font-weight: 620;
    letter-spacing: -.028em;
    line-height: 1.1;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease-out);
}
/* Pointer and focus: a neutral underline and the mark turns mist (--accent-fg); the current page keeps its underline */
.wg-menu__link:hover,
.wg-menu__link:focus-visible,
.wg-menu__link[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--rule-strong);
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}
.wg-menu__link[aria-current="page"] { text-decoration-color: var(--accent-fg); }
.wg-menu__link:hover .wg-icon,
.wg-menu__link:focus-visible .wg-icon { color: var(--accent-fg); }
.wg-menu__link .wg-icon {
    width: 24px;
    height: 24px;
    color: var(--fg-muted);
    transition: transform var(--dur) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.wg-menu__link[aria-expanded="true"] { color: var(--fg-strong); }
.wg-menu__link[aria-expanded="true"] .wg-icon { transform: rotate(45deg); color: var(--fg-strong); }

/* Expandable subs: Services by numbered stage, Solutions by situation */
.wg-menu__sub {
    margin: 0;
    padding: var(--s-2) 0 var(--s-6);
    list-style: none;
    column-gap: var(--gap);
}
@media (min-width: 40em) {
    .wg-menu__sub { columns: 2; }
}
.wg-menu__sub ul { margin: 0; padding: 0; list-style: none; }
.wg-menu__group { padding-bottom: var(--s-5); break-inside: avoid; }
.wg-menu__sub a {
    display: block;
    padding: .625rem 0;
    color: var(--fg);
    font-size: 1.0625rem;
    line-height: 1.4;
    text-decoration: none;
    break-inside: avoid;
}
.wg-menu__sub a:hover,
.wg-menu__sub a:focus-visible { color: var(--fg-strong); }
.wg-menu__sub a[aria-current="page"] { color: var(--fg-strong); text-decoration: underline; text-decoration-color: var(--accent-fg); text-underline-offset: .28em; }
.wg-menu__sub .is-all { column-span: all; padding-bottom: var(--s-3); }
.wg-menu__sub .is-all a {
    display: inline-block;
    color: var(--fg-strong);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent-fg);
    text-underline-offset: .28em;
}
.wg-menu__group-label {
    display: flex;
    align-items: baseline;
    gap: .625rem;
    margin: 0 0 var(--s-1);
    color: var(--fg-muted);
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: var(--track-label);
    line-height: 1.4;
}
.wg-menu__group-label .wg-index { color: var(--fg-strong); }

/* Situation group: four entry points, a tier below the main links */
.wg-menu__goals > .wg-menu__group-label { margin-bottom: var(--s-3); }
.wg-menu__list--goals { border-top: 1px solid var(--rule); }
.wg-menu__list--goals > li { border-bottom: 1px solid var(--rule); }
.wg-menu__list--goals .wg-menu__link {
    padding-block: 1rem;
    font-size: var(--fs-h3);
    font-weight: 560;
    letter-spacing: -.014em;
    line-height: 1.3;
}
.wg-menu__list--goals .wg-menu__link .wg-icon { width: 20px; height: 20px; color: var(--accent-fg); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .wg-menu__list--goals .wg-menu__link:hover .wg-icon { transform: translateX(3px); }
}

.wg-menu__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-4) var(--s-6);
    margin-top: auto;
}
@media (min-width: 48em) {
    .wg-menu__foot { padding-top: var(--s-6); border-top: 1px solid var(--rule); }
}
.wg-menu__foot p { max-width: 36rem; margin: 0; color: var(--fg); font-size: var(--fs-small); }
.wg-menu__foot a:not(.wg-btn) {
    color: var(--fg-strong);
    text-decoration: underline;
    text-decoration-color: var(--accent-fg);
    text-underline-offset: .22em;
}
.wg-menu__foot a:not(.wg-btn):hover { color: var(--accent-fg); }

/* Scroll lock while any dialog is open; the vanished classic scrollbar is padded back so nothing moves */
.wg-menu-open { overflow: hidden; }
.wg-menu-open body,
.wg-menu-open .wg-header { padding-right: var(--scrollbar-gap, 0); }
.wg-menu-open .wg-top { margin-right: var(--scrollbar-gap, 0); }

/* 7b. Search overlay (#site-search)
   Same dialog mechanics as the menu. The dialog element itself is the visible ground, so a click that lands
   on it (outside the form) closes it (wisdigix.js compares event.target with #site-search).
   ----------------------------------------------------------------------- */
.wg-search {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: calc(var(--header-h) + clamp(3rem, 1rem + 10vh, 8rem)) var(--pad) var(--s-8);
    /* the header's hairline, drawn across the ground at bar height */
    background: linear-gradient(var(--rule), var(--rule)) no-repeat 0 var(--header-h) / 100% 1px, var(--c-oil);
    color: var(--fg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms var(--ease-out), visibility 0s linear 180ms;
}
.wg-search.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur) var(--ease-out), visibility 0s;
}
/* The bar row repeats the header: wordmark left, close right, on the same line the header draws */
.wg-search > .wg-logo,
.wg-search__close {
    position: absolute;
    top: calc((var(--header-h) - 44px) / 2);
}
.wg-search > .wg-logo { left: max(var(--pad), calc((100% - var(--container)) / 2)); }
.wg-search__close { right: max(var(--pad), calc((100% - var(--container)) / 2)); }
.wg-search__inner { width: min(100%, 880px); }
@media (prefers-reduced-motion: no-preference) {
    .wg-search__inner { transform: translateY(12px); transition: transform 180ms var(--ease-out); }
    .wg-search.is-open .wg-search__inner { transform: none; transition-duration: var(--dur-slow); }
}
.wg-search__alt { margin: var(--s-6) 0 0; color: var(--fg-muted); font-size: var(--fs-small); }

/* The finder partial in its dark variant, restyled for the overlay: visible label, a large input on one rule */
.wg-search .wg-finder { display: grid; gap: var(--s-4); }
.wg-search .wg-finder--dark .wg-finder__label {
    color: var(--fg);
    font-size: var(--fs-lead);
    font-weight: 500;
    letter-spacing: -.008em;
    line-height: 1.4;
    text-transform: none;
}
.wg-search .wg-finder--dark .wg-finder__field { position: relative; }
.wg-search .wg-finder--dark .wg-finder__input {
    width: 100%;
    min-height: 0;
    height: auto;
    padding: .2em 3.5rem .35em 0;
    border: 0;
    border-bottom: 1px solid var(--rule-strong);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--fg-strong);
    font-family: var(--font-sans);
    font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.5rem);
    font-weight: 560;
    letter-spacing: -.028em;
    line-height: 1.2;
    text-transform: none;
    caret-color: var(--c-orange);
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.wg-search .wg-finder--dark .wg-finder__input::placeholder { color: var(--fg-muted); opacity: 1; }
/* Focus: the rule turns orange and thickens to 2px (the overlay's input is focused on open) */
.wg-search .wg-finder--dark .wg-finder__input:focus-visible {
    outline: none;
    border-bottom-color: var(--c-orange);
    box-shadow: 0 1px 0 var(--c-orange);
}
/* The submit keeps the finder's own centring on the field (70-catalog.css); only its size and ink change here */
.wg-search .wg-finder--dark .wg-finder__submit {
    width: 48px;
    height: 48px;
    margin-top: -.075em; /* optical: the field carries more padding under the text than above it */
    color: var(--fg);
}
.wg-search .wg-finder--dark .wg-finder__submit .wg-icon { width: 26px; height: 26px; }
.wg-search .wg-finder--dark .wg-finder__submit:hover,
.wg-search .wg-finder--dark .wg-finder__submit:focus-visible { color: var(--fg-strong); }
@media (forced-colors: active) {
    .wg-search .wg-finder--dark .wg-finder__input:focus-visible { outline: 2px solid Highlight; }
}

/* ---- 20-hero.css ---- */
/* 8. Home hero: the coordination view (direction contract FIRST VIEWPORT)
   Oil ground (the deepest dark); the tagline's last line is orange, the one accent of the first screen.
   The tagline as a three-line display h1, a one-sentence lead and the primary action on the left seven columns; a
   tall photo bleeding to the top and right edges on the right five, with the routing demo (partial
   coordination-panel, styled in pages/home.css) over its left edge. Phones and tablets stack: text, then the photo as a band with the panel pulled up over it.
   No slider: wisdigix.js runs its slider code only under [data-slider], which the hero no longer carries.
   The header sits over the hero (position absolute), so the text reserves --header-h above itself.
   ----------------------------------------------------------------------- */
.wg-hero {
    position: relative;
    overflow: clip;   /* the panel's long shadow ends at the hero's edge instead of greying the next section */
    background: var(--c-oil);
    color: var(--fg);
}

/* One column with the page gutter; the photo runs edge to edge (full) */
.wg-hero__grid {
    display: grid;
    grid-template-columns: [full-start] var(--pad) [content-start] minmax(0, 1fr) [content-end] var(--pad) [full-end];
}
.wg-hero__text {
    grid-column: content;
    position: relative;
    z-index: 1;
    padding-block: calc(var(--header-h) + clamp(2.25rem, 1.2rem + 4.5vw, 4.5rem)) clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
}

.wg-hero__title {
    max-width: 9.6em;
    margin: 0 0 clamp(1.25rem, .9rem + 1.2vw, 1.75rem);
    color: var(--fg-strong);
    font-size: var(--fs-display);
    font-weight: 680;
    line-height: var(--lh-display);
    letter-spacing: var(--track-display);
    text-wrap: wrap;
}
.wg-hero__line { display: block; }
.wg-hero__line:last-child { color: var(--c-orange); }   /* 5.5:1 on oil: the single accent moment of the first screen */

.wg-hero__lead {
    max-width: 33rem;
    margin: 0 0 clamp(2rem, 1.4rem + 2vw, 2.75rem);
    color: var(--fg);
    font-size: var(--fs-lead);
    line-height: 1.5;
    letter-spacing: -.008em;
}

.wg-hero__actions { margin-top: 0; }

/* Photo: a band on phones and tablets, the right five columns on wide screens. An oil veil on the edge it
   meets the text, and under the header so the navigation stays legible over the sky. */
.wg-hero__media {
    grid-column: full;
    position: relative;
    height: clamp(15rem, 10rem + 26vw, 26rem);
    overflow: hidden;
    background: var(--c-coal);
}
.wg-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 38%;
}
.wg-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--c-oil) 0%, transparent 34%),
        linear-gradient(0deg, color-mix(in srgb, var(--c-oil) 70%, transparent) 0%, transparent 45%);
    pointer-events: none;
}

.wg-hero__panel {
    grid-column: content;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 34rem;
    margin-top: calc(-1 * clamp(6.5rem, 4rem + 12vw, 11rem));
    padding-bottom: clamp(3.5rem, 2.4rem + 4vw, 5rem);
}

/* Wide screens (from 992px, so a landscape tablet or small laptop gets the split too): a 12-column grid
   inside the 1280px container, plus a flexible track on each side that the photo runs into, so it meets the
   right edge of the window at any width. */
@media (min-width: 62em) {
    .wg-hero__grid {
        grid-template-columns:
            [full-start] minmax(calc(var(--pad) - var(--gap)), 1fr)
            [content-start] repeat(12, minmax(0, calc((var(--container) - 11 * var(--gap)) / 12)))
            [content-end] minmax(calc(var(--pad) - var(--gap)), 1fr)
            [full-end];
        column-gap: var(--gap);
        min-height: clamp(44rem, 100svh, 62rem);
    }
    .wg-hero__text {
        grid-column: content-start / span 7;
        grid-row: 1;
        align-self: center;
        padding-block: calc(var(--header-h) + 2.5rem) 4rem;
    }
    /* The panel reaches clamp(2rem, 3vw, 3.5rem) into the seventh column: the lead stops short of it, which only
       binds on narrow desktops where the column is barely wider than it is */
    .wg-hero__lead { max-width: min(33rem, calc(100% - clamp(2rem, 3vw, 3.5rem) - 2rem)); }
    .wg-hero__media {
        grid-column: 9 / full-end;
        grid-row: 1;
        height: auto;
    }
    .wg-hero__media img { object-position: 50% 50%; }
    .wg-hero__media::after {
        background:
            linear-gradient(90deg, var(--c-oil) 0%, color-mix(in srgb, var(--c-oil) 55%, transparent) 14%, transparent 42%),
            linear-gradient(180deg, color-mix(in srgb, var(--c-oil) 72%, transparent) 0, transparent calc(var(--header-h) + 5rem)),
            linear-gradient(0deg, color-mix(in srgb, var(--c-oil) 40%, transparent) 0%, transparent 30%);
    }
    .wg-hero__panel {
        grid-column: 9 / span 4;
        grid-row: 1;
        align-self: end;
        justify-self: start;
        width: calc(100% + var(--gap) + clamp(2rem, 3vw, 3.5rem));
        max-width: 29rem;
        margin: calc(var(--header-h) + 1.5rem) 0 clamp(3rem, 7vh, 5.5rem) calc(-1 * (var(--gap) + clamp(2rem, 3vw, 3.5rem)));   /* the top margin only binds on short screens, where the demo would reach under the header */
        padding: 0;
    }
}

@media print {
    .wg-hero { background: none; color: var(--c-obsidian); }
    .wg-hero__media { display: none; }
    .wg-hero__text { padding-top: 0; }
    .wg-hero__title,
    .wg-hero__line:last-child,
    .wg-hero__lead { color: var(--c-obsidian); }
}

/* ---- 21-banner.css ---- */
/* 9. Page banner
   The interior page header (partials/banner.php) on the deepest ground, oil, like the home hero. The
   breadcrumb, the h1, the lead and whatever the page passes sit in the left seven columns; the page photo
   is a tall crop in the right five, bleeding to the right edge and up under the transparent header, with
   an oil veil on its inner edge only, in natural colour (no tint). Below 992px the photo becomes a short
   band under the text, exactly the viewport's width. The photo comes in through pic_bg_vars()
   (--bg, --bg-hd, --bg-set, --bg-hd-set) and layout.php preloads the same files.
   ----------------------------------------------------------------------- */
.wg-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--c-oil);
    color: var(--fg);
}
.wg-banner__inner {
    position: relative;
    z-index: 1;
    padding-top: calc(var(--header-h) + clamp(2.5rem, 1.4rem + 4.4vw, 6rem));
    padding-bottom: clamp(2.5rem, 1.6rem + 3.2vw, 5.5rem);
}
@media (min-width: 992px) {
    .wg-banner {
        justify-content: flex-end;
        min-height: clamp(34rem, 22rem + 18vw, 42rem);
    }
    /* Seven of the twelve columns */
    .wg-banner__text { width: calc((100% - 11 * var(--gap)) / 12 * 7 + 6 * var(--gap)); }
    .wg-banner:not(.wg-banner--photo) .wg-banner__text { width: auto; max-width: 52rem; }
}

/* The photo: columns 8 to 12 out to the right edge, full banner height (under the header too). The frame
   clips its own content, so the settling image never reaches past the frame's edges at any width. */
.wg-banner__photo {
    --banner-c: min(100% - var(--pad) * 2, var(--container));
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: calc(50% - var(--banner-c) / 2 + (var(--banner-c) + var(--gap)) * 7 / 12);
    overflow: hidden;
    background-color: var(--c-coal);
}
/* The image itself, on a layer inside the frame */
.wg-banner__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg, none);
    background-position: var(--banner-focus, center);
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
}
/* Library photos: the 1200px copy on phones and small tablets, the largest from 900px up. The WebP copies
   come through --bg-set and --bg-hd-set where the browser can choose. */
@media (min-width: 900px) {
    .wg-banner__photo::after { background-image: var(--bg-hd, var(--bg, none)); }
}
@supports (background-image: image-set(url("x.webp") type("image/webp"))) {
    .wg-banner__photo::after { background-image: var(--bg-set, var(--bg, none)); }
    @media (min-width: 900px) {
        .wg-banner__photo::after { background-image: var(--bg-hd-set, var(--bg-hd, var(--bg, none))); }
    }
}
/* The veil: oil on the inner edge only, where the photo meets the text column, plus a soft shade under the
   header so its links stay legible. No tint over the photo itself. */
.wg-banner__photo::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, var(--c-oil) 0, color-mix(in srgb, var(--c-oil) 60%, transparent) 18%, color-mix(in srgb, var(--c-oil) 10%, transparent) 46%, transparent 64%),
        linear-gradient(180deg, color-mix(in srgb, var(--c-oil) 72%, transparent) 0, transparent calc(var(--header-h) + 4.5rem));
    pointer-events: none;
}

@media (max-width: 991px) {
    .wg-banner__photo {
        position: relative;
        inset: auto;
        width: 100%;
        height: clamp(11rem, 6rem + 26vw, 20rem);
    }
    /* The band sits under the text, so its veil only softens the top edge into the ground */
    .wg-banner__photo::before {
        background: linear-gradient(180deg, var(--c-oil) 0, color-mix(in srgb, var(--c-oil) 40%, transparent) 22%, transparent 48%);
    }
}

/* The photo settles once on load, inside its frame: transform only, so the preloaded paint is not held back */
@keyframes wg-banner-settle {
    from { transform: scale(1.045); }
    to { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .js .wg-banner__photo::after { animation: wg-banner-settle 1100ms var(--ease-out) both; }
}

/* Breadcrumb: small, silver, a short neutral rule between the steps */
.wg-crumbs { margin-bottom: clamp(1.75rem, 1.1rem + 2.4vw, 3rem); }
.wg-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .125rem .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
}
.wg-crumbs li {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    max-width: 100%;
    min-width: 0;
}
.wg-crumbs li:not(:last-child)::after {
    content: "";
    flex: none;
    width: .75rem;
    height: 1px;
    background: var(--rule-strong);
}
.wg-crumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: var(--fg);
    text-decoration: none;
}
.wg-crumbs a:hover,
.wg-crumbs a:focus-visible {
    color: var(--fg-strong);
    text-decoration: underline;
    text-decoration-color: var(--accent-fg);
    text-underline-offset: .28em;
}
.wg-crumbs [aria-current="page"] { color: var(--fg-muted); }

/* Title, lead and what the page passes */
.wg-banner h1 {
    max-width: 15em;
    margin: 0;
    color: var(--fg-strong);
    font-size: var(--fs-banner);
    font-weight: 650;
    line-height: 1.04;
    letter-spacing: -.03em;
    text-wrap: balance;
    overflow-wrap: break-word;
}
/* "Troubleshooting" at the 36px floor is wider than a 320px screen (WCAG 1.4.10) */
@media (max-width: 359px) {
    .wg-banner h1 { font-size: 2rem; hyphens: auto; }
}
.wg-banner .wg-lead {
    max-width: 34rem;
    margin: clamp(1.125rem, .9rem + .9vw, 1.625rem) 0 0;
    color: var(--fg);
}
.wg-banner__details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .75rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--fg-muted);
    font-size: var(--fs-label);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .02em;
}
.wg-banner__details li { display: inline-flex; align-items: center; gap: .75rem; }
.wg-banner__details li:not(:last-child)::after {
    content: "";
    width: .75rem;
    height: 1px;
    background: var(--rule-strong);
}
.wg-banner .wg-actions { margin-top: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.wg-banner__aside { margin-top: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }

@media print {
    .wg-banner { min-height: 0; overflow: visible; }
    .wg-banner__photo { display: none; }
    .wg-banner__inner { padding-block: 0 1rem; }
}

/* ---- 30-components.css ---- */
/* 10-18. Shared components
   The pieces every page composes: stage tiles, editorial cards and boxes, the add-to-project toggle,
   meta / tags / chips, checklists and numbered steps, tabs, FAQ rows, photo frames and the collage,
   counts and the overlap card, the statement band and the closing CTA band.
   Everything reads the semantic tokens. The public site is all dark (body.on-dark): coal tiles on the
   obsidian ground, graphite tiles inside coal sections, selected and current states as a graphite surface,
   a --rule-strong edge and one orange mark (never a light block). The private admin keeps the light
   defaults. No icon-font glyphs and no data: URIs here (the admin CSP blocks data:): marks are drawn
   with borders, which also survive print and forced colours.
   ----------------------------------------------------------------------- */

/* Component tokens (candidates for 01-tokens.css; kept here so this part stands alone)
   --fg-inverse: the mark on an accent fill (the added toggle's check). --tile-bg: the surface of tiles,
   cards and steps. --selected-bg: the raised surface of a selected tab or the current step.
   --tile-shadow: the hover lift of a tile (on dark a deep, soft shadow). */
:root {
    --fg-inverse: var(--c-mist);
    --selected-bg: var(--c-paper);
    --tile-shadow: var(--shadow-card);
    --fs-card: clamp(1.1875rem, 1.12rem + .3vw, 1.375rem);      /* 19 → 22px */
    --card-pad: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);          /* 24 → 34px */
}
.wg-section--stone:not(.wg-dark) { --tile-bg: var(--c-mist); }
body.on-dark .wg-section--stone:not(.wg-dark) { --tile-bg: var(--c-graphite); }
.wg-dark,
.wg-header,
.wg-footer,
.wg-menu,
.wg-search,
.wg-hero,
.wg-banner,
.wg-cta,
.wg-statement,
.wg-widget--ink,
.wg-plan__head,
.on-dark {
    --fg-inverse: var(--c-obsidian);
    --selected-bg: var(--c-graphite);
    --tile-bg: initial;
}
body.on-dark {
    --selected-bg: var(--c-graphite);
    --tile-shadow: 0 20px 40px -20px color-mix(in srgb, var(--c-oil) 80%, transparent);
}
/* .wg-ice is the graphite raised band on the all-dark site (03-layout.css): its tiles take coal */
body.on-dark .wg-ice { --tile-bg: var(--c-coal); }

/* The hover shadow of every lifted tile: faded in on a pseudo-element rather than animated */
.wg-flip::after,
.wg-card::after,
.wg-box::after {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    box-shadow: var(--tile-shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-fast) var(--ease-out);
}

/* 10. Stage tiles (.wg-flip, flip-grid.php)
   Static tiles, no 3D: a mono index on stage tiles (other tiles are type only), the title, one fact
   line and "Explore". Coal on obsidian and oil, graphite inside coal sections (white or mist in the admin).
   ----------------------------------------------------------------------- */
.wg-flips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr));
    gap: var(--s-4);
    margin: 0;
    padding: 0;
    list-style: none;
}
.wg-flips > li { display: flex; min-width: 0; }
@media (max-width: 575px) {
    .wg-flips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
    .wg-flips > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
    /* Phones: content height only (tiles in a row still match), a shorter step from index to title */
    .wg-flips > li > .wg-flip { min-height: 0; }
    .wg-flips .wg-flip__title { margin-top: var(--s-5); }
}
/* Five or six tiles on tablets: rows of three on a six-track grid; five end in a row of two halves */
@media (min-width: 576px) and (max-width: 1199px) {
    .wg-flips--5,
    .wg-flips--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .wg-flips--5 > li,
    .wg-flips--6 > li { grid-column: span 2; }
    .wg-flips--5 > li:nth-child(n + 4) { grid-column: span 3; }
}
@media (min-width: 1200px) {
    .wg-flips--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .wg-flips--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.wg-flip {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 13rem;
    padding: clamp(1.125rem, .9rem + .8vw, 1.5rem);     /* 18 → 24px: two tiles share a phone row */
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--tile-bg, var(--surface-1));
    color: var(--fg);
    text-decoration: none;
    transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.wg-flip:hover { color: var(--fg); }
.wg-flip__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    min-height: 1.5rem;
    color: var(--fg-muted);
}
.wg-flip__index {
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    line-height: 1;
}
.wg-flip__top .wg-icon { font-size: 1.25rem; color: var(--fg-muted); }
.wg-flip__title {
    margin: var(--s-7) 0 var(--s-1);
    color: var(--fg-strong);
    font-size: var(--fs-h4);
    font-weight: 620;
    line-height: 1.2;
    letter-spacing: -.014em;
    overflow-wrap: break-word;
}
/* Tiles without an index (packages): type only, the title opens the tile */
.wg-flip__title:first-child { margin-top: 0; }
.wg-flips--plain .wg-flip { min-height: 11rem; }
.wg-flip .wg-flip__text {
    display: block;
    color: var(--fg-muted);
    font-size: var(--fs-small);
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
}
.wg-flip__more {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: auto;
    padding-top: var(--s-5);
    color: var(--fg-strong);
    font-size: var(--fs-small);
    font-weight: 620;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: .28em;
    transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.wg-flip__more .wg-icon { color: var(--accent-fg); transition: transform var(--dur) var(--ease-out); }
/* The current stage: a stronger edge and an orange marker (a selected state) */
.wg-flip.is-current { border-color: var(--rule-strong); }
.wg-flip__current {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--fg-strong);
    font-size: var(--fs-label);
    font-weight: 600;
    line-height: 1.4;
}
.wg-flip__current::before {
    content: "";
    width: 8px;
    height: 8px;
    border: 4px solid var(--c-orange);
    border-radius: var(--radius-sm);
}
.wg-flip:hover .wg-flip__more,
.wg-flip:focus-visible .wg-flip__more { text-decoration-color: var(--accent-fg); }
@media (hover: hover) and (pointer: fine) {
    .wg-flip:hover { transform: translateY(-2px); border-color: var(--rule-strong); }
    .wg-flip:hover::after { opacity: 1; }
    .wg-flip:hover .wg-flip__more .wg-icon { transform: translateX(3px); }
}

/* 11. Cards and boxes
   Editorial, left-aligned: surface, 1px rule, 4px radius, generous padding, a 620 title, the meta line,
   and a foot (the "more" label and the add toggle) over a hairline. A linked card lifts 2px and its
   title takes the accent underline; the title link covers the card (.is-linked / .wg-card__title a),
   the add toggle sits above it.
   ----------------------------------------------------------------------- */
.wg-card,
.wg-box {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--card-pad);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--tile-bg, var(--surface-1));
    color: var(--fg);
    text-align: left;
    transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.wg-box { gap: var(--s-3); }
a.wg-box,
a.wg-box:hover { color: var(--fg); text-decoration: none; }
.wg-box p { margin: 0; }
.wg-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: var(--s-3);
}
.wg-card__body > * { margin: 0; }

/* Small data icons on pages that still print one: top-left, muted, never the card's subject */
.wg-card__top { display: flex; margin-bottom: var(--s-1); }
.wg-card__icon,
.wg-box__icon { font-size: 1.375rem; color: var(--fg-muted); }
.wg-box > .wg-box__icon { margin-bottom: var(--s-1); }

.wg-card__title,
.wg-box > :is(h2, h3, h4) {
    margin: 0;
    color: var(--fg-strong);
    font-size: var(--fs-card);
    font-weight: 620;
    line-height: 1.25;
    letter-spacing: -.014em;
    text-transform: none;
}
.wg-card__title a,
.wg-box.is-linked > :is(h2, h3, h4) a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.wg-card__title a::before,
.wg-box.is-linked > :is(h2, h3, h4) a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}
.wg-card .wg-add,
.wg-box .wg-add { position: relative; z-index: 2; }

.wg-card__note { color: var(--fg-muted); font-size: var(--fs-label); font-weight: 600; line-height: 1.4; }
.wg-card__text { color: var(--fg); }

.wg-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0 var(--s-5);
    margin: var(--s-5) 0 0;
    padding: var(--s-2) 0 0;
    border-top: 1px solid var(--rule);
    list-style: none;
}
.wg-card:has(.wg-card__foot .wg-add) { padding-bottom: calc(var(--card-pad) - .5rem); }
.wg-card__foot:not(:has(.wg-add)) { padding-top: var(--s-4); }
.wg-card__more {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 24px;
    color: var(--fg-strong);
    font-size: var(--fs-small);
    font-weight: 620;
    line-height: 1.4;
}
.wg-card__more .wg-icon { color: var(--accent-fg); transition: transform var(--dur) var(--ease-out); }

/* A box foot (a link, a "start with" line, a list) closes the box over a hairline */
.wg-box > .wg-box__foot {
    margin-top: auto;
    padding-top: var(--s-3);
    border-top: 1px solid var(--rule);
}
.wg-box > :has(+ .wg-box__foot) { margin-bottom: var(--s-3); }
.wg-box > a.wg-box__foot { align-self: stretch; padding-top: var(--s-3); }
/* Goal card: where to begin, set like the card's "more" label */
.wg-box > .wg-goal-card__start {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3);
    color: var(--fg-strong);
    font-size: var(--fs-small);
    font-weight: 620;
    letter-spacing: 0;
    line-height: 1.4;
}
.wg-goal-card__start .wg-icon { color: var(--accent-fg); transition: transform var(--dur) var(--ease-out); }

/* Lift, shadow and the accent underline on linked cards and boxes */
:is(a.wg-box, .wg-box.is-linked, .wg-card:has(.wg-card__title a)):hover :is(.wg-card__title, h2, h3, h4) a,
:is(.wg-box.is-linked, .wg-card):focus-within :is(.wg-card__title, h2, h3, h4) a:focus-visible { text-decoration-color: var(--accent-fg); }
a.wg-box:hover > :is(h2, h3, h4) { text-decoration: underline; text-decoration-color: var(--accent-fg); text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (hover: hover) and (pointer: fine) {
    :is(a.wg-box, .wg-box.is-linked, .wg-card:has(.wg-card__title a)):hover { transform: translateY(-2px); border-color: var(--rule-strong); }
    :is(a.wg-box, .wg-box.is-linked, .wg-card:has(.wg-card__title a)):hover::after { opacity: 1; }
    .wg-card:hover .wg-card__more .wg-icon,
    :is(a.wg-box, .wg-box.is-linked):hover .wg-box__foot .wg-icon { transform: translateX(3px); }
}
/* Keyboard focus on the stretched title link outlines the whole card */
@supports selector(:has(a)) {
    .wg-card .wg-card__title a:focus-visible,
    .wg-box.is-linked > :is(h2, h3, h4) a:focus-visible { outline: none; }
    .wg-card:has(.wg-card__title a:focus-visible),
    .wg-box.is-linked:has(> :is(h2, h3, h4) a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
}

/* Add-to-project toggle (add-button.php): a text button with a small plus that becomes a check.
   wisdigix.js sets .is-added; the label and the accessible name swap with it. 44px tall hit area. */
.wg-add {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    margin: 0;
    padding: .625rem 0;
    border: 0;
    background: none;
    color: var(--accent-fg);
    font-size: var(--fs-small);
    font-weight: 620;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    touch-action: manipulation;
    transition: color var(--dur-fast) var(--ease-out);
}
.wg-add .wg-icon {
    width: 18px;
    height: 18px;
    padding: 2px;
    border: 1px solid currentColor;
    border-radius: var(--radius-sm);
    stroke-width: 2.4;
    vertical-align: middle;
    transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.wg-add__text {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: .25em;
    transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.wg-add:hover,
.wg-add:focus-visible { color: var(--accent-fg); }
.wg-add:hover .wg-add__text,
.wg-add:focus-visible .wg-add__text { text-decoration-color: currentColor; }
.wg-add .wg-add__on { display: none; }
.wg-add.is-added .wg-add__on { display: inline; }
.wg-add.is-added .wg-add__off { display: none; }
.wg-add.is-added { color: var(--fg-strong); }
.wg-add.is-added .wg-icon { border-color: var(--accent-fg); background: var(--accent-fg); color: var(--fg-inverse); }
.wg-add.is-added:hover .wg-add__text { text-decoration-color: var(--accent-fg); }
.wg-add--large { font-size: 1rem; }
.wg-add--large .wg-icon { width: 20px; height: 20px; }
.no-js .wg-add { display: none; }
/* Without JS the shortlist toggle and tab buttons would do nothing (every panel shows) */
.no-js .wg-plan-toggle,
.no-js [data-tabs] [role="tablist"] { display: none; }

/* Meta line (meta-line.php): one small, calm line. The " - " separators (also built by services.js)
   are drawn as small square marks. */
.wg-meta {
    margin: 0 0 var(--s-4);
    color: var(--fg-muted);
    font-size: var(--fs-label);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .01em;
    text-transform: none;
}
.wg-meta > span[aria-hidden="true"] {
    display: inline-block;
    width: 3px;
    height: 0;
    margin: 0 .55rem;   /* rem: the span's own font-size is 0 */
    overflow: hidden;
    border-top: 3px solid var(--rule-strong);
    font-size: 0;
    line-height: 0;
    vertical-align: middle;
}

/* Tag line (tags-line.php): a label and comma-separated links over a hairline */
.wg-grid + .wg-tags { margin-top: var(--s-7); }
.wg-tags {
    margin: 0;
    padding-top: var(--s-5);
    border-top: 1px solid var(--rule);
    color: var(--fg);
    font-size: var(--fs-small);
    line-height: 1.75;
}
.wg-tags__label { margin-right: .3em; color: var(--fg-strong); font-weight: 620; }
.wg-tags a {
    color: var(--fg-strong);
    text-decoration: underline;
    text-decoration-color: var(--rule-strong);
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
    transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out);
}
.wg-tags a:hover,
.wg-tags a:focus-visible { color: var(--accent-fg); text-decoration-color: currentColor; }

/* Chips: 2px radius, a 1px rule, no pills */
.wg-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.wg-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 32px;
    padding: .3rem .7rem;
    border: 1px solid var(--rule);
    border-radius: var(--radius-sm);
    background: var(--surface-1);
    color: var(--fg-strong);
    font-size: var(--fs-small);
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.wg-chip .wg-icon { font-size: var(--fs-small); color: var(--accent-fg); }
a.wg-chip:hover,
a.wg-chip:focus-visible { border-color: var(--rule-strong); color: var(--fg-strong); }
.wg-chip--muted { border-style: dashed; border-color: var(--rule-strong); background: transparent; color: var(--fg-muted); }

/* 12. Lists
   ----------------------------------------------------------------------- */
/* Checklist: a 16px square with a check drawn by borders. --minus (not included) and --info
   (limits) keep the same square and draw a bar or an "i" in the muted colour. The doubled class
   restates the whole square so it outranks any older single-class mark rule elsewhere. */
.wg-checklist { margin: 0; padding: 0; list-style: none; }
.wg-checklist li {
    position: relative;
    padding: .25rem 0 .25rem 1.875rem;
}
.wg-checklist li::before,
.wg-checklist li::after {
    content: "";
    position: absolute;
    font-family: inherit;
}
.wg-checklist li::before {
    left: 0;
    top: calc(.25rem + .8em - 8px);
    width: 16px;
    height: 16px;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-sm);
}
.wg-checklist li::after {
    left: 5px;
    top: calc(.25rem + .8em - 6px);
    width: 6px;
    height: 10px;
    border: solid var(--accent-fg);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}
.wg-checklist.wg-checklist--minus li::before,
.wg-checklist.wg-checklist--info li::before {
    content: "";
    left: 0;
    top: calc(.25rem + .8em - 8px);
    width: 16px;
    height: 16px;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-sm);
    background: none;
    color: inherit;
    line-height: normal;
}
.wg-checklist.wg-checklist--minus li::after {
    left: 4px;
    top: calc(.25rem + .8em - .75px);
    width: 8px;
    height: 0;
    border-width: 1.5px 0 0;
    border-color: var(--fg-muted);
    transform: none;
}
.wg-checklist.wg-checklist--info li::after {
    left: 7.25px;
    top: calc(.25rem + .8em - 4px);
    width: 1.5px;
    height: 8px;                       /* border-box: a 1.5px dot, a 1.5px gap, a 5px stem */
    border-width: 1.5px 0 5px;
    border-color: var(--fg-muted);
    transform: none;
}

/* Steps: numbered stations. Mono 01-06 in a 36px square with a 1px strong rule, joined by a 1px line.
   --row runs horizontally from 992px; --path (pathway-strip.php) fills the current station. */
.wg-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.wg-steps > li {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0 var(--s-5);
    padding-bottom: var(--s-6);
    counter-increment: step;
}
.wg-steps > li > * { grid-column: 2; min-width: 0; }
.wg-steps > li:last-child { padding-bottom: 0; }
.wg-steps > li::before {
    content: counter(step, decimal-leading-zero);
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-sm);
    background: var(--tile-bg, var(--surface-1));
    color: var(--fg-strong);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    line-height: 1;
}
.wg-steps > li::after {
    content: "";
    position: absolute;
    left: 17.5px;
    top: 36px;
    bottom: 0;
    width: 0;
    border-left: 1px solid var(--rule-strong);
}
.wg-steps > li:last-child::after { display: none; }
.wg-steps > li :is(h2, h3, h4) {
    margin: 5px 0 var(--s-2);
    color: var(--fg-strong);
    font-size: var(--fs-h4);
    font-weight: 620;
    letter-spacing: -.01em;
    line-height: 1.4;
    text-transform: none;
}
.wg-steps > li :is(h2, h3, h4) a {
    color: var(--fg-strong);
    text-decoration: underline;
    text-decoration-color: var(--rule-strong);
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
}
.wg-steps > li :is(h2, h3, h4) a:hover,
.wg-steps > li :is(h2, h3, h4) a:focus-visible { color: var(--accent-fg); text-decoration-color: currentColor; }
.wg-steps > li p { margin: 0 0 .5em; }
.wg-steps > li p:last-child { margin-bottom: 0; }
/* The current station: a raised surface, a strong edge and the orange index (never a light block) */
.wg-steps--path > li[aria-current="step"]::before {
    border-color: var(--fg-strong);
    background: var(--selected-bg);
    color: var(--accent-fg);
    font-weight: 600;
}
@media (min-width: 992px) {
    .wg-steps--row {
        display: grid;
        grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
        gap: var(--gap);
    }
    .wg-steps--row > li {
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        gap: var(--s-5) 0;
        padding-bottom: 0;
    }
    .wg-steps--row > li > * { grid-column: 1; }
    /* The rail to the next station: the vertical rule's width:0 is undone, or the line never draws */
    .wg-steps--row > li::after {
        left: calc(36px + var(--s-2));
        right: calc(var(--gap) * -1 + var(--s-2));
        top: 17.5px;
        bottom: auto;
        width: auto;
        height: 1px;
        border-left: 0;
        border-top: 1px solid var(--rule-strong);
    }
    .wg-steps--row > li :is(h2, h3, h4) { margin-top: 0; }
}

/* 13. Tabs (data-tabs): quiet segmented tiles. On the dark site an unselected tab is an outline on the
   ground; the selected one is raised: graphite, a --rule-strong edge, mist text and a 6px orange dot.
   Never a light block. Panel rules below are what wisdigix.js and the no-JS stack rely on: keep them.
   ----------------------------------------------------------------------- */
.wg-tabs__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
    gap: var(--s-2);
    margin: 0 0 var(--s-7);
    padding: 0;
    list-style: none;
}
.wg-tabs__list > li { display: flex; min-width: 0; }
.wg-tabs__list--3,
.wg-tabs__list--4,
.wg-tabs__list--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 576px) {
    .wg-tabs__list--3,
    .wg-tabs__list--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .wg-tabs__list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    .wg-tabs__list--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.wg-tab {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .2rem;
    width: 100%;
    min-height: 5.5rem;
    margin: 0;
    padding: var(--s-4);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--tile-bg, var(--surface-1));
    color: var(--fg-strong);
    font-size: var(--fs-body);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.008em;
    text-align: left;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.wg-tab .wg-icon { margin-bottom: var(--s-2); font-size: 1.125rem; color: var(--fg-muted); transition: color var(--dur-fast) var(--ease-out); }
.wg-tab__hint {
    color: var(--fg-muted);
    font-size: var(--fs-label);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.4;
    transition: color var(--dur-fast) var(--ease-out);
}
body.on-dark .wg-tab { background: transparent; color: var(--fg); }
/* The selected mark: drawn in every tab so the text never reflows, shown on the selected one */
.wg-tab::after {
    content: "";
    position: absolute;
    top: calc(var(--s-4) + .65em - 3px);
    right: var(--s-4);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-orange);
    opacity: 0;
    transform: scale(.4);
    transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur) var(--ease-out);
}
.wg-tabs__list .wg-tab { padding-right: calc(var(--s-4) + 14px); }   /* the first line clears the dot */
.wg-tabs__list .wg-tab:hover,
.wg-tabs__list .wg-tab:focus-visible { border-color: var(--rule-strong); color: var(--fg-strong); }
.wg-tabs__list .wg-tab:hover .wg-tab__hint { color: var(--fg); }
.wg-tabs__list .wg-tab[aria-selected="true"] {
    border-color: var(--rule-strong);
    background: var(--selected-bg);
    color: var(--fg-strong);
}
.wg-tabs__list .wg-tab[aria-selected="true"]::after { opacity: 1; transform: none; }
.wg-tabs__list .wg-tab[aria-selected="true"] .wg-tab__hint { color: var(--fg); }
.wg-tabs__list .wg-tab[aria-selected="true"] .wg-icon { color: var(--accent-fg); }
@media (forced-colors: active) {
    .wg-tab::after { forced-color-adjust: none; background: Highlight; }
    .wg-tabs__list .wg-tab[aria-selected="true"] { border-width: 2px; }
}
@media (max-width: 767px) {
    .wg-tab { min-height: 4.5rem; padding: var(--s-3); font-size: var(--fs-small); }
    .wg-tab::after { top: calc(var(--s-3) + .65em - 3px); right: var(--s-3); }
    .wg-tabs__list .wg-tab { padding-right: calc(var(--s-3) + 14px); }
    .wg-tabs__list--4 .wg-icon { display: none; }
    /* Two lines hold one goal, so the second is left out rather than cut mid-word */
    .wg-tab__hint-more { display: none; }
}

.js .wg-tabs__panel[hidden] { display: none; }
/* No load collapse: until wisdigix.js has resolved the hash only the server's first panel shows */
.js [data-tabs]:not(.is-ready) [role="tabpanel"]:not([data-initial]) { display: none; }
/* Each panel's own heading: visible without JS (panels stack), named by the tab with JS */
.wg-tabs__heading {
    margin: 0 0 var(--s-5);
    font-size: var(--fs-h3);
    font-weight: 620;
    letter-spacing: -.014em;
    line-height: 1.25;
    text-transform: none;
}
.js .wg-tabs__heading {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.no-js .wg-tabs__panel + .wg-tabs__panel { margin-top: var(--s-8); }

/* 14. FAQ (faq.php; goal blocks and form disclosures share it): rows between 1px rules.
   A plus drawn in CSS turns into a minus when open. The answer keeps a reading measure.
   ----------------------------------------------------------------------- */
.wg-faq { display: grid; border-top: 1px solid var(--rule); }
.wg-faq > details { border-bottom: 1px solid var(--rule); }
.wg-faq summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
    padding: var(--s-5) 0;
    color: var(--fg-strong);
    font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
    font-weight: 600;
    letter-spacing: -.012em;
    line-height: 1.4;
    text-transform: none;
    cursor: pointer;
    list-style: none;
    transition: color var(--dur-fast) var(--ease-out);
}
.wg-faq summary::-webkit-details-marker { display: none; }
.wg-faq summary::marker { content: ""; }
.wg-faq summary::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background:
        linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
        linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
    color: var(--accent-fg);
    font-family: inherit;
    transition: transform var(--dur) var(--ease-out), background-size var(--dur) var(--ease-out);
}
.wg-faq details[open] > summary::after { background-size: 100% 1.5px, 1.5px 0; transform: rotate(180deg); }
.wg-faq summary:hover { color: var(--accent-fg); }
.wg-faq summary:focus-visible { outline-offset: 4px; }
/* The measure sits on the answer's text, not the box: goal blocks lay the answer out as a grid */
.wg-faq__answer {
    padding: 0 var(--s-8) var(--s-5) 0;
    color: var(--fg);
}
.wg-faq__answer > :is(p, ul, ol) { max-width: 44rem; }
.wg-faq__answer > :last-child { margin-bottom: 0; }
@media (max-width: 575px) {
    .wg-faq__answer { padding-right: 0; }
}
@media (forced-colors: active) {
    .wg-faq summary::after { forced-color-adjust: none; color: CanvasText; }
}
/* Smooth open where the browser animates details content; first paint is never animated */
@media (prefers-reduced-motion: no-preference) {
    @supports (interpolate-size: allow-keywords) {
        .wg-faq { interpolate-size: allow-keywords; }
        /* The clip edge sits a little outside the box, so the 2px focus ring of a link or control inside
           an answer is never cut */
        .wg-faq details::details-content {
            height: 0;
            overflow: clip;
            overflow-clip-margin: .5rem;
            transition: height var(--dur) var(--ease-out), content-visibility var(--dur) allow-discrete;
        }
        .wg-faq details[open]::details-content { height: auto; }
    }
}

/* 15. Frames and collage: photos with a 4px radius and the image shadow; no offset frame.
   The collage overlaps two photos; the front one carries a mat in the section's ground.
   ----------------------------------------------------------------------- */
.wg-frame { position: relative; margin: 0; }
.wg-frame img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-img);
}
.wg-frame figcaption {
    margin-top: var(--s-4);
    color: var(--fg-muted);
    font-size: var(--fs-small);
    line-height: 1.5;
}

.wg-collage {
    --collage-mat: var(--ground);
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto clamp(3rem, 1.8rem + 4.5vw, 6.5rem) auto;
    margin: 0;
}
.wg-section--stone .wg-collage { --collage-mat: var(--ground-alt); }
.wg-dark .wg-collage { --collage-mat: var(--c-oil); }
.wg-ice .wg-collage { --collage-mat: var(--c-graphite); }
.wg-collage__a { position: relative; grid-column: 3 / -1; grid-row: 1 / 3; }
.wg-collage__b { position: relative; z-index: 1; grid-column: 1 / 8; grid-row: 2 / 4; }
.wg-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-img);
}
.wg-collage__b img { outline: clamp(6px, .3rem + .3vw, 10px) solid var(--collage-mat); }

/* 16. Counts and the overlap card (quiet; the home page no longer uses them)
   ----------------------------------------------------------------------- */
.wg-funfact { position: relative; padding-block: calc(var(--section-y) * .62); }
.wg-funfact__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--rule);
}
.wg-funfact__item { padding: var(--s-5) var(--s-4) var(--s-5) 0; }
.wg-funfact__item:nth-child(even) { padding-left: var(--s-5); border-left: 1px solid var(--rule); }
.wg-funfact__item:nth-child(n + 3) { border-top: 1px solid var(--rule); }
@media (min-width: 992px) {
    .wg-funfact__list { grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; }
    .wg-funfact__item,
    .wg-funfact__item:nth-child(even),
    .wg-funfact__item:nth-child(n + 3) { padding: var(--s-6) var(--s-5); border-top: 0; border-left: 1px solid var(--rule); }
    .wg-funfact__item:first-child { padding-left: 0; border-left: 0; }
}
.wg-funfact__value {
    display: block;
    margin-bottom: var(--s-2);
    color: var(--fg-strong);
    font-family: var(--font-mono);
    font-size: var(--fs-title);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.03em;
    line-height: 1;
}
.wg-funfact__label { display: block; color: var(--fg-muted); font-size: var(--fs-small); line-height: 1.45; text-transform: none; }

.wg-overlap { position: relative; padding-block: var(--section-y); }
.wg-overlap__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-img);
}
.wg-overlap__card {
    position: relative;
    z-index: 1;
    margin: calc(var(--s-7) * -1) var(--s-4) 0;
    padding: var(--card-pad);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--surface-1);
    box-shadow: var(--shadow-lift);
}
.wg-overlap__card h2 { font-size: var(--fs-title); text-transform: none; letter-spacing: var(--track-title); line-height: var(--lh-title); }
.wg-overlap__card > :last-child { margin-bottom: 0; }
@media (min-width: 992px) {
    .wg-overlap { padding-bottom: calc(var(--section-y) + var(--s-8)); }
    .wg-overlap__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); align-items: end; }
    .wg-overlap__media { grid-column: 1 / 9; grid-row: 1; }
    .wg-overlap__card { grid-column: 7 / -1; grid-row: 1; margin: 0 0 calc(var(--s-8) * -1); padding: clamp(2rem, 1rem + 2.4vw, 3.5rem); }
}

/* 17. Statement band: one large Schibsted line on the oil band (default) or on the raised graphite band
   (add .wg-ice). Key words carry weight and the strong colour; no icon square.
   ----------------------------------------------------------------------- */
.wg-statement {
    position: relative;
    padding-block: var(--section-y);
    background-color: var(--c-oil);
    background-image: none;
    color: var(--fg);
    text-align: left;
}
.wg-statement.wg-ice { background-color: var(--c-graphite); }
.wg-statement .wg-statement__icon { display: none; }
.wg-statement h2 {
    max-width: 21ch;
    margin: 0;
    color: var(--fg);
    font-size: var(--fs-banner);
    font-weight: 480;
    letter-spacing: -.032em;
    line-height: 1.06;
    text-transform: none;
}
.wg-statement h2 span { color: var(--fg-strong); font-weight: 680; }
.wg-statement p {
    max-width: 38rem;
    margin: var(--s-6) 0 0;
    color: var(--fg);
    font-size: var(--fs-lead);
    line-height: 1.5;
}
/* Wide screens: the line holds the left nine columns, the text under it drops to the right half */
@media (min-width: 992px) {
    .wg-statement > .wg-container { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gap); }
    .wg-statement > .wg-container > * { grid-column: 1 / -1; }
    .wg-statement > .wg-container > h2 { grid-column: 1 / span 9; }
    .wg-statement > .wg-container > h2 + p { grid-column: 7 / -1; }
}
/* Outside the band (the contact confirmation): a quiet bordered mark */
.wg-statement__icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--s-5);
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    color: var(--accent-fg);
    font-size: 1.5rem;
}

/* 18. Closing call to action (cta.php): a coal band between the page and the oil footer. Headline left,
   primary button right, stacked on phones. A hairline with a short rail-coloured lead opens the band
   inside the container, so it reads as its own block after any section, coal ones included.
   wisdigix.js still adds .is-near; there is no photo to defer, so the hook is harmless.
   ----------------------------------------------------------------------- */
.wg-cta {
    position: relative;
    padding-top: clamp(2rem, 1.2rem + 3vw, 4rem);
    background-color: var(--c-coal);
    background-image: none;
    color: var(--fg);
}
.js .wg-cta:not(.is-near) { background-image: none; }
.wg-cta__inner {
    position: relative;
    display: grid;
    gap: var(--s-6);
    align-items: end;
    padding-block: clamp(2.5rem, 1.6rem + 3vw, 4.5rem) clamp(4rem, 2.6rem + 5.4vw, 7.5rem);
}
/* The band's own edge, drawn inside the container like a title-block rule: a hairline across the
   content width that starts with a short lead in the stronger rail. Out of grid flow (absolute). */
.wg-cta__inner::before,
.wg-cta__inner::after {
    content: "";
    position: absolute;
    top: 0;
    left: var(--pad);
    height: 0;
    pointer-events: none;
}
.wg-cta__inner::before { right: var(--pad); border-top: 1px solid var(--rule); }
.wg-cta__inner::after { width: 4.5rem; border-top: 1px solid var(--fg-muted); }
@media (min-width: 768px) {
    .wg-cta__inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-6) var(--s-8); }
}
.wg-cta h2 {
    max-width: 16ch;
    margin: 0 0 var(--s-4);
    color: var(--fg-strong);
    font-size: var(--fs-title);
    font-weight: 650;
    letter-spacing: var(--track-title);
    line-height: var(--lh-title);
    text-transform: none;
    overflow-wrap: break-word;
}
.wg-cta p {
    max-width: 34rem;
    margin: 0;
    color: var(--fg);
    font-size: var(--fs-lead);
    line-height: 1.5;
}
.wg-cta .wg-btn { justify-self: start; box-shadow: none; }
@media (min-width: 768px) {
    .wg-cta .wg-btn { justify-self: end; }
}

/* Reduced motion: lifted tiles change edge and shadow only, no movement */
@media (prefers-reduced-motion: reduce) {
    .wg-flip:hover,
    .wg-card:hover,
    .wg-box:hover { transform: none; }
    .wg-flip:hover .wg-flip__more .wg-icon,
    .wg-card:hover .wg-card__more .wg-icon,
    .wg-box:hover .wg-box__foot .wg-icon { transform: none; }
    .wg-faq details[open] > summary::after { transform: none; }
}

/* 10b. Lane list (flip-grid.php): ruled rows in the stage index's language, never a row of equal tiles.
   A row is one link (the title's ::after covers it); the index and terminal mark the order, the fact sits in mono.
   ----------------------------------------------------------------------- */
.wg-lanes {
    display: grid;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--rule);
    list-style: none;
}
.wg-lane {
    position: relative;
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr) auto auto;
    align-items: baseline;
    gap: var(--s-2) var(--s-4);
    padding: var(--s-5) var(--s-3) var(--s-5) 0;
    border-bottom: 1px solid var(--rule);
}
.wg-lanes--plain .wg-lane { grid-template-columns: minmax(0, 1fr) auto auto; }
.wg-lane__index { display: inline-flex; align-items: center; gap: .6rem; }
.wg-lane__dot {
    flex: none;
    width: 9px;
    height: 9px;
    border: 1px solid var(--rule-strong);
    background: var(--surface-2);
    transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.wg-lane__main { min-width: 0; }
.wg-lane__title {
    margin: 0;
    font-size: var(--fs-h4);
    font-weight: 620;
    line-height: 1.3;
    letter-spacing: -.01em;
}
.wg-lane__title a { color: var(--fg-strong); text-decoration: none; }
.wg-lane__title a::after { content: ""; position: absolute; inset: 0; }
.wg-lane__title a:focus-visible { outline: none; }
.wg-lane:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }
.wg-lane__text { max-width: 34rem; margin: .3rem 0 0; color: var(--fg); font-size: var(--fs-small); line-height: 1.5; }
.wg-lane__fact {
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.wg-lane__arrow { align-self: center; color: var(--accent-fg); transition: transform var(--dur) var(--ease-out); }
/* The current item (a category page's own stage): a raised row, the terminal filled in mist */
.wg-lane.is-current { background: var(--c-graphite); padding-left: var(--s-3); }
.wg-lane.is-current .wg-lane__dot { border-color: var(--fg-strong); background: var(--fg-strong); }
.wg-lane:focus-within .wg-lane__title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
@media (hover: hover) and (pointer: fine) {
    .wg-lane:hover .wg-lane__title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
    .wg-lane:hover .wg-lane__dot { border-color: var(--fg-strong); background: var(--fg-strong); }
    .wg-lane:hover .wg-lane__arrow { transform: translateX(3px); }
}
/* Two columns of rows on wide screens: a ruled ledger, both columns sharing the top rule */
@media (min-width: 62em) {
    .wg-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 1rem + 3vw, 4.5rem); }
}
@media (max-width: 35.99em) {
    .wg-lane { grid-template-columns: 2.75rem minmax(0, 1fr) auto; }
    .wg-lane .wg-lane__fact { grid-column: 2; grid-row: 2; }
    .wg-lane__arrow { grid-column: 3; grid-row: 1; }
    .wg-lanes--plain .wg-lane { grid-template-columns: minmax(0, 1fr) auto; }
    .wg-lanes--plain .wg-lane .wg-lane__fact { grid-column: 1; }
    .wg-lanes--plain .wg-lane__arrow { grid-column: 2; }
}
@media (forced-colors: active) {
    .wg-lane.is-current { outline: 1px solid CanvasText; }
}

/* 10c. Project route (project-route.php): one package as a single rail, from the goal through its phases to the
   handover, the services of each phase listed under it. Vertical on phones and tablets, one horizontal rail from
   992px. Square terminals on 1px rail lines, the handover terminal filled; no orange (nothing here is a state).
   The rail draws once as it comes into view: pages/home.js sets .is-waiting, then .is-drawn; without it, drawn. */
.wg-route { --node: 11px; }
.wg-route__stops {
    display: grid;
    gap: var(--s-6);
    margin: 0;
    padding: 0;
    list-style: none;
}
.wg-route__stop { position: relative; padding-left: 2.25rem; }
/* Each stop's segment of the rail runs on to the next terminal */
.wg-route__stop:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(.3rem + var(--node));
    bottom: calc(-1 * var(--s-6) - .3rem);
    left: 5px;
    border-left: 1px solid var(--rule-strong);
    transform-origin: top;
    transition: transform 520ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 140ms);
}
.wg-route__node {
    position: absolute;
    top: .3rem;
    left: 0;
    width: var(--node);
    height: var(--node);
    border: 1px solid var(--fg-strong);
    border-radius: var(--radius-sm);
    transition: opacity var(--dur) var(--ease-out);
    transition-delay: calc(var(--i, 0) * 140ms);
}
.wg-route__stop--end .wg-route__node { background: var(--fg-strong); }
.wg-route__index { display: block; margin-bottom: .5rem; color: var(--fg-muted); }
.wg-route__title {
    margin: 0 0 .75rem;
    color: var(--fg-strong);
    font-size: var(--fs-h3);
    font-weight: 620;
    line-height: 1.2;
    letter-spacing: -.014em;
    text-wrap: balance;
}
.wg-route__stop--start .wg-route__title,
.wg-route__stop--end .wg-route__title { color: var(--fg-muted); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; }
.wg-route__text { max-width: 24rem; margin: 0; color: var(--fg-strong); font-size: var(--fs-h4); font-weight: 560; line-height: 1.35; letter-spacing: -.01em; }
.wg-route__services { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.wg-route__services li {
    position: relative;
    padding-left: 1rem;
    color: var(--fg);
    font-size: var(--fs-small);
    line-height: 1.4;
}
.wg-route__services li::before {
    content: "";
    position: absolute;
    top: .5em;
    left: 0;
    width: 5px;
    height: 5px;
    border: 1px solid var(--fg-muted);
}
@media (min-width: 62em) {
    .wg-route__stops {
        grid-template-columns: minmax(0, .9fr) repeat(var(--phases, 3), minmax(0, 1fr)) minmax(0, .9fr);
        gap: var(--gap);
    }
    .wg-route__stop { padding: calc(var(--node) + 1.75rem) 0 0; }
    .wg-route__node { top: 0; }
    .wg-route__stop:not(:last-child)::after {
        top: 5px;
        right: calc(-1 * var(--gap));
        bottom: auto;
        left: calc(var(--node) + 6px);
        border-top: 1px solid var(--rule-strong);
        border-left: 0;
        transform-origin: left;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .wg-route.is-waiting:not(.is-drawn) .wg-route__stop::after { transform: scaleY(0); }
    .wg-route.is-waiting:not(.is-drawn) .wg-route__stop:not(:first-child) .wg-route__node { opacity: .25; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 62em) {
    .wg-route.is-waiting:not(.is-drawn) .wg-route__stop::after { transform: scaleX(0); }
}
.wg-route__why { max-width: 24rem; margin: 0 0 var(--s-4); color: var(--fg); font-size: var(--fs-small); line-height: 1.5; }
.wg-route__why + .wg-route__services li { color: var(--fg-strong); }

/* ---- 40-widgets.css ---- */
/* 19. Widgets
   Quiet editorial blocks: a --surface-1 card (coal on the obsidian page, graphite inside a coal section;
   white in the light admin), one hairline, 4px corners and a 600-weight title over list rows split by
   hairlines. A row answers hover with strong text and a 3px arrow nudge; the current row (aria-current)
   carries the one small orange marker dot. .wg-widget--ink is the emphasised panel (help box, entry
   callout): one step raised from the cards around it. Used in sidebars, on /services/, solution pages,
   category pages and the 404.
   ----------------------------------------------------------------------- */
.wg-widget {
    position: relative;
    padding: clamp(1.25rem, .95rem + 1.1vw, 2rem);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--surface-1);
    color: var(--fg);
}
/* The light admin's white section takes the mist card; the dark site keeps --surface-1 (graphite there) */
body:not(.on-dark) .wg-section--stone .wg-widget:not(.wg-widget--ink) { background: var(--surface-2); }
.wg-widget + .wg-widget { margin-top: var(--s-5); }
.wg-grid > .wg-widget + .wg-widget,
.wg-split > .wg-widget + .wg-widget { margin-top: 0; }
.wg-widget > :last-child { margin-bottom: 0; }

.wg-widget__title {
    margin: 0 0 .75rem;
    color: var(--fg-strong);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.01em;
}
.wg-widget__title a { color: inherit; }
.wg-widget__title a:hover,
.wg-widget__title a:focus-visible { color: var(--accent-fg); }

/* List rows */
.wg-widget__list { margin: 0; padding: 0; list-style: none; }
.wg-widget__list > li { border-top: 1px solid var(--rule); }
.wg-widget__list a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 44px;
    padding: .625rem 0;
    color: var(--fg);
    font-size: var(--fs-small);
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease-out);
}
.wg-widget__list a:focus-visible { outline-offset: 2px; }
/* The marker dot sits in the widget's own left padding, so the rows keep one text edge */
.wg-widget__list a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -.875rem;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--fg-strong);
    opacity: 0;
    transform: scale(.4);
    transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur) var(--ease-out);
    pointer-events: none;
}
.wg-widget__list .wg-icon {
    flex: none;
    width: 1rem;
    height: 1rem;
    color: var(--fg-muted);
    transition: transform var(--dur) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.wg-widget__list a:hover,
.wg-widget__list a:focus-visible { color: var(--fg-strong); }
.wg-widget__list a:hover .wg-icon,
.wg-widget__list a:focus-visible .wg-icon { color: var(--accent-fg); }
@media (hover: hover) and (pointer: fine) {
    .wg-widget__list a:hover .wg-icon { transform: translateX(3px); }
    /* A row without an arrow answers with a faint dot instead */
    .wg-widget__list a:not(:has(.wg-icon)):hover::before { opacity: .55; transform: none; }
}
.wg-widget__list a[aria-current] {
    color: var(--fg-strong);
    font-weight: 600;
}
.wg-widget__list a[aria-current]::before { opacity: 1; transform: none; }

/* Emphasised panel (help box, entry callout): a graphite surface one step above the coal cards; inside a
   coal section, where the cards are graphite, it drops to an oil panel instead. Theme tokens come from the
   dark scope in 01-tokens.css (the partials also carry .wg-dark). Public pages only. */
.wg-widget.wg-widget--ink {
    border-color: var(--rule);
    background: var(--c-graphite);
    color: var(--fg);
}
.wg-section--stone .wg-widget.wg-widget--ink { background: var(--c-oil); }
.wg-widget--ink p a:not([class]) { color: var(--fg-strong); }

/* Entry callout (partials/entry-callout.php, "Not sure where to start?" on a category page): the question
   is the heading, the count line opens the panel, each entry sits over a hairline. All of its CSS is here. */
.wg-widget.wg-entry { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.wg-widget.wg-entry .wg-widget__title {
    margin: 0 0 .375rem;
    color: var(--fg-strong);
    font-size: var(--fs-h3);
    font-weight: 640;
    line-height: 1.2;
    letter-spacing: -.016em;
}
.wg-widget.wg-entry .wg-entry__lead { margin: 0 0 var(--s-5); color: var(--fg); }
.wg-widget.wg-entry .wg-entry__item {
    padding-top: var(--s-5);
    border-top: 1px solid var(--rule);
}
.wg-widget.wg-entry .wg-entry__item + .wg-entry__item { margin-top: var(--s-5); }
.wg-widget.wg-entry .wg-entry__item p { margin: 0 0 .625rem; font-size: var(--fs-small); }
/* The "when" line opens an entry as a plain condition, not a tracked label */
.wg-widget.wg-entry .wg-entry__item p.wg-label {
    display: block;
    margin: 0 0 .25rem;
    color: var(--fg-muted);
    font-size: var(--fs-small);
    font-weight: 450;
    letter-spacing: 0;
}
.wg-widget.wg-entry .wg-entry__item .wg-meta { color: var(--fg-muted); font-size: var(--fs-label); }
.wg-widget.wg-entry .wg-entry__item .wg-add { margin-top: .125rem; }
.wg-widget.wg-entry .wg-entry__name {
    display: inline-block;
    margin-bottom: .375rem;
    color: var(--fg-strong);
    font-size: var(--fs-h4);
    font-weight: 620;
    line-height: 1.3;
    letter-spacing: -.01em;
    text-transform: none;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: .22em;
    transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.wg-widget.wg-entry .wg-entry__name:hover,
.wg-widget.wg-entry .wg-entry__name:focus-visible { color: var(--fg-strong); text-decoration-color: var(--accent-fg); }

/* Sticky blocks clear the 72px stuck header with a little air */
@media (min-width: 992px) {
    .wg-sticky {
        position: sticky;
        top: calc(72px + var(--s-5));
    }
    /* A help box can be taller than a laptop screen leaves under the offset, and a sticky box never
       scrolls its own bottom into view: it scrolls inside itself, or the email line stays cut off */
    .wg-help.wg-sticky {
        max-height: calc(100vh - 72px - var(--s-5) * 2);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--rule-strong) transparent;
    }
}

/* ---- 50-forms.css ---- */
/* 20. Forms
   Shared by the inquiry (/contact/) and the private admin. The admin has no JS, no js/no-js class and a strict
   policy (no data: URIs, no inline styles, no outside images), so everything here is plain CSS: the select arrow
   and the choice marks are drawn with borders, never an icon-font glyph or a data: image.
   Fields: visible label, muted hint, 52px control on --field-bg with a 1px --field-border, 4px radius.
   Focus: an instant 2px --focus outline plus a stronger border. Errors: [aria-invalid=true] plus .wg-field__error.
   ----------------------------------------------------------------------- */
.wg-form { display: grid; gap: var(--s-5); }
.wg-form__row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) {
    .wg-form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.wg-field { display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.wg-field__label {
    color: var(--fg-strong);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.005em;
}
.wg-optional,
.wg-field__label .wg-optional { color: var(--fg-muted); font-size: var(--fs-small); font-weight: 400; letter-spacing: 0; }
.wg-field__hint {
    max-width: 40rem;
    margin: 0;
    color: var(--fg-muted);
    font-size: var(--fs-small);
    line-height: 1.5;
}
/* A hint directly under its label reads as part of it */
.wg-field__label + .wg-field__hint { margin-top: -.25rem; }

/* Text inputs, textareas and selects */
.wg-input {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: .8125rem 1rem;
    border: 1px solid var(--field-border);
    border-radius: var(--radius);
    background-color: var(--field-bg);
    color: var(--fg-strong);
    font: inherit;
    font-size: max(1rem, 16px);   /* 16px or more: no zoom on focus in iOS */
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -.003em;
    transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
    -webkit-appearance: none;
    appearance: none;
}
.wg-input::placeholder { color: var(--fg-muted); opacity: 1; }
@media (hover: hover) and (pointer: fine) {
    .wg-input:hover { border-color: var(--fg-muted); }
}
/* Instant ring (outline is never transitioned) plus the border; the radius stays 4px under the global focus rule */
.wg-input:focus {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-color: var(--fg-strong);
    border-radius: var(--radius);
}
.wg-input:disabled {
    border-style: dashed;
    background-color: var(--surface-2);
    color: var(--fg-muted);
    cursor: not-allowed;
}
/* Browser autofill keeps the field's own ground and text instead of the default yellow */
.wg-input:-webkit-autofill,
.wg-input:-webkit-autofill:hover,
.wg-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--fg-strong);
    box-shadow: inset 0 0 0 100px color-mix(in srgb, var(--fg-strong) 8%, var(--field-bg));
    caret-color: var(--fg-strong);
}

textarea.wg-input {
    min-height: 10rem;
    padding-block: .875rem;
    line-height: 1.55;
    resize: vertical;
}

select.wg-input { padding-right: 3rem; cursor: pointer; text-overflow: ellipsis; }
/* A select can't hold a pseudo-element, so the arrow sits on the wrapper: a chevron drawn with two borders */
.wg-select { position: relative; display: block; }
.wg-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.125rem;
    width: .5rem;
    height: .5rem;
    margin-top: -.375rem;
    border-right: 1.5px solid var(--fg-strong);
    border-bottom: 1.5px solid var(--fg-strong);
    pointer-events: none;
    transform: rotate(45deg);
}

/* Error: the field says it is wrong with colour, a mark and words (the message carries the recovery) */
.wg-input[aria-invalid="true"],
.wg-input[aria-invalid="true"]:hover,
.wg-input[aria-invalid="true"]:focus {
    border-color: var(--error);
    background-color: var(--error-tint);
}
.wg-dark .wg-input[aria-invalid="true"],
.on-dark .wg-input[aria-invalid="true"] { background-color: var(--field-bg); }
.wg-field__error {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin: 0;
    color: var(--error);
    font-size: var(--fs-small);
    font-weight: 560;
    line-height: 1.45;
}
/* Exclamation mark in a ring, drawn with a border and two gradient strokes (no glyph, no image) */
.wg-field__error::before {
    content: "";
    flex: none;
    width: 1rem;
    height: 1rem;
    margin-top: .125em;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    background:
        linear-gradient(currentColor, currentColor) 50% 2.5px / 1.5px 5px no-repeat,
        linear-gradient(currentColor, currentColor) 50% 9px / 1.5px 1.5px no-repeat;
}

/* Choice tiles: label.wg-choice > input + span. The native input stays in place, transparent, over the whole
   label (keyboard, forms and screen readers use it); the span draws the tile and its mark. */
.wg-choices { display: flex; flex-wrap: wrap; gap: var(--s-2); min-width: 0; margin: 0; padding: 0; border: 0; }
.wg-choices legend { margin-bottom: var(--s-3); padding: 0; }

.wg-choice {
    --choice-pad: .75rem;          /* top and bottom padding; the mark lines up with the first line from it */
    --choice-inset: 1rem;          /* where the mark sits */
    --choice-bg: var(--field-bg);
    --choice-border: var(--rule);
    --choice-fg: var(--fg-strong);
    --mark-bg: var(--field-bg);
    --mark-border: var(--field-border);
    --mark-fg: transparent;
    position: relative;
    display: inline-flex;
    max-width: 100%;
}
.wg-choice > input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.wg-choice > span {
    position: relative;
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 3rem;
    padding: var(--choice-pad) 1rem var(--choice-pad) calc(var(--choice-inset) + 1.75rem);
    border: 1px solid var(--choice-border);
    border-radius: var(--radius);
    background: var(--choice-bg);
    color: var(--choice-fg);
    font-size: var(--fs-small);
    font-weight: 500;
    line-height: 1.4;
    transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
/* The mark: a square for a checkbox, a ring for a radio, centred on the first line */
.wg-choice > span::before {
    content: "";
    position: absolute;
    top: calc(var(--choice-pad) + .7em - 9px);
    left: var(--choice-inset);
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--mark-border);
    border-radius: var(--radius-sm);
    background: var(--mark-bg);
    transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.wg-choice > input[type="radio"] + span::before { border-radius: 50%; }
/* The tick: two borders of a rotated box */
.wg-choice > input[type="checkbox"] + span::after {
    content: "";
    position: absolute;
    top: calc(var(--choice-pad) + .7em - 9px + 3px);
    left: calc(var(--choice-inset) + 6px);
    width: 6px;
    height: 10px;
    border: solid var(--mark-fg);
    border-width: 0 2px 2px 0;
    pointer-events: none;
    transform: rotate(45deg);
}
.wg-choice > span small {
    display: block;
    margin-top: .125rem;
    color: var(--fg-muted);
    font-size: var(--fs-label);
    font-weight: 400;
    line-height: 1.45;
}
.wg-choice > span b { color: inherit; font-weight: 650; }

@media (hover: hover) and (pointer: fine) {
    .wg-choice:not(.wg-choice--suggested):hover > input:not(:checked):not(:disabled) + span { --choice-border: var(--fg-muted); }
    .wg-choice:hover > input:not(:checked):not(:disabled) + span { --mark-border: var(--fg-strong); }
    .wg-choice:hover > input:checked:not(:disabled) + span { --choice-bg: var(--fg); --choice-border: var(--fg); }
    .wg-dark .wg-choice:hover > input:checked:not(:disabled) + span,
    .on-dark .wg-choice:hover > input:checked:not(:disabled) + span { --choice-bg: var(--c-graphite); --choice-border: var(--fg-muted); }
}

/* Checked on light (the admin): a strong tile, mist text, the orange mark carries the accent */
.wg-choice > input:checked + span {
    --choice-bg: var(--fg-strong);
    --choice-border: var(--fg-strong);
    --choice-fg: var(--c-mist);
    --mark-bg: var(--c-orange);
    --mark-border: var(--c-orange);
    --mark-fg: var(--fg-strong);
}
.wg-choice > input:checked + span small { color: var(--c-silver); }
.wg-choice > input[type="radio"]:checked + span::before { box-shadow: inset 0 0 0 4px var(--choice-bg); }
.wg-choice > input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Checked on the dark site: never a light block. The tile rises to graphite with a rail edge, the text
   turns mist and the mark is the orange check (an orange ring around an orange dot for a radio). */
.wg-dark .wg-choice > input:checked + span,
.on-dark .wg-choice > input:checked + span {
    --choice-bg: var(--c-graphite);
    --choice-border: var(--rule-strong);
    --choice-fg: var(--fg-strong);
    --mark-bg: var(--c-orange);
    --mark-border: var(--c-orange);
    --mark-fg: var(--c-obsidian);
}
.wg-dark .wg-choice > input:checked + span small,
.on-dark .wg-choice > input:checked + span small { color: var(--fg); }

/* Disabled (admin: a decision that can no longer change) */
.wg-choice > input:disabled { cursor: not-allowed; }
.wg-choice > input:disabled + span {
    --choice-bg: var(--surface-2);
    --choice-fg: var(--fg-muted);
    --mark-bg: var(--surface-2);
    --mark-border: var(--rule-strong);
    border-style: dashed;
}
.wg-choice > input:disabled:checked + span {
    --choice-border: var(--fg-muted);
    --choice-fg: var(--fg-strong);
    --mark-bg: var(--fg-muted);
    --mark-border: var(--fg-muted);
    --mark-fg: var(--surface-2);
}

/* Suggested by the goal (contact.js adds and removes the class): a dashed accent edge, kept when ticked */
.wg-choice--suggested > span { --choice-border: var(--accent-fg); border-style: dashed; }
.wg-choice--suggested > input:checked + span { --choice-border: var(--c-orange); }

/* Windows High Contrast drops fills and shadows, and with them the checked mark of .wg-choice and the focus
   edge of .wg-input. System colours appear in this block only, so normal rendering doesn't change. */
@media (forced-colors: active) {
    .wg-choice > input:checked + span::before {
        forced-color-adjust: none;
        border-color: Highlight;
        background-color: Highlight;
    }
    .wg-choice > input[type="checkbox"]:checked + span::after { forced-color-adjust: none; border-color: HighlightText; }
    .wg-choice > input[type="radio"]:checked + span::before { box-shadow: inset 0 0 0 4px Canvas; }
    .wg-choice > input:focus-visible + span { outline: 2px solid Highlight; }
    .wg-input:focus { outline: 2px solid Highlight; outline-offset: 2px; }
    .wg-input[aria-invalid="true"] { border-width: 2px; }
}

/* Notices: a tinted field with a 1px edge. Info is a pale ice tint on light (the admin) and graphite on the
   dark site; error and success use their own tints. */
.wg-notice {
    --notice-bg: color-mix(in srgb, var(--c-ice) 45%, var(--c-paper));
    --notice-border: var(--c-ice);
    --notice-mark: var(--fg-strong);
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--notice-border);
    border-radius: var(--radius);
    background: var(--notice-bg);
    color: var(--fg-strong);
    font-size: var(--fs-small);
    line-height: 1.55;
}
.wg-notice > .wg-icon {
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .05em;
    color: var(--notice-mark);
}
.wg-notice p { margin: 0; }
.wg-notice > div > :last-child { margin-bottom: 0; }
.wg-notice a:not(.wg-btn):not(.wg-link) { color: var(--fg-strong); text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: .2em; }
.wg-notice--error { --notice-bg: var(--error-tint); --notice-border: var(--error); --notice-mark: var(--error); }
.wg-notice--success { --notice-bg: var(--success-tint); --notice-border: var(--success); --notice-mark: var(--success); }
.wg-dark .wg-notice,
.on-dark .wg-notice { --notice-bg: var(--c-graphite); --notice-border: var(--rule-strong); }
.wg-dark .wg-notice--error,
.on-dark .wg-notice--error { --notice-border: var(--error); }
.wg-dark .wg-notice--success,
.on-dark .wg-notice--success { --notice-border: var(--success); }

/* Honeypot: off screen, never display:none (some bots skip hidden fields) */
.wg-hp { position: absolute; top: auto; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- 55-shortlist.css ---- */
/* 21. Project shortlist drawer, scrim, toast, back to top
   The drawer is a dialog driven by wisdigix.js. JS never puts `hidden` back on close, so the closed state is
   visibility:hidden without .is-open, and the open state turns visible in the same frame (visibility delay 0)
   because focus moves into it at once. An oil slab with a hairline edge: head, list and foot on one ground, divided by rules.
   The list is numbered like the stage lanes: 01, 02, ... in mono.
   ----------------------------------------------------------------------- */
.wg-plan {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    width: min(100%, 27.5rem);
    background: var(--c-oil);
    border-left: 1px solid var(--rule);
    color: var(--fg);
    box-shadow: var(--shadow-panel);
    transform: translateX(100%);
    visibility: hidden;
    /* closing runs a quarter faster than opening */
    transition: transform 360ms var(--ease-out), visibility 0s linear 360ms;
}
.wg-plan.is-open {
    transform: none;
    visibility: visible;
    transition: transform var(--dur-slow) var(--ease-out), visibility 0s linear 0s;
}

.wg-plan__head {
    display: flex;
    flex: none;
    align-items: center;
    gap: var(--s-3);
    min-height: var(--header-h);
    padding: var(--s-3) var(--s-4) var(--s-3) var(--s-5);
    background: var(--c-oil);
    border-bottom: 1px solid var(--rule);
}
.wg-plan__head h2 {
    margin: 0;
    color: var(--fg-strong);
    font-size: var(--fs-h3);
    font-weight: 620;
    line-height: 1.2;
    letter-spacing: -.014em;
}
/* How many services: a mono figure next to the title (the list itself says the same to screen readers) */
.wg-plan__count {
    display: inline-grid;
    place-items: center;
    min-width: 1.75rem;
    height: 1.5rem;
    margin-right: auto;
    padding: 0 .375rem;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-sm);
    color: var(--fg-strong);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.wg-plan__head .wg-close {
    position: relative;
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius);
    background: transparent;
    box-shadow: none;
    color: var(--fg-strong);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.wg-plan__head .wg-close .wg-icon { width: 20px; height: 20px; }
.wg-plan__head .wg-close:hover,
.wg-plan__head .wg-close:focus-visible {
    border-color: var(--fg-strong);
    background: color-mix(in srgb, var(--c-mist) 6%, transparent);
    box-shadow: none;
    color: var(--fg-strong);
}
.wg-plan__head .wg-close:focus-visible { border-radius: var(--radius); }

.wg-plan__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--s-5) var(--s-5) var(--s-6);
}
/* Too short for a list between two fixed bars (400% zoom on a laptop): head, list and foot scroll as one */
@media (max-height: 480px) {
    .wg-plan { overflow-y: auto; overscroll-behavior: contain; }
    .wg-plan__body { flex: none; overflow: visible; }
}
.wg-plan__intro {
    max-width: 34rem;
    margin: 0 0 var(--s-5);
    color: var(--fg-muted);
    font-size: var(--fs-small);
    line-height: 1.55;
}

/* Rows built by wisdigix.js: li > div > a + span.wg-plan__cat, then button.wg-plan__remove */
.wg-plan__list {
    margin: 0 0 var(--s-4);
    padding: 0;
    border-top: 1px solid var(--rule);
    list-style: none;
    counter-reset: plan;
}
.wg-plan__list:empty { display: none; }
.wg-plan__list li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--rule);
    counter-increment: plan;
}
.wg-plan__list li::before {
    content: counter(plan, decimal-leading-zero);
    content: counter(plan, decimal-leading-zero) / "";
    align-self: start;
    padding-top: .3em;
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}
.wg-plan__list a {
    padding-block: 2px;
    color: var(--fg-strong);
    font-weight: 600;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: .22em;
    transition: text-decoration-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.wg-plan__list a:hover,
.wg-plan__list a:focus-visible { color: var(--fg-strong); text-decoration-color: var(--accent-fg); }
.wg-plan__cat {
    display: block;
    margin-top: .125rem;
    color: var(--fg-muted);
    font-size: var(--fs-label);
    line-height: 1.4;
}
/* Remove: wisdigix.js prints the site's close icon (inline SVG, the same path as icon('close')). A cached
   older script printed an icon-font glyph: that is hidden and the cross is drawn with two borders instead. */
.wg-plan__remove {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: none;
    color: var(--fg-muted);
    cursor: pointer;
    transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.wg-plan__remove svg.wg-icon { width: 18px; height: 18px; }
.wg-plan__remove i.wg-icon { display: none; }
.wg-plan__remove:not(:has(svg))::before,
.wg-plan__remove:not(:has(svg))::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 0;
    margin: -.75px 0 0 -7px;
    border-top: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.wg-plan__remove:not(:has(svg))::after { transform: rotate(-45deg); }
.wg-plan__remove:hover,
.wg-plan__remove:focus-visible { border-color: var(--error); background: var(--error-tint); color: var(--error); }
.wg-plan__remove:focus-visible { border-radius: var(--radius); }

.wg-plan__clear,
.wg-plan__undo .wg-link {
    min-height: 24px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.wg-plan__undo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-2) var(--s-4);
    margin: 0 0 var(--s-4);
    padding: var(--s-3) var(--s-4);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--c-graphite);
    color: var(--fg-strong);
    font-size: var(--fs-small);
}

/* Empty: three open numbered rows show where the list goes (ruled lines, no grey skeleton bars that could
   read as "loading"), then the two ways to fill it */
.wg-plan__empty { margin: 0; }
.wg-plan__slots {
    margin: 0 0 var(--s-5);
    padding: 0;
    border-top: 1px dashed var(--rule-strong);
    list-style: none;
    counter-reset: slot;
}
.wg-plan__slots li {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    gap: var(--s-3);
    height: 3rem;
    border-bottom: 1px dashed var(--rule-strong);
    counter-increment: slot;
}
.wg-plan__slots li::before {
    content: counter(slot, decimal-leading-zero);
    content: counter(slot, decimal-leading-zero) / "";
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-variant-numeric: tabular-nums;
}
.wg-plan__empty > p:not(.wg-plan__links) { margin: 0 0 var(--s-4); color: var(--fg); font-size: var(--fs-small); line-height: 1.55; }
.wg-plan__links { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); margin: 0; }

.wg-plan__foot {
    flex: none;
    padding: var(--s-4) var(--s-5) var(--s-5);
    border-top: 1px solid var(--rule);
    background: var(--c-oil);
}
.wg-plan__foot p { margin: var(--s-3) 0 0; color: var(--fg-muted); font-size: var(--fs-small); line-height: 1.5; text-align: center; }

/* Scrim: obsidian at 70% behind the drawer; a click on it closes the drawer */
.wg-scrim {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(11, 18, 21, .7);
    background: color-mix(in srgb, var(--c-obsidian) 70%, transparent);
    opacity: 0;
    visibility: hidden;
    transition: opacity 280ms var(--ease-out), visibility 0s linear 280ms;
    -webkit-tap-highlight-color: transparent;
}
.wg-scrim.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur-slow) var(--ease-out), visibility 0s linear 0s;
}

/* Toast: a small graphite card, text only (WCAG 2.2.1); the orange mark is the one signal that the list changed */
.wg-toast {
    --toast-x: -50%;
    position: fixed;
    left: 50%;
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    z-index: 1200;
    display: flex;
    align-items: center;
    gap: .75rem;
    width: max-content;
    max-width: calc(100% - 2rem);
    padding: .875rem 1.25rem .875rem 1rem;
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: var(--c-graphite);
    box-shadow: var(--shadow-lift);
    color: var(--c-mist);
    font-size: var(--fs-small);
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transform: translate(var(--toast-x), .75rem);
    transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out), visibility 0s linear 180ms;
}
.wg-toast::before {
    content: "";
    flex: none;
    width: .5rem;
    height: .5rem;
    border-radius: var(--radius-sm);
    background: var(--c-orange);
}
.wg-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(var(--toast-x), 0);
    transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out), visibility 0s linear 0s;
}
.wg-toast.is-status-only { clip-path: inset(50%); pointer-events: none; }

/* Back to top: coal square with a mist chevron, faded in past half a screen (.is-visible from JS) */
.wg-top {
    position: fixed;
    right: max(1.5rem, env(safe-area-inset-right));
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    z-index: 800;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--c-rail-dark);
    border-radius: var(--radius);
    background: var(--c-coal);
    box-shadow: var(--shadow-card);
    color: var(--c-mist);
    opacity: 0;
    visibility: hidden;
    transform: translateY(.5rem);
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms, background-color var(--dur-fast) var(--ease-out);
}
.wg-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear 0s, background-color var(--dur-fast) var(--ease-out);
}
.wg-top .wg-icon { width: 20px; height: 20px; transition: transform var(--dur) var(--ease-out); }
.wg-top:hover,
.wg-top:focus-visible { color: var(--c-mist); }
/* Orange ring: 5:1 or more on every dark ground it floats over */
.wg-top:focus-visible { outline-color: var(--c-orange); border-radius: var(--radius); }
@media (hover: hover) and (pointer: fine) {
    .wg-top:hover { background: var(--c-graphite); }
    .wg-top:hover .wg-icon { transform: translateY(-2px); }
}

@media (max-width: 767px) {
    .wg-plan__head { padding-left: var(--s-4); }
    .wg-plan__body { padding-inline: var(--s-4); }
    .wg-plan__foot { padding-inline: var(--s-4); }
    .wg-top { right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); }
    /* Left-aligned beside the back-to-top square instead of centred over it */
    .wg-toast {
        --toast-x: 0;
        left: 1rem;
        bottom: max(1rem, env(safe-area-inset-bottom));
        max-width: calc(100% - 2rem - 44px - .75rem);
    }
}

/* Phone dock (layout.php, wisdigix.js): below 640px, where the header drops its quote button, "Get a quote"
   rides at the bottom once the page's opening band has gone. An obsidian bar with one hairline above, inside
   the safe area. Hidden (visibility, so it also leaves the tab order) over the closing band, the footer and
   open dialogs. The back-to-top square and the toast stack above it, and focused elements scroll clear of it. */
.wg-dock { display: none; }
@media (max-width: 39.99em) {
    :root { --dock-h: calc(48px + 1.5rem + 1px); }
    .wg-dock {
        position: fixed;
        inset: auto 0 0;
        z-index: 790;
        display: flex;
        padding: .75rem max(1rem, env(safe-area-inset-right)) calc(.75rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
        border-top: 1px solid var(--c-line);
        background: color-mix(in srgb, var(--c-obsidian) 96%, transparent);
        visibility: hidden;
        transform: translateY(100%);
        transition: transform 180ms var(--ease-in-out), visibility 0s linear 180ms;
    }
    .wg-dock.is-visible {
        visibility: visible;
        transform: none;
        transition: transform var(--dur) var(--ease-out), visibility 0s;
    }
    .wg-dock__cta { flex: 1; min-height: 48px; }
    .has-dock { scroll-padding-bottom: calc(var(--dock-h) + 1rem); }
    .has-dock .wg-top { bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + .75rem); }
    .has-dock .wg-toast { bottom: calc(var(--dock-h) + env(safe-area-inset-bottom) + .75rem); }
}

/* Reduced motion: the drawer, toast and button fade in place instead of sliding */
@media (prefers-reduced-motion: reduce) {
    .wg-plan {
        opacity: 0;
        transform: none;
        transition: opacity 160ms linear, visibility 0s linear 160ms;
    }
    .wg-plan.is-open { opacity: 1; transition: opacity 200ms var(--ease-out), visibility 0s linear 0s; }
    .wg-toast,
    .wg-toast.is-visible { transform: translate(var(--toast-x), 0); }
    .wg-top,
    .wg-top.is-visible { transform: none; }
    .wg-top:hover .wg-icon { transform: none; }
    .wg-dock,
    .wg-dock.is-visible { transform: none; }
}

@media print {
    .wg-plan,
    .wg-scrim,
    .wg-toast,
    .wg-top,
    .wg-dock { display: none !important; }
}

/* ---- 60-footer.css ---- */
/* 22. Footer
   Oil ground (the deepest band) on the 12-column grid. Top tier: the brand column (wordmark, brand line, positioning, public
   email, reply promise) and two link columns. Middle tier: Services as six numbered stage lanes, the 01-06
   sequence the header panel and /services/ use. Bottom bar: copyright and legal links in small type over a
   hairline. Hooks: #footer (the burger's no-JS target), footer (made inert behind dialogs).
   ----------------------------------------------------------------------- */
.wg-footer {
    padding-top: clamp(4rem, 2.6rem + 5.6vw, 7.5rem);
    background: var(--c-oil);
    color: var(--fg);
    font-size: var(--fs-small);
    line-height: 1.55;
}
.wg-footer ul { margin: 0; padding: 0; list-style: none; }
.wg-footer li { margin: 0; }
.wg-footer a:not(.wg-btn):not(.wg-link):not(.wg-logo) {
    color: var(--fg);
    text-decoration: none;
    text-underline-offset: .25em;
    transition: color var(--dur-fast) var(--ease-out);
}
.wg-footer a:not(.wg-btn):not(.wg-link):not(.wg-logo):hover,
.wg-footer a:not(.wg-btn):not(.wg-link):not(.wg-logo):focus-visible {
    color: var(--fg-strong);
    text-decoration: underline;
    text-decoration-color: var(--rule-strong);
}

/* Top tier */
.wg-footer__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--s-7) var(--gap);
    padding-bottom: clamp(3rem, 2.2rem + 3.2vw, 5rem);
}
.wg-footer__grid > * { grid-column: 1 / -1; min-width: 0; }
.wg-footer__grid > .wg-footer__col { grid-column: span 6; }
@media (min-width: 48em) {
    .wg-footer__grid > .wg-footer__brand { grid-column: 1 / span 6; }
    .wg-footer__grid > .wg-footer__col { grid-column: span 3; }
}
@media (min-width: 62em) {
    .wg-footer__grid > .wg-footer__brand { grid-column: 1 / span 5; }
    .wg-footer__grid > .wg-footer__col--goals { grid-column: 7 / span 3; }
    .wg-footer__grid > .wg-footer__col--company { grid-column: 10 / span 3; }
}

.wg-footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.wg-footer__brand .wg-logo { margin-bottom: var(--s-5); }
.wg-footer__tagline {
    max-width: 12em;
    margin: 0 0 var(--s-4);
    color: var(--fg-strong);
    font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem);
    font-weight: 650;
    letter-spacing: -.024em;
    line-height: 1.12;
    text-wrap: balance;
}
.wg-footer__text {
    max-width: 30rem;
    margin: 0 0 var(--s-6);
    color: var(--fg);
    font-size: var(--fs-body);
    line-height: 1.6;
}
.wg-footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
    margin: 0;
}
/* The :not() chain matches the generic footer link rule's weight, so the email keeps its own colour and line */
.wg-footer a.wg-footer__email:not(.wg-btn):not(.wg-link) {
    align-self: flex-start;
    color: var(--fg-strong);
    font-size: var(--fs-h3);
    font-weight: 600;
    letter-spacing: -.014em;
    line-height: 1.3;
    text-decoration: underline;
    text-decoration-color: var(--rule-strong);
    text-decoration-thickness: 1px;
    text-underline-offset: .28em;
    transition: text-decoration-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.wg-footer a.wg-footer__email:not(.wg-btn):not(.wg-link):hover,
.wg-footer a.wg-footer__email:not(.wg-btn):not(.wg-link):focus-visible { color: var(--fg-strong); text-decoration-color: var(--c-orange); }
.wg-footer__reply { color: var(--fg-muted); font-size: var(--fs-small); }
.wg-footer__quote { margin: var(--s-5) 0 0; }

.wg-footer__title {
    margin: 0 0 var(--s-4);
    color: var(--fg-strong);
    font-size: var(--fs-small);
    font-weight: 620;
    letter-spacing: -.005em;
    line-height: 1.3;
}
.wg-footer__col li a { display: inline-block; padding-block: .3125rem; line-height: 1.4; }

/* Middle tier: the six stage lanes */
.wg-footer__stages {
    padding-block: var(--s-7) clamp(3.5rem, 2.6rem + 3.6vw, 6rem);
    border-top: 1px solid var(--rule);
}
.wg-footer__stages-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-2) var(--s-6);
    margin-bottom: var(--s-6);
}
.wg-footer__stages-head .wg-footer__title { margin: 0; }
.wg-footer__all { margin: 0; }
.wg-footer__stages-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-6) var(--gap);
}
@media (min-width: 48em) {
    .wg-footer__stages-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 62em) {
    .wg-footer__stages-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.wg-footer__stage { min-width: 0; padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.wg-footer__group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 0 0 var(--s-3);
    color: var(--fg-strong);
    font-size: var(--fs-small);
    font-weight: 620;
    letter-spacing: -.005em;
    line-height: 1.3;
}
.wg-footer__group .wg-index { color: var(--fg-muted); }
.wg-footer__stage li a { display: inline-block; padding-block: .3125rem; line-height: 1.4; }

/* Proposal footer_band: five link columns over the lanes */
@media (min-width: 48em) {
    .wg-footer__grid--band > .wg-footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 75em) {
    .wg-footer__grid--band > .wg-footer__brand { grid-column: 1 / span 4; }
    .wg-footer__grid--band > .wg-footer__col { grid-column: span 2; }
}

/* Bottom bar: left-aligned, so the back-to-top button (.wg-top, fixed bottom right) never sits over a link */
.wg-footer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--s-3) var(--s-7);
    padding-block: var(--s-5);
    border-top: 1px solid var(--rule);
    color: var(--fg-muted);
    font-size: .8125rem;
    line-height: 1.5;
}
/* The family strip sits between the link tiers and the bar; the bar has no top margin of its own. */
.wg-footer .wdx-family { margin-top: 0; margin-bottom: var(--s-6); }
.wg-footer__bar p { margin: 0; }
.wg-footer__bar ul { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); }
.wg-footer .wg-footer__bar a:not(.wg-btn):not(.wg-link):not(.wg-logo) { display: inline-block; padding-block: .25rem; color: var(--fg-muted); }
.wg-footer .wg-footer__bar a:not(.wg-btn):not(.wg-link):not(.wg-logo):hover,
.wg-footer .wg-footer__bar a:not(.wg-btn):not(.wg-link):not(.wg-logo):focus-visible { color: var(--fg-strong); }

/* The signature at the foot of every WISDIGIX site (owner's footer, 2026-11-20): "© year WisdigiX" and "Created with ♥ by
   Wisdigix". The Store reads these rules from this file too. The year is printed by PHP and kept current by wisdigix.js /
   store.js. The heart beats only when the visitor allows motion. */
.wdx-copy, .wdx-by { margin: 0; }
.wdx-by { display: inline-flex; flex-wrap: wrap; align-items: center; column-gap: .35em; }
.wdx-mark { color: var(--fg-strong); font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.wdx-mark__x { color: var(--c-orange); }
.wdx-heart { flex: none; width: 1em; height: 1em; fill: var(--c-orange); transform-origin: 50% 60%; vertical-align: -.125em; }
.wdx-by__link { color: var(--fg-strong); font-weight: 600; text-underline-offset: .2em; }
.wdx-by__link:hover, .wdx-by__link:focus-visible { color: var(--c-orange); }
.wg-footer .wg-footer__bar a.wdx-by__link:not(.wg-btn) { color: var(--fg-strong); font-weight: 600; }
.wg-footer .wg-footer__bar a.wdx-by__link:hover,
.wg-footer .wg-footer__bar a.wdx-by__link:focus-visible { color: var(--c-orange); }
@media (prefers-reduced-motion: no-preference) {
    .wdx-heart { animation: wdx-beat 5s ease infinite; }
}
@keyframes wdx-beat {
    0%, 20%, 30%, 50%, 70%, 100% { transform: scale(1); }
    5%, 35%, 55% { transform: scale(1.25); }
}

/* Phones (owner, 2026-11-20: "the footer is not responsive"): link groups fold into full-width rows (wdx-ecosystem.js), the
   Services block becomes one row with "All 77 services" kept beside it, and the folded rows sit tight together. */
@media (max-width: 47.99em) {
    .wg-footer__grid { row-gap: 0; padding-bottom: var(--s-6); }
    .wg-footer__grid > .wg-footer__brand { padding-bottom: var(--s-6); }
    .wg-footer__grid > .wg-footer__col.is-folded { grid-column: 1 / -1; }
    .wg-footer__grid > .wg-footer__col.is-folded:first-of-type { border-top: 1px solid var(--rule); }
    .wg-footer__col.is-folded .wg-footer__title { margin: 0; }
    .wg-footer__col.is-folded ul { margin: 0; }
    .wg-footer__stages.is-folded { padding-block: 0; border-top: 0; }
    .wg-footer__stages.is-folded .wg-footer__stages-head { align-items: center; margin: 0; flex-wrap: nowrap; }
    .wg-footer__stages.is-folded .wg-footer__stages-head .wg-footer__title { flex: 1; }
    .wg-footer__stages.is-folded.is-open .wg-footer__stages-grid { padding-top: var(--s-4); }
    .wg-footer .wdx-family { margin-top: var(--s-6); padding-top: 0; border-top: 0; }
}

/* ---- 61-ecosystem.css ---- */
/* GENERATED by wigidix/docs/audits/global-audit/tools/sync-ecosystem-assets.php: the main + Store token mapping, then the shared
   component. Edit wdx-ecosystem.component.css or the mapping in that script, never this file. */
.on-dark {
    --wdx-fg: var(--fg-strong);
    --wdx-muted: var(--fg-muted);
    --wdx-line: var(--rule);
    --wdx-line-strong: var(--rule-strong);
    --wdx-surface: var(--surface-1);
    --wdx-surface-hover: var(--surface-2);
    --wdx-panel: var(--surface-1);
    --wdx-accent: var(--c-orange);
    --wdx-on-accent: #0B1215;
    --wdx-radius: 10px;
    --wdx-radius-lg: 14px;
}

/* WISDIGIX ecosystem components (owner request, 2026-11-20): the footer's family strip, the phone folds of footer link groups,
   the cookie settings link and the cookie choices banner. Identical on every site; each site maps the --wdx-* tokens to its own
   palette in the header above this block (generated by docs/audits/global-audit/tools/sync-ecosystem-assets.php). */

/* Family strip ------------------------------------------------------------------------------------------------------------ */
.wdx-family { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--wdx-line); }
/* On phones the strip follows the folded groups, whose last row already draws a line. */
@media (max-width: 47.99em) { .wdx-family { margin-top: 1.75rem; padding-top: 0; border-top: 0; } }
.wdx-family__title { margin: 0 0 1rem; color: var(--wdx-muted); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.wdx-family__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
/* Sites space their footer lists with li + li margins; the tiles use the grid gap only. */
.wdx-family .wdx-family__list > li { margin: 0; }
.wdx-family__list > li { margin: 0; padding: 0; }
.wdx-family__list > li::before { content: none; }
/* Two across on phones: an odd last tile takes the whole row instead of sitting alone. */
@media (max-width: 39.99em) { .wdx-family__list > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* Three across on tablets, on a six-column grid so a short last row shares the width instead of leaving empty cells. */
@media (min-width: 40em) and (max-width: 63.99em) {
    .wdx-family__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .wdx-family__list > li { grid-column: span 2; }
    .wdx-family__list > li:nth-child(3n+1):nth-last-child(2), .wdx-family__list > li:nth-child(3n+1):nth-last-child(2) ~ li { grid-column: span 3; }
    .wdx-family__list > li:nth-child(3n+1):last-child { grid-column: 1 / -1; }
}
@media (min-width: 64em) { .wdx-family__list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.wdx-family .wdx-family__item { position: relative; display: flex; flex-direction: column; gap: .25rem; height: 100%; min-height: 4.75rem; padding: .875rem 1rem;
    border: 1px solid var(--wdx-line); border-radius: var(--wdx-radius); background: var(--wdx-surface); color: var(--wdx-fg); text-decoration: none;
    transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.wdx-family .wdx-family__item:hover { border-color: var(--wdx-accent); background: var(--wdx-surface-hover); transform: translateY(-1px); }
.wdx-family .wdx-family__item:focus-visible { outline: 2px solid var(--wdx-accent); outline-offset: 2px; }
.wdx-family__name { color: var(--wdx-fg); font-size: .9375rem; font-weight: 650; line-height: 1.3; }
.wdx-family__name::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-inline-end: .5rem; border-radius: 50%; background: var(--wdx-accent); vertical-align: .1em; }
.wdx-family__desc { color: var(--wdx-muted); font-size: .8125rem; line-height: 1.4; }
.wdx-family .wdx-family__item.is-here { border-color: var(--wdx-accent); }
.wdx-family__here { align-self: flex-start; margin-top: auto; padding: .125rem .5rem; border-radius: 999px; background: var(--wdx-accent); color: var(--wdx-on-accent); font-size: .6875rem; font-weight: 650; line-height: 1.4; }

/* Footer link groups fold on phones (wdx-ecosystem.js adds the button) ---------------------------------------------------- */
.wdx-fold__btn { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 48px; margin: 0; padding: 0;
    border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: start; cursor: pointer; }
.wdx-fold__btn::after { content: ""; flex: none; width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.wdx-fold__btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
.wdx-fold__btn:focus-visible { outline: 2px solid var(--wdx-accent); outline-offset: 2px; }
[data-wdx-fold].is-folded { margin: 0; padding: 0; border-bottom: 1px solid var(--wdx-line); }
[data-wdx-fold].is-folded [data-wdx-fold-title] { margin: 0; padding: 0; }
[data-wdx-fold].is-folded.is-open [data-wdx-fold-body] { margin-top: 0; padding-bottom: 1rem; }
[data-wdx-fold] [data-wdx-fold-body][hidden] { display: none !important; }

/* Cookie settings link ---------------------------------------------------------------------------------------------------- */
.wdx-consent-link { display: inline-block; margin: 0; padding: .25rem 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: start; }
.wdx-consent-link:hover, .wdx-consent-link:focus-visible { color: var(--wdx-fg); text-decoration: underline; text-underline-offset: .2em; }
.wdx-consent-link[hidden] { display: none; }

/* Cookie choices banner --------------------------------------------------------------------------------------------------- */
.wdx-consent { position: fixed; z-index: 2147483000; right: 0; bottom: 0; left: 0; padding: 0 .75rem .75rem; pointer-events: none; }
.wdx-consent[hidden] { display: none; }
.wdx-consent__inner { pointer-events: auto; max-width: 30rem; max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); overflow: auto; margin-inline: auto; padding: 1.25rem;
    border: 1px solid var(--wdx-line-strong); border-radius: var(--wdx-radius-lg); background: var(--wdx-panel); color: var(--wdx-fg);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .45); font-size: 1rem; line-height: 1.5; text-align: start; }
@media (min-width: 48em) { .wdx-consent { right: 1.5rem; bottom: 1.5rem; left: auto; padding: 0; } .wdx-consent__inner { width: 30rem; margin: 0; } }
.wdx-consent__head { display: flex; gap: .875rem; align-items: flex-start; }
.wdx-consent__icon { flex: none; width: 2.25rem; height: 2.25rem; fill: var(--wdx-accent); }
.wdx-consent__title { margin: 0 0 .375rem; color: var(--wdx-fg); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-transform: none; }
.wdx-consent__text { margin: 0; color: var(--wdx-muted); font-size: .875rem; line-height: 1.55; }
.wdx-consent__text a { color: var(--wdx-fg); text-decoration: underline; text-underline-offset: .2em; }
.wdx-consent__prefs { display: grid; gap: .5rem; margin-top: 1rem; }
.wdx-consent__prefs[hidden] { display: none; }
.wdx-consent__pref { display: flex; gap: .75rem; align-items: flex-start; margin: 0; padding: .75rem; border: 1px solid var(--wdx-line); border-radius: var(--wdx-radius); cursor: pointer; }
.wdx-consent__pref strong { display: block; color: var(--wdx-fg); font-size: .875rem; font-weight: 650; }
.wdx-consent__desc { display: block; margin-top: .125rem; color: var(--wdx-muted); font-size: .8125rem; line-height: 1.45; }
.wdx-consent__always { margin-inline-start: .375rem; color: var(--wdx-muted); font-size: .75rem; font-style: normal; font-weight: 500; }
.wdx-switch { appearance: none; -webkit-appearance: none; position: relative; flex: none; width: 2.5rem; height: 1.5rem; margin: .125rem 0 0; border: 0; border-radius: 999px;
    background: var(--wdx-line-strong); cursor: pointer; transition: background-color .15s ease; }
.wdx-switch::after { content: ""; position: absolute; top: .1875rem; left: .1875rem; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: #fff; transition: transform .15s ease; }
.wdx-switch:checked { background: var(--wdx-accent); }
.wdx-switch:checked::after { transform: translateX(1rem); }
[dir="rtl"] .wdx-switch::after { right: .1875rem; left: auto; }
[dir="rtl"] .wdx-switch:checked::after { transform: translateX(-1rem); }
.wdx-switch:disabled { opacity: .7; cursor: not-allowed; }
.wdx-switch:focus-visible { outline: 2px solid var(--wdx-accent); outline-offset: 2px; }
.wdx-consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.wdx-consent__btn { min-height: 44px; margin: 0; padding: .5rem .875rem; border: 1px solid var(--wdx-line-strong); border-radius: var(--wdx-radius); background: transparent;
    color: var(--wdx-fg); font: inherit; font-size: .9375rem; font-weight: 650; line-height: 1.2; cursor: pointer; }
.wdx-consent__btn:hover { border-color: var(--wdx-fg); }
.wdx-consent__btn--primary, .wdx-consent__btn--primary:hover { border-color: var(--wdx-accent); background: var(--wdx-accent); color: var(--wdx-on-accent); }
.wdx-consent__btn--quiet { grid-column: 1 / -1; border-color: transparent; font-weight: 500; text-decoration: underline; text-underline-offset: .2em; }
.wdx-consent__btn--quiet:hover { border-color: transparent; }
.wdx-consent__btn[data-wdx-consent-action="save"] { grid-column: 1 / -1; }
.wdx-consent__btn:focus-visible { outline: 2px solid var(--wdx-accent); outline-offset: 2px; }
.wdx-consent__btn[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
    .wdx-switch, .wdx-switch::after, .wdx-family .wdx-family__item, .wdx-fold__btn::after { transition: none; }
    .wdx-family .wdx-family__item:hover { transform: none; }
}

/* ---- 65-motion-print.css ---- */
/* 23. Motion
   The one authored moment per page lives with its component (the home hero's coordination panel, the stage
   index photo crossfade). This part holds the shared reveal proposal and the reduced-motion safety net.
   ----------------------------------------------------------------------- */
/* Scroll reveal is off unless proposal reveal is on (page-system.md §6 #8) */
:root[data-proposals~="reveal"].wg-reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
    transition-delay: calc(var(--reveal-i, 0) * 60ms);
}
:root[data-proposals~="reveal"].wg-reveal-ready [data-reveal].is-revealed { opacity: 1; transform: none; }

/* Page to page: a short crossfade instead of a white flash (cross-document View Transitions, CSS only; browsers
   without support simply navigate). The header is its own group, so the bar holds still while the page under it
   changes. Never with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    @view-transition { navigation: auto; }
    .wg-header { view-transition-name: site-header; }
    ::view-transition-old(root) { animation: 160ms cubic-bezier(.65, 0, .35, 1) both wg-vt-out; }
    ::view-transition-new(root) { animation: 280ms cubic-bezier(.16, 1, .3, 1) 60ms both wg-vt-in; }
    ::view-transition-group(site-header) { animation-duration: 0s; }
}
@keyframes wg-vt-out { to { opacity: 0; } }
@keyframes wg-vt-in { from { opacity: 0; transform: translateY(8px); } }

/* Reduced motion: movement stops, state changes stay visible and instant. Components that animate an entrance
   must already rest in their final state (content visible by default), so cutting durations never hides anything. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }
    :root[data-proposals~="reveal"].wg-reveal-ready [data-reveal] { opacity: 1; transform: none; }
    .wg-btn:hover .wg-icon,
    .wg-link:hover .wg-icon { transform: none; }
}

/* 24. Print
   ----------------------------------------------------------------------- */
@media print {
    .wg-header, .wg-menu, .wg-search, .wg-plan, .wg-scrim, .wg-cta, .wg-footer, .wg-add, .wg-top, .wg-skip, .wg-toast, .wg-dock { display: none !important; }
    /* Navy ink on paper everywhere: grounds are dropped, so light-on-dark text would vanish. details open in JS (wisdigix.js). */
    *, *::before, *::after {
        background: none !important;
        box-shadow: none !important;
        color: #0B1215 !important;
        text-shadow: none !important;
        border-color: #636D75 !important;
    }
    body { font-size: 11pt; line-height: 1.5; }
    .wg-banner { min-height: 0; padding-block: 0 20px; }
    .wg-banner::before, .wg-banner::after { display: none; }
    .wg-section { padding-block: 20px; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
    h1, h2, h3, h4 { break-after: avoid; }
    li, tr, summary, .wg-box, .wg-card, .wg-widget { break-inside: avoid; }
}

/* ---- 70-catalog.css ---- */
/* 25. Shared refinements
   Small rules several pages lean on. Everything here reads the semantic tokens (01-tokens.css), so it holds
   on the dark public pages and in the light admin alike; hover and selected fills are neutral (never ice).
   ----------------------------------------------------------------------- */
/* Tab tiles used as plain lists or links */
.wg-tabs__list { list-style: none; }
a.wg-tab { text-decoration: none; }

/* Flip box back face: the one short line (count, tagline). Colour comes from the face. */
.wg-flip__count,
.wg-flip__text { font-size: var(--fs-small); line-height: 1.5; }
.wg-flip__count { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Lone last item in a 3-column grid sits centred on tablets (two columns there) */
@media (min-width: 640px) and (max-width: 991px) {
    .wg-grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: min(100%, calc(50% - var(--gap) / 2)); }
}

/* 26. Service rows: an index line per service (name, one-line summary, engagement, add toggle).
   Hairline rules between rows, the whole row is the link, the add toggle sits above it.
   No edge bars, no inversion: hover tints the row and underlines the name.
   ----------------------------------------------------------------------- */
.wg-rows {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--rule);
}
.wg-row {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .375rem var(--s-5);
    align-items: start;
    padding: 1.125rem 0;
    border-bottom: 1px solid var(--rule);
}
/* Hover tint: a layer behind the content that only fades, wider than the text column */
.wg-row::after {
    content: "";
    position: absolute;
    inset: 0 calc(var(--s-3) * -1);
    z-index: -1;
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--fg-strong) 5%, transparent);
    opacity: 0;
    transition: opacity var(--dur-fast) var(--ease-out);
    pointer-events: none;
}
.wg-row__main { grid-column: 1; min-width: 0; }
.wg-row__note { display: block; margin: 0 0 .25rem; }
.wg-row__name {
    color: var(--fg-strong);
    font-size: 1.0625rem;
    font-weight: 620;
    line-height: 1.35;
    letter-spacing: -.01em;
    text-decoration: none;
    text-decoration-thickness: 1px;
    text-underline-offset: .24em;
}
.wg-row__name::before { content: ""; position: absolute; inset: 0; z-index: 1; } /* the row is the link */
.wg-row__name:hover,
.wg-row__name:focus-visible { color: var(--fg-strong); }
.wg-row__text {
    max-width: 40rem;
    margin: .3rem 0 0;
    color: var(--fg-muted);
    font-size: var(--fs-small);
    line-height: 1.5;
}
.wg-row > .wg-meta { grid-column: 1; margin: 0; }
.wg-row__act {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}
.wg-row__act:empty { display: none; }
.wg-row:focus-within::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
    .wg-row:hover::after { opacity: 1; }
    .wg-row:hover .wg-row__name { text-decoration-line: underline; text-decoration-color: var(--accent-fg); }
}
@media (max-width: 575px) {
    .wg-row { grid-template-columns: minmax(0, 1fr); }
    .wg-row__act { grid-column: 1; grid-row: auto; align-self: start; margin: -.25rem 0 -.5rem; } /* the toggle's own 44px box carries the space */
}
/* A "one of" entry in a package phase: its condition line over nested rows */
.wg-row-group { padding: 1.125rem 0; border-bottom: 1px solid var(--rule); }
.wg-row-group .wg-label { display: block; margin: 0 0 .5rem; }
.wg-row-group .wg-rows { border-top: 0; padding-left: var(--s-5); border-left: 1px solid var(--rule-strong); }
.wg-row-group .wg-row:last-child { border-bottom: 0; }

/* 27. Relation map: the service as a node, its relations as typed groups on one connector trunk
   (the coordination view's right-angle lines, DESIGN.md). Lines are --rule-strong: meaningful, 3:1+.
   ----------------------------------------------------------------------- */
.wg-rel-map {
    --rel-y: 1.05rem;           /* where a connector meets a title: the first line of an h3 */
    --rel-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
    position: relative;
    display: grid;
    gap: var(--s-6) 0;
}
/* The node: a raised graphite panel on the obsidian ground, an oil panel inside a coal section */
.wg-rel-map__node {
    position: relative;
    align-self: start;
    padding: var(--s-5) var(--s-5) var(--s-6);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    background: var(--c-graphite);
}
.wg-section--stone .wg-rel-map__node { background: var(--c-oil); }
.wg-rel-map__here {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 var(--s-3);
    color: var(--fg-muted);
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: var(--track-label);
}
.wg-rel-map__here::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: var(--radius-sm);
    background: var(--c-orange); /* the one active signal: this service */
}
.wg-rel-map__name {
    margin: 0;
    color: var(--fg-strong);
    font-size: var(--fs-h3);
    font-weight: 640;
    line-height: 1.2;
    letter-spacing: -.016em;
}
.wg-rel-map__count {
    margin: var(--s-4) 0 0;
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-variant-numeric: tabular-nums;
}
/* The trunk: one vertical line at the groups' left edge, a tick into each group */
.wg-rel-map__groups { position: relative; display: grid; gap: var(--rel-gap); padding-left: var(--rel-gap); }
.wg-rel { position: relative; min-width: 0; }
.wg-rel::before,
.wg-rel::after {
    content: "";
    position: absolute;
    background: var(--rule-strong);
    pointer-events: none;
}
/* Trunk segment: through this group and the gap below it */
.wg-rel::before { left: calc(var(--rel-gap) * -1); top: 0; bottom: calc(var(--rel-gap) * -1); width: 1px; }
.wg-rel:first-child::before { top: var(--rel-y); }
.wg-rel:last-child::before { bottom: auto; height: var(--rel-y); }
.wg-rel:first-child:last-child::before { top: 0; }
/* Tick from the trunk to the title, ending in a square node */
.wg-rel::after { left: calc(var(--rel-gap) * -1); top: var(--rel-y); width: calc(var(--rel-gap) - .75rem); height: 1px; }
.wg-rel__title {
    position: relative;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 .25rem;
    font-size: var(--fs-h4);
    font-weight: 640;
    line-height: 1.2;
}
.wg-rel__title::before {
    content: "";
    position: absolute;
    left: -.75rem;
    top: calc(var(--rel-y) - 3.5px);
    width: 7px;
    height: 7px;
    border: 1px solid var(--rule-strong);
    border-radius: var(--radius-sm);
    background: var(--ground);
    transform: translateX(-50%);
}
.wg-section--stone .wg-rel__title::before { background: var(--ground-alt); }
.wg-rel__hint { margin: 0 0 var(--s-4); color: var(--fg-muted); font-size: var(--fs-small); line-height: 1.5; }
.wg-rel__list { display: grid; gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.wg-rel__item {
    display: grid;
    gap: .25rem;
    padding: var(--s-4) var(--s-5);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    background: var(--surface-1);
}
.wg-rel__name {
    justify-self: start;
    color: var(--fg-strong);
    font-weight: 620;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: .24em;
    transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.wg-rel__name:hover,
.wg-rel__name:focus-visible { color: var(--fg-strong); text-decoration-color: var(--accent-fg); }
.wg-rel__reason { margin: 0; color: var(--fg); font-size: var(--fs-small); line-height: 1.55; }
.wg-rel__item .wg-add { justify-self: start; margin-top: .375rem; }
/* Phones and tablets: the node on top, a short stem down to the trunk */
@media (max-width: 991px) {
    .wg-rel-map__node::after {
        content: "";
        position: absolute;
        left: calc(var(--rel-gap) * .5);
        top: 100%;
        width: 1px;
        height: var(--s-6);
        background: var(--rule-strong);
    }
    .wg-rel-map__groups { margin-left: calc(var(--rel-gap) * .5); padding-left: calc(var(--rel-gap) * .5 + .75rem); }
    .wg-rel::before { left: calc((var(--rel-gap) * .5 + .75rem) * -1); }
    .wg-rel:first-child::before { top: calc(var(--s-6) * -1); }
    .wg-rel:first-child:last-child::before { top: calc(var(--s-6) * -1); height: calc(var(--s-6) + var(--rel-y)); }
    .wg-rel::after { left: calc((var(--rel-gap) * .5 + .75rem) * -1); width: calc(var(--rel-gap) * .5); }
}
/* Desktop: the node left (sticky), the groups right, each a head beside its items */
@media (min-width: 992px) {
    .wg-rel-map { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
    .wg-rel-map__node { position: sticky; top: calc(var(--header-h) + var(--s-6)); }
    .wg-rel-map__node::after {
        content: "";
        position: absolute;
        left: 100%;
        top: calc(var(--s-5) + var(--rel-y));
        width: var(--rel-gap);
        height: 1px;
        background: var(--rule-strong);
    }
    /* The groups start one panel padding down, so the first title meets the node's line */
    .wg-rel-map__groups { padding: var(--s-5) 0 0 calc(var(--rel-gap) * 2); }
    .wg-rel:first-child::before { top: var(--rel-y); }
    .wg-rel:first-child:last-child::before { display: none; }
    /* The list spans both rows; the second row takes its extra height, so the hint stays under the title */
    .wg-rel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: 0 var(--s-6); align-items: start; }
    .wg-rel__hint { margin-bottom: 0; }
    .wg-rel__list { grid-column: 2; grid-row: 1 / span 2; }
}

/* 28. Pathway: a named order of services as numbered stations on one rail. Up to five stations run in
   a row from 992px (.wg-path--row, --steps sets the columns); longer orders and phones read top down.
   The current service's node is the page's one orange signal.
   ----------------------------------------------------------------------- */
.wg-path {
    --path-node: 11px;
    --path-gap: var(--s-6);
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.wg-path > li {
    position: relative;
    min-width: 0;
    padding: 0 0 var(--path-gap) calc(var(--path-node) + var(--s-5));
}
.wg-path > li:last-child { padding-bottom: 0; }
/* The node */
.wg-path > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3rem;
    width: var(--path-node);
    height: var(--path-node);
    border: 1px solid var(--fg-strong);
    border-radius: var(--radius-sm);
    background: transparent;
}
/* The rail to the next node */
.wg-path > li::after {
    content: "";
    position: absolute;
    left: calc(var(--path-node) / 2 - .5px);
    top: calc(.3rem + var(--path-node) + .375rem);
    bottom: .375rem;
    width: 1px;
    background: var(--rule-strong);
}
.wg-path > li:last-child::after { display: none; }
.wg-path > li[aria-current="step"]::before { border-color: var(--c-orange); background: var(--c-orange); }
.wg-path__num {
    display: block;
    margin: 0 0 .5rem;
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    line-height: 1.6;
}
.wg-path .wg-label { display: block; margin: 0 0 .25rem; }
.wg-path :is(h2, h3, h4) {
    margin: 0;
    font-size: var(--fs-h4);
    font-weight: 620;
    line-height: 1.3;
    letter-spacing: -.01em;
}
.wg-path :is(h2, h3, h4) a {
    color: var(--fg-strong);
    text-decoration: underline;
    text-decoration-color: var(--rule-strong);
    text-decoration-thickness: 1px;
    text-underline-offset: .24em;
    transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.wg-path :is(h2, h3, h4) a:hover,
.wg-path :is(h2, h3, h4) a:focus-visible { color: var(--fg-strong); text-decoration-color: var(--accent-fg); }
.wg-path__here {
    margin: .5rem 0 0;
    color: var(--accent-fg);
    font-size: var(--fs-label);
    font-weight: 620;
    letter-spacing: var(--track-label);
}
@media (min-width: 992px) {
    .wg-path--row {
        grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
        gap: 0 var(--path-gap);
    }
    .wg-path--row > li { padding: calc(var(--path-node) + var(--s-5)) 0 0; }
    .wg-path--row > li::before { top: 0; }
    /* The station number rides on the rail, right of its node: "[] 01 -----" */
    .wg-path--row .wg-path__num {
        position: absolute;
        top: calc(var(--path-node) / 2);
        left: calc(var(--path-node) + .625rem);
        margin: 0;
        line-height: 1;
        transform: translateY(-50%);
    }
    .wg-path--row > li::after {
        left: calc(var(--path-node) + 3rem);
        right: calc(var(--path-gap) * -1 + .5rem);
        top: calc(var(--path-node) / 2 - .5px);
        bottom: auto;
        width: auto;
        height: 1px;
    }
    .wg-path--row :is(h2, h3, h4) { overflow-wrap: anywhere; }
}
/* Proposal path_blue (off): the current station also carries a raised graphite field */
:root[data-proposals~="path_blue"] .wg-steps--path > li[aria-current="step"] {
    background: linear-gradient(var(--c-graphite), var(--c-graphite)) no-repeat 0 0 / 100% 100%;
}

/* 29. Goals: the goal card's start line (home) and the goal block on /solutions/ (details.wg-goal inside
   .wg-faq). The summary is the goal and where to begin; the answer sets the goal's own words beside the
   map: where to start, what comes before and after, the packages that fit, each group a stop on one rail.
   A goal reached by its #goal-x link takes the selected state: a graphite surface and a 1px strong rule,
   its map's first stop the orange marker. Never an edge bar.
   ----------------------------------------------------------------------- */
.wg-goal-card__start { margin-top: auto; padding-top: .5rem; }

.wg-goal {
    --goal-pad: clamp(.875rem, .45rem + 1.4vw, 1.5rem);   /* never wider than the page gutter */
    position: relative;
    scroll-margin-top: calc(var(--header-h) + var(--s-6));
}
/* The targeted goal steps out into the gutter by its own padding, so its text keeps the column's edge */
.wg-goal:target {
    margin-inline: calc(var(--goal-pad) * -1);
    padding-inline: var(--goal-pad);
    border-radius: var(--radius);
    outline: 1px solid var(--rule-strong);
    outline-offset: -1px;
    background: var(--c-graphite);
}
.wg-goal > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .25rem var(--s-5);
    align-items: center;
}
.wg-goal > summary > :is(h2, h3, h4, h5) {
    grid-column: 1;
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}
.wg-goal > summary .wg-label {
    grid-column: 1;
    color: var(--fg-muted);
    font-size: var(--fs-small);
    font-weight: 450;
    letter-spacing: 0;
}
.wg-goal > summary::after { grid-column: 2; grid-row: 1 / span 2; }

.wg-goal .wg-faq__answer {
    display: grid;
    gap: var(--s-6);
    max-width: none;
    padding: var(--s-2) 0 var(--s-7);
}
.wg-goal__head > p { max-width: 36rem; margin: 0 0 var(--s-4); }
.wg-goal__head > p:first-child { color: var(--fg-strong); font-size: 1.125rem; line-height: 1.5; letter-spacing: -.006em; }
.wg-goal__head > p:last-of-type { margin-bottom: var(--s-5); }
.wg-goal__label {
    display: block;
    margin-bottom: .125rem;
    color: var(--fg-muted);
    font-size: var(--fs-label);
    font-weight: 620;
    letter-spacing: .02em;
}
.wg-goal__links { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); }

/* The map: goal to services in order, each group a stop on one rail; the first stop carries the accent */
.wg-goal__map { display: grid; gap: 0; margin: 0; }
.wg-goal__map > div {
    position: relative;
    padding: 0 0 var(--s-6) var(--s-5);
    border-left: 1px solid var(--rule-strong);
}
.wg-goal__map > div:last-child { padding-bottom: 0; border-left-color: transparent; }
.wg-goal__map > div::before {
    content: "";
    position: absolute;
    left: -4px;
    top: .3rem;
    width: 7px;
    height: 7px;
    border: 1px solid var(--fg-strong);
    border-radius: var(--radius-sm);
    background: var(--surface-1);
}
.wg-goal__map > div:first-child::before { border-color: var(--accent-fg); background: var(--accent-fg); }
.wg-goal__map dt {
    margin-bottom: .625rem;
    color: var(--fg-muted);
    font-size: var(--fs-label);
    font-weight: 620;
    letter-spacing: .02em;
    line-height: 1.5;
}
.wg-goal__map dd { margin: 0 0 var(--s-4); }
.wg-goal__map dd:last-child { margin-bottom: 0; }
.wg-goal__map dd > a,
.wg-goal__then a {
    color: var(--fg-strong);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--rule-strong) 60%, transparent);
    text-decoration-thickness: 1px;
    text-underline-offset: .24em;
    transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.wg-goal__map dd > a:hover,
.wg-goal__then a:hover,
.wg-goal__map dd > a:focus-visible,
.wg-goal__then a:focus-visible { color: var(--fg-strong); text-decoration-color: var(--accent-fg); }
.wg-goal__map dd p { max-width: 36rem; margin: .2rem 0 0; color: var(--fg); font-size: var(--fs-small); line-height: 1.55; }
/* A "when" line opens its entry as plain muted text: a condition, not a label */
.wg-goal__map dd p.wg-label {
    display: block;
    margin: 0 0 .15rem;
    color: var(--fg-muted);
    font-size: var(--fs-small);
    font-weight: 450;
    letter-spacing: 0;
}
.wg-goal__map dd .wg-add { margin-top: .125rem; }
.wg-goal__then { display: flex; flex-wrap: wrap; gap: .375rem .5rem; margin: 0; padding: 0; list-style: none; }
.wg-goal__then li:not(:last-child)::after { content: ","; content: "," / ""; }
/* A "when" line ends its item: its own row, no comma after it */
.wg-goal__then li:has(.wg-goal__when) { flex-basis: 100%; }
.wg-goal__then li:has(.wg-goal__when)::after { content: none; }
.wg-goal__when { color: var(--fg-muted); font-size: var(--fs-small); }
@media (min-width: 992px) {
    .wg-goal .wg-faq__answer { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6) var(--s-8); }
}

/* 30. Package card extras: the phase count is data, so it reads in mono
   ----------------------------------------------------------------------- */
.wg-card--package .wg-meta {
    margin: 0;
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
}

/* 31. Entry callout: moved whole to 40-widgets.css (§19)
   ----------------------------------------------------------------------- */

/* 32. Scope lists: not included, limits, before you start. Each is a titled list over a hairline; the
   marks (a bar, an "i", the check) are drawn by the checklist itself (30-components.css §12).
   ----------------------------------------------------------------------- */
.wg-scope { display: grid; gap: var(--s-7) var(--s-6); }
.wg-scope__list { min-width: 0; }
.wg-scope__list :is(h2, h3, h4) {
    margin-bottom: var(--s-4);
    padding-bottom: var(--s-3);
    border-bottom: 1px solid var(--rule);
}
@media (min-width: 768px) {
    .wg-scope--split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

/* 33. Capabilities (offered on request, no page of their own): a ruled index, not boxes
   ----------------------------------------------------------------------- */
.wg-capabilities { gap: 0 var(--gap); }
.wg-capabilities > .wg-box {
    gap: .5rem;
    height: auto;
    padding: var(--s-5) 0 var(--s-6);
    border: 0;
    border-top: 1px solid var(--rule-strong);
    border-radius: 0;
    background: none;
    box-shadow: none;
}
.wg-capabilities > .wg-box::after { content: none; }
.wg-capabilities .wg-box__icon { display: none; }
.wg-capabilities :is(h3, h4) {
    margin: 0;
    color: var(--fg-strong);
    font-size: var(--fs-h4);
    font-weight: 620;
    line-height: 1.3;
    letter-spacing: -.01em;
    text-transform: none;
}
.wg-capabilities p { margin: 0; color: var(--fg); font-size: var(--fs-small); line-height: 1.55; }
.wg-capabilities p.wg-meta { margin: 0; color: var(--fg-muted); font-size: var(--fs-label); font-weight: 500; }
.wg-capabilities .wg-box__foot { margin-top: auto; padding-top: .5rem; }

/* 34. Guide page head (guide.php): the reading time in mono over the article. Guide cards are the shared
   .wg-card (guide-card.php prints .wg-card--guide), so they need nothing here.
   ----------------------------------------------------------------------- */
.wg-guide__tag {
    margin: 0;
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
    line-height: 1.4;
}
.wg-guide__head { margin: 0 0 var(--s-6); }
.wg-guide__head .wg-guide__tag { margin-bottom: .5rem; }

/* 35. Finder (/services/ console, the 404 page, the search overlay) and the Show filter
   A large type-in line on a 1px rule, a visible label, the live count in mono. Works on light grounds
   and inside dark containers through the tokens.
   ----------------------------------------------------------------------- */
.wg-finder { display: grid; gap: var(--s-3); min-width: 0; }
.wg-finder__label {
    color: var(--fg-strong);
    font-size: var(--fs-h3);
    font-weight: 620;
    line-height: 1.25;
    letter-spacing: -.014em;
}
.wg-finder__field { position: relative; }
.wg-finder__input {
    width: 100%;
    min-height: 4rem;
    padding: .5rem 3.5rem .625rem 0;
    border: 0;
    border-bottom: 1px solid var(--rule-strong);
    border-radius: 0;
    background: transparent;
    color: var(--fg-strong);
    font: inherit;
    font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2.25rem);
    font-weight: 450;
    line-height: 1.2;
    letter-spacing: -.02em;
    caret-color: var(--c-orange);
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.wg-finder__input::placeholder { color: var(--fg-muted); opacity: 1; }
.wg-finder__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.wg-finder__input:hover { border-bottom-color: var(--fg); }
/* The focus mark is the line itself: it turns strong and gains a 2px accent rule under it */
.wg-finder__input:focus-visible {
    outline: none;
    border-bottom-color: var(--fg-strong);
    box-shadow: 0 2px 0 0 var(--focus);
}
.wg-finder__submit {
    position: absolute;
    top: 50%;
    right: 0;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    background: none;
    color: var(--fg);
    font-size: 1.5rem;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.wg-finder__submit:hover,
.wg-finder__submit:focus-visible { color: var(--fg-strong); background: color-mix(in srgb, var(--fg-strong) 6%, transparent); }
.wg-finder__count {
    min-height: 1.5em; /* the live region stays rendered while empty */
    margin: 0;
    color: var(--fg-muted);
    font-family: var(--font-mono);
    font-size: var(--fs-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
    line-height: 1.5;
}
@media (forced-colors: active) {
    .wg-finder__input { border-bottom: 1px solid CanvasText; }
    .wg-finder__input:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}

/* The search overlay's finder: the label steps back, the line stays large */
.wg-finder--dark .wg-finder__label {
    color: var(--fg-muted);
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: 0;
}

/* Show filter: quiet segmented options. The checked segment takes the selected state: a graphite field,
   a 1px strong rule, mist text and the 6px orange dot in its left padding (so the label never moves). */
.wg-filter {
    --seg-on: var(--c-graphite);
    --seg-hover: color-mix(in srgb, var(--fg-strong) 6%, transparent);
    min-width: 0;
    margin: var(--s-2) 0 0;
    padding: 0;
    border: 0;
}
.wg-filter__legend {
    float: left;
    margin: 0 var(--s-4) 0 0;
    padding: 0;
    color: var(--fg-muted);
    font-size: var(--fs-small);
    font-weight: 600;
    line-height: calc(40px + 8px); /* level with the segments: 40px plus the group's padding and border */
}
.wg-filter__options {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 3px;
    max-width: 100%;
    padding: 3px;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
}
.wg-filter__option {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 24px;
    min-height: 40px;
    margin: 0;
    cursor: pointer;
}
.wg-filter__option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.wg-filter__option span {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: .4rem .9rem .4rem 1rem; /* the three options still share one row at 390px */
    border-radius: var(--radius-sm);
    color: var(--fg);
    font-size: var(--fs-small);
    font-weight: 560;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.wg-filter__option span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--c-orange);
    opacity: 0;
    transform: scale(.4);
    transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur) var(--ease-out);
}
.wg-filter__option:hover span { background: var(--seg-hover); color: var(--fg-strong); }
.wg-filter__option input:checked + span {
    background: var(--seg-on);
    color: var(--fg-strong);
    box-shadow: inset 0 0 0 1px var(--rule-strong);
}
.wg-filter__option input:checked + span::before { opacity: 1; transform: none; }
.wg-filter__option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Forced colors drop the fills: the selected option needs its own mark, and so does the selected tab */
@media (forced-colors: active) {
    .wg-filter__option input:checked + span { outline: 2px solid Highlight; outline-offset: -2px; text-decoration: underline; }
    .wg-tab[aria-selected="true"] { outline: 3px solid Highlight; outline-offset: -3px; }
}

/* ---- 75-layout-article.css ---- */
/* 36. Layout and article
   .wg-layout: the reading column plus an aside (service, guide and work pages). From 992px the two sit side
   by side and the aside stretches to the column's height, so a .wg-sticky block inside it can hold while
   the article runs. .wg-article sets the photo crop and the heading rhythm; .wg-gaping, .wg-outcome and
   .wg-help are the article's own blocks.
   ----------------------------------------------------------------------- */
.wg-layout {
    display: grid;
    gap: var(--s-8) var(--gap);
}
@media (min-width: 992px) {
    .wg-layout {
        grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
        column-gap: clamp(2.5rem, .5rem + 4.4vw, 5.5rem);
    }
}
.wg-layout__main { min-width: 0; }
.wg-layout__side { min-width: 0; }
@media (min-width: 768px) and (max-width: 991px) {
    .wg-layout__side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--gap);
        align-items: start;
    }
    .wg-layout__side .wg-widget + .wg-widget { margin-top: 0; }
}

/* Article: the photo cropped hard into the column, then sections on one rhythm */
.wg-article__photo {
    position: relative;
    margin: 0 0 clamp(2rem, 1.4rem + 2.2vw, 3.5rem);
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--c-coal);
}
.wg-article__photo img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
@media (min-width: 992px) {
    .wg-article__photo img { aspect-ratio: 2 / 1; }
}
.wg-article > section + section { margin-top: clamp(3rem, 2.2rem + 3vw, 5rem); }
.wg-article h2 {
    margin: 0 0 .6em;
    font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -.022em;
    scroll-margin-top: calc(72px + var(--s-6));
}
.wg-article h3 { scroll-margin-top: calc(72px + var(--s-6)); }
.wg-article > section > p { margin: 0 0 1.15em; }
.wg-article > section > p:last-child { margin-bottom: 0; }
.wg-article > section > .wg-lead { margin-bottom: 1em; }

/* Photo beside a short list (service pages) */
.wg-gaping {
    display: grid;
    gap: var(--s-6) var(--gap);
    align-items: start;
    padding-top: var(--s-5);
}
@media (min-width: 768px) {
    .wg-gaping { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.wg-gaping__media {
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: var(--c-coal);
}
.wg-gaping__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.wg-gaping h3 {
    margin: 0 0 1rem;
    font-size: var(--fs-h3);
    font-weight: 620;
    line-height: 1.25;
    letter-spacing: -.014em;
}

/* Outcomes: short headed blocks over hairlines */
.wg-outcome {
    padding-block: 1.25rem;
    border-top: 1px solid var(--rule);
}
.wg-outcome:last-child { padding-bottom: 0; }
.wg-outcome :is(h3, h4) {
    margin: 0 0 .375rem;
    font-size: var(--fs-h4);
    font-weight: 620;
    line-height: 1.3;
    letter-spacing: -.01em;
}
.wg-outcome p { margin: 0; color: var(--fg); }

/* Help box (partials/help-box.php): the emphasised widget that ends a sidebar */
.wg-help .wg-widget__title {
    margin-bottom: .625rem;
    font-size: var(--fs-h4);
    font-weight: 620;
    line-height: 1.3;
}
.wg-help p {
    margin: 0 0 1rem;
    color: var(--fg);
    font-size: var(--fs-small);
    line-height: 1.55;
}
.wg-help__fact {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
}
.wg-help p.wg-help__fact { color: var(--fg-strong); }
.wg-help__fact .wg-icon {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: .12em;
    color: var(--fg-muted);
}
.wg-help__actions {
    display: grid;
    gap: .875rem;
    justify-items: start;
    margin-top: 1.25rem;
}
.wg-help .wg-help__label {
    margin: 1.5rem 0 .25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rule);
    color: var(--fg-muted);
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: .02em;
}
.wg-help__mail {
    display: inline-block;
    color: var(--fg-strong);
    font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.01em;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-color: var(--accent-fg);
    text-decoration-thickness: 1px;
    text-underline-offset: .25em;
}
.wg-help__mail:hover,
.wg-help__mail:focus-visible { color: var(--fg-strong); text-decoration-thickness: 2px; }

/* ---- 80-proposals-work.css ---- */
/* 37. Proposal-only switches (page-system.md §4.3 (b)): each rule applies only while its key
   is on in DESIGN_PROPOSALS (all off in the shipping state). Page CSS can hook the same
   :root[data-proposals~="key"].
   ----------------------------------------------------------------------- */
@media (min-width: 1100px) {
    :root[data-proposals~="drop_wide"] .wg-drop--services .wg-drop__inner { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    :root[data-proposals~="lone_last"] .wg-grid--3 > :last-child:nth-child(3n + 1) { grid-column: 2; }
}
@media (min-width: 576px) and (max-width: 1199px) {
    :root[data-proposals~="flips_3up"] .wg-flips--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    :root[data-proposals~="flips_3up"] .wg-flips--6 > li { grid-column: auto; }
}
:root[data-proposals~="plan_toggle_hidden"]:not(.has-plan) .wg-plan-toggle { display: none; }
/* The process photo's caption on a raised graphite field, mist text (never light text on orange) */
:root[data-proposals~="note_blue"] .hiw-feature__note {
    padding: var(--s-3) var(--s-4);
    border-radius: var(--radius-sm);
    background: var(--c-graphite);
    color: var(--c-mist);
}

/* 38. Work (prints only once real, permissioned work exists, page-system.md §3.15)
   A photo tile: the name and category always shown (a project's name never depends on a pointer) on a
   obsidian veil that rises from the bottom edge; hover deepens the veil and eases the photo in 3%.
   Grid items take z-index with no position of their own, so the title link's ::before covers the tile.
   ----------------------------------------------------------------------- */
.wg-folio {
    position: relative;
    isolation: isolate;
    display: grid;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--c-coal);
    color: var(--c-silver);
}
.wg-folio > *,
.wg-folio img { grid-area: 1 / 1; }   /* the img too: <picture> is display: contents (§2) */
.wg-folio img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 600ms var(--ease-out);
}
.wg-folio::before,
.wg-folio::after {
    content: "";
    grid-area: 1 / 1;
    z-index: 1;
    pointer-events: none;
}
/* The veil: obsidian from the bottom edge, where the text sits */
.wg-folio::before {
    background: linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--c-obsidian) 62%, transparent) 62%, color-mix(in srgb, var(--c-obsidian) 94%, transparent) 100%);
}
/* Hover and focus: the whole tile deepens one step, by opacity only */
.wg-folio::after {
    background: color-mix(in srgb, var(--c-obsidian) 42%, transparent);
    opacity: 0;
    transition: opacity var(--dur) var(--ease-out);
}
.wg-folio__text {
    z-index: 2;
    align-self: end;
    padding: var(--card-pad, 1.5rem);
}
.wg-folio .wg-label { display: block; margin: .375rem 0 0; color: var(--c-ash); }
.wg-folio :is(h3, h4) {
    margin: 0;
    color: var(--c-mist);
    font-size: var(--fs-card, var(--fs-h3));
    font-weight: 620;
    line-height: 1.25;
    letter-spacing: -.014em;
    text-transform: none;
}
.wg-folio a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
    transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
.wg-folio a:hover { color: var(--c-mist); }
.wg-folio a::before { content: ""; position: absolute; inset: 0; z-index: 3; }
.wg-folio a:focus-visible { outline: none; text-decoration-color: var(--accent-fg); }
.wg-folio:has(a:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.wg-folio:focus-within::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
    .wg-folio:hover img { transform: scale(1.03); }
    .wg-folio:hover::after { opacity: 1; }
    .wg-folio:hover a { text-decoration-color: var(--accent-fg); }
}
@media (prefers-reduced-motion: reduce) {
    .wg-folio:hover img { transform: none; }
}

/* The work filter as links, for a filter that works with no script: the same quiet segments as the
   Show filter on /services/ (70-catalog.css §35), the current option in the selected state */
.wg-filter--links {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 var(--s-7);
    padding: 3px;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
}
.wg-filter--links .wg-filter__option { text-decoration: none; }
.wg-filter--links .wg-filter__option[aria-current="true"] span {
    background: var(--seg-on);
    color: var(--fg-strong);
    box-shadow: inset 0 0 0 1px var(--rule-strong);
}
.wg-filter--links .wg-filter__option[aria-current="true"] span::before { opacity: 1; transform: none; }
.wg-filter--links .wg-filter__option:focus-visible { outline: none; }
.wg-filter--links .wg-filter__option:focus-visible span { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (forced-colors: active) {
    .wg-filter--links .wg-filter__option[aria-current="true"] span { outline: 2px solid Highlight; outline-offset: -2px; text-decoration: underline; }
}
