/* Service page template (/services/*). Shared by all six service pages. Prefix: pg- */

/* hero: one ring-coloured line, smaller than the home hero so three lines fit the fold */
.hx--c.pg-hero .line:nth-child(1),
.hx--c.pg-hero .line:nth-child(2) { color: var(--p-cobalt-ink); }
.hx--c.pg-hero .line:nth-child(3) { color: var(--p-vermilion); }
.pg-hero .hx__title { font-size: clamp(2.5rem, 13.5vw, 6.5rem); line-height: 0.92; }
@media (min-width: 900px) { .pg-hero .hx__title { font-size: clamp(3.5rem, 7.2vw, 7rem); } }
.pg-hero .hx__sub { max-width: 30ch; }
/* about: "what businesses" is the longest line; smaller on phones so it fits 320-430 */
@media (max-width: 899px) { .pg-hero--about .hx__title { font-size: clamp(2.25rem, 11.8vw, 6.5rem); } }

/* sections */
.pg-sec { padding-block: var(--space-6); background: var(--c-bg); color: var(--c-text); }
.pg-sec__in { display: grid; gap: var(--space-5); }
.pg-title { font: 800 clamp(2rem, 4.6vw, 3.75rem)/0.95 var(--font-display); font-variation-settings: "opsz" 96; letter-spacing: -0.035em; max-width: 14ch; }
@media (min-width: 900px) {
  .pg-sec { padding-block: var(--space-7); }
  .pg-sec__in { grid-template-columns: minmax(14rem, 4fr) 8fr; gap: var(--space-6); align-items: start; }
  .pg-title { position: sticky; top: calc(var(--bar-h) + var(--space-5)); }
}

/* problems: big statements on aubergine */
.pg-prob { list-style: none; padding: 0; margin: 0; }
.pg-prob li { padding-block: var(--space-4); border-top: 1px solid color-mix(in srgb, var(--p-chalk) 25%, transparent); font: 800 clamp(1.5rem, 3.2vw, 2.75rem)/1.05 var(--font-display); letter-spacing: -0.025em; }
.pg-prob li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--p-chalk) 25%, transparent); }

/* rows: name + one line, flood on hover */
.pg-rows { list-style: none; padding: 0; margin: 0; }
.pg-rows li { display: grid; gap: var(--space-2); padding: var(--space-4) var(--space-3); margin-inline: calc(var(--space-3) * -1); border-top: 2px solid var(--p-cobalt-ink); transition: background-color .2s var(--ease-out), color .2s var(--ease-out); }
.ab-how li { margin-inline: 0; } /* about: align rules with the Credentials rows */
.pg-rows li:last-child { border-bottom: 2px solid var(--p-cobalt-ink); }
.pg-rows li:hover { background: var(--p-cobalt-ink); color: var(--p-chalk); }
.pg-rows__n { font: 800 clamp(1.375rem, 2.4vw, 2rem)/1.05 var(--font-display); letter-spacing: -0.02em; }
.pg-rows__l { font-size: var(--fs-body); line-height: 1.4; max-width: 38ch; }
@media (min-width: 900px) { .pg-rows li { grid-template-columns: 1fr 1fr; align-items: baseline; gap: var(--space-4); } }

/* proof: labelled groups, stacked definition rows */
.pg-proof { display: grid; margin: 0; }
.pg-proof__g { display: grid; gap: var(--space-3); padding-block: var(--space-4); border-top: 2px solid var(--p-cobalt-ink); }
.pg-proof__g:last-child { border-bottom: 2px solid var(--p-cobalt-ink); }
.pg-proof dt { font: 800 clamp(1.25rem, 2vw, 1.625rem)/1.05 var(--font-display); letter-spacing: -0.02em; }
.pg-proof dd { margin: 0; }
.pg-proof ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.pg-proof li { display: grid; gap: 2px; }
.pg-proof__n { font-weight: 600; font-size: var(--fs-body); }
.pg-proof__l { font-size: var(--fs-small); }
.pg-proof em { font-style: normal; font-weight: 600; }
@media (min-width: 900px) { .pg-proof__g { grid-template-columns: 1fr 2fr; gap: var(--space-5); } }
.pg-sub { margin-top: var(--space-3); font-size: var(--fs-body); }

/* closing band */
.pg-cta { background: var(--c-bg); color: var(--c-text); padding-block: var(--space-6); border-bottom: 1px solid color-mix(in srgb, var(--p-chalk) 25%, transparent); }
.pg-cta__in { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5); }
.pg-cta__t { font: 800 clamp(2.5rem, 6.5vw, 5.5rem)/0.92 var(--font-display); font-variation-settings: "opsz" 96; letter-spacing: -0.035em; max-width: 12ch; }
.pg-cta__a { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.pg-cta .textlink { color: var(--p-chalk); }
@media (min-width: 900px) { .pg-cta__in { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

/* ===== /about, /products, /contact, /privacy, /terms (prefixes ab- pd- ct- lg-) ===== */

/* about */
.ab-who { display: grid; gap: var(--space-4); max-width: 44rem; font-size: var(--fs-body); line-height: 1.5; }
.ab-who__big { font: 800 clamp(1.75rem, 3.6vw, 3rem)/1.05 var(--font-display); letter-spacing: -0.025em; }
.ab-cred li { display: grid; gap: var(--space-2); }
.ab-cred small { font: 400 var(--fs-body)/1.3 var(--font-text); letter-spacing: 0; }

/* products */
.pd { list-style: none; padding: 0; margin: 0; }
.pd__row { display: grid; gap: var(--space-2); padding-block: var(--space-4); border-top: 2px solid var(--p-cobalt-ink); align-items: baseline; }
.pd__row:last-child { border-bottom: 2px solid var(--p-cobalt-ink); }
.pd__name { font: 800 clamp(1.75rem, 3.6vw, 3rem)/1 var(--font-display); letter-spacing: -0.03em; text-decoration: none; }
a.pd__name:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.pd__d { font-size: var(--fs-body); line-height: 1.4; }
.pd__st { justify-self: start; font-weight: 600; font-size: var(--fs-small); padding: 4px 12px; border: 2px solid var(--p-cobalt-ink); border-radius: 999px; }
.pd__st--live { background: #56857A; border-color: #56857A; color: #F6F2EB; }
.pd__big { font: 800 clamp(1.5rem, 3.2vw, 2.75rem)/1.05 var(--font-display); letter-spacing: -0.025em; max-width: 22ch; }
@media (min-width: 900px) { .pd__row { grid-template-columns: 5fr 5fr 3fr; gap: var(--space-4); } .pd__st { justify-self: end; } }

/* contact: one screen */
.ct { height: 100dvh; min-height: 0; background: var(--c-bg); color: var(--c-text); overflow: hidden; }
.ct__in { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-5); padding-top: calc(var(--bar-h) + var(--space-4)); padding-bottom: var(--space-5); }
.ct__title { font: 800 clamp(3rem, 15vw, 9rem)/0.88 var(--font-display); font-variation-settings: "opsz" 96; letter-spacing: -0.035em; padding-bottom: 0.04em; }
.ct__acc { color: var(--p-vermilion); }
.ct__act { display: grid; gap: var(--space-3); justify-items: start; }
.ct__note { font-size: var(--fs-body); }
.ct__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ct__list li { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; padding-block: var(--space-2); border-top: 2px solid var(--p-cobalt-ink); }
.ct__k { min-width: 7rem; font-weight: 600; font-size: var(--fs-small); }
@media (min-width: 900px) { .ct__in { padding-bottom: var(--space-6); } }

/* legal */
.lg { background: var(--c-bg); color: var(--c-text); padding: calc(var(--bar-h) + var(--space-6)) var(--edge) var(--space-7); }
.lg__in { max-width: 42rem; margin-inline: auto; font-size: var(--fs-body); line-height: 1.6; }
.lg__draft { font-size: var(--fs-small); font-weight: 600; margin-bottom: var(--space-3); }
.lg__title { font: 800 clamp(2.5rem, 7vw, 4rem)/0.95 var(--font-display); letter-spacing: -0.035em; margin-bottom: var(--space-3); }
.lg__meta { font-size: var(--fs-small); margin-bottom: var(--space-5); }
.lg h2 { font: 800 1.375rem/1.15 var(--font-display); letter-spacing: -0.02em; margin: var(--space-5) 0 var(--space-2); }
.lg p + p { margin-top: var(--space-3); }
.lg a { text-decoration: underline; text-underline-offset: 3px; }
.pd__ar { font-size: 0.42em; font-weight: 700; vertical-align: 0.95em; margin-left: 0.15em; opacity: 0.55; }
a.pd__name:hover .pd__ar { opacity: 1; }
/* products: colour bands */
.pd__row, .pd__row:last-child { border-color: currentColor; }
a.pd__name { color: inherit; }
.pd__st { border-color: currentColor; }
.band--butter .pd__st--live { background: var(--p-chalk); border-color: var(--p-chalk); color: #3F6A60; }
.pg-proof a.pg-proof__n { text-decoration: underline; text-underline-offset: 3px; }

.pd__why { display: inline-block; margin-top: var(--space-2); }

/* contact: enquiry form (hidden until JS runs; WhatsApp and email stay as the no-JS path) */
.ct { height: auto; min-height: 100dvh; overflow: visible; }
.ct__in { height: auto; min-height: 100dvh; }
.ct__form { display: grid; gap: var(--space-3); justify-items: start; width: 100%; max-width: 34rem; }
.ct__form[hidden] { display: none; }
.ct__fh { font: 800 1.375rem/1.15 var(--font-display); letter-spacing: -0.02em; }
.ct__field { display: grid; gap: var(--space-1); width: 100%; }
.ct__field label { font-weight: 600; font-size: var(--fs-small); }
.ct__opt { font-weight: 400; }
.ct__field input, .ct__field textarea, .ct__field select { width: 100%; font: 400 16px/1.4 var(--font-text); color: var(--c-text); background: var(--p-chalk); border: 2px solid var(--p-cobalt-ink); border-radius: 0; padding: 10px 12px; min-height: 48px; }
.ct__field textarea { resize: vertical; min-height: 96px; }
.ct__field input:focus-visible, .ct__field textarea:focus-visible, .ct__field select:focus-visible { outline: 3px solid var(--p-cobalt); outline-offset: 2px; }
.ct__field textarea[aria-invalid="true"] { border-color: var(--p-vermilion); }
.ct__err { font-size: var(--fs-small); font-weight: 600; color: #8A3F2C; }
.ct__err[hidden] { display: none; }
.ct__send { border: 0; cursor: pointer; font: 600 var(--fs-body)/1 var(--font-text); min-height: 52px; padding-inline: var(--space-4); }
.ct__send:focus-visible { outline: 3px solid var(--p-cobalt); outline-offset: 3px; }
