/*
Theme Name: Show & Tell
Theme URI: https://showtell.co.uk
Author: Show & Tell
Description: The Show & Tell recruitment website: AI, data and forward deployed engineering recruitment. Creates its own pages on activation and includes search titles, descriptions, sharing tags, structured data and a contact form that emails enquiries.
Version: 2.2.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: showtell
*/

/* ---------------------------------------------------------------- Fonts, served from this site */
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/fira-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/fira-sans-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Fira Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/fira-mono-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/caveat-latin-600-normal.woff2) format("woff2"); }

:root {
  /* Layout idea: midnight purple, white and mint. Headlines and report titles are white.
     Mint marks the three things a hiring client should notice: the brand, the report's
     labels and the way to get in touch. A violet-to-aqua gradient is used sparingly:
     on the score bars, on the thin line of light down each page and in one piece of
     artwork per page. No boxes of cards and no grid paper. Change the colours here. */
  color-scheme: dark;
  --bg: #0B0423;        /* page background and navigation */
  --bg-2: #25044B;      /* the purple the hero fades into, behind the report */
  --surface: #160532;   /* the report card, tables and form panels */
  --text: #FFFFFF;      /* headlines, report titles and main text */
  --mint: #0EEDAF;      /* primary accent: the ampersand, buttons and small labels */
  --soft: #D2CEDD;      /* supporting text: intro paragraphs, captions, navigation */
  --g1: #6739DC;        /* graphic gradient: violet ... */
  --g2: #5381D8;        /* ... through blue ... */
  --g3: #8FE0D9;        /* ... to pale aqua */
  --grad: linear-gradient(90deg, var(--g1), var(--g2) 55%, var(--g3));
  --muted: var(--soft);
  --faint: rgba(210, 206, 221, .72);
  --dim: rgba(210, 206, 221, .5);
  --rule: rgba(210, 206, 221, .16);

  --sans: "Fira Sans", "Noto Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "Fira Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --wrap: 1180px;
  --pad: 48px;
  --gap: clamp(88px, 12vw, 156px);
  --h2: clamp(1.9rem, 3.5vw, 2.9rem);
  --head-h: 72px;
  --docpad: 28px;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.05; letter-spacing: -.02em; }
h2 { position: relative; font-size: var(--h2); line-height: 1.1; letter-spacing: -.012em; max-width: 17em; }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0; max-width: 64ch; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--mint); color: var(--bg); }

/* ---------------------------------------------------------------- Backdrop */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--bg); }
.sky i { display: none; }

/* ---------------------------------------------------------------- Shared pieces */
.wrap { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; line-height: 1.5; }
.mono-label, .kicker, .eyebrow, .who { font: 500 .72rem/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mint); max-width: none; }
.lede { font-size: 1.2rem; line-height: 1.5; max-width: 34em; color: var(--soft); }
.intro { position: relative; display: flex; flex-direction: column; gap: 20px; }
.intro .lede { color: var(--muted); }

section.band { position: relative; z-index: 1; padding: var(--gap) 0 0; }
.band > .wrap > * + * { margin-top: 44px; }
.band > .wrap > .wp + * { margin-top: 0; }

/* Buttons and links */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 1.0625rem/1 var(--sans); text-decoration: none; color: var(--bg); white-space: nowrap; background: var(--mint);
  transition: transform .2s ease, filter .2s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn.small-btn { min-height: 42px; padding: 0 20px; font-size: .95rem; }
.btn.line { color: var(--text); background: transparent; border: 1.5px solid rgba(210, 206, 221, .45); transition: transform .2s ease, border-color .2s ease, color .2s ease; }
.btn.line:hover { filter: none; border-color: var(--mint); color: var(--mint); }
.text-link { font-weight: 700; text-decoration: none; color: var(--text); padding-bottom: 3px;
  background: linear-gradient(var(--mint), var(--mint)) 0 100% / 100% 2px no-repeat; transition: color .2s ease; }
.text-link:hover { color: var(--mint); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }

/* Thread way-points: empty markers the line of light is drawn through (see assets/js/theme.js).
   Most sit in the gutter to the left of the text: one above a section, one beside its heading, one below it. */
.wp { position: absolute; left: var(--x, 0); top: var(--y, 0); width: 0; height: 0; pointer-events: none; }
h2 > .wp, h3 > .wp { left: -34px; top: .56em; }
.wrap > .gut-in { left: 14px; top: -34px; }
.wrap > .gut-out { left: 14px; top: calc(100% + 6px); }
.prose > .gut-in { left: -34px; top: -34px; }
.btn-row { position: relative; }
.btn-row > .gut-pre { left: -34px; top: -22px; }
.btn[data-lit] > .wp { left: 0; top: 50%; }

/* ---------------------------------------------------------------- Header */
.site-head { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px 34px; height: var(--head-h); padding: 0 var(--pad);
  transition: background .3s ease, box-shadow .3s ease; }
.site-head.stuck { background: rgba(11, 4, 35, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule); }
.brand { display: flex; align-items: center; gap: 14px; }
.logo { display: inline-flex; align-items: baseline; gap: .26rem; font: 700 1.3rem/1 var(--sans); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.logo .amp { font: 600 1.45em/.6 var(--hand); color: var(--mint); margin-right: .1em; }
.brand-tag { font: 500 .66rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); border-left: 1px solid var(--rule); padding: .35rem 0 .35rem 14px; white-space: nowrap; }
.nav { display: flex; gap: 30px; margin-left: auto; align-items: center; }
.nav a { position: relative; padding: .4rem 0; text-decoration: none; font-size: .97rem; color: var(--muted); white-space: nowrap; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--mint); }

/* ---------------------------------------------------------------- Page frame and the thread */
#main { position: relative; margin-top: calc(var(--head-h) * -1); overflow-x: clip; }
#thread { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; overflow: visible; }
#thread path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.t-track { stroke: rgba(210, 206, 221, .14); stroke-width: 1.2; }
.t-glow { stroke: url(#tg); stroke-width: 7; opacity: .2; }
.t-line { stroke: url(#tg); stroke-width: 2.2; }
.node .halo { fill: var(--g3); opacity: 0; transition: opacity .5s ease; }
.node .core { fill: var(--bg); stroke: rgba(210, 206, 221, .5); stroke-width: 1.5; transition: fill .35s ease, stroke .35s ease; }
.node.on .halo { opacity: .26; }
.node.on .core { fill: #fff; stroke: var(--g3); }
.t-comet { opacity: 0; }
.t-comet .c1 { fill: var(--g3); opacity: .3; transform-box: fill-box; transform-origin: center; animation: pulse 1.8s ease-in-out infinite alternate; }
.t-comet .c2 { fill: #fff; }
@keyframes pulse { to { transform: scale(1.5); opacity: .14; } }

/* ---------------------------------------------------------------- The dome at the top of inner pages (inc/art.php) */
.arcs { position: absolute; right: 0; top: 0; height: 100%; width: min(46vw, 700px); pointer-events: none; opacity: .9;
  -webkit-mask-image: linear-gradient(#000 45%, transparent 96%); mask-image: linear-gradient(#000 45%, transparent 96%); }
.arcs .shell { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 26s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.6deg) scale(1.02); } to { transform: rotate(2deg) scale(.97); } }

/* ---------------------------------------------------------------- Homepage hero */
.hero { position: relative; overflow: hidden; padding: 168px 0 84px; --px: 0; --py: 0;
  background: linear-gradient(180deg, rgba(11, 4, 35, 0) 70%, var(--bg) 100%), linear-gradient(90deg, var(--bg) 0%, var(--bg) 36%, var(--bg-2) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at calc(50% + var(--px) * 100%) calc(50% + var(--py) * 100%), rgba(103, 57, 220, .16), transparent 70%); }
.hero > .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 1.05; letter-spacing: -.022em; }
.hero h1 span { display: block; }
.hero h1 .eyebrow { margin-bottom: 26px; font-size: .78rem; letter-spacing: .2em; }
.hero .lede { margin-top: 28px; max-width: 27em; font-size: 1.22rem; }
.hero .cta-row { margin-top: 36px; }
.hero-copy > .small { margin-top: 22px; }

.hero-fig { position: relative; margin: 0 0 0 auto; max-width: 420px; width: 100%; }
.hand-note { font: 600 1.5rem/1 var(--hand); color: var(--mint); transform: rotate(-3deg); margin: 0 6px 14px auto; width: max-content; max-width: 100%; }
.doc-float { animation: floaty 8s ease-in-out infinite alternate; }
@keyframes floaty { from { transform: translateY(-7px); } to { transform: translateY(9px); } }
.hero-fig figcaption { margin-top: 22px; font-size: .84rem; line-height: 1.45; color: var(--faint); }

/* ---------------------------------------------------------------- Documents: the report card and anything shown as a document */
.doc { position: relative; padding: var(--docpad); border-radius: 14px; border: 1px solid var(--rule); font-size: .96rem; line-height: 1.5;
  background: var(--surface); box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .75); }
.doc p { max-width: none; }
.doc-tilt { transform: perspective(1100px) rotateY(calc(var(--px, 0) * -9deg)) rotateX(calc(var(--py, 0) * 7deg)) rotate(-1.4deg); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.doc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.pill { display: inline-flex; align-items: center; gap: 7px; font: 700 .8rem/1 var(--sans); padding: 7px 11px; border-radius: 999px; white-space: nowrap; color: var(--bg); background: var(--mint); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.neutral { color: var(--soft); background: rgba(210, 206, 221, .14); }
.pill.open { color: #fff; background: rgba(103, 57, 220, .6); }
.hero-doc .pill { animation: pill-on .7s 2.3s ease backwards; }
@keyframes pill-on { from { background: transparent; color: var(--soft); box-shadow: 0 0 0 1px rgba(210, 206, 221, .35); } }
.doc-title { margin-top: 16px; font-size: 1.6rem; line-height: 1.15; }
.doc-sub { color: var(--faint); font-size: .88rem; }
.doc-lead { margin-top: 14px; font-size: 1rem; color: var(--soft); }
.doc-rec { margin-top: 16px; padding: 16px 18px; border-radius: 0 10px 10px 0; border-left: 3px solid var(--mint); background: rgba(14, 237, 175, .07); }
.doc-rec b { display: block; margin-bottom: 4px; font-size: 1.08rem; }
.doc-rec p { color: var(--soft); }

.findings { margin-top: 10px; }
.findings li { padding: 13px 0; border-bottom: 1px solid var(--rule); }
.findings.compact { margin-top: 16px; border-top: 1px solid var(--rule); }
.findings.compact li { padding: 11px 0; }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.f-top b { font-weight: 700; }
.findings.compact .f-top b { font-weight: 400; }
.findings p, .doc-next p { margin-top: 4px; color: var(--muted); }
.score { display: inline-flex; align-items: center; gap: 12px; font: 500 .82rem/1 var(--mono); color: var(--muted); white-space: nowrap; }
/* Five squares. --n is the score, set on the element. */
@property --n { syntax: "<number>"; inherits: true; initial-value: 0; }
.pips { width: 91px; height: 15px; border-radius: 2px;
  background: linear-gradient(90deg, transparent calc(var(--n) * 20%), #34254D 0), var(--grad);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 15px, transparent 15px 19px); mask: repeating-linear-gradient(90deg, #000 0 15px, transparent 15px 19px); }
.hero-doc .pips { animation: pips 1s calc(.9s + var(--r, 0) * .4s) cubic-bezier(.3, .8, .3, 1) backwards; }
.hero-doc .findings li:nth-child(2) { --r: 1; }
.hero-doc .findings li:nth-child(3) { --r: 2; }
@keyframes pips { from { --n: 0; } }
.doc-next { margin-top: 14px; }
.doc-next b { font: 500 .66rem/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mint); }
.doc-next p { margin-top: 0; color: var(--text); }
.doc h4 { position: relative; margin: 34px 0 12px; font-size: 1.12rem; line-height: 1.3; }
.doc h4 .num { font: 500 .85rem/1 var(--mono); color: var(--mint); margin-right: 12px; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.kv dt { font: 500 .66rem/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mint); margin-bottom: 2px; }
.table-scroll { overflow-x: auto; }
.rtable { min-width: 520px; }
.rtable th, .rtable td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); font-size: .93rem; line-height: 1.45; }
.rtable th { font: 500 .66rem/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mint); }
.rtable td:last-child, .rtable th:last-child { padding-right: 0; white-space: nowrap; }
.rtable td.ev { color: var(--muted); }
.rtable.keytable { min-width: 0; }
.rtable.keytable td:last-child, .rtable.keytable th:last-child { white-space: normal; color: var(--muted); }
.rtable.keytable td:first-child { white-space: nowrap; width: 5rem; font-family: var(--mono); }

/* ---------------------------------------------------------------- Homepage: timings on the line */
.facts { position: relative; z-index: 1; padding: 8px 0 0; }
.facts ul { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; padding: 0 5% 0 4%; }
.facts li { position: relative; padding-bottom: 30px; }
.facts li:nth-child(2) { margin-top: 84px; }
.facts li:nth-child(3) { margin-top: 168px; }
.facts .mono-label { display: block; color: var(--muted); }
.facts b { display: block; margin-top: 4px; font-size: clamp(1.35rem, 2.3vw, 1.9rem); line-height: 1.2; color: var(--text); transition: color .5s ease; }
.facts li > .wp { left: 0; top: auto; bottom: 0; }
.facts .note { position: absolute; left: calc(var(--pad) + 4%); bottom: 0; max-width: 17em; font-size: .92rem; line-height: 1.5; color: var(--faint); }
.js .facts li:not(.lit) b { color: var(--dim); }

/* ---------------------------------------------------------------- Lists the line runs through */
.js [data-lit] > h3, .js [data-lit] > .n, .js [data-lit] > div > h3 { transition: color .45s ease, text-shadow .45s ease; }
.js [data-lit]:not(.lit) > h3, .js [data-lit]:not(.lit) > div > h3 { color: var(--dim); }
.js [data-lit]:not(.lit) > .n { color: rgba(14, 237, 175, .38); }

/* Three points stepping down and to the left */
.cascade { margin-top: 10px !important; }
.cascade li { position: relative; max-width: 27em; padding-left: 36px; }
.cascade li:nth-child(1) { margin-left: 56%; }
.cascade li:nth-child(2) { margin-left: 34%; margin-top: 44px; }
.cascade li:nth-child(3) { margin-left: 12%; margin-top: 44px; }
.cascade p { margin-top: 8px; color: var(--muted); }
.cascade .wp { left: 0; top: .82em; }
.cascade .wp-out { top: calc(100% + 36px); }
@media (min-width: 900px) { .cascade-intro h2, .cascade-intro .lede { max-width: min(28em, 46%); } .pair-intro > * { max-width: 44%; } }

/* A heading on the left, points down a rail on the right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 100px; align-items: start; }
.band > .wrap.split > * + * { margin-top: 0; }
.split .note { margin-top: 34px; padding-top: 26px; max-width: 26em; font-size: 1.05rem; color: var(--soft);
  background: linear-gradient(90deg, var(--mint), rgba(14, 237, 175, 0)) 0 0 / 100% 2px no-repeat; }
.rail-list { display: grid; gap: 40px; padding-top: 10px; }
.rail-list li { position: relative; padding-left: 44px; }
.rail-list p { margin-top: 6px; color: var(--muted); }
.rail-list .wp { left: 0; top: .82em; }
.rail-list .wp-in { top: -56px; }
.rail-list .wp-out { top: calc(100% + 30px); }

/* Numbered steps down the left edge */
.steps .n, .stage > .n { font: 500 1.35rem/1 var(--mono); color: var(--mint); }
.steps { display: grid; gap: 38px; max-width: 46rem; }
.steps li { position: relative; display: grid; grid-template-columns: 3.6rem minmax(0, 1fr); align-items: baseline; }
.steps li > .wp { left: -34px; top: 1.05rem; }
.steps h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 400; line-height: 1.2; }
.steps p { grid-column: 2; margin-top: 8px; max-width: 33em; color: var(--muted); }
.steps-end { position: relative; padding-left: 3.6rem; color: var(--muted); }
.steps-end .text-link { display: inline-block; margin-top: 14px; }
.steps-end > .wp { left: -34px; top: 100%; }

/* Stages with a second column of detail (How it works) */
.stages { border-bottom: 1px solid var(--rule); }
.stage { position: relative; display: grid; grid-template-columns: 3.6rem minmax(0, 1.1fr) minmax(0, .9fr); gap: 12px 44px; align-items: start; padding: 38px 0; border-top: 1px solid var(--rule); }
.stage > .wp { left: -34px; top: calc(38px + 1.1rem); }
.stage > .n { padding-top: .45rem; }
.stage h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 400; line-height: 1.2; }
.stage p { margin-top: 10px; color: var(--muted); }
.who { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; }
.who::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 1.5rem 1fr; line-height: 1.5; }
.ticks li::before { content: ""; width: 9px; height: 9px; margin-top: .52em; transform: rotate(45deg); border-radius: 1px; background: var(--g3); }
.stage .ticks { padding-top: .5rem; }

/* Points either side of a centre line (For engineers) */
.zig { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 110px; }
.zig li { position: relative; padding: 14px 0 30px; max-width: 24em; }
.zig li:nth-child(odd) { grid-column: 1; justify-self: end; text-align: right; }
.zig li:nth-child(even) { grid-column: 2; }
.zig li:nth-child(1) { grid-row: 1 / span 2; } .zig li:nth-child(2) { grid-row: 2 / span 2; }
.zig li:nth-child(3) { grid-row: 3 / span 2; } .zig li:nth-child(4) { grid-row: 4 / span 2; }
.zig li:nth-child(5) { grid-row: 5 / span 2; } .zig li:nth-child(6) { grid-row: 6 / span 2; }
.zig li:nth-child(7) { grid-row: 7 / span 2; } .zig li:nth-child(8) { grid-row: 8 / span 2; }
.zig p { margin-top: 6px; color: var(--muted); }
.zig li:nth-child(odd) > .wp { left: calc(100% + 55px); top: calc(14px + .82em); }
.zig li:nth-child(even) > .wp { left: -55px; top: calc(14px + .82em); }
.zig-box { position: relative; }
.zig-box > .wp-in { left: 50%; top: -30px; }
.zig-box > .wp-out { left: 50%; top: calc(100% + 10px); }

/* Three columns stepping down, no boxes */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 56px; align-items: start; }
.trio > * { position: relative; padding-top: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.trio > *::before { content: ""; position: absolute; left: 0; top: 0; width: 76px; height: 3px; border-radius: 2px; background: var(--g1); }
.trio > :nth-child(2)::before { background: var(--g2); }
.trio > :nth-child(3)::before { background: var(--g3); }
.trio p { color: var(--muted); }
.trio .more { margin-top: 6px; }
@media (min-width: 900px) { .trio > :nth-child(2) { margin-top: 36px; } .trio > :nth-child(3) { margin-top: 72px; } }

/* Two options with the line between them */
.pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 140px; }
.pair > .wp-in { left: 50%; top: -24px; }
.pair > .wp-out { left: 50%; top: calc(100% + 10px); }
.pair article { display: flex; flex-direction: column; align-items: flex-start; }
.pair h3 { margin-top: 12px; font-size: 1.6rem; line-height: 1.2; }
.pair p { margin-top: 12px; color: var(--muted); }
.pair .btn { margin-top: 24px; }
@media (min-width: 900px) { .pair article:last-of-type { margin-top: 72px; } }
.price-line { margin-top: 12px !important; font-size: 2.6rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--text) !important; }
.price-line small { display: block; margin-top: 6px; font: 400 .95rem/1.4 var(--sans); letter-spacing: 0; color: var(--muted); }

/* ---------------------------------------------------------------- Homepage: the four disciplines */
.duo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.band > .wrap.duo > * + * { margin-top: 0; }
.stack-box { position: relative; max-width: 400px; }
.stack-box .wp-in { left: 50%; top: -12px; }
.stack-box .wp-out { left: 50%; top: calc(100% + 12px); }
#stack { display: block; width: 100%; height: auto; overflow: visible; }
#stack .layer { transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .35s ease; cursor: pointer; }
#stack .bob { animation: bob 6s ease-in-out infinite alternate; }
#stack .l1 .bob { animation-delay: -1.4s; } #stack .l2 .bob { animation-delay: -2.8s; } #stack .l3 .bob { animation-delay: -4.2s; }
@keyframes bob { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
#stack .top { stroke: rgba(255, 255, 255, .5); stroke-width: 1; }
#stack .side-l { filter: brightness(.55); }
#stack .side-r { filter: brightness(.34); }
#stack .l0 { filter: drop-shadow(0 0 16px rgba(143, 224, 217, .3)); }
#stack .l1 { filter: drop-shadow(0 0 16px rgba(83, 129, 216, .38)); }
#stack .l2 { filter: drop-shadow(0 0 16px rgba(98, 80, 227, .4)); }
#stack .l3 { filter: drop-shadow(0 0 18px rgba(103, 57, 220, .45)); }
#stack[data-on] .layer { opacity: .3; }
#stack[data-on="0"] .l0, #stack[data-on="1"] .l1, #stack[data-on="2"] .l2, #stack[data-on="3"] .l3 { opacity: 1; transform: translateY(-14px); }
.roles-list { margin-top: 40px; display: grid; gap: 28px; }
.roles-list article { position: relative; padding-left: 34px; transition: transform .35s ease; }
.roles-list article.hot { transform: translateX(8px); }
.roles-list article > svg { position: absolute; left: 0; top: .42em; width: 20px; height: 12px; overflow: visible; transition: filter .3s; }
.roles-list article.hot > svg { filter: drop-shadow(0 0 8px currentColor); }
.roles-list h3 { color: var(--text); }
.roles-list p { margin-top: 4px; color: var(--muted); }
.roles-list .roles { color: var(--soft); font-size: .97rem; }
.roles-list .more { margin-top: 10px; font-size: .97rem; }

/* ---------------------------------------------------------------- Numbered tiles and link tiles */
.inside-box > .mono-label { display: block; }
.inside { display: flex; flex-wrap: wrap; gap: 30px 22px; margin-top: 22px; counter-reset: part; }
.inside li { counter-increment: part; width: 124px; font: 500 .66rem/1.45 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.inside li::before { content: counter(part); display: block; aspect-ratio: 1; margin-bottom: 12px; padding: 12px 14px; border-radius: 7px; border: 2px solid var(--c1); text-align: left;
  font: 700 1.7rem/1 var(--sans); letter-spacing: 0; color: #fff; background: var(--surface);
  transition: border-color .5s ease; transition-delay: calc(var(--i, 0) * .11s); }
.inside li:hover { transform: translateY(-8px); }
/* Six borders stepping from violet to pale aqua */
.inside li:nth-child(1) { --c1: #6739DC; }
.inside li:nth-child(2) { --c1: #5F55DA; --i: 1; }
.inside li:nth-child(3) { --c1: #5970D9; --i: 2; }
.inside li:nth-child(4) { --c1: #5381D8; --i: 3; }
.inside li:nth-child(5) { --c1: #6FAFD9; --i: 4; }
.inside li:nth-child(6) { --c1: #8FE0D9; --i: 5; }
.js .inside:not(.in) li::before { border-color: var(--rule); }
@media (min-width: 900px) {
  .inside li:nth-child(2), .inside li:nth-child(5) { margin-top: 20px; }
  .inside li:nth-child(3), .inside li:nth-child(4) { margin-top: 32px; }
}
.tiles { display: flex; flex-wrap: wrap; gap: 22px; }
.tiles a { flex: 1 1 210px; display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 168px; padding: 18px 20px 20px; border-radius: 10px; border: 1.5px solid var(--rule); text-decoration: none;
  background: var(--surface); transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s ease; }
.tiles a:hover { transform: translateY(-8px); border-color: var(--mint); }
.tiles h3 { font-size: 1.25rem; line-height: 1.25; }
@media (min-width: 900px) { .tiles > :nth-child(2), .tiles > :nth-child(3) { margin-top: 22px; } }

/* ---------------------------------------------------------------- Service pages */
.two-col, .preview-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px 80px; align-items: start; }
.band > .wrap.two-col > * + *, .band > .wrap.preview-grid > * + * { margin-top: 0; }
.roles-panel { padding: 30px 32px; display: flex; flex-direction: column; gap: 16px; }
.roles-panel .ticks + .mono-label { margin-top: 12px; }
.roles-panel p { color: var(--muted); }
.task-doc h4 { margin: 24px 0 8px; font: 500 .68rem/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mint); }
.task-doc ol { list-style: decimal; padding-left: 1.4rem; display: grid; gap: 6px; }
.task-doc ol li::marker { font-family: var(--mono); color: var(--mint); }
.aside-note { max-width: 46rem; }
.aside-note h3 { font-size: 1.5rem; }
.ctable.narrow { max-width: 720px; }
.ctable.narrow table { min-width: 0; }

/* ---------------------------------------------------------------- Sample report */
.report { --docpad: 44px; max-width: 940px; }
.report .doc-title { font-size: 2rem; }
.report > h3 { position: relative; margin-top: 34px; font-size: 1.35rem; }
.report > h3.part { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--rule); }
.report > h3.part > .wp { top: calc(34px + .56em); }
.report h3 > .wp, .report h4 > .wp { left: calc(-35.5px - var(--docpad)); }
.report h4 > .wp { top: .62em; }
.report .ticks { gap: 12px; }
.after-doc { margin-top: 22px !important; }

/* ---------------------------------------------------------------- Questions */
.faq { max-width: 780px; border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 1.22rem; font-weight: 700; line-height: 1.3; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--mint); }
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  background: linear-gradient(var(--mint), var(--mint)) 50% / 100% 2px no-repeat, linear-gradient(var(--mint), var(--mint)) 50% / 2px 100% no-repeat; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------------------------------------------------------------- Closing band */
.closing { position: relative; z-index: auto !important; margin-top: var(--gap); padding: clamp(100px, 12vw, 160px) 0 clamp(100px, 12vw, 160px) !important; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 4, 35, 0) 34%), linear-gradient(90deg, var(--bg) 0%, var(--bg) 30%, var(--bg-2) 100%); }
.closing h2 { font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 1.05; letter-spacing: -.022em; max-width: 9em; }
.closing p { margin-top: 10px; max-width: 27em; font-size: 1.2rem; line-height: 1.5; color: var(--soft); }
.closing .cta-row { margin-top: 38px !important; }
.closing .wp-in { left: 18px; top: -60px; }

/* ---------------------------------------------------------------- Inner pages: heading area */
.page-head { position: relative; z-index: 1; overflow: hidden; padding: 176px 0 64px;
  background: linear-gradient(180deg, rgba(11, 4, 35, 0) 60%, var(--bg) 100%), linear-gradient(90deg, var(--bg) 0%, var(--bg) 40%, var(--bg-2) 100%); }
.page-head h1 { max-width: 15em; }
.page-head.wide h1 { max-width: 17em; }
.page-head .lede { max-width: 32em; margin-top: 6px; }
.page-head .cta-row { margin-top: 18px; }
.page-head .eyebrow { margin-bottom: 6px; }
.page-head + section.band { padding-top: clamp(36px, 6vw, 72px); }
.page-head.lone { padding-bottom: 40px; min-height: 62vh; }
.contact-side { padding-top: 12px; }

/* ---------------------------------------------------------------- Tables and panels */
.panel, .ctable, .card { border: 1px solid var(--rule); border-radius: 14px; background: var(--surface); }
.card { padding: 28px; display: flex; flex-direction: column; gap: .7rem; }
.card p { color: var(--muted); }
.ctable { overflow-x: auto; }
.ctable table { min-width: 640px; }
.ctable th, .ctable td { text-align: left; vertical-align: top; padding: 18px 24px; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.ctable tr:last-child th, .ctable tr:last-child td { border-bottom: 0; }
.ctable thead th { font-size: 1.15rem; line-height: 1.25; background: rgba(210, 206, 221, .06); }
.ctable tbody th { font: 500 .68rem/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--mint); width: 22%; }
.ctable td { color: var(--muted); }
.ctable td strong { color: var(--text); font-weight: 700; }
.ctable td.price { color: #fff; font-size: 1.15rem; font-weight: 700; white-space: nowrap; }
.ctable td.num, .ctable th.num { text-align: right; }

/* ---------------------------------------------------------------- Pricing: currency switch and calculator */
.cur { display: inline-flex; align-self: flex-start; margin-top: 22px; padding: 4px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg); }
.cur button { font: 700 .95rem/1 var(--sans); padding: .65rem 1.05rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; transition: color .2s; }
.cur button:hover { color: #fff; }
.cur button[aria-pressed="true"] { color: var(--bg); background: var(--mint); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.calc form { display: grid; gap: 1.3rem; align-content: start; padding: clamp(22px, 3vw, 32px); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: .6rem; }
legend, label.lab { padding: 0; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.radios { display: flex; flex-wrap: wrap; gap: .6rem; }
.radios label { display: inline-flex; align-items: center; gap: .5rem; padding: .62rem .95rem; border: 1.5px solid rgba(210, 206, 221, .28); border-radius: 999px; background: var(--bg); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s; }
.radios label:hover { color: #fff; }
.radios label:has(input:checked) { color: #fff; border-color: var(--mint); }
.radios input { accent-color: var(--mint); margin: 0; }
.field { display: grid; gap: .45rem; align-content: start; }
input[type="text"], input[type="email"], input[type="number"], input[type="tel"], select, textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text); background: var(--bg); border: 1px solid rgba(210, 206, 221, .3); border-radius: 9px; padding: .78rem .9rem; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(14, 237, 175, .22); }
textarea { min-height: 7.5rem; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--mint) 50%), linear-gradient(135deg, var(--mint) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 55%, calc(100% - .8rem) 55%; background-size: .36rem .36rem; background-repeat: no-repeat; }
/* Mobile number: the country's dialling code sits in front of the box and is filled in from the country chosen */
.phone { display: flex; transition: opacity .2s; }
.phone .dial { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 4.4rem; padding: 0 .8rem; font: 500 1rem/1 var(--mono); color: var(--text);
  background: rgba(210, 206, 221, .08); border: 1px solid rgba(210, 206, 221, .3); border-right: 0; border-radius: 9px 0 0 9px; }
.phone input { border-radius: 0 9px 9px 0; min-width: 0; }
.phone.off { opacity: .5; }
.phone.off input { cursor: not-allowed; }
.quote { display: block; }
.quote .q-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.quote .q-total { padding: 22px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.quote .q-total span { font: 500 .68rem/1.5 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.quote .q-total b { align-self: flex-start; font-size: 3.2rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--text); }
.quote .q-total small { color: var(--muted); font-size: .95rem; }
.quote ul { display: grid; gap: 10px; padding-top: 18px; }
.quote li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.quote li b { font: 500 1rem/1.4 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote .q-note { margin-top: 18px; font-size: .92rem; color: var(--muted); }

/* ---------------------------------------------------------------- Contact */
.start-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 6vw, 84px); align-items: start; }
.band > .wrap.start-grid > * + * { margin-top: 0; }
.form-card { display: grid; gap: 1.3rem; padding: clamp(22px, 3.4vw, 36px); }
.form-card iframe { width: 100%; border: 0; border-radius: 10px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.addr { font: 500 1.05rem/1.4 var(--mono); }
.form-note { margin: 0 0 1rem; max-width: none; }
.form-note.bad { color: #FFB8AE; font-weight: 700; }
.form-note.ok { border-left: 3px solid var(--mint); }
.form-note.ok p { color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- Long-form text pages */
.prose { position: relative; max-width: 780px; display: flex; flex-direction: column; gap: 1rem; }
.prose h2 { position: relative; font-size: 1.6rem; margin-top: 2.2rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin-top: .6rem; color: var(--soft); }
.prose p, .prose li { color: var(--muted); max-width: 70ch; }
.prose strong { color: var(--text); font-weight: 700; }
.prose ul { display: grid; gap: .55rem; }
.prose ul li { position: relative; padding-left: 1.5rem; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 8px; height: 8px; transform: rotate(45deg); border-radius: 1px; background: var(--g3); }
.prose ol { padding-left: 1.4rem; display: grid; gap: .55rem; list-style: decimal; }
.prose a:not(.text-link) { color: var(--text); text-decoration-color: var(--mint); text-underline-offset: .22em; }
.prose img { height: auto; border-radius: 12px; }
.prose blockquote { margin: 0; padding-left: 1.1rem; border-left: 3px solid var(--g1); }
.prose article + article { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.prose .dots { color: var(--faint); }

/* ---------------------------------------------------------------- Footer */
.site-foot { position: relative; z-index: 1; margin-top: var(--gap); background: var(--bg); border-top: 1px solid var(--rule); padding: 72px 0 44px; font-size: .95rem; }
.closing + .site-foot, #main:has(> .closing:last-child) + .site-foot { margin-top: 0; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .8fr); gap: 44px 48px; }
.site-foot .logo { font-size: 1.4rem; }
.site-foot p { color: var(--muted); max-width: 26em; }
.site-foot nav { display: grid; gap: 9px; align-content: start; }
.site-foot nav .mono-label { margin-bottom: 7px; }
.site-foot a:not(.logo) { text-decoration: none; color: var(--muted); transition: color .2s; }
.site-foot a:not(.logo):hover { color: #fff; }
.foot-legal { grid-column: 1 / -1; max-width: none !important; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: .82rem; color: var(--faint) !important; }

/* ---------------------------------------------------------------- Narrow screens */
@media (max-width: 1100px) {
  .brand-tag { display: none; }
}
@media (max-width: 899px) {
  :root { --pad: 24px; --head-h: 104px; --docpad: 22px; }
  html { scroll-padding-top: 124px; }
  .wrap { padding-left: 46px; }
  .site-head { flex-wrap: wrap; align-content: center; gap: 6px 16px; padding-left: 46px; background: rgba(11, 4, 35, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--rule); }
  .head-cta { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 14px; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
  .nav a { font-size: .86rem; }
  .nav::-webkit-scrollbar { display: none; }
  .hero { padding: 150px 0 56px; }
  .hero > .wrap { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-fig { margin: 0; }
  .doc-tilt { transform: none; }
  .facts { padding-top: 28px; }
  .facts ul { flex-direction: column; gap: 26px; padding: 0; }
  .facts li, .facts li:nth-child(n) { margin-top: 0; padding-bottom: 0; }
  .facts li > .wp { top: .5em; bottom: auto; }
  .facts .note { position: static; margin-top: 26px; max-width: none; }
  .cascade { margin-top: 44px !important; }
  .cascade li, .cascade li:nth-child(n) { margin-left: 0; padding-left: 0; }
  .duo { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .stack-box { max-width: 280px; }
  .inside { gap: 26px 16px; }
  .inside li { width: calc((100% - 32px) / 3); max-width: 124px; font-size: .58rem; letter-spacing: .05em; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .rail-list li { padding-left: 0; }
  .steps li { grid-template-columns: 3rem minmax(0, 1fr); }
  .steps-end { padding-left: 0; }
  .stage { grid-template-columns: 3rem minmax(0, 1fr); }
  .stage > :nth-child(4) { grid-column: 2; }
  .zig { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .zig li, .zig li:nth-child(n) { grid-column: 1; grid-row: auto; justify-self: start; text-align: left; max-width: none; }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .calc, .start-grid, .two-col, .preview-grid { grid-template-columns: minmax(0, 1fr); }
  .report { --docpad: 22px; }
  .faq details p { padding-right: 0; }
  .page-head { padding: 148px 0 40px; }
  .page-head .arcs { width: 52vw; height: 70%; opacity: .3; }
  .site-foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .site-foot .wrap > .stack { grid-column: 1 / -1; }
  .ctable th, .ctable td { padding: 14px 16px; }
}
@media (max-width: 560px) {
  .two, .kv { grid-template-columns: minmax(0, 1fr); }
  .quote .q-total b { font-size: 2.4rem; }
  .tiles a { flex-basis: 100%; min-height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .t-comet { display: none; }
}

/* ---------------------------------------------------------------- WordPress additions */
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-head { top: 0; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 100; width: auto; height: auto; margin: 0; padding: .7rem 1rem; clip: auto; background: var(--mint); color: var(--bg); border-radius: 6px; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: 1.5rem; }
