/*
 * Sanctus Solutions Site, 0.2.0. One dark theme in the crest palette (burgundy, plum, gold), wide
 * full-bleed sections, glow and grid backgrounds, Inter (self-hosted, OFL), glass cards with a cursor
 * spotlight, an animated SVG system diagram and scroll reveals. Every animation stops under
 * prefers-reduced-motion. The header and footer are WP Custom Layout's (its "Sanctus Solutions 2027"
 * preset matches this file).
 */

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

/* Crest palette. Body text and links pass WCAG AA on every background below. */
:root {
	--sso-bg: #0c090e;
	--sso-bg-2: #110c14;
	--sso-surface: rgb(var(--sso-tint) / 0.035);
	--sso-surface-solid: #17111b;
	--sso-line: rgb(var(--sso-tint) / 0.09);
	--sso-line-strong: rgb(var(--sso-tint) / 0.16);
	--sso-ink: #f4eff2;
	--sso-ink-soft: #b8adb6;
	--sso-ink-dim: #8f838e;
	--sso-burgundy: #8c3d43;
	--sso-burgundy-hi: #a84a52;
	--sso-rose: #e3989d;
	--sso-plum: #623b65;
	--sso-plum-hi: #8f5a94;
	--sso-gold: #f0ba08;
	--sso-gold-soft: #f6d36b;
	--sso-focus: #f0ba08;
	/* Semantic tokens: what a theme redefines (see "Themes" at the end of this file). */
	--sso-tint: 255 255 255;
	--sso-surface-card: rgb(var(--sso-tint) / 0.035);
	--sso-node-bg: rgb(23 17 27 / 0.92);
	--sso-link: #e3989d;
	--sso-link-hover: #f6d36b;
	--sso-accent-text: #f6d36b;
	--sso-grad: linear-gradient(100deg, #f6d36b 0%, #e3989d 45%, #c9a2cc 100%);
	--sso-num-grad: linear-gradient(180deg, #f6d36b, rgb(240 186 8 / 0.15));
	--sso-btn-1: #a84a52;
	--sso-btn-2: #8c3d43;
	--sso-btn-text: #ffffff;
	--sso-btn-glow: rgb(140 61 67 / 0.8);
	--sso-glow-1: rgb(98 59 101 / 0.55);
	--sso-glow-2: rgb(140 61 67 / 0.32);
	--sso-glow-3: rgb(240 186 8 / 0.07);
	--sso-band-bg: radial-gradient(60% 120% at 85% 0%, rgb(143 90 148 / 0.55), transparent 60%), radial-gradient(50% 120% at 0% 100%, rgb(140 61 67 / 0.5), transparent 60%), #1c1220;
	--sso-chip: linear-gradient(145deg, rgb(98 59 101 / 0.6), rgb(140 61 67 / 0.35));
	--sso-spot: rgb(240 186 8 / 0.10);
	--sso-status-bg: rgb(240 186 8 / 0.1);
	--sso-status-border: rgb(240 186 8 / 0.25);
	--sso-flow-1: #f6d36b;
	--sso-flow-2: #e3989d;
	--sso-core-1: #a84a52;
	--sso-core-2: #623b65;
	--sso-core-3: #2a1a2e;
	--sso-tile-bg: rgb(240 186 8 / 0.08);
	--sso-tile-bg-hi: rgb(240 186 8 / 0.18);
	--sso-tile-line: rgb(240 186 8 / 0.24);
	--sso-tile-ink: #f6d36b;
	--sso-node-hover: #f0ba08;
	--sso-crest-shadow: rgb(0 0 0 / 0.5);
	--sso-select-bg: rgb(240 186 8 / 0.28);
	--sso-select-ink: #ffffff;
	--sso-radius: 14px;
	--sso-radius-lg: 22px;
	--sso-wrap: 1320px;
	--sso-wrap-wide: 1480px;
	--sso-gutter: clamp(20px, 5vw, 72px);
	--sso-space: clamp(80px, 11vw, 160px);
	--sso-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--sso-ease: cubic-bezier(0.22, 1, 0.36, 1);
	/* Arrows drawn as masks in the text colour (0.6.4): the self-hosted Inter is a Latin subset without
	   arrow glyphs, so text arrows fell back to whatever system font had them. */
	--sso-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--sso-i-out: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
	color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

body.sso-site {
	margin: 0;
	background: var(--sso-bg);
	color: var(--sso-ink);
	font: 400 1.0625rem/1.65 var(--sso-font);
	font-feature-settings: "cv11", "ss01", "ss03";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.sso a { color: var(--sso-link); text-decoration-color: color-mix(in srgb, var(--sso-link) 40%, transparent); text-underline-offset: 0.2em; transition: color .2s, text-decoration-color .2s; }
.sso a:hover { color: var(--sso-link-hover); text-decoration-color: currentColor; }
/* Focus rings everywhere (outlines follow each element's own corners; no radius here, so round
   buttons in WPCL's header stay round). Images: page content only, never WPCL's logos. */
.sso-site :focus-visible { outline: 2px solid var(--sso-focus); outline-offset: 3px; }
.sso img { max-width: 100%; height: auto; }
.sso-site ::selection { background: var(--sso-select-bg); color: var(--sso-select-ink); }

main.sso { position: relative; overflow-x: clip; }
main.sso:focus { outline: none; }

.sso-wrap { width: 100%; max-width: calc(var(--sso-wrap) + 2 * var(--sso-gutter)); margin: 0 auto; padding: 0 var(--sso-gutter); }
.sso-wrap--wide { max-width: calc(var(--sso-wrap-wide) + 2 * var(--sso-gutter)); }

.sso-skip { position: absolute; left: -9999px; top: 0; }
.sso-skip:focus { left: 16px; top: 16px; z-index: 100000; background: var(--sso-surface-solid); color: var(--sso-ink); padding: 10px 14px; border-radius: 8px; } /* Above WPCL's sticky header (999). */

/* Type */
.sso h1, .sso h2, .sso h3 { margin: 0; color: var(--sso-ink); letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; font-weight: 700; }
.sso h3 { letter-spacing: -0.02em; line-height: 1.2; }
.sso p { text-wrap: pretty; }
/* The rule sits on the first line's baseline, raised to the middle of the capitals, so it stays beside the
   first line when the eyebrow wraps on a phone (centring put it between the lines). */
.sso-eyebrow { display: inline-flex; align-items: baseline; gap: 10px; margin: 0 0 20px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sso-accent-text); }
.sso-eyebrow::before { content: ""; flex: none; width: 22px; height: 1px; transform: translateY(-0.365em); background: linear-gradient(90deg, var(--sso-gold), transparent); }
.sso-gradient-text { background: var(--sso-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.sso-buttons { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 36px; }
.sso-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; text-decoration: none !important; border: 1px solid transparent; transition: transform .25s var(--sso-ease), box-shadow .25s var(--sso-ease), background-color .2s, border-color .2s, color .2s; }
.sso-btn--primary { background: linear-gradient(180deg, var(--sso-btn-1), var(--sso-btn-2)); color: var(--sso-btn-text) !important; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 10px 30px -10px var(--sso-btn-glow); }
.sso-btn--primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 16px 40px -12px var(--sso-btn-glow); }
.sso-btn--outline { border-color: var(--sso-line-strong); color: var(--sso-ink) !important; background: rgb(var(--sso-tint) / 0.02); backdrop-filter: blur(8px); }
.sso-btn--outline:hover { border-color: rgb(240 186 8 / 0.5); background: rgb(240 186 8 / 0.06); }
.sso-btn--link { padding: 0; min-height: 0; border-radius: 0; justify-content: flex-start; text-align: left; color: var(--sso-ink-soft) !important; }
.sso-btn--link::after { content: ""; flex: none; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--sso-i-arrow) center / contain no-repeat; mask: var(--sso-i-arrow) center / contain no-repeat; transition: transform .25s var(--sso-ease); }
.sso-btn--link:hover { color: var(--sso-link-hover) !important; }
.sso-btn--link:hover::after { transform: translateX(3px); }
.sso-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.sso-arrow .sso-icon { width: 18px; height: 18px; transition: transform .25s var(--sso-ease); }
.sso-arrow:hover .sso-icon { transform: translateX(3px); }

/* Backgrounds: grid texture and glows, used by the hero, bands and the CTA. */
.sso-bg-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(var(--sso-tint) / 0.045) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--sso-tint) / 0.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.sso-bg-glow { position: absolute; inset: 0; pointer-events: none; background:
	radial-gradient(42% 46% at 78% 18%, var(--sso-glow-1), transparent 70%),
	radial-gradient(36% 40% at 12% 78%, var(--sso-glow-2), transparent 70%),
	radial-gradient(24% 26% at 58% 62%, var(--sso-glow-3), transparent 70%); }
.sso-bg-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 160px; pointer-events: none; background: linear-gradient(transparent, var(--sso-bg)); }

/* Hero */
.sso-hero { position: relative; isolation: isolate; padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 8vw, 112px); }
.sso-hero > .sso-bg-grid, .sso-hero > .sso-bg-glow, .sso-hero > .sso-bg-fade { z-index: -1; }
.sso-hero__grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
.sso-hero--split .sso-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.sso-hero__title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); max-width: 16ch; }
.sso-hero--home { min-height: min(92vh, 980px); display: flex; align-items: center; }
.sso-hero--home > .sso-wrap { width: 100%; }
.sso-hero--home .sso-hero__title { font-size: clamp(3rem, 7vw, 6.4rem); max-width: 13ch; letter-spacing: -0.045em; line-height: 0.98; }
.sso-hero__intro { margin: 28px 0 0; font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.6; color: var(--sso-ink-soft); max-width: 58ch; }
@media (max-width: 960px) { .sso-hero--split .sso-hero__grid { grid-template-columns: 1fr; } .sso-hero--home { min-height: 0; } }

/* Animated system diagram: one diagram in two layouts. Wide rings the nodes round the core; tall
   (narrow columns and phones) puts the core on top and the nodes in a grid down a spine. The hero's
   side column shows whichever suits its own width, so labels stay readable at every size. */
.sso-hero__aside { container-type: inline-size; }
.sso-diagram { display: block; width: 100%; height: auto; margin-inline: auto; overflow: visible; filter: drop-shadow(0 30px 60px rgb(0 0 0 / 0.45)); }
.sso-diagram--wide { max-width: 640px; }
.sso-diagram--tall { display: none; max-width: 420px; }
@container (max-width: 459px) {
	.sso-diagram--wide { display: none; }
	.sso-diagram--tall { display: block; }
}
.sso-diagram__orbit { fill: none; stroke: rgb(var(--sso-tint) / 0.08); stroke-dasharray: 2 8; transform-box: fill-box; transform-origin: center; animation: sso-spin 60s linear infinite; }
.sso-diagram__orbit--2 { stroke: rgb(240 186 8 / 0.14); stroke-dasharray: 1 14; animation-duration: 90s; animation-direction: reverse; }
.sso-diagram__link { fill: none; stroke: rgb(var(--sso-tint) / 0.12); stroke-width: 1.2; }
.sso-diagram__trace { fill: none; stroke: var(--sso-node-hover); stroke-width: 1.6; stroke-linecap: round; opacity: 0; transition: opacity .3s var(--sso-ease); }
.sso-diagram__flow { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 18 220; animation: sso-flow 3.6s var(--sso-ease) infinite; }
.sso-diagram--tall .sso-diagram__flow { stroke-dasharray: 14 300; animation-name: sso-flow-tall; }
.sso-diagram__core-ring { fill: none; stroke: var(--sso-gold); stroke-width: 1.5; opacity: 0.9; }
.sso-diagram__pulse { fill: none; stroke: var(--sso-gold); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: sso-pulse 3.6s ease-out infinite; }
.sso-diagram__core-text { fill: #fff; font: 700 15px var(--sso-font); letter-spacing: -0.01em; }
.sso-diagram__core-sub { fill: var(--sso-gold-soft); font: 600 10px var(--sso-font); letter-spacing: 0.16em; }
/* Nodes are links to the solution pages. Hover or focus lights the node and its connection and dims
   the rest; the focus ring is the node's own border. */
.sso .sso-diagram__node { text-decoration: none; outline: none; }
.sso-diagram__node text, .sso-diagram__tile, .sso-diagram__icon { transition: opacity .3s var(--sso-ease), fill .25s; }
.sso-diagram__float { animation: sso-float 7s ease-in-out infinite; }
.sso-diagram--tall .sso-diagram__float { animation: none; } /* a grid stays in line */
.sso-diagram__box { fill: var(--sso-node-bg); stroke: rgb(var(--sso-tint) / 0.12); transition: stroke .25s, fill .25s; }
.sso-diagram__tile { fill: var(--sso-tile-bg); stroke: var(--sso-tile-line); transition: fill .25s; }
.sso-diagram__icon, .sso-diagram__go { fill: none; stroke: var(--sso-tile-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sso-diagram__go { stroke: var(--sso-ink-dim); stroke-width: 2.4; opacity: 0.7; transition: stroke .25s, opacity .25s; }
.sso-diagram__go path { transition: transform .3s var(--sso-ease); }
.sso-diagram__label { fill: var(--sso-ink); font: 600 14px var(--sso-font); letter-spacing: -0.01em; }
.sso-diagram__sub { fill: var(--sso-ink-dim); font: 500 11px var(--sso-font); letter-spacing: 0.02em; }
.sso-diagram--tall .sso-diagram__label { font-size: 13px; }
.sso-diagram--tall .sso-diagram__sub { font-size: 10.5px; }
.sso-diagram__node:is(:hover, :focus-visible) .sso-diagram__box { stroke: var(--sso-node-hover); }
.sso-diagram__node:focus-visible .sso-diagram__box { stroke-width: 2; }
.sso-diagram__node:is(:hover, :focus-visible) .sso-diagram__tile { fill: var(--sso-tile-bg-hi); }
.sso-diagram__node:is(:hover, :focus-visible) .sso-diagram__go { stroke: var(--sso-node-hover); opacity: 1; }
.sso-diagram__node:is(:hover, :focus-visible) .sso-diagram__go path { transform: translateX(3px); }
/* Dim the other nodes' contents, not their boxes, so the flows stay hidden behind them. */
.sso-diagram:has(.sso-diagram__node:is(:hover, :focus-visible)) .sso-diagram__node:not(:hover, :focus-visible) :is(text, .sso-diagram__tile, .sso-diagram__icon, .sso-diagram__go) { opacity: 0.4; }
.sso-diagram:has(.sso-diagram__node--0:is(:hover, :focus-visible)) .sso-diagram__trace--0,
.sso-diagram:has(.sso-diagram__node--1:is(:hover, :focus-visible)) .sso-diagram__trace--1,
.sso-diagram:has(.sso-diagram__node--2:is(:hover, :focus-visible)) .sso-diagram__trace--2,
.sso-diagram:has(.sso-diagram__node--3:is(:hover, :focus-visible)) .sso-diagram__trace--3,
.sso-diagram:has(.sso-diagram__node--4:is(:hover, :focus-visible)) .sso-diagram__trace--4,
.sso-diagram:has(.sso-diagram__node--5:is(:hover, :focus-visible)) .sso-diagram__trace--5 { opacity: 0.9; }
@keyframes sso-spin { to { transform: rotate(360deg); } }
@keyframes sso-flow { from { stroke-dashoffset: 238; } to { stroke-dashoffset: 0; } }
@keyframes sso-flow-tall { from { stroke-dashoffset: 314; } to { stroke-dashoffset: 0; } }
@keyframes sso-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes sso-pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.9); opacity: 0; } }

/* Platform marquee */
.sso-marquee { position: relative; border-block: 1px solid var(--sso-line); background: var(--sso-bg-2); padding: 26px 0; overflow: hidden; }
.sso-marquee__label { text-align: center; margin: 0 0 18px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sso-ink-dim); }
.sso-marquee__viewport { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.sso-marquee__track { display: flex; width: max-content; gap: 56px; animation: sso-marquee 38s linear infinite; }
.sso-marquee__track span { white-space: nowrap; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; color: color-mix(in srgb, var(--sso-ink) 60%, transparent); }
.sso-marquee__track span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 56px; vertical-align: 0.2em; background: rgb(240 186 8 / 0.55); transform: rotate(45deg); }
.sso-marquee:hover .sso-marquee__track, .sso-marquee.is-paused .sso-marquee__track { animation-play-state: paused; }
/* Pause button (added by the site script; WCAG 2.2.2): two bars, a triangle while paused. */
.sso-marquee__pause { position: absolute; top: 18px; right: max(var(--sso-gutter), calc((100% - var(--sso-wrap)) / 2)); display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--sso-line-strong); border-radius: 50%; background: var(--sso-bg-2); color: var(--sso-ink-soft); cursor: pointer; }
.sso-marquee__pause::before { content: ""; width: 10px; height: 10px; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.sso-marquee__pause[aria-pressed="true"]::before { background: currentColor; clip-path: polygon(15% 0, 100% 50%, 15% 100%); }
.sso-marquee__pause:hover { color: var(--sso-accent-text); border-color: var(--sso-accent-text); }
@keyframes sso-marquee { to { transform: translateX(-50%); } }

/* Sections */
.sso-section { position: relative; padding: var(--sso-space) 0; }
.sso-section--alt { background: linear-gradient(180deg, var(--sso-bg-2), var(--sso-bg)); }
.sso-section--alt::before, .sso-section--line::before { content: ""; position: absolute; top: 0; left: 50%; width: min(1100px, 90%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgb(240 186 8 / 0.35), rgb(143 90 148 / 0.35), transparent); }
.sso-section--ink { overflow: hidden; isolation: isolate; background: var(--sso-band-bg); color: #f4eff2; }
.sso-section--ink :is(h2, .sso-section__title) { color: #f4eff2; }
.sso-section__head { margin-bottom: clamp(44px, 6vw, 72px); max-width: 820px; }
.sso-section__head--center { margin-inline: auto; text-align: center; }
.sso-section__head--center .sso-eyebrow { justify-content: center; }
.sso-section__title { font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.sso-section__intro { margin: 20px 0 0; color: var(--sso-ink-soft); font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 62ch; }
.sso-section__head--center .sso-section__intro { margin-inline: auto; }

/* Cards: glass with a cursor spotlight (--mx/--my set by the site script). */
.sso-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.sso-cards--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.sso-cards--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.sso-cards--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.sso-cards--bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.sso-cards--bento > .sso-card { grid-column: span 2; }
.sso-cards--bento > .sso-card:nth-child(1), .sso-cards--bento > .sso-card:nth-child(2) { grid-column: span 3; min-height: 260px; }
/* Seven solutions: rows of 2 + 3 + 2. */
.sso-cards--bento > .sso-card:nth-child(6), .sso-cards--bento > .sso-card:nth-child(7) { grid-column: span 3; }
@media (max-width: 1020px) { .sso-cards--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sso-cards--bento > .sso-card, .sso-cards--bento > .sso-card:nth-child(n) { grid-column: span 1; min-height: 0; } .sso-cards--bento > .sso-card:last-child:nth-child(odd) { grid-column: span 2; } }
@media (max-width: 640px) { .sso-cards--bento { grid-template-columns: 1fr; } .sso-cards--bento > .sso-card:last-child:nth-child(odd) { grid-column: span 1; } }

.sso-card { position: relative; overflow: hidden; isolation: isolate; background: var(--sso-surface-card); border: 1px solid var(--sso-line); border-radius: var(--sso-radius-lg); padding: clamp(26px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 12px; transition: border-color .3s, transform .4s var(--sso-ease); }
.sso-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--sso-spot), transparent 45%); }
.sso-card:hover { border-color: var(--sso-line-strong); }
.sso-card:hover::before { opacity: 1; }
.sso-card--link:hover { transform: translateY(-3px); }
.sso-card__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: var(--sso-accent-text); background: var(--sso-chip); border: 1px solid rgb(var(--sso-tint) / 0.1); box-shadow: inset 0 1px 0 rgb(var(--sso-tint) / 0.08); margin-bottom: 8px; }
.sso-card__meta { margin: 0; font-size: 0.82rem; color: var(--sso-ink-dim); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sso-card__title { font-size: clamp(1.15rem, 1.4vw, 1.35rem); font-weight: 650; }
.sso-card__title a { color: var(--sso-ink) !important; text-decoration: none; }
.sso-card--link .sso-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sso-card--link .sso-card__title::after { content: ""; display: inline-block; width: 0.8em; height: 0.8em; margin-left: 8px; vertical-align: -0.04em; background: var(--sso-ink-dim); -webkit-mask: var(--sso-i-out) center / contain no-repeat; mask: var(--sso-i-out) center / contain no-repeat; transition: background-color .2s, transform .3s var(--sso-ease); }
.sso-card--link:hover .sso-card__title::after { background: var(--sso-accent-text); transform: translate(2px, -2px); }
.sso-card__text { margin: 0; color: var(--sso-ink-soft); }

.sso-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; background: var(--sso-status-bg); color: var(--sso-accent-text); border: 1px solid var(--sso-status-border); }
.sso-status--in-development, .sso-status--contracted, .sso-status--emerging, .sso-status--concept, .sso-status--archived { background: rgb(var(--sso-tint) / 0.04); color: var(--sso-ink-soft); border: 1px dashed var(--sso-line-strong); }
.sso-tags { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sso-tags li { font-size: 0.78rem; padding: 4px 10px; border-radius: 999px; background: rgb(var(--sso-tint) / 0.04); border: 1px solid var(--sso-line); color: var(--sso-ink-soft); }
.sso-project .sso-arrow { margin-top: auto; padding-top: 10px; }
.sso-project__foot .sso-arrow { margin-top: 0; padding-top: 0; }

/* Lists */
.sso-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; }
.sso-checks--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.sso-checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--sso-line); }
.sso-checks .sso-icon { flex: none; color: var(--sso-accent-text); margin-top: 2px; }

.sso-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); counter-reset: step; }
.sso-step { position: relative; counter-increment: step; padding: 30px; border-radius: var(--sso-radius-lg); border: 1px solid var(--sso-line); background: var(--sso-surface-card); }
.sso-step::before { content: counter(step, decimal-leading-zero); display: block; font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-bottom: 22px; background: var(--sso-num-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sso-step__title { font-size: 1.25rem; margin-bottom: 8px !important; }
.sso-step p { margin: 0; color: var(--sso-ink-soft); }

/* Business Foundation layers */
.sso-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sso-layers--row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .sso-layers--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sso-layers--row { grid-template-columns: 1fr; } }
.sso-layer { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 28px; background: var(--sso-surface-card); border: 1px solid var(--sso-line); border-radius: var(--sso-radius-lg); }
.sso-layers--row .sso-layer { grid-template-columns: 1fr; gap: 14px; }
.sso-layer__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #1d1620; background: linear-gradient(160deg, var(--sso-gold-soft), var(--sso-gold)); font-weight: 700; box-shadow: 0 0 0 6px rgb(240 186 8 / 0.08); }
.sso-layer__title { font-size: 1.2rem; }
.sso-layer p { margin: 6px 0 10px; color: var(--sso-ink-soft); }

.sso-price { font-size: 1.1rem; margin: 0 0 8px; color: var(--sso-ink-soft); }
.sso-price strong { font-size: 2rem; color: var(--sso-ink); letter-spacing: -0.03em; }
.sso-price__note { display: block; margin-top: 6px; color: var(--sso-ink-soft); font-size: 1rem; } /* 0.12.0: what a bundle's price includes. */
.sso-price--hero { margin: 0; }

.sso-details { margin: 0; display: grid; gap: 18px; background: var(--sso-surface-card); border: 1px solid var(--sso-line); border-radius: var(--sso-radius-lg); padding: 30px; }
.sso-details dt { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sso-ink-dim); }
.sso-details dd { margin: 4px 0 0; font-size: 1.15rem; }

/* Breadcrumbs */
.sso-crumbs { position: relative; z-index: 1; padding-top: 28px; font-size: 0.88rem; color: var(--sso-ink-dim); }
.sso-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sso-crumbs a { color: var(--sso-ink-soft); text-decoration: none; }
.sso-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--sso-line-strong); }
.sso-crumbs + .sso-hero { padding-top: clamp(36px, 5vw, 72px); }

/* Call-to-action band */
.sso-cta { text-align: center; }
.sso-cta .sso-bg-grid { z-index: -1; mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000 20%, transparent 75%); }
.sso-cta__inner { display: flex; flex-direction: column; align-items: center; }
.sso-cta .sso-section__title { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 18ch; }
.sso-cta p { margin: 18px 0 0; color: rgb(244 239 242 / 0.8); max-width: 52ch; font-size: 1.15rem; }
.sso-cta .sso-buttons { justify-content: center; }
.sso-section--ink .sso-btn--primary { background: linear-gradient(180deg, var(--sso-gold-soft), var(--sso-gold)); color: #1d1620 !important; box-shadow: inset 0 1px 0 rgb(var(--sso-tint) / 0.4), 0 14px 40px -12px rgb(240 186 8 / 0.6); }

/* ======================================================================================
 * Site content (0.7.0): case studies, industry pages, FAQs, testimonials
 * ====================================================================================== */
.sso .sso-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sso-hero__meta { margin-top: 24px; }
.sso-notice { position: relative; z-index: 2; margin-top: 18px; margin-bottom: 0; padding-block: 12px; border: 1px dashed var(--sso-line-strong); border-radius: var(--sso-radius); background: var(--sso-surface-card); color: var(--sso-ink-soft); font-size: 0.92rem; }
/* The outbound link sits above the card's own link (the title link covers the card). */
.sso-project__out { position: relative; z-index: 2; }

/* A case study: the story, with the project's facts beside it. */
.sso-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.sso-case__part + .sso-case__part { margin-top: clamp(44px, 5vw, 64px); }
.sso-case__part h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 16px; }
.sso-case__part p { margin: 0 0 14px; max-width: 68ch; color: var(--sso-ink-soft); font-size: clamp(1.05rem, 1.2vw, 1.15rem); }
.sso-case__facts { position: sticky; top: 112px; }
.sso-facts { margin: 0; display: grid; gap: 20px; padding: 28px; border: 1px solid var(--sso-line); border-radius: var(--sso-radius-lg); background: var(--sso-surface-card); }
.sso-facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sso-ink-dim); }
.sso-facts dd { margin: 6px 0 0; }
.sso-facts .sso-tags { margin: 0; }
.sso-facts__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sso-outcomes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sso-outcomes li { display: grid; gap: 2px; padding: 16px 18px; border-left: 2px solid var(--sso-gold); background: var(--sso-surface-card); border-radius: 0 var(--sso-radius) var(--sso-radius) 0; }
.sso-outcomes small { color: var(--sso-ink-dim); }
@media (max-width: 960px) { .sso-case { grid-template-columns: 1fr; } .sso-case__facts { position: static; } }
/* The screenshot in a case study's hero: a framed window. */
.sso-shot { margin: 0; border: 1px solid var(--sso-line-strong); border-radius: var(--sso-radius-lg); overflow: hidden; background: var(--sso-surface-solid); box-shadow: 0 40px 80px -40px rgb(0 0 0 / 0.6); }
.sso-shot::before { content: ""; display: block; height: 30px; border-bottom: 1px solid var(--sso-line); background: radial-gradient(circle at 18px 50%, var(--sso-line-strong) 4px, transparent 5px), radial-gradient(circle at 34px 50%, var(--sso-line-strong) 4px, transparent 5px), radial-gradient(circle at 50px 50%, var(--sso-line-strong) 4px, transparent 5px); }
.sso-shot img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: cover; object-position: top; }
/* Project cards with a screenshot (0.10.0): the image runs to the card's edges, the top of the page shown. */
.sso-project--shot { padding-top: 0; }
.sso-project__image { margin: 0 calc(-1 * clamp(26px, 2.6vw, 36px)) 10px; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--sso-line); background: var(--sso-surface-solid); }
.sso-project__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--sso-ease); }
.sso-project--shot:hover .sso-project__image img { transform: scale(1.03); }
/* Compact project cards (0.10.1): three lines of summary and no feature list until "Details" opens the card.
   Only with the site script (.sso-js), which shows the button; without it every card is open. While one card
   is open its grid lets each card keep its own height, so the cards beside it do not stretch. */
.sso-js .sso-project:not(.is-open) .sso-project__summary { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.sso-js .sso-project:not(.is-open) .sso-project__more { display: none; }
.sso-projects:has(.sso-project.is-open) { align-items: start; }
.sso-project__more { display: grid; gap: 8px; }
.sso-project.is-open .sso-project__more { animation: sso-rise .45s var(--sso-ease) both; }
.sso-project__label { margin: 4px 0 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sso-ink-dim); }
.sso-project__more .sso-tags { margin-top: 0; }
.sso-project__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: auto; padding-top: 12px; }
.sso-project__toggle { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 1px solid var(--sso-line-strong); border-radius: 999px; background: rgb(var(--sso-tint) / 0.03); color: var(--sso-ink-soft); font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer; transition: color .2s, border-color .2s, background-color .2s; }
.sso-project__toggle[hidden] { display: none; }
.sso-project__toggle::after { content: ""; width: 0.95em; height: 0.95em; background: currentColor; -webkit-mask: var(--sso-i-arrow) center / contain no-repeat; mask: var(--sso-i-arrow) center / contain no-repeat; transform: rotate(90deg); transition: transform .25s var(--sso-ease); }
.sso-project__toggle[aria-expanded="true"]::after { transform: rotate(-90deg); }
.sso-project__toggle:hover, .sso-project__toggle[aria-expanded="true"] { color: var(--sso-ink); border-color: var(--sso-tile-line); background: var(--sso-tile-bg); }

/* FAQs: native disclosure widgets, so they work without the site script. */
.sso-faqs { display: grid; gap: 12px; max-width: 880px; }
.sso-faq { border: 1px solid var(--sso-line); border-radius: var(--sso-radius); background: var(--sso-surface-card); transition: border-color .2s; }
.sso-faq[open] { border-color: var(--sso-line-strong); }
.sso-faq summary { position: relative; padding: 20px 56px 20px 22px; font-weight: 600; font-size: 1.08rem; cursor: pointer; list-style: none; }
.sso-faq summary::-webkit-details-marker { display: none; }
.sso-faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat; color: var(--sso-accent-text); transition: transform .3s var(--sso-ease); }
.sso-faq[open] summary::after { transform: rotate(45deg); }
.sso-faq__answer { padding: 0 22px 20px; color: var(--sso-ink-soft); }
.sso-faq__answer p { margin: 0 0 10px; }

/* Testimonials. */
.sso-quote blockquote { margin: 0; }
.sso-quote blockquote p { margin: 0; font-size: 1.12rem; color: var(--sso-ink); }
.sso-quote blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: 0.7; margin-bottom: 8px; color: var(--sso-accent-text); }
/* Compact quotes (0.10.2): four lines until "Read more", only with the site script, which shows the button
   where a quote runs longer. While one is open its grid lets each card keep its own height. */
.sso-js .sso-quote:not(.is-open) blockquote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.sso-quotes:has(.sso-quote.is-open) { align-items: start; }
.sso-quote.is-open blockquote p { animation: sso-rise .45s var(--sso-ease) both; }
.sso-quote__toggle { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0; border: 0; background: none; color: var(--sso-link); font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; transition: color .2s; }
.sso-quote__toggle[hidden] { display: none; }
.sso-quote__toggle::after { content: ""; width: 0.95em; height: 0.95em; background: currentColor; -webkit-mask: var(--sso-i-arrow) center / contain no-repeat; mask: var(--sso-i-arrow) center / contain no-repeat; transform: rotate(90deg); transition: transform .25s var(--sso-ease); }
.sso-quote__toggle[aria-expanded="true"]::after { transform: rotate(-90deg); }
.sso-quote__toggle:hover { color: var(--sso-link-hover); }
.sso-quote__who { margin: auto 0 0; padding-top: 14px; display: grid; color: var(--sso-ink-soft); font-size: 0.92rem; }
.sso-quote__who strong { color: var(--sso-ink); }

/* ======================================================================================
 * Content-rich pages (0.8.0): overview with a side panel, feature cards, plans, notes
 * ====================================================================================== */
.sso-overview { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.sso-overview--solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.sso-overview__text p:first-child { color: var(--sso-ink); font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.6; }
.sso-overview__fit { padding: 28px; border: 1px solid var(--sso-line); border-radius: var(--sso-radius-lg); background: var(--sso-surface-card); }
.sso-overview__fit h3 { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sso-accent-text); margin-bottom: 6px !important; }
.sso-overview__fit .sso-checks li { padding: 12px 0; }
.sso-overview__fit .sso-checks li:last-child { border-bottom: 0; }
@media (max-width: 960px) { .sso-overview { grid-template-columns: 1fr; } }

.sso-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: feature; }
.sso-features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .sso-features--2 { grid-template-columns: 1fr; } }
.sso-features--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.sso-features--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.sso-feature { counter-increment: feature; position: relative; padding: 26px 26px 28px; border: 1px solid var(--sso-line); border-radius: var(--sso-radius-lg); background: var(--sso-surface-card); transition: border-color .3s; }
.sso-feature:hover { border-color: var(--sso-line-strong); }
.sso-feature::before { content: counter(feature, decimal-leading-zero); display: block; margin-bottom: 14px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; color: var(--sso-accent-text); }
.sso-feature__title { font-size: 1.12rem; margin-bottom: 8px !important; }
.sso-feature p { margin: 0; color: var(--sso-ink-soft); }

.sso-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.sso-tiers--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); max-width: 900px; }
.sso-tiers--3, .sso-tiers--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.sso-tier { display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--sso-line); border-radius: var(--sso-radius-lg); background: var(--sso-surface-card); }
.sso-tier:hover { border-color: var(--sso-line-strong); }
.sso-tier__name { font-size: 1.35rem; }
.sso-tier__label { margin: 6px 0 0; color: var(--sso-accent-text); font-size: 0.92rem; font-weight: 600; }
.sso-tier__price { margin: 16px 0 0; color: var(--sso-ink-soft); }
.sso-tier__price strong { font-size: 1.9rem; color: var(--sso-ink); letter-spacing: -0.03em; }
.sso-tier .sso-checks { margin-top: 18px; }
.sso-tier .sso-checks li { padding: 11px 0; font-size: 0.97rem; }
.sso-tier .sso-checks li:last-child { border-bottom: 0; }

.sso-note { max-width: 760px; margin: 0; padding: 22px 26px; border-left: 2px solid var(--sso-gold); border-radius: 0 var(--sso-radius) var(--sso-radius) 0; background: var(--sso-surface-card); color: var(--sso-ink-soft); font-size: 1.08rem; }
.sso-story { max-width: 780px; font-size: clamp(1.08rem, 1.3vw, 1.2rem); }
.sso-block-foot { max-width: 760px; margin: 28px 0 0; color: var(--sso-ink-dim); font-size: 0.97rem; }
.sso-section .sso-price { margin-top: 28px; }

/* ======================================================================================
 * Blog and long-form text (0.8.0)
 * ====================================================================================== */
.sso-post-card { padding: 0; gap: 0; }
.sso-post-card > :not(.sso-post-card__image) { margin-inline: clamp(22px, 2.2vw, 30px); }
.sso-post-card > .sso-card__meta { margin-top: 22px; }
.sso-post-card > .sso-card__title { margin-top: 10px; }
.sso-post-card > .sso-card__text { margin-top: 10px; margin-bottom: 26px; }
.sso-post-card__image { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--sso-line); background: var(--sso-surface-solid); }
.sso-post-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sso-ease); }
.sso-post-card:hover .sso-post-card__image img { transform: scale(1.03); }
.sso-pager { display: flex; justify-content: center; gap: 14px; margin-top: 44px; }
.sso-empty { color: var(--sso-ink-soft); font-size: 1.1rem; }

.sso-article__head { padding-top: clamp(36px, 5vw, 72px); max-width: calc(760px + 2 * var(--sso-gutter)); }
.sso-article__title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.sso-article__byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 22px 0 0; color: var(--sso-ink-dim); font-size: 0.95rem; }
.sso-article__byline span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 18px; vertical-align: middle; border-radius: 50%; background: var(--sso-line-strong); }
.sso-article__figure { margin-top: clamp(32px, 4vw, 52px); margin-bottom: 0; max-width: calc(1100px + 2 * var(--sso-gutter)); }
.sso-article__figure img { display: block; width: 100%; height: auto; border-radius: var(--sso-radius-lg); border: 1px solid var(--sso-line); }
.sso-article__body { padding-block: clamp(40px, 5vw, 72px) var(--sso-space); max-width: calc(760px + 2 * var(--sso-gutter)); }

/* Readable text: blog posts and the legal pages. */
.sso-prose { color: var(--sso-ink-soft); font-size: clamp(1.05rem, 1.15vw, 1.14rem); line-height: 1.75; }
.sso-prose > * + * { margin-top: 1.1em; }
.sso-prose > :first-child { margin-top: 0; }
.sso-prose :is(h2, h3, h4) { color: var(--sso-ink); letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance; }
.sso-prose h2 { margin-top: 2.1em; font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.sso-prose h3 { margin-top: 1.7em; font-size: clamp(1.2rem, 1.6vw, 1.4rem); }
.sso-prose h4 { margin-top: 1.4em; font-size: 1.05rem; }
.sso-prose p, .sso-prose ul, .sso-prose ol { margin-bottom: 0; }
.sso-prose ul, .sso-prose ol { padding-left: 1.3em; }
.sso-prose li + li { margin-top: 0.45em; }
.sso-prose li::marker { color: var(--sso-accent-text); }
.sso-prose strong { color: var(--sso-ink); font-weight: 650; }
.sso-prose hr { margin-block: 2.4em; border: 0; height: 1px; background: var(--sso-line-strong); }
.sso-prose blockquote { margin-inline: 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--sso-gold); color: var(--sso-ink); }
.sso-prose img { display: block; max-width: 100%; height: auto; border-radius: var(--sso-radius); }
.sso-prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.sso-prose :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--sso-line); text-align: left; vertical-align: top; }
.sso-prose code { font-size: 0.9em; padding: 1px 6px; border-radius: 6px; background: rgb(var(--sso-tint) / 0.06); }
.sso-prose--legal { max-width: 760px; }

/* ======================================================================================
 * Book a Call (0.9.0; calendar first since 0.9.3): one white card holding the call's facts in the
 * site's type and Calendly's calendar (includes/booking.php). Calendly's page is white with its own
 * colours unless its plan allows ours, so the card is white too and its own text is ink and
 * burgundy in every theme: on a phone the calendar reads as part of this page, not another site.
 * The site script sets the frame's height from Calendly's messages.
 * ====================================================================================== */
.sso-hero--compact { padding-bottom: clamp(28px, 3.5vw, 48px); }
.sso-hero--compact .sso-hero__title { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.sso-hero--compact .sso-hero__intro { margin-top: 18px; }
.sso-section--flush { padding-top: 0; }
.sso-booking [hidden] { display: none !important; }
.sso-booking__card { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); overflow: hidden; border-radius: var(--sso-radius-lg); background: #fff; color: #1d1620; box-shadow: 0 0 0 1px var(--sso-line-strong), 0 30px 80px -40px rgb(0 0 0 / 0.55); }
.sso-booking__info { padding: clamp(26px, 2.6vw, 38px); border-right: 1px solid #ece6ed; }
.sso-booking__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #f5e9ea; color: #8c3d43; }
.sso-booking__icon .sso-icon { width: 24px; height: 24px; }
/* .sso h2 sets every heading's colour and margin; the card's title keeps its own on the white card. */
.sso .sso-booking__title { margin: 18px 0 0; color: #1d1620; font-size: clamp(1.3rem, 1.7vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.2; }
.sso-booking__facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; color: #5a4f5c; font-size: 0.97rem; line-height: 1.45; }
.sso-booking__facts li { display: flex; gap: 10px; align-items: flex-start; }
.sso-booking__facts .sso-icon { flex: none; width: 19px; height: 19px; margin-top: 1px; color: #8c3d43; }
.sso-booking__pane { position: relative; min-width: 0; background: #fff; }
.sso-booking__frame { position: relative; height: 700px; scroll-margin-top: 110px; transition: height .35s var(--sso-ease); }
.sso-booking__frame iframe { display: block; width: 100%; height: 100%; border: 0; transition: opacity .3s var(--sso-ease); }
.sso-booking__frame.is-loading iframe { opacity: 0; }
.sso-booking__wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; color: #5a4f5c; font-size: 0.98rem; }
.sso-booking__wait::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(140 61 67 / 0.25); border-top-color: #8c3d43; animation: sso-spin .9s linear infinite; }
.sso-booking__frame:not(.is-loading) .sso-booking__wait { display: none; }
@keyframes sso-spin { to { transform: rotate(360deg); } }
.sso-booking__panel { display: grid; gap: 20px; justify-items: start; align-content: center; min-height: 320px; padding: clamp(26px, 4vw, 56px); color: #5a4f5c; }
.sso-booking__panel p { margin: 0; max-width: 46ch; font-size: 1.05rem; }
/* Without scripts the frame box would wait for ever: Calendly's own page instead. */
.sso-booking__nojs { display: none; margin: 0; padding: clamp(26px, 4vw, 56px); }
html:not(.sso-js) .sso-booking__nojs { display: block; }
html:not(.sso-js) .sso-booking__frame, html:not(.sso-js) .sso-booking__panel { display: none; }
.sso-booking__alt { margin: 16px 0 0; color: var(--sso-ink-dim); font-size: 0.95rem; }
/* The status line is always in the page (so screen readers announce it) and takes no room until filled. */
.sso-booking__status { margin: 0; }
.sso-booking__status:not(:empty) { margin-bottom: 18px; padding: 16px 22px; border: 1px solid var(--sso-status-border); border-radius: var(--sso-radius); background: var(--sso-status-bg); color: var(--sso-ink); font-weight: 600; }
/* Phones and narrow windows: the facts become a slim header above the calendar, which starts at once. */
@media (max-width: 960px) {
	.sso-booking__card { grid-template-columns: minmax(0, 1fr); }
	.sso-booking__info { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; padding: 18px 20px; border-right: 0; border-bottom: 1px solid #ece6ed; }
	.sso-booking__icon { width: 42px; height: 42px; border-radius: 12px; }
	.sso-booking__icon .sso-icon { width: 21px; height: 21px; }
	.sso .sso-booking__title { margin: 0; font-size: 1.2rem; }
	.sso-booking__facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 0.88rem; }
	.sso-booking__facts li { gap: 6px; align-items: center; }
	.sso-booking__facts .sso-icon { width: 16px; height: 16px; margin-top: 0; }
	.sso-booking__frame { height: 640px; }
}

/* Scroll reveals (the site script adds .sso-js; without it everything is visible). */
.sso-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--sso-ease), transform .9s var(--sso-ease); transition-delay: var(--sso-delay, 0s); }
.sso-js [data-reveal].is-in { opacity: 1; transform: none; }
/* A link to a section that reveals on scroll (0.11.3: the footer's county links) lands where the section ends
   up: the target is shown at once instead of rising 24px after the jump, under the sticky header. */
.sso-js [data-reveal]:target { opacity: 1; transform: none; }
.sso-area-county { scroll-margin-top: 16px; }
/* Above the fold: a pure-CSS rise on load, never waiting for the script. */
.sso-hero [data-reveal], .sso-js .sso-hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: sso-rise 1s var(--sso-ease) both; animation-delay: var(--sso-delay, 0s); }
@keyframes sso-rise { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
	.sso-site *, .sso-site *::before, .sso-site *::after { animation: none !important; transition: none !important; }
	.sso-js [data-reveal], .sso-hero [data-reveal] { opacity: 1; transform: none; }
}
/* Print: every section, not only the ones scrolled to; no decoration. */
@media print {
	.sso-js [data-reveal], .sso-hero [data-reveal] { opacity: 1 !important; transform: none !important; animation: none !important; }
	.sso-marquee, .sso-theme-switch, .sso-bg-glow, .sso-bg-grid, .sso-bg-fade, .sso-skip { display: none !important; }
}

/* Diagram gradient stops, so themes can recolour the SVG. */
.sso-flow-1 { stop-color: var(--sso-flow-1); }
.sso-flow-2 { stop-color: var(--sso-flow-2); }
.sso-core-1 { stop-color: var(--sso-core-1); }
.sso-core-2 { stop-color: var(--sso-core-2); }
.sso-core-3 { stop-color: var(--sso-core-3); }

/* ======================================================================================
 * Themes (0.4.0). Crest Dark is the default (the tokens above). A visitor's choice sets
 * html[data-sso-theme] (light | blue) before first paint and is remembered in their browser.
 * WP Custom Layout's header and footer colours are inline variables, so the overrides below use
 * !important, which outranks inline declarations. Every text colour passes WCAG AA.
 * ====================================================================================== */

/* Corporate Light: white and warm grey, ink text, burgundy actions. The footer stays dark. */
html[data-sso-theme="light"] {
	color-scheme: light;
	--sso-bg: #fbf8f3;
	--sso-bg-2: #f4eee6;
	--sso-surface-solid: #ffffff;
	--sso-tint: 29 22 32;
	--sso-surface-card: #ffffff;
	--sso-line: rgb(29 22 32 / 0.10);
	--sso-line-strong: rgb(29 22 32 / 0.18);
	--sso-ink: #1d1620;
	--sso-ink-soft: #5a4f5c;
	--sso-ink-dim: #6e6270;
	--sso-focus: #623b65;
	--sso-node-bg: #ffffff;
	--sso-link: #8c3d43;
	--sso-link-hover: #623b65;
	--sso-accent-text: #8c3d43;
	--sso-grad: linear-gradient(100deg, #8c3d43 0%, #a84a52 35%, #623b65 100%);
	--sso-num-grad: linear-gradient(180deg, #8c3d43, rgb(140 61 67 / 0.2));
	--sso-btn-glow: rgb(140 61 67 / 0.45);
	--sso-glow-1: rgb(143 90 148 / 0.16);
	--sso-glow-2: rgb(140 61 67 / 0.10);
	--sso-glow-3: rgb(240 186 8 / 0.10);
	--sso-chip: linear-gradient(145deg, #f5e9ea, #efe3f0);
	--sso-spot: rgb(140 61 67 / 0.07);
	--sso-status-bg: #f5e9ea;
	--sso-status-border: rgb(140 61 67 / 0.25);
	--sso-flow-1: #8c3d43;
	--sso-flow-2: #b0751c;
	--sso-tile-bg: #f5e9ea;
	--sso-tile-bg-hi: #ecd5d7;
	--sso-tile-line: rgb(140 61 67 / 0.2);
	--sso-tile-ink: #8c3d43;
	--sso-node-hover: #8c3d43;
	--sso-crest-shadow: rgb(29 22 32 / 0.22);
	--sso-select-bg: rgb(140 61 67 / 0.18); /* Ink on a pale burgundy: white on pale gold was unreadable here. */
	--sso-select-ink: #1d1620;
}
/* Corporate Light keeps a dark footer, so its Motion colours apply to the header only. */
html[data-sso-theme="light"] .wpcl-header {
	--wpcl-motion-glass: #fbf8f3;
	--wpcl-motion-brand: #623b65;
	--wpcl-motion-accent: #b0751c;
	--wpcl-motion-accent-2: #8c3d43;
}
html[data-sso-theme="light"] .sso-card,
html[data-sso-theme="light"] .sso-step,
html[data-sso-theme="light"] .sso-layer,
html[data-sso-theme="light"] .sso-feature,
html[data-sso-theme="light"] .sso-tier,
html[data-sso-theme="light"] .sso-overview__fit,
html[data-sso-theme="light"] .sso-faq,
html[data-sso-theme="light"] .sso-facts { box-shadow: 0 1px 2px rgb(29 22 32 / 0.04), 0 12px 32px -18px rgb(29 22 32 / 0.18); }
html[data-sso-theme="light"] .sso-bg-grid { opacity: 0.7; }
html[data-sso-theme="light"] .sso-diagram { filter: drop-shadow(0 24px 40px rgb(29 22 32 / 0.12)); }
html[data-sso-theme="light"] .wpcl-header {
	--wpcl-background: #fffdfa !important;
	--wpcl-background-2: #fffdfa !important;
	--wpcl-background-image: linear-gradient(#fffdfa, #fffdfa) !important;
	--wpcl-text: #1d1620 !important;
	--wpcl-subcaption-color: #5a4f5c !important;
	--wpcl-primary: #8c3d43 !important;
	--wpcl-button-bg: #8c3d43 !important;
	--wpcl-button-text: #ffffff !important;
	--wpcl-dropdown-bg: #ffffff !important;
	--wpcl-dropdown-text: #1d1620 !important;
	--wpcl-menu-hover: #8c3d43 !important;
	--wpcl-menu-active: #8c3d43 !important;
	--wpcl-header-border-color: #e4dbd2 !important;
	--wpcl-border: #e4dbd2 !important;
}

/* Midnight Blue: deep navy, gold actions, blue light. */
html[data-sso-theme="blue"] {
	--sso-bg: #07101d;
	--sso-bg-2: #0a1626;
	--sso-surface-solid: #0d1828;
	--sso-ink: #eef3fa;
	--sso-ink-soft: #a9b8cc;
	--sso-ink-dim: #8193ab;
	--sso-node-bg: rgb(13 24 40 / 0.92);
	--sso-link: #f6d36b;
	--sso-link-hover: #ffffff;
	--sso-accent-text: #f6d36b;
	--sso-grad: linear-gradient(100deg, #f6d36b 0%, #9cc3ff 55%, #c9d8ff 100%);
	--sso-btn-1: #f6d36b;
	--sso-btn-2: #f0ba08;
	--sso-btn-text: #0a1626;
	--sso-btn-glow: rgb(240 186 8 / 0.45);
	--sso-glow-1: rgb(30 79 168 / 0.55);
	--sso-glow-2: rgb(14 116 144 / 0.30);
	--sso-glow-3: rgb(240 186 8 / 0.07);
	--sso-band-bg: radial-gradient(60% 120% at 85% 0%, rgb(59 111 209 / 0.55), transparent 60%), radial-gradient(50% 120% at 0% 100%, rgb(14 116 144 / 0.45), transparent 60%), #0c1f3a;
	--sso-chip: linear-gradient(145deg, rgb(30 79 168 / 0.6), rgb(14 116 144 / 0.35));
	--sso-flow-1: #f6d36b;
	--sso-flow-2: #9cc3ff;
	--sso-core-1: #3b6fd1;
	--sso-core-2: #1e3f7a;
	--sso-core-3: #0b1a33;
	--sso-tile-bg: rgb(156 195 255 / 0.08);
	--sso-tile-bg-hi: rgb(156 195 255 / 0.18);
	--sso-tile-line: rgb(156 195 255 / 0.26);
	--sso-tile-ink: #9cc3ff;
	--sso-node-hover: #f6d36b;
	--wpcl-motion-glass: #07101d;
	--wpcl-motion-brand: #c9a2cc;
	--wpcl-motion-accent-2: #9cc3ff;
}
html[data-sso-theme="blue"] .wpcl-header {
	--wpcl-background: #07101d !important;
	--wpcl-background-2: #07101d !important;
	--wpcl-background-image: linear-gradient(#07101d, #07101d) !important;
	--wpcl-text: #eef3fa !important;
	--wpcl-subcaption-color: #a9b8cc !important;
	--wpcl-primary: #f6d36b !important;
	--wpcl-button-bg: #f0ba08 !important;
	--wpcl-button-text: #0a1626 !important;
	--wpcl-dropdown-bg: #0d1828 !important;
	--wpcl-dropdown-text: #eef3fa !important;
	--wpcl-menu-hover: #f6d36b !important;
	--wpcl-menu-active: #f6d36b !important;
	--wpcl-header-border-color: #13233a !important;
}
html[data-sso-theme="blue"] .wpcl-footer {
	--wpcl-background: #050b16 !important;
	--wpcl-background-2: #050b16 !important;
	--wpcl-background-image: linear-gradient(#050b16, #050b16) !important;
	--wpcl-text: #eef3fa !important;
	--wpcl-primary: #f6d36b !important;
	--wpcl-footer-divider: #13233a !important;
	--wpcl-footer-border-color: #13233a !important;
	--wpcl-footer-bottom-bg: #050b16 !important;
	--wpcl-footer-block-bg: #050b16 !important;
}

/* Smooth hand-over when a visitor switches theme (not on first paint). */
html.sso-theme-anim, html.sso-theme-anim body, html.sso-theme-anim :is(.wpcl-header-shell, .wpcl-footer, .sso-card, .sso-section, .sso-hero) { transition: background-color .45s ease, color .45s ease, border-color .45s ease !important; }

/* Theme switch: one round button at the right of the header; the three themes slide out to its left. */
.sso-theme-switch { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.sso-theme-switch[hidden] { display: none; }
.sso-theme-options { display: inline-flex; align-items: center; gap: 4px; max-width: 0; padding: 0; overflow: hidden; opacity: 0; visibility: hidden; border-radius: 999px; transform: translateX(8px); transition: max-width .4s var(--sso-ease), opacity .25s ease, transform .4s var(--sso-ease), padding .4s var(--sso-ease), visibility 0s linear .4s; }
.sso-theme-switch[data-open="true"] .sso-theme-options { max-width: 140px; padding: 4px; opacity: 1; visibility: visible; transform: none; border: 1px solid rgb(var(--sso-tint) / 0.14); background: rgb(var(--sso-tint) / 0.05); transition-delay: 0s; }
.sso-theme-options button, .sso-theme-toggle { position: relative; display: grid; place-items: center; flex: none; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.sso-theme-options button::before, .sso-theme-toggle::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(var(--sso-tint) / 0.25); transition: transform .25s var(--sso-ease); }
.sso-theme-toggle { width: 34px; height: 34px; border: 1px solid rgb(var(--sso-tint) / 0.16); background: rgb(var(--sso-tint) / 0.04); transition: border-color .2s, background-color .2s, transform .3s var(--sso-ease); }
.sso-theme-toggle::before { width: 18px; height: 18px; }
.sso-theme-toggle:hover, .sso-theme-switch[data-open="true"] .sso-theme-toggle { border-color: var(--sso-accent-text); }
.sso-theme-switch[data-open="true"] .sso-theme-toggle { transform: rotate(180deg); }
.sso-theme-options button:hover::before { transform: scale(1.15); }
.sso-theme-options button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--sso-accent-text); }
.sso-theme-switch button:focus-visible { outline: 2px solid var(--sso-focus); outline-offset: 2px; }
.sso-theme-switch .sso-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* After WPCL's header button (one flex step later than it), at the right-hand end of the bar. */
.wpcl-header-shell .sso-theme-switch { order: calc(var(--wpcl-cta-order, 3) + 1); margin-left: 10px; }

/* The call-to-action band is dark in every theme: its label stays gold. */
.sso-section--ink .sso-eyebrow { color: #f6d36b; }

/* ======================================================================================
 * WP Custom Layout's header and footer on this site (0.6.0)
 * ====================================================================================== */

/* One grid: the header and footer content line up with the page content at every width. */
.wpcl-header-shell { padding-inline: max(var(--sso-gutter), calc((100% - var(--sso-wrap)) / 2)) !important; }
.wpcl-footer { padding-inline: max(var(--sso-gutter), calc((100% - var(--sso-wrap)) / 2)) !important; }

/* The hanging crest: a badge pinned to the top edge that hangs below the bar, nearly twice the size
   the bar alone allows, and tucks back into the bar once the page scrolls. The bar's layout height
   stays its normal 60px (margin-top + margin-bottom = 60 - height). */
.wpcl-header .wpcl-logo-surface.wpcl-logo-svg {
	width: 76px !important;
	height: 112px !important;
	flex-basis: 76px !important;
	margin: calc(-1 * var(--wpcl-header-padding-y, 14px)) 0 calc(var(--wpcl-header-padding-y, 14px) - 52px) !important;
	align-self: flex-start;
	position: relative;
	z-index: 3;
	filter: drop-shadow(0 10px 18px var(--sso-crest-shadow));
	transition: width .45s var(--sso-ease), height .45s var(--sso-ease), flex-basis .45s var(--sso-ease), margin .45s var(--sso-ease);
}
.wpcl-header.wpcl-is-scrolled .wpcl-logo-surface.wpcl-logo-svg { width: 41px !important; height: 60px !important; flex-basis: 41px !important; margin: 0 !important; }
@media (max-width: 1024px) {
	.wpcl-header .wpcl-logo-surface.wpcl-logo-svg { width: 54px !important; height: 80px !important; flex-basis: 54px !important; margin: calc(-1 * var(--wpcl-header-padding-y, 14px)) 0 calc(var(--wpcl-header-padding-y, 14px) - 32px) !important; }
	.wpcl-header.wpcl-is-scrolled .wpcl-logo-surface.wpcl-logo-svg { width: 33px !important; height: 48px !important; flex-basis: 33px !important; }
	/* The theme switch sits by the menu button. */
	.wpcl-header-shell .sso-theme-switch { margin-left: auto; }
	.wpcl-header-shell .sso-theme-switch ~ .wpcl-menu-toggle { margin-left: 8px !important; }
}

/* Mega menu (wide screens): wider, with the Business Foundation as a featured row. */
@media (min-width: 1025px) {
	.wpcl-motion-mega .wpcl-nav-list > li > .sub-menu { width: min(720px, 92vw); }
}
.wpcl-motion-mega .wpcl-nav-list > li > .sub-menu > li:first-child { grid-column: 1 / -1; }
.wpcl-motion-mega .wpcl-nav-list > li > .sub-menu > li:first-child > a {
	padding: 16px 18px;
	background: linear-gradient(120deg, color-mix(in srgb, var(--wpcl-motion-accent) 15%, transparent), color-mix(in srgb, var(--wpcl-motion-accent-2) 9%, transparent));
	border: 1px solid color-mix(in srgb, var(--wpcl-motion-accent) 28%, transparent);
}

/* Footer: the crest over the brand line; on phones the two menus sit side by side. */
/* The crest in the footer's about block: the shadow goes on its surface, which clips the image. */
.wpcl-footer .wpcl-footer-block-about .wpcl-footer-logo-surface { overflow: visible; filter: drop-shadow(0 6px 12px rgb(0 0 0 / 0.45)); }
/* Phones: two columns, so the two menus sit side by side; the about and contact blocks span both
   (their "mobile span" of 2 is set in the WPCL preset). */
@media (max-width: 520px) {
	body .wpcl-footer > .wpcl-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* The bottom bar's copyright and legal links line up with the columns above (0.6.4): WPCL pads the bar on
   every side, which set them 18px inside the column edges. */
.wpcl-footer .wpcl-footer-bottom { padding-inline: 0; }
/* Desktop: centre the submenu chevron on its link. WPCL lines it up with the top of the text plus the
   menu padding, which sits low with this site's 19px menu line. Touch screens keep WPCL's own centring
   (pointer: coarse); a fine pointer or none (0.6.4) gets this one. */
@media (min-width: 1025px) and (pointer: fine), (min-width: 1025px) and (pointer: none) {
	.wpcl-header .wpcl-nav-list > li > .wpcl-submenu-toggle { top: calc(50% - 15px); }
}

/* ======================================================================================
 * Service areas (0.11.0): the hub and one page per city (includes/pages/areas.php). The map is inline
 * SVG drawn in the theme's tokens; its labels are sized in the map's own units (15 and 20), as
 * sso_area_map_layout() measures them. Headings use ".sso .class", which outranks ".sso h2, .sso h3".
 * ====================================================================================== */
[class*="sso-page-service-areas"] .sso-hero__title { font-size: clamp(2.3rem, 4.6vw, 3.9rem); max-width: 18ch; }
.sso-area-meta { margin: 0; color: var(--sso-ink-dim); font-size: 0.95rem; }
.sso section[id], .sso-area-industry { scroll-margin-top: 96px; }

/* On this page */
.sso-toc { position: relative; z-index: 1; border-block: 1px solid var(--sso-line); background: var(--sso-bg-2); }
.sso-toc .sso-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-block: 14px; }
.sso-toc__label { margin: 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sso-ink-dim); }
.sso-toc__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.sso .sso-toc__list a { display: inline-block; padding: 6px 13px; border: 1px solid var(--sso-line); border-radius: 999px; color: var(--sso-ink-soft); font-size: 0.9rem; text-decoration: none; }
.sso .sso-toc__list a:hover { color: var(--sso-ink); border-color: var(--sso-line-strong); }

/* The map */
.sso-area-figure { margin: 0; }
.sso-map { display: block; width: 100%; height: auto; max-width: 640px; margin-inline: auto; overflow: visible; }
.sso-map__bg { fill: var(--sso-surface-card); stroke: var(--sso-line); }
.sso-map__grid { fill: none; stroke: rgb(var(--sso-tint) / 0.045); stroke-width: 1; }
.sso-map__scale path, .sso-map__north path { fill: none; stroke: var(--sso-ink-dim); stroke-width: 1.5; stroke-linecap: round; }
.sso-map__north path { fill: var(--sso-ink-dim); stroke: none; }
.sso-map__scale text, .sso-map__north text { fill: var(--sso-ink-dim); font: 600 13px var(--sso-font); letter-spacing: 0.06em; }
.sso-map--hub { max-width: 1120px; }
.sso-area-figure--hub { margin: 0 0 clamp(36px, 5vw, 64px); }
.sso-map__edge { stroke: rgb(var(--sso-tint) / 0.13); stroke-width: 1.2; }
.sso-map:not(.sso-map--hub) .sso-map__edge { stroke: var(--sso-node-hover); stroke-opacity: 0.5; stroke-dasharray: 3 5; }
.sso-map__dot { fill: rgb(var(--sso-tint) / 0.3); }
.sso-map__dot--near, .sso-map__dot--city { fill: var(--sso-ink-soft); }
.sso-map__dot--here { fill: var(--sso-node-hover); }
.sso-map__pulse { fill: none; stroke: var(--sso-node-hover); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: sso-pulse 3.6s ease-out infinite; }
.sso-map__label { fill: var(--sso-ink-soft); font: 600 15px var(--sso-font); letter-spacing: -0.01em; paint-order: stroke; stroke: var(--sso-surface-solid); stroke-width: 4px; stroke-linejoin: round; }
.sso-map__label--here { fill: var(--sso-ink); font-size: 20px; font-weight: 700; }
@media (max-width: 640px) { .sso-map--hub .sso-map__label { display: none; } } /* The whole metro is too small to label on a phone; the list below names every city. */
.sso .sso-map__city { text-decoration: none; cursor: pointer; }
.sso-map__city:hover .sso-map__dot { fill: var(--sso-node-hover); }
.sso-map__city:hover .sso-map__label { fill: var(--sso-ink); }

/* At a glance */
.sso-area-glance__facts { margin: 4px 0 26px; display: grid; }
.sso-area-glance__facts div { padding: 12px 0; border-bottom: 1px solid var(--sso-line); }
.sso-area-glance__facts dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sso-ink-dim); }
.sso-area-glance__facts dd { margin: 4px 0 0; color: var(--sso-ink); }
.sso-area-glance__industries { margin: 8px 0 0; padding-left: 1.4em; display: grid; gap: 8px; }
.sso-area-glance__industries li::marker { color: var(--sso-accent-text); font-weight: 600; }
.sso .sso-area-glance__industries a { color: var(--sso-ink); }

/* Industries */
.sso-area-industries { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); counter-reset: industry; }
.sso-area-industry { counter-increment: industry; position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.4vw, 32px); border: 1px solid var(--sso-line); border-radius: var(--sso-radius-lg); background: var(--sso-surface-card); transition: border-color .3s; }
.sso-area-industry:hover, .sso-area-industry:target { border-color: var(--sso-line-strong); }
.sso-area-industry::before { content: counter(industry, decimal-leading-zero); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; color: var(--sso-accent-text); }
.sso .sso-area-industry__title { font-size: clamp(1.2rem, 1.5vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.2; }
.sso-area-industry__local { margin: 0; color: var(--sso-ink); }
.sso-area-industry__fit { margin: 0; display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--sso-line); }
.sso-area-industry__fit dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sso-ink-dim); }
.sso-area-industry__fit dd { margin: 4px 0 0; color: var(--sso-ink-soft); }
.sso-area-industry__links { margin-top: auto; padding-top: 4px; }
.sso-area-industry__links li { padding: 0; }
.sso .sso-area-industry__links a { display: inline-block; padding: 4px 11px; border-radius: 999px; color: var(--sso-ink-soft); text-decoration: none; }
.sso .sso-area-industry__links a:hover { color: var(--sso-accent-text); }
.sso-area-industry__more { border-style: dashed !important; }

/* Local resources, nearby cities, sources */
.sso-area-resources ul { list-style: none; margin: 4px 0 0; padding: 0; }
.sso-area-resources li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--sso-line); }
.sso-area-resources li:last-child { border-bottom: 0; padding-bottom: 0; }
.sso-area-resources a { font-weight: 600; }
.sso-area-resources span { color: var(--sso-ink-soft); font-size: 0.95rem; }
.sso-area-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sso .sso-area-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--sso-line-strong); border-radius: 999px; background: var(--sso-surface-card); color: var(--sso-ink); font-weight: 600; text-decoration: none; }
.sso .sso-area-chips a:hover { border-color: var(--sso-accent-text); color: var(--sso-accent-text); }
.sso-area-all { margin: 26px 0 0; }
.sso-section--compact { padding: clamp(48px, 6vw, 80px) 0; }
.sso .sso-area-sources__title { margin-bottom: 10px; font-size: 1.05rem; letter-spacing: 0; line-height: 1.3; }
.sso-area-sources p { max-width: 80ch; margin: 0 0 14px; color: var(--sso-ink-dim); font-size: 0.92rem; }
.sso-area-sources ul { margin: 0; padding-left: 1.2em; columns: 2 320px; column-gap: 40px; color: var(--sso-ink-dim); font-size: 0.9rem; }
.sso-area-sources li { break-inside: avoid; margin-bottom: 6px; }
.sso .sso-area-sources a { color: var(--sso-ink-soft); }

/* The hub: cities by county */
.sso-area-counties { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); align-items: start; }
.sso-area-county { padding: 26px 28px; border: 1px solid var(--sso-line); border-radius: var(--sso-radius-lg); background: var(--sso-surface-card); }
.sso .sso-area-county__title { margin-bottom: 6px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sso-accent-text); }
.sso-area-county__text { margin: 0 0 8px; color: var(--sso-ink-soft); font-size: 0.95rem; line-height: 1.6; }
.sso-area-cities { list-style: none; margin: 0; padding: 0; }
.sso-area-cities li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--sso-line); }
.sso-area-cities li:last-child { border-bottom: 0; padding-bottom: 0; }
.sso .sso-area-cities a { color: var(--sso-ink); font-size: 1.08rem; font-weight: 650; text-decoration: none; }
.sso .sso-area-cities a:hover { color: var(--sso-accent-text); }
.sso-area-cities span { color: var(--sso-ink-dim); font-size: 0.88rem; }
/* Questions and answers, open: each answer under its question as a heading. */
.sso-qa { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); align-items: start; }
.sso-qa__item { padding: clamp(22px, 2.2vw, 30px); border: 1px solid var(--sso-line); border-radius: var(--sso-radius-lg); background: var(--sso-surface-card); }
.sso .sso-qa__q { margin-bottom: 10px; font-size: clamp(1.08rem, 1.3vw, 1.2rem); letter-spacing: -0.015em; line-height: 1.3; }
.sso-qa__a { margin: 0; color: var(--sso-ink-soft); }
html[data-sso-theme="light"] :is(.sso-area-industry, .sso-area-county, .sso-qa__item) { box-shadow: 0 1px 2px rgb(29 22 32 / 0.04), 0 12px 32px -18px rgb(29 22 32 / 0.18); }
@media print { .sso-toc, .sso-map__pulse { display: none !important; } }

/* Calls to action on the service-area pages (0.11.1): the line under the buttons (what the call is, where we
   meet, the phone), the callout inside a section, and the line after the questions. */
.sso-cta-note { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 4px; color: var(--sso-ink-dim); font-size: 0.92rem; }
.sso-cta-note li + li::before { content: "·"; margin: 0 10px; color: var(--sso-line-strong); }
.sso .sso-cta-note a { color: var(--sso-ink-soft); font-weight: 600; }
.sso-cta .sso-cta-note { justify-content: center; color: rgb(244 239 242 / 0.75); }
.sso-cta .sso-cta-note li + li::before { color: rgb(244 239 242 / 0.4); }
.sso .sso-cta .sso-cta-note a { color: #f6d36b; }
@media (max-width: 560px) { .sso-cta-note { flex-direction: column; } .sso-cta .sso-cta-note { align-items: center; } .sso-cta-note li + li::before { content: none; } } /* Stacked on a phone, where a wrapped line would start with a dot. */
.sso-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; margin-top: clamp(28px, 4vw, 44px); padding: clamp(24px, 3vw, 34px) clamp(24px, 3vw, 40px); border: 1px solid var(--sso-line-strong); border-radius: var(--sso-radius-lg); background: var(--sso-chip); }
.sso-callout__text p { margin: 0; }
.sso-callout__title { margin-bottom: 6px !important; color: var(--sso-ink); font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.sso-callout__text p + p { max-width: 62ch; color: var(--sso-ink-soft); }
.sso-callout__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.sso-callout .sso-buttons { margin-top: 0; }
.sso .sso-callout__call { display: inline-flex; align-items: center; gap: 8px; color: var(--sso-ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.sso-callout__call .sso-icon { width: 18px; height: 18px; color: var(--sso-accent-text); }
.sso .sso-callout__call:hover { color: var(--sso-accent-text); }
@media (max-width: 860px) { .sso-callout { grid-template-columns: minmax(0, 1fr); } }
.sso-qa__more { margin: 28px 0 0; color: var(--sso-ink-soft); }
html[data-sso-theme="light"] .sso-callout { box-shadow: 0 1px 2px rgb(29 22 32 / 0.04), 0 12px 32px -18px rgb(29 22 32 / 0.18); }
