/*
Theme Name: JobHandler
Description: The jobhandler.co.uk theme.
Version: 0.3.0
Requires at least: 7.1
Requires PHP: 8.3
Author: JobHandler
License: Proprietary
Text Domain: jobhandler
*/

/*
 * The site's own rules, built to the approved home page design ("Office and van") and keeping its
 * class names. Colours are the theme.json palette (from the app's tokens.css), given the page's
 * short names here. The coloured board jobs, pills, dots and feature groups are part of the
 * pictures of the product.
 *
 * Contents: tokens, base, buttons, header, hero and its picture, trust strip, sections, the six
 * steps, features band, trades, waiting list, footer, other pages, trade pages, about, FAQ and
 * contact, responsive rules, motion.
 */

/* ---------- Tokens ---------- */

:root {
	--navy: var(--wp--preset--color--navy);
	--navy-950: var(--wp--preset--color--navy-950);
	--navy-50: var(--wp--preset--color--navy-50);
	--teal: var(--wp--preset--color--teal);
	--teal-700: var(--wp--preset--color--teal-700);
	--teal-50: var(--wp--preset--color--teal-50);
	--white: var(--wp--preset--color--white);
	--surface: var(--wp--preset--color--surface);
	--ink: var(--wp--preset--color--ink);
	--ink-2: var(--wp--preset--color--ink-2);
	--ink-3: var(--wp--preset--color--ink-3);
	--line: var(--wp--preset--color--line);
	--line-strong: var(--wp--preset--color--line-strong);
	--shadow: var(--wp--custom--shadow);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 48px);
}

/* ---------- Base ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
}

/* Links to parts of the page glide there, when scripts run (as with the rest of the motion). */
html.js {
	scroll-behavior: smooth;
}

body {
	font-variant-numeric: tabular-nums;
}

/* Header, page and footer meet edge to edge, and so do the bands inside a page. */
.wp-site-blocks > *,
.wp-site-blocks .jh-main > * {
	margin-block: 0;
}

h1, h2, h3 { color: var(--navy); margin: 0; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--navy); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--teal-700); outline-offset: 3px; border-radius: 2px; }
.on-navy :focus-visible { outline-color: var(--teal); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Words for screen readers only, such as "(opens in a new tab)". */
.screen-reader-text:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link.screen-reader-text:focus {
	left: 16px;
	top: 12px;
	z-index: 100000;
	background: var(--navy);
	color: #fff;
	padding: 12px 16px;
	border-radius: 4px;
	font-weight: 600;
	text-decoration: none;
}

/* ---------- Buttons ---------- */

:is(a, button).btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 6px; font-family: inherit; font-weight: 600; font-size: 17px; line-height: 1.1; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn.btn--navy { background: var(--navy); color: #fff; }
.btn.btn--navy:hover { background: var(--navy-950); }
.btn.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn.btn--line:hover { background: var(--navy-50); }

/* Block buttons (the waiting list form, page buttons) look the same: theme.json gives the colours. */
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	text-decoration: none;
	cursor: pointer;
}

/* ---------- Header ---------- */

/* The header template part (every template, and the site plugin's waiting list pages, use tagName "header"). */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--white) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 0px); }
.wp-site-blocks > header.wp-block-template-part .wrap { display: flex; align-items: center; gap: 32px; min-height: 72px; }
a.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 48px; }
.brand img { display: block; height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav a.link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink); }
.nav a.link:hover { color: var(--navy); text-decoration: underline; }
.nav .btn { min-height: 48px; font-size: 16px; padding: 0 20px; }

/* ---------- Hero ---------- */

.hero { background: var(--surface); overflow: clip; padding-top: 80px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 40px; align-items: start; }
.hero h1 { font-size: clamp(40px, 3.9vw, 58px); line-height: 1.04; letter-spacing: -.03em; font-weight: 700; margin-top: 24px; }
.hero .lead { font-size: 20px; color: var(--ink-2); margin-top: 24px; max-width: 34ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .note { margin-top: 24px; font-size: 15px; color: var(--ink-3); max-width: 40ch; padding-left: 14px; border-left: 3px solid var(--teal); }
.nw { white-space: nowrap; }

/* The picture: everything in em so it scales as one picture. */
.stage { position: relative; font-size: clamp(7px, .62vw, 9.2px); height: 72em; margin-right: calc(-1 * var(--gutter) - 40em); }
.laptop { position: absolute; left: 19em; top: 0; width: 90em; }
.laptop__lid { background: var(--navy-950); border-radius: 1.6em 1.6em .4em .4em; padding: 1.4em 1.4em 1.8em; box-shadow: 0 3em 6em -2em rgba(11, 42, 91, .35); }
.laptop__cam { width: .6em; height: .6em; border-radius: 50%; background: #1d3b6e; margin: -.9em auto .4em; }
.laptop__base { height: 1.6em; margin: 0 -5em; background: linear-gradient(180deg, #e9edf3, #c9d1dd); border-radius: 0 0 2.2em 2.2em; position: relative; }
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 12em; height: .7em; transform: translateX(-50%); background: #bfc8d5; border-radius: 0 0 .8em .8em; }
.screen { background: var(--white); border-radius: .3em; overflow: hidden; height: 50em; display: grid; grid-template-columns: 5.2em 1fr; font-size: 1em; }
.rail { background: var(--navy); display: flex; flex-direction: column; align-items: center; gap: 1.4em; padding-top: 1.4em; }
.rail i { display: block; width: 2.2em; height: 2.2em; border-radius: .6em; background: rgba(255, 255, 255, .14); }
.rail i.on { background: var(--teal); }
.rail i:first-child { background: #fff; border-radius: .5em; }
.app { display: flex; flex-direction: column; min-width: 0; background: var(--surface); }
.app__bar { display: flex; align-items: center; gap: 1.6em; padding: 1.3em 2em; background: var(--white); border-bottom: 1px solid var(--line); }
.app__biz { font-weight: 600; color: var(--navy); font-size: 1.35em; }
.app__date { color: var(--ink-2); font-size: 1.2em; }
.seg { display: flex; border: 1px solid var(--line); border-radius: .5em; overflow: hidden; margin-left: auto; }
.seg span { padding: .45em 1.1em; font-size: 1.1em; color: var(--ink-2); }
.seg span.on { background: var(--navy-50); color: var(--navy); font-weight: 600; }
.app__new { background: var(--navy); color: #fff; border-radius: .5em; padding: .6em 1.2em; font-size: 1.1em; font-weight: 600; }
.board { flex: 1; margin: 1.6em 2em 2em; background: var(--white); border: 1px solid var(--line); border-radius: .6em; position: relative; display: grid; grid-template-columns: 13em 1fr; grid-template-rows: 2.8em repeat(4, 1fr); }
.board__hours { grid-column: 2; display: grid; grid-template-columns: repeat(var(--n, 9), 1fr); border-bottom: 1px solid var(--line); }
.board__hours span { font-size: 1.05em; color: var(--ink-3); padding: .75em 0 0 .6em; border-left: 1px solid var(--line); }
.who { grid-column: 1; display: flex; align-items: center; gap: .8em; padding: 0 1.2em; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.who b { flex: none; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--navy-50); color: var(--navy); font-size: 1em; font-weight: 600; }
.who span { font-size: 1.15em; font-weight: 600; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.who small { display: block; font-weight: 400; color: var(--ink-3); font-size: .85em; }
.lane { grid-column: 2; position: relative; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(90deg, transparent 0, transparent calc(100% / var(--n, 9) - 1px), var(--line) calc(100% / var(--n, 9) - 1px), var(--line) calc(100% / var(--n, 9))); }
.lane:last-of-type, .who:nth-last-of-type(2) { border-bottom: 0; }
.job { position: absolute; top: .8em; bottom: .8em; left: calc((var(--s) - 8) / var(--n, 9) * 100% + .35em); width: calc(var(--d) / var(--n, 9) * 100% - .7em); background: var(--white); border: 1px solid var(--line); border-left: .35em solid var(--navy); border-radius: .4em; padding: .6em .8em; overflow: hidden; box-shadow: 0 1px 2px rgba(11, 42, 91, .06); }
.job strong { display: block; font-size: 1.1em; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.job span { display: block; font-size: 1em; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job em { display: inline-block; font-style: normal; font-size: .95em; font-weight: 600; color: var(--navy); background: var(--navy-50); border-radius: .3em; padding: .1em .5em; margin-top: .35em; }
.job.drag { border: 2px dashed var(--teal-700); background: var(--teal-50); box-shadow: var(--shadow); }
.job.sel { border-color: var(--teal); border-left-color: var(--teal); box-shadow: 0 0 0 .25em color-mix(in srgb, var(--teal) 30%, transparent); }
.now { position: absolute; top: 2.8em; bottom: 0; left: calc(13em + (100% - 13em) * (10.97 - 8) / 9); width: 2px; background: var(--teal); z-index: 2; }
.now::before { content: "10:58"; position: absolute; top: -2.3em; left: 50%; transform: translateX(-50%); background: var(--teal); color: var(--navy); font-size: 1em; font-weight: 700; padding: .2em .5em; border-radius: .3em; }

/* Board: every job its own colour; the status stays a word. */
.c1 { --jb: #E0F2FE; --jc: #0284C7; --jt: #075985; }
.c2 { --jb: #DBEAFE; --jc: #2563EB; --jt: #1E40AF; }
.c3 { --jb: #E0E7FF; --jc: #4F46E5; --jt: #3730A3; }
.c4 { --jb: #EDE9FE; --jc: #7C3AED; --jt: #5B21B6; }
.c5 { --jb: #F3E8FF; --jc: #9333EA; --jt: #6B21A8; }
.c6 { --jb: #FAE8FF; --jc: #C026D3; --jt: #86198F; }
.c7 { --jb: #FCE7F3; --jc: #DB2777; --jt: #9D174D; }
.c8 { --jb: #CCFBF1; --jc: #0D9488; --jt: #115E59; }
.c9 { --jb: #D1FAE5; --jc: #059669; --jt: #065F46; }
.c10 { --jb: #DCFCE7; --jc: #16A34A; --jt: #166534; }
.c11 { --jb: #ECFCCB; --jc: #65A30D; --jt: #3F6212; }
.c12 { --jb: #CFFAFE; --jc: #0891B2; --jt: #155E75; }
.c13 { --jb: #E0EEF6; --jc: #3B6E8F; --jt: #1F4A66; }
.c14 { --jb: #ECEAF7; --jc: #5C5A9C; --jt: #36346B; }
.job[class*=" c"] { background: var(--jb); border-color: color-mix(in srgb, var(--jc) 28%, transparent); border-left-color: var(--jc); }
.job[class*=" c"] strong { color: var(--ink); }
.job[class*=" c"] span { color: color-mix(in srgb, var(--jt) 80%, var(--ink)); }
.job[class*=" c"] em { background: #fff; color: var(--jt); }
.job.sel[class*=" c"] { box-shadow: 0 0 0 .25em color-mix(in srgb, var(--jc) 35%, transparent); }
.pill { display: inline-block; font-style: normal; font-weight: 600; font-size: .9em; border-radius: 999px; padding: .15em .7em; white-space: nowrap; }
.pill--violet { background: #EDE9FE; color: #5B21B6; }
.pill--green { background: #DCFCE7; color: #166534; }
.pill--sky { background: #E0F2FE; color: #075985; }
.pill--pink { background: #FCE7F3; color: #9D174D; }
.pill--teal { background: #CCFBF1; color: #115E59; }
.pill--grey { background: var(--navy-50); color: var(--navy); }
/* Amber only for 60 and 30 day reminders, red only for 7 days, expired, No access and Can't finish (as in the app). */
.pill--amber { background: #FFF4E0; color: #8A4B00; box-shadow: inset 0 0 0 1px #D97706; }
.pill--red { background: #FDECEC; color: #B42318; box-shadow: inset 0 0 0 1px #B42318; }
.dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; flex: none; }
.dot--violet { background: #7C3AED; }
.dot--teal { background: #0D9488; }
.dot--sky { background: #0284C7; }
.dot--pink { background: #DB2777; }
.dot--green { background: #16A34A; }
.dot--navy { background: var(--navy); }
.dot--red { background: #B42318; }

/* The engineer's phone. */
.phone { position: absolute; width: 27em; height: 55em; background: var(--navy-950); border-radius: 4em; padding: 1.1em; box-shadow: inset 0 0 0 .2em #2a4778, var(--shadow), 0 3em 5em -1em rgba(11, 42, 91, .35); }
.phone__screen { height: 100%; background: var(--white); color: var(--ink); border-radius: 3em; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.phone__status { display: flex; justify-content: space-between; align-items: center; padding: 1.4em 2.2em .4em; font-size: 1.15em; font-weight: 600; color: var(--ink); }
.phone__status i { display: inline-block; width: 1.6em; height: .8em; border-radius: .2em; border: 1.5px solid var(--ink); margin-left: .3em; position: relative; }
.phone__status i::after { content: ""; position: absolute; inset: 1px 30% 1px 1px; background: var(--ink); border-radius: 1px; }
.notch { position: absolute; top: .9em; left: 50%; transform: translateX(-50%); width: 8em; height: 2.1em; background: var(--navy-950); border-radius: 1.2em; }
.ph-head { padding: .8em 1.8em 1.2em; border-bottom: 1px solid var(--line); }
.ph-back { font-size: 1.15em; color: var(--teal-700); font-weight: 600; }
.ph-title { font-size: 1.85em; font-weight: 700; color: var(--navy); line-height: 1.15; margin-top: .4em; letter-spacing: -.01em; }
.ph-meta { font-size: 1.15em; color: var(--ink-2); margin-top: .3em; }
.ph-chip { display: inline-block; margin-top: .7em; font-size: 1.05em; font-weight: 600; color: var(--navy); background: var(--navy-50); border-radius: .4em; padding: .2em .6em; }
.ph-body { padding: 1.1em 1.8em; display: flex; flex-direction: column; gap: 1em; flex: 1; min-height: 0; }
.ph-row { display: grid; grid-template-columns: 2.6em 1fr; gap: .9em; align-items: start; }
.ph-ico { width: 2.6em; height: 2.6em; border-radius: .7em; background: var(--teal-50); display: grid; place-items: center; }
.ph-ico svg { width: 1.4em; height: 1.4em; stroke: var(--teal-700); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-row b { display: block; font-size: 1.2em; color: var(--ink); font-weight: 600; line-height: 1.25; }
.ph-row span { display: block; font-size: 1.08em; color: var(--ink-2); line-height: 1.35; }
.ph-map { height: 7em; border-radius: .8em; overflow: hidden; border: 1px solid var(--line); }
.ph-map svg { display: block; width: 100%; height: 100%; }
.ph-checks { border: 1px solid var(--line); border-radius: .8em; }
.ph-checks div { display: flex; align-items: center; gap: .8em; padding: .75em 1em; font-size: 1.1em; border-bottom: 1px solid var(--line); }
.ph-checks div:last-child { border-bottom: 0; }
.tick { width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--teal); display: grid; place-items: center; flex: none; }
.tick svg { width: .95em; height: .95em; stroke: var(--navy); stroke-width: 3; fill: none; }
.tick.off { background: transparent; border: 1.5px solid var(--line-strong); }
.ph-cta { margin: 0 1.6em 1.8em; background: var(--teal); color: var(--navy); text-align: center; font-weight: 700; font-size: 1.45em; border-radius: .6em; padding: .85em; }
.stage .phone { left: -1em; top: 15em; }
.toast { position: absolute; left: 52em; top: 47em; width: 26em; background: var(--white); border-radius: .8em; padding: 1.2em 1.4em; box-shadow: var(--shadow); display: grid; grid-template-columns: 3em 1fr; gap: 1em; align-items: center; z-index: 3; }
.toast b { display: block; color: var(--navy); font-size: 1.25em; }
.toast span { display: block; color: var(--ink-2); font-size: 1.1em; }
.toast .ph-ico { width: 3em; height: 3em; }

/* ---------- Trust strip ---------- */

.trust { border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { padding: 32px 24px 36px; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; padding-left: 0; }
.trust strong { display: block; color: var(--navy); font-size: 19px; font-weight: 600; line-height: 1.3; }
.trust span { display: block; color: var(--ink-2); font-size: 16px; margin-top: 4px; }
.trust svg { width: 24px; height: 24px; stroke: var(--teal-700); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }

/* ---------- Sections ---------- */

.sec { padding-block: clamp(64px, 7vw, 104px); }
.sec--surface { background: var(--surface); }
.sec__head { max-width: 640px; }
.sec__head h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.025em; line-height: 1.1; }
.sec__head p { font-size: 20px; color: var(--ink-2); margin-top: 16px; }

/* ---------- From the quote to the paid invoice: six steps ---------- */

.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
ol.flow { list-style: none; padding: 0; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.panel__pic { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; font-size: 9px; }
.flow .panel__pic { height: 300px; font-size: 9px; }
.panel__txt { padding: 28px 32px 32px; }
.panel h3 { font-size: 24px; letter-spacing: -.015em; }
.panel p { color: var(--ink-2); margin-top: 8px; font-size: 17px; }
.panel .when { display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--teal-700); margin-bottom: 8px; }
.step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; margin-right: 10px; vertical-align: middle; }
.mini-board { --n: 6; position: absolute; inset: 28px -1px -1px 28px; background: var(--white); border: 1px solid var(--line); border-radius: .8em .8em 0 0; display: grid; grid-template-columns: 11em 1fr; grid-template-rows: 2.8em repeat(3, 1fr); font-size: 1.15em; }
.flow .mini-board { font-size: .95em; }
.warn { position: absolute; right: 28px; top: 34%; width: 30em; background: var(--white); border: 1px solid var(--line); border-left: .4em solid var(--navy); border-radius: .6em; padding: 1.2em 1.4em; box-shadow: var(--shadow); font-size: 1.25em; z-index: 2; }
.flow .warn { right: 20px; top: 40%; width: 28em; font-size: 1.15em; }
.warn b { display: block; color: var(--navy); font-size: 1.2em; }
.warn span { display: block; color: var(--ink-2); margin-top: .2em; }
.inv { position: absolute; left: 28px; right: 28px; top: 22px; background: var(--white); border: 1px solid var(--line); border-radius: .6em .6em 0 0; padding: 1.4em 1.6em; font-size: 1.3em; bottom: -1px; }
.inv__top { display: flex; justify-content: space-between; align-items: baseline; }
.inv__top b { color: var(--navy); font-size: 1.2em; }
.inv__line { display: flex; justify-content: space-between; color: var(--ink-2); margin-top: .6em; padding-top: .6em; border-top: 1px solid var(--line); }
.inv__line b { color: var(--ink); }
.inv__send { display: flex; justify-content: flex-end; margin-top: 1em; }
.inv__send span { background: var(--navy); color: #fff; font-weight: 600; border-radius: .4em; padding: .5em 1.1em; font-size: .95em; }
.quote, .feed, .sheet, .paid, .stock, .cardlist, .team, .inbox, .props, .portal, .shift, .cert { position: absolute; left: 28px; right: 28px; top: 22px; bottom: -1px; background: var(--white); border: 1px solid var(--line); border-radius: .6em .6em 0 0; padding: 1.4em 1.6em; font-size: 1.3em; }
.quote__top, .feed__head, .sheet__top, .pic__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; margin-bottom: .8em; }
.quote__top b, .feed__head b, .sheet__top b, .pic__top b { color: var(--navy); font-size: 1.2em; }
.feed__head span, .sheet__top span, .pic__top span { color: var(--ink-3); }
.quote__opt { display: grid; grid-template-columns: 1.4em 1fr auto; gap: .8em; align-items: center; border: 1px solid var(--line); border-radius: .5em; padding: .7em .9em; margin-top: .6em; }
.quote__opt.is-on { border-color: #7C3AED; background: #F5F3FF; }
.quote__opt b { display: block; color: var(--ink); font-weight: 600; }
.quote__opt span { display: block; color: var(--ink-2); font-size: .9em; }
.quote__opt strong { color: var(--ink); }
.radio { width: 1.2em; height: 1.2em; border-radius: 50%; border: 2px solid var(--line-strong); }
.radio.on { border: .38em solid #7C3AED; }
.quote__dep { display: flex; justify-content: space-between; margin-top: .9em; color: var(--ink-2); }
.quote__dep b { color: var(--ink); }
.quote__ok { display: flex; align-items: center; gap: .6em; margin-top: .9em; padding-top: .9em; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .92em; }
.feed__row { display: grid; grid-template-columns: 1em 1fr auto; gap: .8em; align-items: center; padding: .5em 0; border-top: 1px solid var(--line); color: var(--ink); }
.feed__row time { color: var(--ink-3); }
.sheet__row { display: grid; grid-template-columns: 1.6em 1fr auto; gap: .8em; align-items: center; padding: .5em 0; border-top: 1px solid var(--line); color: var(--ink); }
.sheet__row .tick { font-size: .9em; }
.sheet__pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; margin-top: .8em; }
.sheet__pics span { height: 4.4em; border-radius: .4em; position: relative; }
.sheet__pics span::after { content: attr(data-stamp); position: absolute; left: .4em; bottom: .3em; font-size: .6em; color: #fff; font-weight: 600; }
.ph1 { background: linear-gradient(135deg, #0284C7, #4F46E5); }
.ph2 { background: linear-gradient(135deg, #0D9488, #65A30D); }
.ph3 { background: linear-gradient(135deg, #DB2777, #7C3AED); }
.paid { display: flex; flex-direction: column; gap: .9em; background: transparent; border: 0; padding: 0; }
.paid__card { display: grid; grid-template-columns: 2.8em 1fr auto; gap: .9em; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: .6em; padding: 1em 1.2em; box-shadow: 0 1px 2px rgba(11, 42, 91, .06); }
.paid__card b { display: block; color: var(--ink); }
.paid__card span { display: block; color: var(--ink-2); font-size: .9em; }
.paid__ico { width: 2.8em; height: 2.8em; border-radius: .7em; background: #DCFCE7; display: grid; place-items: center; }
.paid__ico svg { width: 1.5em; height: 1.5em; stroke: #166534; fill: none; stroke-width: 2; stroke-linejoin: round; }
.paid__ico--sky { background: #E0F2FE; }
.paid__ico--sky svg { stroke: #075985; }
.paid__ico--pink { background: #FCE7F3; }
.paid__ico--pink svg { stroke: #9D174D; fill: #FBCFE8; }

/* ---------- Features band ---------- */

.feat { background: var(--navy); color: #fff; }
.feat .sec__head { max-width: 760px; }
.feat h2 { color: #fff; }
.feat .sec__head p { color: color-mix(in srgb, #fff 82%, transparent); }
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.fg { background: color-mix(in srgb, #fff 6%, transparent); border: 1px solid color-mix(in srgb, #fff 12%, transparent); border-top: 4px solid var(--fc); border-radius: 12px; padding: 28px; }
.fg__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--fc); }
.fg__ico svg { width: 26px; height: 26px; stroke: var(--navy-950); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fg h3 { color: #fff; font-size: 21px; margin-top: 18px; }
.fg ul { list-style: none; margin: 14px 0 0; padding: 0; }
.fg li { position: relative; padding: 7px 0 7px 22px; font-size: 16px; line-height: 1.4; color: color-mix(in srgb, #fff 88%, transparent); }
.fg li::before { content: ""; position: absolute; left: 0; top: .85em; width: 9px; height: 9px; border-radius: 50%; background: var(--fc); }
.fg--violet { --fc: #A78BFA; }
.fg--sky { --fc: #38BDF8; }
.fg--teal { --fc: #2DD4BF; }
.fg--pink { --fc: #F472B6; }
.fg--lime { --fc: #A3E635; }
.fg--indigo { --fc: #A5B4FC; }
/* Add-ons under the features band: a heading cell and one card per add-on, on the band's grid. */
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; align-items: stretch; }
.addons__head { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 4px; }
.addons__head h3 { margin: 0; font-size: 22px; color: #fff; }
.addons__head p { margin: 0; color: color-mix(in srgb, #fff 78%, transparent); font-size: 16px; }
.ao { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 12px; background: color-mix(in srgb, #fff 6%, transparent); border: 1px solid color-mix(in srgb, #fff 12%, transparent); border-left: 4px solid var(--ac); }
.ao--sky { --ac: #38BDF8; }
.ao--violet { --ac: #A78BFA; }
.ao__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ac); }
.ao__ico svg { width: 24px; height: 24px; fill: none; stroke: #0B2A5B; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ao h4 { margin: 0 0 6px; font-size: 18px; color: #fff; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ao h4 em { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--ac) 22%, transparent); color: #fff; }
.ao p { margin: 0; color: color-mix(in srgb, #fff 85%, transparent); font-size: 16px; line-height: 1.5; }
@media (max-width: 1100px) { .addons { grid-template-columns: 1fr 1fr; } .addons__head { grid-column: 1 / -1; } }
@media (max-width: 700px) { .addons { grid-template-columns: 1fr; } }

/* ---------- Trades ---------- */

/* Beside the heading: a day of jobs from different trades, drawn like the app (a picture, hidden from screen readers). */
.trades-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 48px; align-items: center; }
.tday { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.tday__bar { display: flex; align-items: baseline; gap: 12px; padding: 14px 18px; background: var(--navy); color: #fff; }
.tday__bar b { font-size: 16px; }
.tday__bar span { font-size: 14px; color: color-mix(in srgb, #fff 78%, transparent); }
.tday__job { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 18px 11px 14px; border-top: 1px solid var(--line); border-left: 4px solid var(--jc); }
.tday__bar + .tday__job { border-top: 0; }
.tday time { font-size: 14px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tday strong { display: block; font-size: 15px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tday__job span { display: block; font-size: 13px; color: color-mix(in srgb, var(--jt) 80%, var(--ink)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tday .pill { font-size: 12px; }

/* One card per trade group, each in its own colour from the scheduling board: icon, name, example trades and an
   arrow to its page. */
.trades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.trades a { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--jc); border-radius: 12px; text-decoration: none; box-shadow: 0 1px 2px rgba(11, 42, 91, .06); transition: border-color .2s, box-shadow .2s; }
.trades__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--jc); }
.trades svg { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trades__ico svg { width: 28px; height: 28px; stroke: #fff; }
.trades b { display: block; color: var(--navy); font-size: 19px; font-weight: 600; line-height: 1.3; margin-top: 20px; text-wrap: balance; }
.trades__eg { display: block; color: var(--ink-2); font-size: 15px; margin-top: 8px; line-height: 1.45; }
.trades__go { width: 22px; height: 22px; margin-top: auto; padding-top: 18px; box-sizing: content-box; stroke: var(--jt); transition: transform .2s; }
.trades a:hover { border-color: color-mix(in srgb, var(--jc) 45%, var(--line)); border-top-color: var(--jc); box-shadow: var(--shadow); }
.trades a:hover b { text-decoration: underline; text-underline-offset: .18em; }
.trades a:hover .trades__go { transform: translateX(4px); }

/* ---------- Waiting list ---------- */

.join .wrap { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: start; }
.join .wrap > * { margin: 0; }
.join h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.025em; }
.join .intro { font-size: 20px; color: var(--ink-2); margin-top: 16px; max-width: 40ch; }
.join h3 { font-size: 19px; margin-top: 40px; }
.facts { list-style: none; margin: 16px 0 0; padding: 0; }
.facts li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 17px; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts .tick { font-size: 15px; margin-top: 3px; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 40px; box-shadow: var(--shadow); }

/* The site plugin's forms (waiting list and contact), in the card's sizes. */
.form .jh-form__form { display: block; }
.form .jh-form__field { display: block; margin-top: 24px; }
.form .jh-form__message { margin-bottom: 8px; }
.form .jh-form label { display: block; font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.form .jh-form__error { margin-bottom: 8px; font-size: 16px; }
.form .jh-form input[type="text"],
.form .jh-form input[type="email"],
.form .jh-form select,
.form .jh-form textarea { width: 100%; min-height: 52px; border: 1.5px solid var(--line-strong); border-radius: 6px; padding: 0 14px; font: inherit; font-size: 17px; color: var(--ink); background-color: var(--white); }
.form .jh-form textarea { min-height: 200px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.form .jh-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%230b2a5b' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.form .jh-form :is(input, select, textarea)[aria-invalid="true"] { border-width: 3px; border-color: var(--navy); }
.form .jh-form :is(input, select, textarea):focus-visible { outline: 3px solid var(--teal-700); outline-offset: 1px; border-color: var(--navy); }
.form .jh-form__field--tick { margin-top: 28px; }
.form .jh-form__tick { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.form .jh-form__tick input { width: 28px; height: 28px; margin: 0; accent-color: var(--navy); }
.form .jh-form__tick label { font-size: 16px; font-weight: 500; margin: 0; }
.form .jh-form__hint { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 6px 0 0; }
.form .jh-form__field--tick .jh-form__hint { margin-left: 40px; }
.form .jh-form__check:not(:empty) { margin-top: 24px; }
.form .jh-form__button { width: 100%; margin-top: 28px; }
.form .jh-form__done h3 { margin: 0; font-size: 23px; }
.form .jh-form__done p { color: var(--ink-2); margin-top: 8px; }

/* ---------- Footer ---------- */

.foot { background: var(--navy-950); color: color-mix(in srgb, #fff 78%, transparent); padding: 72px 0 40px; font-size: 15px; }
.foot a { color: color-mix(in srgb, #fff 86%, transparent); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 3fr 6fr 2fr 2fr; gap: 40px; }
.foot .brand img { height: 52px; }
.foot__about p { margin-top: 12px; max-width: 30ch; }
.foot h2 { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 0; line-height: 1.35; }
.foot__trades ul { columns: 2; column-gap: 32px; }
.foot__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, #fff 14%, transparent); font-size: 14px; color: color-mix(in srgb, #fff 72%, transparent); text-align: center; }
.foot__legal > * + * { margin-top: 4px; }

/* ---------- Other pages: title band, readable column, post lists ---------- */

.jh-page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); }
.jh-page-head > * { margin-block: 0; }
.jh-page-head h1 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.025em; max-width: 16em; }

/*
 * Every page starts at the logo's left edge, like the home and trade pages: the title band and the
 * text sit in the site's wide frame, starting at its left side, and running text keeps its
 * readable width (the theme's content size) instead of sitting in a column in the middle.
 */
:is(.jh-page-head, .jh-prose, .jh-related) > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)) {
	margin-left: calc((100% - min(100%, var(--wp--style--global--wide-size))) / 2) !important;
	margin-right: auto !important;
}
.jh-page-head > :where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)) { max-width: var(--wp--style--global--wide-size); }
.jh-page-head .jh-lead { max-width: 760px; }
.jh-page-head > * + * { margin-top: 16px; }
.jh-page-head .wp-block-buttons { margin-top: 32px; }
.jh-lead { font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.jh-lead a { color: var(--teal-700); font-weight: 600; }
.jh-meta,
.wp-block-post-date { color: var(--ink-2); font-size: 15px; }

.wp-block-jobhandler-trade-link { font-size: 15px; font-weight: 600; }
.wp-block-jobhandler-trade-link a { color: var(--teal-700); text-decoration: none; }
.wp-block-jobhandler-trade-link a:hover { text-decoration: underline; }
.wp-block-jobhandler-trade-link a::before { content: "‹ "; }
.jh-meta-line { gap: 4px 16px; align-items: baseline; }
.wp-block-jobhandler-byline { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: 15px; }
.jh-byline__team { font-weight: 600; color: var(--navy); }
.jh-byline__checked { color: var(--ink-2); }

.jh-prose { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(64px, 7vw, 104px); line-height: 1.65; }

/*
 * A blog post: the text on the left at its readable width and, beside it, "On this page" and the
 * box for the post's trade. The page reads in the same order (list, text, box), which is also how
 * a phone shows it: the list under the title and the box after the text.
 */
.jh-post-body { max-width: var(--wp--style--global--wide-size); display: grid; grid-template-columns: minmax(0, var(--wp--style--global--content-size)) 300px; grid-template-rows: auto 1fr; justify-content: space-between; column-gap: 48px; }
.jh-post-body > .jh-prose { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
.jh-post-body > .jh-prose > * { max-width: none; }
.jh-post-body > .wp-block-jobhandler-post-contents { grid-column: 2; grid-row: 1; margin: 0; }
.jh-post-body > .jh-post-aside { grid-column: 2; grid-row: 2; margin: 0; }
.jh-post-body > .wp-block-jobhandler-post-contents ~ .jh-post-aside { margin-top: 32px; }
.jh-post-aside > * { margin: 0; }
.wp-block-jobhandler-post-contents { border-left: 3px solid var(--teal); padding: 4px 0 4px 18px; }
.jh-contents__title { margin: 0 0 8px; color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.wp-block-jobhandler-post-contents ul { margin: 0; padding: 0; list-style: none; }
.wp-block-jobhandler-post-contents a { display: block; padding: 6px 0; color: var(--ink); font-size: 15px; line-height: 1.4; text-decoration: none; }
.wp-block-jobhandler-post-contents a:hover { color: var(--teal-700); text-decoration: underline; }
.wp-block-jobhandler-post-contents a[aria-current] { color: var(--teal-700); font-weight: 600; }

/* The blog's trade box (the site plugin's trade-promo block), beside a post or a blog list. */
.jh-promo { background: var(--navy); color: #fff; border-radius: 14px; padding: 0 24px 24px; overflow: hidden; }
.jh-promo__pic { height: 210px; margin: 0 -24px 20px; display: flex; justify-content: center; overflow: hidden; background: linear-gradient(color-mix(in srgb, var(--teal) 18%, var(--navy)), var(--navy)); }
.jh-promo__pic .phone { position: relative; flex: none; margin-top: 18px; font-size: 6.4px; }
.jh-promo__title { margin: 0 0 6px; color: #fff; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; }
.jh-promo__intro { margin: 0 0 14px; color: color-mix(in srgb, #fff 82%, transparent); font-size: 15px; }
.jh-promo__points { list-style: none; margin: 0 0 20px; padding: 0; }
.jh-promo__points li { position: relative; padding: 5px 0 5px 28px; font-size: 15px; line-height: 1.4; }
.jh-promo__points li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' stroke='%230B2A5B' stroke-width='3' fill='none'/%3E%3C/svg%3E") center / 12px no-repeat; }
.jh-promo .btn { width: 100%; min-height: 48px; background: var(--teal); color: var(--navy); font-size: 16px; }
.jh-promo .btn:hover { background: color-mix(in srgb, var(--teal) 85%, #fff); }
.jh-promo__more { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 4px; color: #fff; font-weight: 600; font-size: 15px; }
.jh-promo :focus-visible { outline-color: var(--teal); }

/*
 * Beside the text, the box stays in view under the top bar while the page scrolls, but only where
 * all of it fits: on a shorter screen it leaves out its phone picture, and on a very short one it
 * scrolls with the page, so its button and link are never out of reach (e2e/blog.spec.ts).
 */
@media (min-width: 961px) and (min-height: 600px) {
	.jh-promo { position: sticky; top: 104px; }
}
@media (min-width: 961px) and (min-height: 600px) and (max-height: 819px) {
	.jh-promo { padding-top: 24px; }
	.jh-promo__pic { display: none; }
}
.jh-list-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 48px; }
.jh-list-body > * { margin-block: 0; }
.jh-list-body .jh-post-cards { margin-top: 0; }
@media (max-width: 960px) {
	.jh-post-body { display: block; }
	.jh-post-body > .wp-block-jobhandler-post-contents { margin-top: 32px; }
	.jh-post-body > .jh-prose { padding-top: 32px; }
	.jh-post-body > .jh-post-aside,
	.jh-post-body > .wp-block-jobhandler-post-contents ~ .jh-post-aside { margin: 8px 0 clamp(40px, 5vw, 64px); }
	.jh-promo { max-width: 420px; }
	.jh-list-body { display: block; }
	.jh-list-aside { margin-top: 40px; }
}
.jh-prose h2 { font-size: clamp(24px, 2.2vw, 30px); margin-top: 48px; }
.jh-prose h2[id] { scroll-margin-top: 96px; }
.jh-prose h3 { font-size: 21px; margin-top: 32px; }
.jh-prose :where(h2, h3) + * { margin-top: 12px; }
.jh-prose a { text-decoration-thickness: 1px; }
.jh-prose a:hover { text-decoration-thickness: 2px; }

/* Bullets are small teal dots, like the feature lists. */
.jh-prose ul:where(:not([class*="jh-"])) { padding-left: 24px; list-style: none; }
.jh-prose ul:where(:not([class*="jh-"])) > li { position: relative; }
.jh-prose ul:where(:not([class*="jh-"])) > li + li { margin-top: 6px; }
.jh-prose ul:where(:not([class*="jh-"])) > li::before { content: ""; position: absolute; left: -22px; top: .65em; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }

/* Legal pages: version line, "In short" box, numbered clauses and definitions. */
.jh-prose .jh-legal-version { color: var(--ink-3); font-size: 15px; }
.jh-prose .jh-in-short { margin-top: 24px; padding: 24px 28px; background: var(--teal-50); border-left: 4px solid var(--teal); border-radius: 8px; }
.jh-prose .jh-in-short h2 { margin-top: 0; font-size: 22px; }
.jh-prose .jh-in-short__note { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
.jh-prose .jh-clause { padding-left: 3.25em; }
.jh-prose .jh-clause + .jh-clause { margin-top: 10px; }
/* Floated into the indent, so the space after the number starts the line and is dropped: wrapped lines line up. */
.jh-prose .jh-clause__no { float: left; width: 3.25em; margin-left: -3.25em; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.jh-prose ul.jh-definitions { padding-left: 3.25em; list-style: none; }
.jh-prose ul.jh-definitions > li + li { margin-top: 8px; }
.jh-prose ul.jh-definitions strong { color: var(--navy); }
@media (max-width: 40rem) {
	.jh-prose .jh-in-short { padding: 20px; }
	.jh-prose .jh-clause,
	.jh-prose ul.jh-definitions { padding-left: 0; }
	.jh-prose .jh-clause__no { float: none; width: auto; margin: 0 6px 0 0; }
}

/* Questions: a list of open-and-close answers. */
.wp-block-details { margin: 0; border-top: 1px solid var(--line); }
.wp-block-details + :not(.wp-block-details) { border-top: 1px solid var(--line); padding-top: 24px; }
.wp-block-details + .wp-block-details { margin-top: 0 !important; }
.wp-block-details summary { position: relative; display: block; min-height: 56px; padding: 14px 40px 14px 0; color: var(--navy); font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 4px; top: 12px; color: var(--teal-700); font-size: 24px; font-weight: 400; line-height: 1; }
.wp-block-details[open] summary::after { content: "\2212"; }
.wp-block-details > :not(summary) { margin-top: 0; padding-bottom: 16px; }

/* Bands under the content: a trade page's latest posts, a post's related posts, the blog lists. */
.jh-band { padding-block: clamp(56px, 6vw, 88px); }
.jh-trade-posts { background: var(--white); border-top: 1px solid var(--line); }
.jh-trade-posts:not(:has(.wp-block-jobhandler-trade-posts)),
.jh-related:not(:has(.wp-block-jobhandler-related-posts)) { display: none; }
.jh-band .wp-block-jobhandler-trade-posts { max-width: var(--wp--style--global--wide-size) !important; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wp-block-jobhandler-trade-posts > h2 { grid-column: 1 / -1; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.025em; margin-bottom: 16px; }
.wp-block-jobhandler-trade-posts > article,
.jh-post-cards > li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.wp-block-jobhandler-trade-posts > article { padding: 28px; }
.wp-block-jobhandler-trade-posts > article h3 { font-size: 21px; }
.wp-block-jobhandler-trade-posts > article p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.wp-block-jobhandler-trade-posts > article p:first-of-type { font-size: 15px; }
.wp-block-jobhandler-trade-posts > p { grid-column: 1 / -1; margin-top: 8px; font-weight: 600; }
.wp-block-jobhandler-trade-posts a,
.jh-post-cards .wp-block-post-title a { color: var(--navy); text-decoration: none; }
.wp-block-jobhandler-trade-posts a:hover,
.jh-post-cards .wp-block-post-title a:hover { text-decoration: underline; }
.jh-related { max-width: var(--wp--style--global--wide-size); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 6vw, 88px); }
.jh-related > * { max-width: var(--wp--style--global--content-size); }
.wp-block-jobhandler-related-posts h2 { font-size: 24px; }
.wp-block-jobhandler-related-posts ul { list-style: none; margin: 12px 0 0; padding: 0; }
.wp-block-jobhandler-related-posts li a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Blog list cards (Michel, 16 Nov 2026): the post's photo and title only. The title's link covers the
   whole card, so a tap on the photo opens the post and screen readers hear the title once. */
.jh-post-cards > li > * { margin-block: 0; }
.jh-post-cards .wp-block-post-title { font-size: 21px; }
.jh-post-cards > li { position: relative; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.jh-post-cards > li > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.jh-post-cards > li > .wp-block-post-title { padding: 20px 24px 24px; }
.jh-post-cards .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.jh-post-cards > li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
@supports selector(:has(a)) {
	.jh-post-cards > li:has(a:focus-visible) { outline: 3px solid var(--teal-700); outline-offset: 3px; }
	.jh-post-cards .wp-block-post-title a:focus-visible { outline: none; }
}
@media (prefers-reduced-motion: reduce) {
	.jh-post-cards > li { transition: none; }
	.jh-post-cards > li:hover { transform: none; }
}
.jh-page-head--list { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(28px, 3.5vw, 44px); }
.wp-block-query-pagination { margin-top: 32px; }

/* The waiting list's confirm and leave pages (the site plugin's own title band). */
.jh-wl-page__body > * { margin-block: 0; }
.jh-wl-page__body > * + * { margin-top: 16px; }
.jh-wl-page__body > :is(form, .wp-block-buttons) { margin-top: 32px; }

/* ---------- Trade pages ---------- */

/*
 * The "Trade page" template shows the page's own sections edge to edge: hero, a day in the
 * trade (#how), feature spotlights, certificates and forms, the navy features band and the
 * questions, in the order each page chooses (content/pages/<slug>.html, built by
 * scripts/trade-pages). The pictures reuse the home page's parts, plus the ones below.
 */
.wp-site-blocks :is(.jh-trade, .jh-sections) > * { margin-block: 0; }
.hero--trade { padding-bottom: 0; }
.hero--trade h1 { font-size: clamp(36px, 3.4vw, 52px); }
.hero--trade .lead { max-width: 38ch; }

/* Hero picture with a card and the phone, in place of the laptop. */
.stage--duo { margin-right: calc(-1 * var(--gutter)); height: 70em; }
.stage__card { position: absolute; left: 0; top: 3em; width: 50em; height: 46em; background: var(--surface); border: 1px solid var(--line); border-radius: 1.2em; overflow: hidden; box-shadow: var(--shadow); font-size: 1em; }
.stage__card > * { top: 2.4em; left: 2.4em; right: 8.6em; } /* Clear of the phone over the card's edge. */
.stage--duo .phone { left: 44em; top: 11em; }
.stage--duo .toast { left: 4em; top: 54em; }

/* Small pieces inside the pictures. */
.pr { display: grid; grid-template-columns: auto 1fr auto; gap: .8em; align-items: center; padding: .5em 0; border-top: 1px solid var(--line); color: var(--ink); }
.pr > div { min-width: 0; }
.pr b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr span:not(.av):not(.pr__ico):not(.lvl) { display: block; color: var(--ink-3); font-size: .85em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr--lvl { grid-template-columns: 1fr 6em 3.6em; }
.pr--lvl .pill { justify-self: end; }
.pr .n { font-style: normal; font-weight: 600; text-align: right; }
.lvl { display: block; height: .55em; border-radius: 1em; background: var(--line); overflow: hidden; }
.lvl i { display: block; height: 100%; width: var(--l); background: var(--teal); }
.av { display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--navy-50); color: var(--navy); font-weight: 600; font-size: .85em; }
.pr__ico { display: grid; place-items: center; width: 2em; height: 2em; border-radius: .5em; background: var(--teal-50); }
.pr__ico svg { width: 1.2em; height: 1.2em; stroke: var(--teal-700); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.portal { padding-top: 0; }
.portal__bar { display: flex; justify-content: space-between; align-items: center; margin: 0 -1.6em; padding: .9em 1.6em; background: var(--navy); color: #fff; border-radius: .5em .5em 0 0; }
.portal__bar span { color: color-mix(in srgb, #fff 80%, transparent); font-size: .9em; }
.tabs { display: flex; gap: .4em; margin: .9em 0 .5em; }
.tabs span { padding: .3em .8em; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .85em; font-weight: 600; }
.tabs span.on { background: var(--navy-50); color: var(--navy); }
.chips { position: absolute; left: 28px; top: 14px; display: flex; gap: .5em; font-size: 1.15em; }
.chips span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .25em .8em; color: var(--ink-2); font-weight: 600; }
.chips span.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.mini-board--low { top: 56px; }
.shift__track { position: relative; height: 2em; border-radius: .4em; background: var(--surface); margin: .2em 0 .3em; overflow: hidden; }
.shift__track i { position: absolute; top: 0; bottom: 0; left: calc((var(--a) - 6) / 13 * 100%); width: calc((var(--b) - var(--a)) / 13 * 100%); background: #5EEAD4; }
.shift__track i.brk { background: #C7D2FE; }
.shift__track i.trv { background: #BAE6FD; }
.shift__hours { display: flex; justify-content: space-between; color: var(--ink-3); font-size: .8em; margin-bottom: .5em; }
.cert__tbl { display: grid; grid-template-columns: 2.2fr repeat(var(--c), 1fr); border: 1px solid var(--line); border-radius: .4em; overflow: hidden; font-size: .88em; }
.cert__tbl span { padding: .4em .6em; border-top: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.cert__tbl span.h { background: var(--surface); color: var(--ink-3); font-weight: 600; border-top: 0; }
.cert__sign { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; margin-top: .9em; }
.cert__sign div { border-bottom: 1px solid var(--line-strong); color: var(--ink-3); font-size: .85em; padding-bottom: .2em; }
.cert__sign svg { display: block; width: 7em; height: 1.8em; stroke: var(--navy); fill: none; stroke-width: 1.6; }
.snap { position: absolute; left: 28px; right: 28px; top: 22px; bottom: -1px; border-radius: .6em .6em 0 0; overflow: hidden; background: #cbd5e1; }
.snap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.snap__mark { fill: none; stroke: #FACC15; stroke-width: 6; stroke-linecap: round; }
.snap__note { position: absolute; background: #FACC15; color: var(--ink); font-weight: 700; font-size: 1.15em; padding: .3em .7em; border-radius: .3em; white-space: nowrap; }
.snap__stamp { position: absolute; left: .8em; bottom: .8em; background: rgba(11, 42, 91, .82); color: #fff; font-size: 1.05em; font-weight: 600; padding: .35em .7em; border-radius: .3em; white-space: nowrap; }
.ph-list div { display: grid; grid-template-columns: 4.2em 1fr; gap: .6em; padding: .7em 0; border-top: 1px solid var(--line); font-size: 1.1em; }
.ph-list time { color: var(--ink-3); font-weight: 600; }
.ph-list b { display: block; color: var(--ink); font-weight: 600; }
.ph-list span { color: var(--ink-2); }
.ph-taps { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.ph-taps span { border: 1px solid var(--line); border-radius: .6em; padding: .8em .4em; text-align: center; font-weight: 600; font-size: 1.05em; color: var(--navy); }
.ph-taps span.on { background: var(--teal); border-color: var(--teal); }
.ph-taps span.no { color: #B42318; }
.ph-taps span.no.on { background: #FDECEC; border-color: #B42318; }

/* Phones and notes inside the step and spotlight pictures. */
:is(.panel__pic, .spot__pic) .phone { left: 50%; top: 22px; transform: translateX(-50%); }
:is(.panel__pic, .spot__pic) .phone.phone--left { left: 8%; transform: none; }
.spot__pic .phone { font-size: .92em; }

/* A day in the trade: small numbered steps. */
.day { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.day--4 { grid-template-columns: repeat(2, 1fr); }
.flow.day .panel__pic { height: 230px; font-size: 7.4px; }
.day .panel__txt { padding: 22px 24px 28px; }
.day .panel h3 { font-size: 20px; }
.day .panel p:not(.when) { font-size: 16px; }
.day :is(.quote, .feed, .sheet, .paid, .inv, .stock, .cardlist, .team, .inbox, .props, .portal, .shift, .cert, .snap) { left: 16px; right: 16px; top: 16px; }
.day .mini-board { inset: 16px -1px -1px 16px; }
.day .mini-board--low { top: 48px; }
.day .chips { left: 16px; top: 12px; }
.day .warn { right: 12px; width: 26em; }

/* Feature spotlights: wide panels, the picture on alternate sides. */
.spots { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 56px; }
.spot { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.spot:nth-child(even) .spot__pic { order: 2; }
.spot__pic { position: relative; height: 380px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: 9.5px; }
.sec--surface .spot__pic { background: var(--navy-50); }
.kicker { font-size: 15px; font-weight: 600; color: var(--teal-700); }
.spot h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.02em; margin-top: 8px; }
.spot__txt > p:not(.kicker) { color: var(--ink-2); font-size: 18px; margin-top: 12px; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; font-size: 17px; }
.ticks .tick { font-size: 14px; margin-top: 3px; }
/* A link that reads as plain text, with only a faint dotted line under it (Michel, 14 Nov 2026). */
/* Links to official sources read as normal words: no colour change and no underline (Michel, 15 Nov 2026). */
.quiet-link, .source a { color: inherit; text-decoration: none; }

/* Certificates and forms. */
.forms { display: grid; gap: 28px; margin-top: 48px; }
.forms h3 { font-size: 21px; }
/* Each certificate is drawn as a paper form: folded corner, teal top edge and ruled lines. */
.cert-sheets { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0 0; padding: 0; }
.csheet { --fold: 22px; position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 150px; padding: 22px 22px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: inset 0 3px 0 var(--teal), 0 1px 2px rgba(11, 42, 91, .06); clip-path: polygon(0 0, calc(100% - var(--fold)) 0, 100% var(--fold), 100% 100%, 0 100%); }
.csheet::after { content: ""; position: absolute; top: 0; right: 0; width: var(--fold); height: var(--fold); background: linear-gradient(225deg, transparent 50%, var(--navy-50) 50%); border-bottom-left-radius: 5px; }
.csheet__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--teal-50); }
.csheet__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--teal-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.csheet__name { color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.35; overflow-wrap: break-word; }
.csheet__lines { margin-top: auto; height: 17px; background: linear-gradient(var(--line), var(--line)) 0 0 / 100% 1px no-repeat, linear-gradient(var(--line), var(--line)) 0 8px / 100% 1px no-repeat, linear-gradient(var(--line), var(--line)) 0 16px / 55% 1px no-repeat; }
/* The forms every business gets: one navy strip under the trade's own sheets. */
.forms__every { display: grid; grid-template-columns: 15em 1fr; gap: 32px; align-items: start; padding: 32px; border-radius: 12px; background: var(--navy); color: #fff; }
.forms__every h3 { color: #fff; margin: 0; }
.every { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin: 0; padding: 0; }
.every li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: color-mix(in srgb, #fff 88%, transparent); }
.every .tick { font-size: 14px; margin-top: 3px; }
.regulated { margin-top: 28px; padding-left: 14px; border-left: 3px solid var(--teal); color: var(--ink-2); font-size: 17px; max-width: 72ch; }
.wrap > .source { margin-top: 16px; color: var(--ink-2); font-size: 17px; max-width: 72ch; }

/* The features band with the four groups that matter most to the trade. */
.fgrid--4 { grid-template-columns: repeat(2, 1fr); }
/* The trade band's grid has two columns, so the add-ons heading sits above the two cards. */
.fgrid--4 + .addons { grid-template-columns: 1fr 1fr; }
.fgrid--4 + .addons .addons__head { grid-column: 1 / -1; }

/* Questions, with two related trades beside them. */
.faq .wrap { display: grid; grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
.faq .wrap > * { margin: 0; }
.faq h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.025em; }
.faq__head > p { font-size: 18px; color: var(--ink-2); margin-top: 16px; }
.related { margin-top: 40px; }
.related h3 { font-size: 17px; }
.related ul { list-style: none; margin: 12px 0 0; padding: 0; }
.related a { display: block; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; }
.related li:last-child a { border-bottom: 1px solid var(--line); }
.related b { display: block; color: var(--navy); font-size: 18px; font-weight: 600; }
.related span { display: block; color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.related a:hover b { text-decoration: underline; text-underline-offset: .18em; }
.faq .wp-block-jobhandler-questions details { border-bottom: 0; border-top: 1px solid var(--line); padding: 0; }
.faq .wp-block-jobhandler-questions details:last-child { border-bottom: 1px solid var(--line); }
.faq .wp-block-jobhandler-questions summary { position: relative; display: block; min-height: 60px; padding: 18px 44px 18px 0; color: var(--navy); font-weight: 600; font-size: 18px; line-height: 1.4; cursor: pointer; list-style: none; }
.faq .wp-block-jobhandler-questions summary::-webkit-details-marker { display: none; }
.faq .wp-block-jobhandler-questions summary::after { content: "+"; position: absolute; right: 4px; top: 16px; color: var(--teal-700); font-size: 26px; font-weight: 400; line-height: 1; }
.faq .wp-block-jobhandler-questions details[open] summary::after { content: "\2212"; }
.faq .wp-block-jobhandler-questions details > div { margin: 0; padding: 0 0 20px; color: var(--ink-2); font-size: 17px; }
.faq .wp-block-jobhandler-questions details > div p + p { margin-top: 8px; }
.faq .wp-block-jobhandler-questions a { color: var(--teal-700); font-weight: 600; }
.faq__main > * { margin: 0; }

@media (max-width: 1100px) {
	.day { grid-template-columns: 1fr 1fr; }
	.spot { grid-template-columns: 1fr; gap: 24px; }
	.spot:nth-child(even) .spot__pic { order: 0; }
	.cert-sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.forms__every { grid-template-columns: 1fr; gap: 20px; }
	.faq .wrap { grid-template-columns: 1fr; gap: 40px; }
	.stage--duo { height: 68em; }
}

@media (max-width: 700px) {
	.day, .day--4 { grid-template-columns: 1fr; }
	.flow.day .panel__pic { height: 220px; }
	.spot__pic { height: 300px; font-size: 7.6px; }
	.spots { gap: 48px; margin-top: 40px; }
	.spot__txt > p:not(.kicker) { font-size: 17px; }
	.spot__pic :is(.quote, .feed, .sheet, .paid, .inv, .stock, .cardlist, .team, .inbox, .props, .portal, .shift, .cert, .snap) { left: 16px; right: 16px; }
	.spot__pic .warn { left: 16px; right: 16px; width: auto; top: auto; bottom: 16px; }
	.panel__pic .warn { left: 12px; right: 12px; width: auto; }
	.cert-sheets { gap: 10px; }
	.csheet { --fold: 16px; min-height: 0; gap: 10px; padding: 16px 14px 14px; }
	.csheet__ico { width: 32px; height: 32px; }
	.csheet__ico svg { width: 18px; height: 18px; }
	.csheet__name { font-size: 15px; }
	.forms__every { padding: 24px; }
	.every { grid-template-columns: 1fr; }
	.fgrid--4 { grid-template-columns: 1fr; }
	.fgrid--4 + .addons { grid-template-columns: 1fr; }
	.faq .wp-block-jobhandler-questions summary { font-size: 17px; }
	.stage--duo { height: 86em; }
	.stage__card { width: 49em; height: 40em; top: 0; }
	.stage--duo .phone { left: 21em; top: 29em; }
	.stage__card > * { right: 2.4em; }
}

@media (max-width: 380px) {
	.stage--duo { font-size: 5.9px; }
}

/* ---------- About, FAQ and Contact ---------- */

/*
 * The "Page with sections" template shows the page's own sections edge to edge, like a trade
 * page: a text-only hero, then sections built from the home page's parts.
 */
.hero--page { padding-bottom: clamp(48px, 6vw, 80px); }
.hero--page .wrap { grid-template-columns: minmax(0, 760px); }
.hero--page h1 { font-size: clamp(36px, 3.4vw, 52px); }
.hero--page .lead { max-width: 46ch; }
.hero--page .lead a { color: var(--teal-700); font-weight: 600; }

/* A space for a photo still to come: a dashed frame with a camera, hidden from screen readers. */
.spot__pic--photo { display: grid; place-items: center; border: 2px dashed var(--line-strong); background: var(--surface); }
.spot__pic--photo svg { width: 56px; height: 56px; stroke: var(--ink-3); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.spot__pic--photo:has(img) { display: block; border: 1px solid var(--line); }
.spot__pic--photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spot h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.02em; margin-top: 8px; }

/* Trade page and post photos (Michel, 15 Nov 2026): beside "A day in…" on a trade page, under a post's opening. */
.day-intro { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px; align-items: center; }
.day-intro__pic img, .post-photo img { display: block; width: 100%; height: auto; border-radius: 12px; }
.post-photo { margin: 32px 0; }
.hero--photo .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 48px; align-items: center; }
.hero__pic img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* The contact form beside a short note, laid out like the waiting list band. */
.contact .wrap { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: start; }
.contact .wrap > * { margin: 0; }
.contact h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.025em; }
.contact .intro { font-size: 20px; color: var(--ink-2); margin-top: 16px; max-width: 40ch; }
.contact .form { scroll-margin-top: 96px; }
/*
 * The note and its links stay in view beside the form (Michel, 16 Nov 2026), but only where all of it fits
 * under the top bar: on a short screen it scrolls with the page, so its links are never out of reach
 * (e2e/contact.spec.ts). One column has nothing to stay beside.
 */
@media (min-width: 1101px) and (min-height: 600px) {
	.contact__text { position: sticky; top: 104px; }
}

@media (max-width: 1100px) {
	.contact .wrap { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 700px) {
	.contact .intro { font-size: 18px; }
}

/* ---------- Phone and tablet ---------- */

@media (max-width: 1100px) {
	.hero .wrap { grid-template-columns: 1fr; gap: 16px; }
	.hero .lead { max-width: 44ch; }
	.stage { font-size: clamp(6.2px, 1.3vw, 10px); margin-right: calc(-1 * var(--gutter) - 30em); height: 66em; }
	.stage .phone { left: 0; top: 16em; }
	.laptop { left: 14em; }
	.toast { left: 30em; top: 52em; }
	.join .wrap { grid-template-columns: 1fr; gap: 48px; }
	.trades { grid-template-columns: repeat(2, 1fr); }
	.trades-top { grid-template-columns: 1fr; gap: 32px; }
	.tday { max-width: 560px; }
	.flow { grid-template-columns: 1fr; }
	.fgrid { grid-template-columns: 1fr 1fr; }
	.foot__grid { grid-template-columns: 1fr 1fr; }
	.foot__about, .foot__trades { grid-column: 1 / -1; }
	.foot__trades ul { column-gap: 40px; } /* The grid's gap: the second column lines up with Legal. */
	.jh-band .wp-block-jobhandler-trade-posts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
	:root body { font-size: 17px; }
	.nav .link { display: none !important; }
	.nav .link--trades { display: inline-flex !important; }
	.nav .btn { padding: 0 16px; font-size: 15px; }
	.hero { padding-top: 40px; }
	.hero h1 { margin-top: 20px; }
	.hero .lead { font-size: 18px; }
	.hero .ctas .btn { flex: 1 1 100%; }
	.stage { font-size: 7.2px; height: 72em; margin-top: 24px; }
	.laptop { left: 10em; }
	.stage .phone { left: 0; top: 14em; }
	.toast { display: none; }
	.trust ul { grid-template-columns: 1fr 1fr; }
	.trust li { padding: 24px 16px; }
	.trust li:nth-child(odd) { border-left: 0; padding-left: 0; }
	.trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
	.trust strong { font-size: 17px; }
	.trust span { font-size: 15px; }
	.sec__head p, .join .intro, .jh-lead { font-size: 18px; }
	.panel__txt { padding: 24px; }
	.flow .panel__pic { height: 240px; font-size: 8px; }
	.mini-board { right: auto; width: 60em; }
	.quote, .feed, .sheet, .paid { left: 16px; right: 16px; }
	.flow .warn { left: 16px; right: 16px; width: auto; }
	.fgrid { grid-template-columns: 1fr; }
	/* On a phone the day board keeps four jobs, in narrower columns so each line fits from 360 wide, and each card is
	   one row: the icon beside the name and example trades. */
	.tday__job { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; padding-right: 14px; }
	.tday__job:nth-child(n+6) { display: none; }
	.trades { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
	.trades a { display: grid; grid-template-columns: 44px 1fr 22px; column-gap: 16px; align-items: center; padding: 18px 16px; border-top: 1px solid var(--line); border-left: 4px solid var(--jc); }
	.trades a:hover { border-top-color: color-mix(in srgb, var(--jc) 45%, var(--line)); border-left-color: var(--jc); }
	.trades__ico { width: 44px; height: 44px; grid-row: 1 / 3; align-self: start; }
	.trades__ico svg { width: 24px; height: 24px; }
	.trades b { margin-top: 0; grid-column: 2; text-wrap: wrap; }
	.trades__eg { grid-column: 2; }
	.trades__go { grid-column: 3; grid-row: 1 / 3; margin: 0; padding: 0; }
	.form { padding: 24px; }
	.foot__grid { grid-template-columns: 1fr 1fr; }
	.foot__legal span { display: block; } /* The address and the illustrations note get their own lines. */
	.foot { padding-top: 40px; }
	.foot__about { text-align: center; }
	.foot__about p { margin-inline: auto; }
	.jh-band .wp-block-jobhandler-trade-posts { grid-template-columns: 1fr; }
}

/* Phone header: Trades stays, the bar never runs off the side. */
@media (max-width: 600px) {
	.wp-site-blocks > header.wp-block-template-part .wrap { gap: 8px; }
	.brand img { height: 30px; }
	.nav { gap: 0; }
	.nav .link--trades { padding: 0 8px; font-size: 15px; }
	.nav .btn { padding: 0 12px; font-size: 14px; min-height: 44px; }
}

@media (max-width: 430px) {
	.brand img { height: 26px; }
	.nav .link--trades { padding: 0 6px; font-size: 14px; }
	.nav .btn { padding: 0 10px; }
	.wp-site-blocks > header.wp-block-template-part .wrap { flex-wrap: wrap; row-gap: 0; }
}

/* ---------- Motion: only when scripts run and the visitor allows motion ---------- */

@media (prefers-reduced-motion: reduce) {
	html.js { scroll-behavior: auto; }
	.trades a:hover .trades__go { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
	.js .rv, .js .rv-kids > * { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
	.js .rv.in, .js .rv-kids.in > * { opacity: 1; transform: none; }
	.js .hero .job { opacity: 0; transform: translateY(10px) scale(.96); animation: jobIn .55s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(300ms + var(--k, 0) * 70ms); }
	.js .hero h1, .js .hero .lead, .js .hero .ctas, .js .hero .note { opacity: 0; animation: fadeUp .7s cubic-bezier(.2, .7, .2, 1) forwards; }
	.js .hero .lead { animation-delay: .12s; }
	.js .hero .ctas { animation-delay: .24s; }
	.js .hero .note { animation-delay: .36s; }
	.js .stage .laptop { opacity: 0; animation: fadeLeft .9s cubic-bezier(.2, .7, .2, 1) .1s forwards; }
	.js .stage__card { opacity: 0; animation: fadeLeft .9s cubic-bezier(.2, .7, .2, 1) .1s forwards; }
	.js .stage .phone { opacity: 0; animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) .5s forwards; }
	.js .toast { opacity: 0; animation: toastIn .6s cubic-bezier(.2, .7, .2, 1) 1.9s forwards; }
	.js .now { animation: nowIn 1.2s ease-out .6s both; }
	.js :is(.panel, .spot).rv :is(.feed__row, .sheet__row, .paid__card, .quote__opt, .inv__line, .pr) { opacity: 0; transform: translateX(-12px); transition: opacity .5s ease, transform .5s ease; }
	.js :is(.panel, .spot).rv.in :is(.feed__row, .sheet__row, .paid__card, .quote__opt, .inv__line, .pr) { opacity: 1; transform: none; }
	.js :is(.panel, .spot).rv.in :is(.feed__row, .sheet__row, .paid__card, .quote__opt, .inv__line, .pr):nth-child(2) { transition-delay: .35s; }
	.js :is(.panel, .spot).rv.in :is(.feed__row, .sheet__row, .paid__card, .quote__opt, .inv__line, .pr):nth-child(3) { transition-delay: .55s; }
	.js :is(.panel, .spot).rv.in :is(.feed__row, .sheet__row, .paid__card, .quote__opt, .inv__line, .pr):nth-child(4) { transition-delay: .75s; }
	.js :is(.panel, .spot).rv.in :is(.feed__row, .sheet__row, .paid__card, .quote__opt, .inv__line, .pr):nth-child(5) { transition-delay: .95s; }
	.js :is(.panel, .spot).rv.in :is(.feed__row, .sheet__row, .paid__card, .quote__opt, .inv__line, .pr):nth-child(6) { transition-delay: 1.15s; }
	.js :is(.panel, .spot).rv .warn { opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .5s ease .9s, transform .5s ease .9s; }
	.js :is(.panel, .spot).rv.in .warn { opacity: 1; transform: none; }
	.js .panel.rv .job.drag { transition: transform .9s cubic-bezier(.2, .7, .2, 1) .4s; }
	.js .panel.rv:not(.in) .job.drag { transform: translate(-40%, -60%); }
	.panel { transition: transform .25s ease, box-shadow .25s ease; }
	.panel:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
	.fg { transition: transform .25s ease, border-color .25s ease; }
	.fg:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--fc) 60%, transparent); }
}

@keyframes jobIn { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes nowIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
