/* Solid Group Properties (UK). One typeface, Source Sans 3 (the closest free match to the humanist lettering on the
   group logo), for everything including the wordmark. Group green, near black, and the logo's lime as the one accent (15 Nov: the gold from our mock-up was not theirs). Flat colour, 1px rules,
   8px radius for buttons and fields, 16px for cards and photos. No pills, no glows, no glass. */

@font-face { font-family: "Source Sans 3"; src: url(../fonts/sourcesans3-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(../fonts/sourcesans3-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(../fonts/sourcesans3-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(../fonts/sourcesans3-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --green: #0E6053;
  --green-dark: #0A4A40;
  --ink: #0F1712;
  --accent: #A3CE0C;       /* the logo's lime */
  --accent-dark: #8DB20A;
  /* The group logo's own colours (group notes, 12 Nov 2026), used for the service icons. */
  --logo-green: #0C6151;
  --logo-yellow: #FFFB73;
  --logo-lime: #A3CE0C;
  --soft: #F1F4F0;
  --line: #D9E0DB;
  --field: #A9B5AE;
  --muted: #4D5A53;
  --paper: #FFFFFF;
  --error: #B42318;
  --r-s: 8px;
  --r-l: 16px;
  --f: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --bar-h: 84px;
  --strip-h: 37px;          /* the contact strip above the menu (desktop) */
}
/* No contact strip yet (the live domain until the group sends its UK details): keep no room for it. */
:root:not(:has(.bar-contact)) { --strip-h: 0px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
body.uk { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 32px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: var(--r-s); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.bar :focus-visible, .hero :focus-visible, .page-head :focus-visible, .foot :focus-visible, .sec-ink :focus-visible, .band :focus-visible { outline-color: var(--accent); }
#main:focus { outline: none; }

/* Text blocks from ADMC's editor */
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: .8em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .45em; }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.prose h3:first-child { margin-top: 0; }
.prose a { color: var(--green); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 1em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose-lg { font-size: 1.15rem; }
.lede { font-size: 1.15rem; color: var(--muted); }
.lede p + p { margin-top: .6em; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; font: inherit; font-size: 1rem; font-weight: 600;
  line-height: 1.2; text-decoration: none; cursor: pointer; background: var(--green); color: #fff; border: 1px solid var(--green);
  border-radius: var(--r-s); padding: 13px 24px; transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-quiet { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn[disabled] { opacity: .7; cursor: progress; }
.link { display: inline-block; font-weight: 600; color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; padding-block: 8px; }
.link:hover { text-decoration-thickness: 2px; }
.link-light { color: #fff; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.linkish:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }

/* ---------------------------------------------------------------- bar */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 40; color: #fff; transition: background-color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.bar.solid, .menu-open .bar { background: var(--ink); border-bottom-color: rgba(255,255,255,.08); }
.is-admin .bar { position: absolute; }
/* UK phone, email and address, visible on every page (group notes, 18 Nov 2026). It folds away once the page scrolls. */
.bar-contact { height: var(--strip-h); overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .9rem; transition: height .25s, opacity .25s; }
.bar-contact ul { list-style: none; display: flex; justify-content: flex-end; align-items: center; gap: 28px; height: 100%; }
.bar-contact li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-width: 0; }
.bar-contact li:last-child { overflow: hidden; text-overflow: ellipsis; }
.bar-contact i { color: var(--accent); }
.bar-contact a { color: rgba(255,255,255,.9); text-decoration: none; }
.bar-contact a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.bar.solid .bar-contact { height: 0; opacity: 0; border-bottom-color: transparent; }
.menu .menu-contacts { display: none; }
.bar-contact .pending, .menu-contacts .pending, .foot .pending, .hero .pending { color: rgba(255,255,255,.72); }
.bar-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--bar-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: #fff; }
.brand-logo img { height: 44px; width: auto; display: block; }
.brand-logo:empty { display: none; }
.is-admin .brand-logo:empty { display: inline-block; width: 44px; height: 44px; border: 1px dashed rgba(255,255,255,.5); border-radius: var(--r-s); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
.brand-text small { font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.78); margin-top: 3px; }
.menu ul { list-style: none; display: flex; align-items: center; gap: 6px; }
.menu a { display: inline-block; text-decoration: none; color: rgba(255,255,255,.88); font-weight: 600; font-size: 1rem; padding: 10px 12px; border-radius: var(--r-s); }
.menu a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.menu a[aria-current] { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.menu a.menu-cta { margin-left: 10px; border: 1px solid rgba(255,255,255,.7); color: #fff; padding: 10px 18px; }
.menu a.menu-cta:hover { background: #fff; color: var(--ink); text-decoration: none; }
.menu-btn { display: none; align-items: center; justify-content: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 8px 4px 8px 12px; background: none; border: 0; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.menu-icon { display: inline-grid; gap: 6px; width: 22px; }
.menu-icon i { display: block; height: 2px; background: currentColor; transition: transform .2s; }
.menu-open .menu-icon i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-icon i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------------------------------------------------------------- home hero (Option A + companies card) */
.hero { position: relative; color: #fff; background: var(--ink); min-height: max(100svh, 760px); display: flex; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,18,.94) 0%, rgba(15,23,18,.8) 42%, rgba(15,23,18,.45) 72%, rgba(15,23,18,.3) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px 64px;
  padding-top: calc(var(--bar-h) + var(--strip-h) + 40px); padding-bottom: 48px; align-items: center; }
.hero-label { color: var(--accent); font-weight: 600; font-size: 1.05rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1.04; letter-spacing: -0.025em; max-width: 14ch; }
.hero-lede { font-size: 1.2rem; color: rgba(255,255,255,.88); max-width: 34rem; margin-top: 24px; }
.co-card { background: var(--paper); color: var(--ink); border-radius: var(--r-l); padding: 28px; }
.co-card h2 { font-size: 1.3rem; margin-bottom: 18px; }
.co-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co { position: relative; border: 1px solid var(--line); border-radius: var(--r-s); padding: 14px 16px 12px; transition: border-color .15s; display: flex; flex-direction: column; }
.co:hover { border-color: var(--ink); }
.co.is-full { grid-column: 1 / -1; }
/* Each tile: a 60px logo area (the company's own logo, or its name until the group sends one), then the link line. */
.co-logo { display: flex; align-items: center; height: 60px; }
.co-logo img { max-height: 60px; height: auto; width: auto; max-width: 100%; }
.co-name { display: flex; align-items: center; height: 60px; font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
/* Square logo with its name beside it, in the same 60px band as the wide logos. */
.co-mark-name { display: flex; align-items: center; gap: 12px; height: 60px; }
.co-mark-name .co-logo { flex: none; }
.co-mark-name .co-name { height: auto; }
.co a { display: block; text-decoration: none; }
.co a::after { content: ""; position: absolute; inset: 0; }
.co-go { display: block; font-size: .9rem; color: var(--muted); margin-top: 8px; }
.co:hover .co-go { color: var(--green); text-decoration: underline; }
.co-soon { color: var(--muted); font-size: .9rem; }
.co-all { margin-top: 12px; }
.photo-credit { position: absolute; right: 16px; bottom: 10px; font-size: .78rem; color: rgba(255,255,255,.66); max-width: 60%; text-align: right; }

/* ---------------------------------------------------------------- inner page head */
.page-head { position: relative; overflow: hidden; background: var(--green); color: #fff; padding: calc(var(--bar-h) + var(--strip-h) + 64px) 0 72px; }
/* With a photo: the UK place under a dark shade, title at the foot of the band, caption and credit in the corner. */
.page-head.has-photo { background: var(--ink); min-height: 500px; padding: calc(var(--bar-h) + var(--strip-h) + 80px) 0 88px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-photo { position: absolute; inset: 0; }
.page-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.page-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,18,.9) 0%, rgba(15,23,18,.74) 45%, rgba(15,23,18,.42) 100%); }
.page-head-in { position: relative; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; font-size: .95rem; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.crumbs li { display: inline-flex; align-items: center; min-height: 40px; }
.crumbs li + li::before { content: "/"; margin: 0 12px; color: rgba(255,255,255,.5); }
.crumbs a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 40px; min-width: 40px; }
.crumbs a:hover { text-decoration-thickness: 2px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); letter-spacing: -0.025em; max-width: 18ch; }
.page-head .lede { color: rgba(255,255,255,.88); max-width: 40rem; margin-top: 18px; font-size: 1.2rem; }

/* ---------------------------------------------------------------- sections */
.sec { padding: 104px 0; }
.sec-tight { padding: 56px 0 0; }
.sec-soft { background: var(--soft); }
.sec-ink { background: var(--ink); color: #fff; }
.sec-ink .lede { color: rgba(255,255,255,.8); }
.sec-head { max-width: 46rem; margin-bottom: 48px; }
.sec h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); letter-spacing: -0.02em; }
.sec-head .lede { margin-top: 14px; }
.sec-more { margin-top: 32px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; align-items: start; }
.split .lede { margin-top: 14px; }
.empty-note { border: 1px dashed var(--field); border-radius: var(--r-s); padding: 14px 16px; color: var(--muted); font-size: .95rem; margin-top: 16px; }

.svc-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.svc { padding-top: 0; }
.svc-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--r-s); background: var(--logo-green); font-size: 1.45rem; margin-bottom: 18px; }
.svc-icon.is-yellow { color: var(--logo-yellow); }
.svc-icon.is-lime { color: var(--logo-lime); }
.svc-icon.is-empty { background: none; border: 1px dashed var(--field); }
.svc-item-head .svc-icon { margin-bottom: 20px; }
.svc h3 { font-size: 1.35rem; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.svc p { color: var(--muted); margin-top: 10px; }

/* Who we work with (group notes, 12 Nov 2026): heading on top, then the cards side by side, each with its picture. */
.aud-cards { list-style: none; display: flex; gap: 32px; }
.aud-card { flex: 1 1 0; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; }
.aud-card figure { margin: 0; aspect-ratio: 2 / 1; background: var(--soft); overflow: hidden; }
.aud-card figure img { width: 100%; height: 100%; object-fit: cover; }
.aud-body { padding: 24px 28px 28px; }
.aud-body h3 { font-size: 1.4rem; margin-bottom: 8px; }
.aud-body .prose { color: var(--muted); }
.ruled { list-style: none; }
.ruled li { border-top: 1px solid var(--line); padding: 28px 0; }
.ruled li:last-child { border-bottom: 1px solid var(--line); }
.ruled h3 { font-size: 1.4rem; margin-bottom: 8px; }
.ruled .prose { color: var(--muted); }

/* The full cycle: steps along one rule. When it scrolls into view the rule draws across and each step's dot fills in turn,
   left to right, so the order is shown by the line, not by numbers. */
.cycle { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line); }
.sec-ink .cycle { border-top-color: rgba(255,255,255,.2); }
.cycle::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--green); transform-origin: left center; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.step { position: relative; padding-top: 30px; }
.step-dot { position: absolute; left: 0; top: -7px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--green); transition: background-color .4s, transform .4s; }
.sec-ink .cycle::before { background: var(--accent); }
.sec-ink .step-dot { border-color: var(--accent); }
.sec-ink .step-dot { background: var(--ink); }
.step h3, .step .prose { transition: opacity .7s cubic-bezier(.2,.7,.2,1), translate .7s cubic-bezier(.2,.7,.2,1); }
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step .prose { color: var(--muted); font-size: 1rem; }
.sec-ink .step .prose { color: rgba(255,255,255,.78); }

.band { background: var(--green); color: #fff; padding: 56px 0; }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.band-text { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; max-width: 40rem; line-height: 1.3; }

/* ---------------------------------------------------------------- enquiry form */
.enquiry { background: var(--soft); }
.sec.enquiry { padding: 64px 0; }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.enquiry-head .lede { margin-top: 14px; }
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: baseline; }
.contact-list i { color: var(--green); width: 20px; text-align: center; }
.contact-list a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.enquiry-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px 32px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; align-items: end; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.half { grid-column: auto; }
/* Only a field's own label: the "I am" options are labels too and keep their own padding (group notes, 12 Nov). */
.field > label, .field legend { font-weight: 600; font-size: 1rem; padding: 0; }
.field small { font-weight: 400; color: var(--muted); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.hint { font-size: .9rem; color: var(--muted); }
.field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--field);
  border-radius: var(--r-s); padding: 11px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; min-height: 104px; }
.field ::placeholder { color: #75817A; opacity: 1; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:not([type=radio]):not([type=checkbox]):focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.field.bad input:not([type=radio]):not([type=checkbox]), .field.bad select, .field.bad textarea { border-color: var(--error); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.choice-item { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; max-width: 100%; min-height: 46px; padding: 10px 18px 10px 14px; border: 1px solid var(--field); border-radius: var(--r-s); cursor: pointer; font-weight: 400; line-height: 1.25; }
.choice-item:hover { border-color: var(--ink); }
.choice-item:has(input:checked) { border-color: var(--green); background: var(--soft); box-shadow: inset 0 0 0 1px var(--green); }
.choice-item input { accent-color: var(--green); width: 18px; height: 18px; margin: 0; }
.field.bad .choice-item { border-color: var(--error); }
.err { color: var(--error); font-size: .92rem; font-weight: 600; }
.form-alert { border-left: 4px solid var(--error); background: #FDEDEB; padding: 12px 16px; margin-bottom: 20px; border-radius: 0 var(--r-s) var(--r-s) 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.fine { font-size: .92rem; color: var(--muted); }
.fine a { color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done h3 { font-size: 1.6rem; margin-bottom: 10px; }
.form-done .prose { color: var(--muted); margin-bottom: 8px; }
.form-done:focus { outline: none; }

/* ---------------------------------------------------------------- Our Services */
.svc-sec { padding: 88px 0; }
.svc-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 72px; }
.svc-item h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.svc-short { color: var(--muted); font-size: 1.15rem; margin-top: 12px; }
.svc-photo { margin: 24px 0 0; border-radius: var(--r-l); overflow: hidden; }
.svc-photo img { width: 100%; height: auto; }
.is-admin .svc-photo:empty { min-height: 90px; border: 1px dashed var(--field); }
.svc-item-body .prose { font-size: 1.1rem; }
.points { list-style: none; margin-top: 24px; display: grid; gap: 18px; }
.points li { border-left: 3px solid var(--green); padding-left: 18px; }
.points h3 { font-size: 1.2rem; margin-bottom: 4px; }
.points .prose { color: var(--muted); font-size: 1rem; }
.svc-item-body .btn { margin-top: 28px; }

/* ---------------------------------------------------------------- Our Companies, About */
.co-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
/* The first company (Solid Foundation Estates, the company the group grew from) takes a wide card across the top, so the
   five fit one desktop screen: logo on the left, words on the right. */
.co-item.is-lead { grid-column: 1 / -1; grid-row: auto; grid-template-rows: auto auto 1fr; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: 40px; align-items: center; }
.co-item.is-lead .co-logo { grid-row: 1 / -1; }
.co-item.is-lead .co-logo img { max-height: 96px; }
.co-item.is-lead .prose { max-width: 48rem; }
/* Cards share four rows (logo, name, summary, link) through subgrid, so a row of cards lines up whether or not each has a logo. */
.co-list { grid-auto-rows: auto; }
.co-item { border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; align-content: start; }
.co-foot { display: flex; flex-direction: column; gap: 2px; align-self: end; }
.co-logo-lg { height: auto; min-height: 0; }
.co-logo-lg:empty { display: block; }
.co-logo-lg img { max-height: 80px; }
.is-admin .co-logo:empty { display: block; height: 56px; border: 1px dashed var(--field); border-radius: var(--r-s); }
.co-item h2 { font-size: 1.3rem; }
.co-item.is-lead h2 { font-size: 1.6rem; }
.co-item .prose { font-size: 1rem; }
.co-item .prose { color: var(--muted); flex: 1; }
.co-host { font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.co-mini { list-style: none; }
.co-mini li { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; min-height: 58px; }
.co-mini-logo { display: flex; align-items: center; }
.co-mini li:first-child { border-top: 1px solid var(--line); }
.co-mini img { max-height: 34px; max-width: 132px; width: auto; height: auto; }
/* Blog (18 Nov 2026): cards of posts, newest first; one post reads as a single column. */
.posts { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.post-card { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; background: var(--paper); }
.post-img { display: block; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.post-img span, .post-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-text { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-text h2 { font-size: 1.35rem; }
.post-text h2 a { text-decoration: none; }
.post-text h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-text .link { margin-top: auto; }
.post-meta { font-size: .92rem; }
.post-body .post-meta { margin-bottom: 18px; }
.blog-empty { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.people { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }
.person figure { margin: 0 0 16px; aspect-ratio: 5 / 6; border-radius: var(--r-l); overflow: hidden; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.person figure img { width: 100%; height: 100%; object-fit: cover; }
.person figure i { font-size: 3rem; color: var(--field); }
.person h3 { font-size: 1.25rem; }
.person .role { color: var(--green); font-weight: 600; margin: 2px 0 8px; }
.facts div { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: 4px 24px; border-top: 1px solid var(--line); padding: 14px 0; }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.pending { color: var(--muted); font-style: italic; }

/* ---------------------------------------------------------------- Contact */
.contact-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-cards li { border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.contact-cards i { color: var(--green); font-size: 1.25rem; margin-bottom: 8px; }
.cc-label { color: var(--muted); font-size: .95rem; }
.contact-cards a { font-size: 1.15rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-cards a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- legal pages */
.legal > * { max-width: 860px; }
.legal-block { margin-bottom: 56px; }
.fees-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; }
.fees-grid .legal-block { margin-bottom: 0; }
.legal-cols { columns: 2; column-gap: 72px; font-size: 1.05rem; }
.legal-cols h3 { break-after: avoid; }
.legal-cols p, .legal-cols li { break-inside: avoid; }
.updated { margin-top: 28px; }
.cookie-again { margin-top: 32px; }
.compliance.rv { margin-bottom: 0; }
.legal-block h2 { font-size: 1.7rem; margin-bottom: 14px; }
.legal .prose { font-size: 1.05rem; }
.note { background: var(--soft); border-radius: var(--r-s); padding: 18px 20px; margin-top: 24px; font-size: .98rem !important; color: var(--muted); }
.compliance { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 72px; }
.compliance h2 { font-size: 1.35rem; margin-bottom: 12px; }
.compliance .facts div { grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); }
.legal > .facts { margin-bottom: 32px; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--ink); color: rgba(255,255,255,.82); padding: 80px 0 32px; font-size: 1rem; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-mark { display: block; margin-bottom: 14px; }
.foot-mark img { height: 56px; width: auto; }
.foot-name { font-size: 1.45rem; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.foot-desc { margin-top: 10px; max-width: 26rem; }
.foot h2 { font-size: 1rem; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.foot ul { list-style: none; display: grid; gap: 0; }
.foot ul a, .foot .linkish { display: inline-block; text-decoration: none; padding-block: 10px; min-width: 44px; color: rgba(255,255,255,.82); }
.foot ul a:hover, .foot .linkish:hover { color: #fff; text-decoration: underline; }
.foot-contacts li { display: flex; gap: 10px; align-items: baseline; }
.foot-contacts i { color: var(--accent); width: 18px; }
.foot-contacts a { overflow-wrap: anywhere; }
.foot-cta { display: inline-block; color: var(--accent); font-weight: 600; text-underline-offset: 4px; padding-block: 8px; }
.foot-legal { background: linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,.14)) top / 100% 1px no-repeat content-box; margin-top: 56px; padding-top: 24px; font-size: .9rem; color: rgba(255,255,255,.7); display: grid; gap: 6px; }
.foot-legal a { color: #fff; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: .88rem; color: rgba(255,255,255,.6); }
.foot-base a { color: rgba(255,255,255,.75); text-decoration: none; padding-block: 11px; }
.foot-base a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- cookie banner */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; display: flex; justify-content: flex-start; pointer-events: none; }
.cookies[hidden] { display: none; }
.cookies-in { pointer-events: auto; background: var(--paper); color: var(--ink); border-radius: var(--r-l); padding: 20px 22px; max-width: 560px;
  box-shadow: 0 10px 40px rgba(15,23,18,.25); font-size: .98rem; }
.cookies-in a { color: var(--green); font-weight: 600; }
.cookies-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cookies-actions .btn { flex: 1 1 180px; min-height: 46px; padding: 10px 16px; }

/* ---------------------------------------------------------------- motion (off for reduced motion and for admins) */
@keyframes uk-rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
html.motion .rise { animation: uk-rise .9s cubic-bezier(.2,.7,.2,1) both; }
html.motion .hero-copy .rise:nth-child(2), html.motion .page-head .rise:nth-child(2) { animation-delay: .08s; }
html.motion .page-head .rise:nth-child(3) { animation-delay: .16s; }
html.motion .hero-copy .rise:nth-child(3) { animation-delay: .16s; }
html.motion .hero-copy .rise:nth-child(4) { animation-delay: .24s; }
html.motion .co-card.rise { animation-delay: .3s; }
.rv { transition: opacity .8s cubic-bezier(.2,.7,.2,1), translate .8s cubic-bezier(.2,.7,.2,1); }
html.motion.rv-on .rv:not(.seen) { opacity: 0; translate: 0 26px; }
/* Siblings reveal one after another (services, audiences, companies, people), so the eye is led along the row. */
html.motion .rv:nth-child(2) { transition-delay: .1s; }
html.motion .rv:nth-child(3) { transition-delay: .2s; }
html.motion .rv:nth-child(4) { transition-delay: .3s; }
html.motion .rv:nth-child(5) { transition-delay: .4s; }
html.motion .rv:nth-child(n + 6) { transition-delay: .5s; }
/* The cycle: the rule draws, then the dots fill and the words appear in sequence. */
html.motion.rv-on .cycle:not(.seen)::before { transform: scaleX(0); }
html.motion.rv-on .cycle:not(.seen) .step-dot { background: var(--paper); transform: scale(.6); }
html.motion.rv-on .sec-ink .cycle:not(.seen) .step-dot { background: var(--ink); }
html.motion.rv-on .cycle:not(.seen) .step h3, html.motion.rv-on .cycle:not(.seen) .step .prose { opacity: 0; translate: 0 14px; }
html.motion .cycle.seen .step-dot { background: var(--green); }
html.motion .sec-ink .cycle.seen .step-dot { background: var(--accent); }
html.motion .cycle .step:nth-child(1) .step-dot, html.motion .cycle .step:nth-child(1) h3, html.motion .cycle .step:nth-child(1) .prose { transition-delay: .2s; }
html.motion .cycle .step:nth-child(2) .step-dot, html.motion .cycle .step:nth-child(2) h3, html.motion .cycle .step:nth-child(2) .prose { transition-delay: .45s; }
html.motion .cycle .step:nth-child(3) .step-dot, html.motion .cycle .step:nth-child(3) h3, html.motion .cycle .step:nth-child(3) .prose { transition-delay: .7s; }
html.motion .cycle .step:nth-child(4) .step-dot, html.motion .cycle .step:nth-child(4) h3, html.motion .cycle .step:nth-child(4) .prose { transition-delay: .95s; }
html.motion .cycle .step:nth-child(5) .step-dot, html.motion .cycle .step:nth-child(5) h3, html.motion .cycle .step:nth-child(5) .prose { transition-delay: 1.2s; }
/* Photos: a slow settle when a page opens (the photo eases from slightly enlarged to its place), and a slow drift after. */
@keyframes uk-settle { from { scale: 1.06; } to { scale: 1; } }
html.motion .hero-photo img, html.motion .page-photo img { animation: uk-settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
/* Hover: cards lift a little and the rule under a service darkens, so the pointer is answered. */
html.motion .co, html.motion .co-item, html.motion .contact-cards li, html.motion .aud-card { transition: border-color .2s, translate .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
html.motion .co:hover, html.motion .co-item:hover, html.motion .contact-cards li:hover, html.motion .aud-card:hover { translate: 0 -3px; box-shadow: 0 10px 24px rgba(15,23,18,.08); }
html.motion .svc-icon { transition: translate .25s cubic-bezier(.2,.7,.2,1); }
html.motion .svc:hover .svc-icon { translate: 0 -3px; }
html.motion .btn { transition: background-color .15s, border-color .15s, color .15s, translate .2s; }
html.motion .btn:hover { translate: 0 -1px; }
html.motion .crumbs a, html.motion .link { transition: text-decoration-thickness .15s, color .15s; }
/* The bar: a short settle when it turns solid on scroll. */
html.motion .bar { transition: background-color .35s, border-color .35s, box-shadow .35s; }
html.motion .bar.solid { box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 8px 24px rgba(15,23,18,.25); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------------------------------------------------------------- tablet and phone */
@media (max-width: 1080px) {
  .co-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-row { grid-template-columns: 1fr 1fr; }
  .cycle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --bar-h: 72px; --strip-h: 0px; }
  .bar-contact { display: none; }
  .menu .menu-contacts { display: grid; gap: 14px; list-style: none; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
  .menu-contacts li { display: flex; gap: 12px; align-items: baseline; color: rgba(255,255,255,.85); border: 0 !important; }
  .menu-contacts i { color: var(--accent); width: 18px; }
  .menu-contacts a { font-size: 1.05rem !important; font-weight: 600; padding: 6px 0 !important; color: #fff; }
  .menu-btn { display: inline-flex; }
  .menu { position: fixed; inset: var(--bar-h) 0 0 0; background: var(--ink); padding: 24px 24px 40px; overflow-y: auto; display: none; }
  .menu-open .menu { display: block; }
  .menu-open { overflow: hidden; }
  .menu ul { flex-direction: column; align-items: stretch; gap: 0; }
  .menu li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .menu a { display: block; font-size: 1.6rem; font-weight: 600; padding: 18px 4px; border-radius: 0; color: #fff; }
  .menu a.menu-cta { margin: 24px 0 0; border: 1px solid rgba(255,255,255,.7); border-radius: var(--r-s); text-align: center; font-size: 1.2rem; padding: 14px; }
  .menu li:last-child { border-bottom: 0; }
  .hero-grid { grid-template-columns: 1fr; padding-top: calc(var(--bar-h) + 40px); gap: 36px; }
  .hero { min-height: 0; }
  .split, .enquiry-grid, .svc-item { grid-template-columns: 1fr; }
  .compliance { grid-template-columns: 1fr; }
  .fees-grid { grid-template-columns: 1fr; }
  .legal-cols { columns: 1; }
}
@media (max-width: 760px) {
  body.uk { font-size: 17px; }
  .wrap { padding-inline: 20px; }
  .sec { padding: 72px 0; }
  .sec-tight { padding: 40px 0 0; }
  .sec-head { margin-bottom: 32px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero-lede { font-size: 1.1rem; }
  .hero-shade { background: linear-gradient(180deg, rgba(15,23,18,.86) 0%, rgba(15,23,18,.78) 50%, rgba(15,23,18,.92) 100%); }
  .co-card { padding: 22px 18px; }
  .photo-credit { position: relative; right: auto; bottom: auto; max-width: none; text-align: left; padding: 0 20px 16px; }
  .hero { flex-direction: column; }
  .svc-row { grid-template-columns: 1fr; gap: 24px; }
  .cycle { grid-template-columns: 1fr; gap: 0; border-top: 0; border-left: 1px solid var(--line); margin-left: 6px; }
  .sec-ink .cycle { border-left-color: rgba(255,255,255,.2); }
  .cycle::before { top: 0; left: -1px; width: 2px; height: 100%; transform-origin: center top; }
  html.motion.rv-on .cycle:not(.seen)::before { transform: scaleY(0); }
  .step { padding: 0 0 28px 28px; }
  .step:last-child { padding-bottom: 0; }
  .step-dot { left: -7px; top: 6px; }
  .page-head { padding: calc(var(--bar-h) + 48px) 0 52px; }
  .page-head.has-photo { min-height: 420px; padding: calc(var(--bar-h) + 56px) 0 0; }
  .page-head.has-photo .page-head-in { padding-bottom: 40px; }
  .page-shade { background: linear-gradient(180deg, rgba(15,23,18,.7) 0%, rgba(15,23,18,.8) 55%, rgba(15,23,18,.92) 100%); }
  .enquiry-form { padding: 24px 18px; }
  .svc-sec { padding: 64px 0; }
  .co-logo, .co-name, .co-mark-name { height: 52px; }
  .co-mark-name .co-name { height: auto; }
  .co-logo img { max-height: 52px; }
  .co-name { font-size: .98rem; }
  .fields { grid-template-columns: 1fr; }
  .field.half { grid-column: 1 / -1; }
  .choice-item { flex: 1 1 100%; }
  .band-row .btn { width: 100%; }
  .facts div { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot { padding-top: 56px; }
  .co-list { grid-template-columns: 1fr; }
  .co-item.is-lead { display: flex; flex-direction: column; }
  .aud-cards { flex-direction: column; gap: 20px; }
  .aud-card { flex: 0 0 auto; }
  .co-item { display: flex; flex-direction: column; }
  .co-logo-lg:empty { display: none; }
  .co-item .co-foot { align-self: flex-start; }
}
@media (max-width: 340px) {
  .co-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .brand-text b { font-size: 1.12rem; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cookies { left: 8px; right: 8px; bottom: 8px; }
}
