/*
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: 1.2.0
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: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/ibm-plex-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: a calm engineering notebook. Warm off-white page, white documents with
     hairline borders, and one featured object: the candidate report. Grid paper sits
     only behind the opening section. Red is for small highlights, green for strengths. */
  color-scheme: light;
  --bg: #F7F8F4;
  --surface: #FFFFFF;
  --ink: #17251E;
  --muted: #56635B;
  --rule: #DDE2DB;
  --accent: #BD3A2A;
  --positive: #246447;
  --positive-bg: #E8F1EB;
  --grid: rgba(23, 37, 30, .055);

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: 80px;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(23, 37, 30, .05), 0 6px 20px rgba(23, 37, 30, .04);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.125rem/1.6 var(--body); }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; letter-spacing: -.02em; line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 4.3vw, 3.5rem); letter-spacing: -.03em; line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 2.7vw, 2.3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.25; }
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: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.stack-lg { display: flex; flex-direction: column; gap: 2.25rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; line-height: 1.5; }
.mono-label { font: 500 .74rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.lede { font-size: 1.2rem; line-height: 1.55; max-width: 56ch; color: var(--ink); }
.intro { display: flex; flex-direction: column; gap: .9rem; max-width: 760px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--ink); color: #fff; font: 600 1rem/1 var(--body); text-decoration: none; padding: .9rem 1.25rem; border: 1.5px solid var(--ink); border-radius: 6px; cursor: pointer; transition: background .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { background: #24382E; border-color: #24382E; }
.btn.small-btn { padding: .65rem .95rem; font-size: .95rem; }
.text-link { font-weight: 600; text-underline-offset: .25em; text-decoration-thickness: 1.5px; text-decoration-color: var(--accent); }
.text-link:hover { color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem 1rem; align-items: center; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: .6rem 1.75rem; flex-wrap: wrap; padding-top: .8rem; padding-bottom: .8rem; }
.brand { display: flex; align-items: center; gap: .8rem; }
.logo { display: inline-flex; align-items: baseline; gap: .28rem; font: 800 1.4rem/1 var(--display); letter-spacing: -.04em; text-decoration: none; }
.logo .amp { font: 600 1.35em/.6 var(--hand); color: var(--accent); margin-right: .14em; }
.brand-tag { font: 500 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-left: 1px solid var(--rule); padding: .3rem 0 .3rem .8rem; white-space: nowrap; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-weight: 500; font-size: 1rem; padding: .35rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Sections */
section.band { padding: var(--sec) 0; }
section.band + section.band { border-top: 1px solid var(--rule); }
section.band.tint { background: var(--surface); }
.page-head { padding: 64px 0 0; }
.page-head h1 { max-width: 20ch; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; display: flex; flex-direction: column; gap: .7rem; }
.card p { color: var(--muted); font-size: 1.02rem; line-height: 1.55; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card .roles { margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--rule); font-size: .95rem; color: var(--ink); }
.card .btn { align-self: flex-start; margin-top: .6rem; }
.card .kicker { font: 500 .74rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--accent); }

/* Hero */
.hero { padding: 64px 0 72px; border-bottom: 1px solid var(--rule); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 28px 28px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero-copy { display: flex; flex-direction: column; gap: 1.4rem; }
.eyebrow { font: 500 .78rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); max-width: none; }
.hero h1 { font-size: clamp(2.45rem, 4.4vw, 3.65rem); }
.hero h1 span { display: block; }
.hero h1 .ev { color: var(--accent); }
.hero .lede { max-width: 50ch; }
.hero-fig { margin: 0; position: relative; }
.hand-note { font: 600 1.3rem/1 var(--hand); color: var(--accent); transform: rotate(-2deg); margin: 0 0 .5rem auto; width: max-content; max-width: 100%; padding-right: .5rem; }
figcaption { font-size: .88rem; line-height: 1.45; color: var(--muted); margin-top: 1rem; max-width: 52ch; }

/* Documents and reports */
.doc { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(23, 37, 30, .06), 0 14px 34px rgba(23, 37, 30, .07); padding: 26px 28px; font-size: .95rem; line-height: 1.5; }
.doc-tilt { transform: rotate(.35deg); }
.doc-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding-bottom: .85rem; border-bottom: 1px solid var(--rule); }
.pill { display: inline-flex; align-items: center; gap: .4rem; font: 500 .78rem/1 var(--body); color: var(--positive); background: var(--positive-bg); border-radius: 999px; padding: .4rem .7rem; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--positive); }
.pill.neutral { color: var(--muted); background: #EEF0EB; }
.pill.neutral::before { background: var(--muted); }
.pill.open { color: var(--accent); background: #F8ECE9; }
.pill.open::before { background: var(--accent); }
.doc-title { margin-top: 1rem; font-size: 1.35rem; }
.doc-sub { color: var(--muted); font-size: .88rem; }
.doc-rec { margin-top: 1rem; padding: .9rem 1rem; background: #F6F8F3; border-left: 3px solid var(--positive); border-radius: 0 6px 6px 0; }
.doc-rec b { font: 700 1rem/1.3 var(--display); display: block; margin-bottom: .25rem; }
.findings { margin-top: .5rem; }
.findings li { padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.f-top b { font-weight: 600; }
.score { display: inline-flex; align-items: center; gap: .55rem; font: 500 .82rem/1 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pips { width: 62px; height: 7px; border-radius: 2px; background: linear-gradient(90deg, var(--positive) calc(var(--n) * 20%), #D5DBD3 0); -webkit-mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 13px); mask: repeating-linear-gradient(90deg, #000 0 10px, transparent 10px 13px); }
.findings p, .doc-next p { color: var(--muted); margin-top: .2rem; }
.doc-next { margin-top: .9rem; }
.doc-next b { font: 500 .74rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--accent); }

/* Facts */
.facts { background: var(--surface); border-bottom: 1px solid var(--rule); }
.facts ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts li { padding: 1.5rem 1.5rem 1.5rem 0; display: flex; flex-direction: column; gap: .3rem; }
.facts li + li { border-left: 1px solid var(--rule); padding-left: 1.5rem; }
.facts b { font: 700 1.5rem/1.15 var(--display); letter-spacing: -.02em; }
.facts .note { border-top: 1px solid var(--rule); padding: .8rem 0; font-size: .88rem; color: var(--muted); max-width: none; }

/* Steps */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.steps4 li { padding: 1.5rem 1.5rem 0 0; display: flex; flex-direction: column; gap: .6rem; }
.steps4 li + li { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.steps4 .n { font: 500 .85rem/1 var(--mono); color: var(--accent); }
.steps4 p { color: var(--muted); font-size: 1rem; line-height: 1.55; }

/* Sample report preview */
.preview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.inside-doc { max-width: 460px; width: 100%; justify-self: center; padding: 24px 28px; }
.inside { counter-reset: part; margin-top: .6rem; }
.inside li { counter-increment: part; display: grid; grid-template-columns: 2.4rem 1fr; align-items: baseline; padding: .7rem 0; border-top: 1px solid var(--rule); font-size: 1.02rem; }
.inside li::before { content: counter(part, decimal-leading-zero); font: 500 .78rem/1 var(--mono); color: var(--accent); }
.hero-doc { padding: 24px; }
.doc-lead { margin-top: .9rem; }
.findings.compact { margin-top: .7rem; border-top: 1px solid var(--rule); }
.findings.compact li { padding: .62rem 0; }
.rtable.keytable { min-width: 0; }
.rtable.keytable td:last-child, .rtable.keytable th:last-child { white-space: normal; }
.rtable.keytable td:first-child { white-space: nowrap; width: 5rem; }
.rtable { min-width: 520px; }
.rtable th, .rtable td { text-align: left; vertical-align: top; padding: .7rem .9rem .7rem 0; border-bottom: 1px solid var(--rule); font-size: .93rem; line-height: 1.45; }
.rtable th { font: 500 .72rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rtable td:last-child, .rtable th:last-child { padding-right: 0; white-space: nowrap; }
.rtable td.ev { color: var(--muted); }
.table-scroll { overflow-x: auto; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; }
.kv dt { font: 500 .72rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .15rem; }
.doc h4 { font: 700 1.05rem/1.3 var(--display); margin: 1.6rem 0 .6rem; }
.doc h4 .num { font: 500 .8rem/1 var(--mono); color: var(--accent); margin-right: .55rem; }

/* FAQ */
.faq { max-width: 820px; border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; font: 700 1.15rem/1.3 var(--display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 1rem; font: 400 1.4rem/1 var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 1.25rem; color: var(--muted); }

/* Closing */
.closing { background: var(--ink); color: #fff; }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem 3rem; align-items: center; }
.closing p { color: #C8D3CB; max-width: 58ch; }
.closing .btn { background: #fff; color: var(--ink); border-color: #fff; }
.closing .btn:hover { background: #E9EEE8; border-color: #E9EEE8; }
.closing .text-link { color: #fff; text-decoration-color: #fff; }
.closing .text-link:hover { color: #C8D3CB; }

/* Comparison and pricing tables */
.ctable { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; }
.ctable table { min-width: 640px; }
.ctable th, .ctable td { text-align: left; vertical-align: top; padding: 1.05rem 1.4rem; border-bottom: 1px solid var(--rule); font-size: 1rem; line-height: 1.5; }
.ctable tr:last-child th, .ctable tr:last-child td { border-bottom: 0; }
.ctable thead th { font: 700 1.15rem/1.25 var(--display); background: #FAFBF8; }
.ctable tbody th { font: 500 .74rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); width: 22%; }
.ctable td { color: var(--muted); }
.ctable td strong { color: var(--ink); font-weight: 600; }
.ctable td.price { color: var(--ink); font: 700 1.15rem/1.3 var(--display); white-space: nowrap; }
.ctable td.num, .ctable th.num { text-align: right; }

.cur { display: inline-flex; align-self: flex-start; border: 1px solid var(--ink); border-radius: 6px; overflow: hidden; background: var(--surface); }
.cur button { font: 500 .95rem/1 var(--body); padding: .6rem .9rem; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.cur button + button { border-left: 1px solid var(--ink); }
.cur button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.calc form { display: grid; gap: 1.2rem; align-content: start; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; }
legend, label.lab { font: 600 .98rem/1.3 var(--body); padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.radios label { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--rule); border-radius: 6px; padding: .6rem .8rem; cursor: pointer; background: var(--surface); font-size: 1rem; }
.radios label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radios input { accent-color: var(--ink); margin: 0; }
.field { display: grid; gap: .4rem; }
input[type="text"], input[type="email"], input[type="number"], select, textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--surface); border: 1px solid #B9C2BA; border-radius: 6px; padding: .7rem .8rem; width: 100%; }
textarea { min-height: 7rem; resize: vertical; }
.quote { display: block; }
.quote .q-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--rule); }
.quote .q-total { padding: 1.2rem 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: .3rem; }
.quote .q-total span { font: 500 .74rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.quote .q-total b { font: 800 2.6rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.quote .q-total small { color: var(--muted); font-size: .95rem; }
.quote ul { display: grid; gap: .6rem; padding-top: 1rem; }
.quote li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; font-size: 1rem; }
.quote li b { font: 500 1rem/1.4 var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote .q-note { margin-top: 1rem; font-size: .92rem; color: var(--muted); }

/* How it works */
.stage { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; padding: 2rem 0; border-top: 1px solid var(--rule); align-items: start; }
.stage .n { font: 500 .9rem/1.6 var(--mono); color: var(--accent); }
.stage p { color: var(--muted); }
.stage ul { display: grid; gap: .5rem; }
.stage ul li { display: grid; grid-template-columns: 1.1rem 1fr; font-size: 1rem; line-height: 1.5; }
.stage ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--positive); margin-top: .6em; }
.who { font: 500 .72rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* Contact */
.start-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.form-card { display: grid; gap: 1.2rem; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.brief { background: #F6F8F3; border: 1px solid var(--rule); border-radius: 6px; padding: 1rem; font: 400 .9rem/1.55 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
.addr { font: 500 1rem/1.4 var(--mono); }
.error { color: var(--accent); font-weight: 500; }

/* Long-form text pages */
.prose { max-width: 800px; display: flex; flex-direction: column; gap: 1rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: .4rem; }
.prose p, .prose li { color: var(--muted); max-width: 70ch; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .5rem; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 3rem 0; font-size: .98rem; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; }
.site-foot nav { display: grid; gap: .5rem; align-content: start; }
.site-foot nav a { text-decoration: none; }
.site-foot nav a:hover { text-decoration: underline; }
.site-foot p { color: var(--muted); max-width: 40ch; }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps4 li:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps4 li:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 1.5rem; }
  .stage { grid-template-columns: 48px minmax(0, 1fr); }
  .stage > :nth-child(3) { grid-column: 2; }
}
@media (max-width: 860px) {
  body { font-size: 1.04rem; }
  :root { --sec: 48px; }
  .hero { padding: 40px 0 48px; }
  .hero .wrap, .preview-grid, .calc, .start-grid, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .doc-tilt { transform: none; }
  .site-head .wrap { gap: .5rem 1rem; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; gap: 1.3rem; padding-bottom: .1rem; }
  .head-cta { margin-left: auto; }
  .facts ul { grid-template-columns: minmax(0, 1fr); }
  .facts li { padding: 1rem 0; }
  .facts li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .closing .wrap { grid-template-columns: minmax(0, 1fr); }
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr); }
  .page-head { padding-top: 40px; }
  .lede { font-size: 1.1rem; }
}
@media (max-width: 560px) {
  .grid-4, .steps4, .two, .kv { grid-template-columns: minmax(0, 1fr); }
  .steps4 li, .steps4 li + li { padding: 1.25rem 0 0; border-left: 0; }
  .steps4 li + li { border-top: 1px solid var(--rule); margin-top: 1.25rem; }
  .brand-tag { display: none; }
  .doc { padding: 20px; }
  .card { padding: 24px; }
  .quote .q-total b { font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------------------------------------------------------------- WordPress additions */
html { scroll-padding-top: 96px; }
@media (max-width: 820px) { html { scroll-padding-top: 128px; } }
.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(--ink); color: #fff; border-radius: 6px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0 0 1rem; max-width: none; }
.form-note.bad { color: var(--accent); font-weight: 500; }
.form-note.ok { border-left: 3px solid var(--positive); }
.form-note.ok p { color: var(--muted); }
.prose img { height: auto; border-radius: var(--radius); }
.prose a { text-underline-offset: .2em; }
.prose ol { padding-left: 1.3rem; display: grid; gap: .5rem; list-style: decimal; }
.prose blockquote { margin: 0; padding-left: 1rem; border-left: 3px solid var(--rule); }
.prose article + article { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }

/* ---------------------------------------------------------------- Service and About pages */
.hero h1 .eyebrow { margin-bottom: 1.4rem; }
.page-head.wide h1 { max-width: 24ch; }
.page-head .cta-row { margin-top: .5rem; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.ticks { display: grid; gap: .55rem; }
.ticks li { display: grid; grid-template-columns: 1.1rem 1fr; line-height: 1.5; }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--positive); margin-top: .62em; }
.card .more { margin-top: auto; padding-top: .5rem; font-size: 1rem; }
.card .more a { color: var(--ink); }
.card .roles + .more { margin-top: 0; }
.task-doc ol { list-style: decimal; padding-left: 1.3rem; display: grid; gap: .35rem; }
.task-doc h4 { margin-top: 1.3rem; }
.card .price-line { font: 700 1.7rem/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.card .price-line small { font: 400 .95rem/1.4 var(--body); color: var(--muted); letter-spacing: 0; }
.link-cards a.card { text-decoration: none; transition: border-color .15s ease; }
.link-cards a.card:hover { border-color: var(--ink); }
.prose a.text-link { font-weight: 500; }

.site-foot .wrap { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
.foot-legal { grid-column: 1 / -1; max-width: none !important; border-top: 1px solid var(--rule); padding-top: 1.25rem; }
@media (max-width: 980px) { .site-foot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .site-foot .wrap { grid-template-columns: minmax(0, 1fr); } }
