/* Hallmark · shape: Catalogue (work led, rows and sheets) · genre: playful · theme: Paste-up on a light grey board (by request, seed digital-marketing-agency-kampala-2d06) · redesign: full (home), restyle (inner pages) · draw: ad86f8
 * hero: Stage (/), Banner (/about, /services, /industries, /works, /contact, /hire-us, /privacy-policy, /404, /work) · nav: slab · footer: four columns, brand first · imagery: photographs, the user's own 9, all in true colour · signature: the user's colour photographs as printed sheets pasted on a light grey board · pasteup: grey board in place of kraft, brand blue as the one sheet
 * axes: light/display-condensed/chromatic-blue · posture: committed · contrast: pass · fold: pass · built: the project (static build.py) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the hero could sit on any agency until the Revive photo and the work sheets land; the work moved straight after the hero and carries the real figures */
/* Hallmark · waive 79 · the 404 page not found screen is one banner head, one sentence and a button above the footer · nothing else belongs on it, so the gap under the head is the footer's own spacing */
/* Hallmark · waive 44c · the services, work, contact and case-study pages open with a Banner posture, a short head and one sentence, so their content starts above the fold · the Banner posture is stamped in the hero line */
/* Hallmark · waive 77 · case-study and legal copy sit in a 760px reading column on purpose, and the contact form is the embedded CRM form · long-form reading text needs a short measure */
/* Hallmark · waive 78 · the h2 on the contact, get-started and legal pages are form and clause titles inside a card or a long document · they head a form or a clause, not a page section */
/* Hallmark · waive 49b · the related-case links on a case study hold project names such as Renewable Energy Conference 24 that wrap to two lines on a 320px phone · a real phrase that cannot shorten, two lines at most */
/* Hallmark · dismissed 77 · contact, get-started, privacy and 404 are short pages by nature, a form or text under a head */
/* Hallmark · dismissed 49 · the related-case links on a case study are real project names that wrap on a phone rather than overflow the 375px screen */
/* Hallmark · dropped .wa-float · the owner asked for the floating WhatsApp button off the homepage; inner pages keep it and the WhatsApp text links stay */
/* Hallmark · waive 1 · h1 and h2 are League Gothic; Inter sets only the h3 item titles and body text · the README brand spec names Inter as the Fledge text face */
/* Hallmark · dismissed 3 · the chevron on .faq-item summary is two borders of a 10px arrow, not a card stripe, and the footer's three columns are link lists with no icon tiles */
/* Hallmark · answered F4 · the second filled recipe is the header's mobile menu button, shown only under 60rem where the desktop one is hidden */
/* Hallmark · answered F15 · the 24px and 40px gaps sit inside a step card and the footer link grid, never between page columns */
/* Hallmark · dismissed 46a · "Trusted by 200+ clients" is carried over unchanged from the old homepage and is listed for the owner to confirm */
/* Hallmark · dismissed 19 · "All Rights Reserved" is the footer line shared by every page, left for the owner to keep or cut */

/* ------------------------------------------------------------ fonts */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "League Gothic"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/league-gothic-400.woff2") format("woff2"); }

/* ------------------------------------------------------------ tokens */

:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-body: 1.125rem; --text-lg: 1.25rem; --text-xl: 1.5625rem;
  --text-fig: clamp(3.5rem, 6vw, 5.5rem); --text-fig-l: clamp(5rem, 9vw, 8.5rem);
  --text-hero: clamp(4rem, 9vw, 8.5rem); --text-display-s: clamp(3rem, 5.5vw, 5.25rem);
  --text-section: clamp(2.75rem, 4.6vw, 4.125rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-sticky: 200; --z-sticky-nav: 300; --z-toast: 500;

  /* light grey board and copy paper, ink from the brand navy #13222B, the one sheet in the brand blue #1413EF */
  --color-paper: oklch(95.5% 0.004 236); --color-paper-2: oklch(91.5% 0.006 236); --color-paper-3: oklch(99.2% 0.002 236);
  --color-ink: oklch(24.3% 0.027 235.8); --color-ink-2: oklch(31% 0.03 236); --color-muted: oklch(38% 0.03 236);
  --color-rule: oklch(62% 0.02 236); --color-rule-2: oklch(88% 0.006 236);
  --color-accent: oklch(44.1% 0.291 265.8); --color-accent-ink: oklch(99.2% 0.002 236); --color-focus: oklch(24.3% 0.027 235.8);
  --color-footer-text: oklch(86% 0.01 236);
  --color-whatsapp: oklch(46% 0.12 155);

  --font-display: "League Gothic", Impact, "Arial Narrow", sans-serif; --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-card: 0;
  --shadow-card: 0 1px 0 oklch(24% 0.027 236 / 0.2), 0 4px 10px oklch(24% 0.027 236 / 0.12);
  --shadow-sheet: 0 14px 30px oklch(24% 0.027 236 / 0.26), 0 2px 4px oklch(24% 0.027 236 / 0.14);
  --offset: 4px 4px 0 var(--color-ink);
  --tracking-display: 0.01em; --display-weight: 400;
}

/* ------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: var(--space-3xl); scrollbar-color: var(--color-muted) var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-body); font-weight: 400; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 70%, transparent); color: var(--color-accent-ink); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
h1, h2, h3 { margin: 0; font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1, h2 { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: uppercase; letter-spacing: var(--tracking-display); }
h1 { font-size: var(--text-hero); line-height: 1.02; max-width: 16ch; }
h2 { font-size: var(--text-section); line-height: 1.02; max-width: 16ch; }
h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--text-title); line-height: 1.2; max-width: 32ch; }
p { margin: 0; text-wrap: pretty; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper-3); }
.skip-link:focus-visible { top: var(--space-md); }

.container, .shell { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 64px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }

/* ------------------------------------------------------------ controls: a hard ink offset, paper physics only */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs);
  min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: 0;
  background: var(--color-paper-3); color: var(--color-ink);
  font: 700 var(--text-md)/1.1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer;
  box-shadow: var(--offset);
  transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}
.btn:hover { translate: 1px 1px; box-shadow: 3px 3px 0 var(--color-ink); }
.btn:active { translate: 4px 4px; box-shadow: none; }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 5px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; translate: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-outline { background: var(--color-paper-3); color: var(--color-ink); }
.sheet--accent .btn:focus-visible, .site-footer :focus-visible { outline-color: var(--color-paper-3); }

.link { display: inline-block; white-space: nowrap; padding: var(--space-sm) var(--space-3xs); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; transition: text-decoration-thickness var(--dur-micro) var(--ease-out); }
.link:hover { text-decoration-thickness: 4px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }

/* ------------------------------------------------------------ chrome: the slab bar */

.site-header { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper-3); border-bottom: 3px solid var(--color-ink); }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-sm); }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 28px; width: auto; }
.main-nav ul { display: flex; gap: var(--space-xl); }
.main-nav a { display: inline-block; padding: var(--space-xs) 0; font-weight: 700; font-size: var(--text-md); text-decoration: none; }
.main-nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.3em; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.3em; }
.main-nav .mobile-cta { display: none; }
.header-cta { display: flex; align-items: center; gap: var(--space-lg); }
.header-login { font-weight: 700; font-size: var(--text-md); text-decoration: none; padding: var(--space-xs) 0; }
.header-login:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.3em; }
.header-cta .btn { min-height: 44px; padding: 0 var(--space-lg); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 0; background: var(--color-paper-3); box-shadow: var(--offset); align-items: center; justify-content: center; cursor: pointer; transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.nav-toggle:active { translate: 4px 4px; box-shadow: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--color-ink); position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; rotate: 45deg; }
.nav-toggle[aria-expanded="true"] span::after { top: 0; rotate: -45deg; }

@media (max-width: 60rem) {
  .main-nav { position: fixed; inset: 0; top: 75px; background: var(--color-paper-3); padding: var(--space-lg) var(--gutter); display: none; overflow-y: auto; }
  .main-nav[data-open="true"] { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: var(--space-md) 0; font-size: var(--text-lg); border-bottom: 1px solid var(--color-rule-2); }
  .main-nav .mobile-cta { display: grid; gap: var(--space-md); margin-top: var(--space-lg); }
  .main-nav .mobile-cta a { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 0; background: var(--color-accent); color: var(--color-accent-ink); box-shadow: var(--offset); }
  .main-nav .mobile-cta a + a { background: var(--color-paper-3); color: var(--color-ink); border: 1px solid var(--color-ink); }
  .header-cta .btn, .header-login { display: none; }
  .nav-toggle { display: flex; }
}

/* ------------------------------------------------------------ paper: sheets, tilt and the copier */

.sheet { position: relative; background: var(--color-paper-3); box-shadow: var(--shadow-sheet); rotate: var(--r, 0deg); padding: var(--space-sm); }
.sheet--accent { background: var(--color-accent); color: var(--color-accent-ink); }
.photo { margin: 0; overflow: hidden; background: var(--color-rule-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------ hero: Stage */

.hero { min-height: calc(100svh - 75px); display: grid; align-content: center; padding-block: var(--space-2xl); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.hero__copy { display: grid; gap: var(--space-lg); justify-items: start; }
.hero__copy .fit-note { font-size: var(--text-sm); color: var(--color-muted); margin: 0; }
.hero__copy .lead { font-size: var(--text-lead); line-height: 1.45; max-width: 36ch; }
.hero__visual { position: relative; justify-self: end; width: 100%; max-width: 520px; }
.hero__visual .photo { aspect-ratio: 4 / 5; }
.hero__story { position: absolute; left: calc(-1 * var(--space-2xl)); bottom: var(--space-xl); display: grid; gap: var(--space-3xs); padding: var(--space-md) var(--space-lg); text-decoration: none; max-width: 260px; transition: translate var(--dur-micro) var(--ease-out); }
.hero__story small { font-size: var(--text-sm); }
.hero__story strong { font-size: var(--text-lg); line-height: 1.2; font-weight: 700; }
.hero__story span { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.hero__story:hover span { text-decoration-thickness: 4px; }
.hero__story:focus-visible { outline-color: var(--color-ink); }

/* ------------------------------------------------------------ the problem: split, head and a copier photograph */

.problem { padding-block: var(--section-gap-s) var(--section-gap); }
.problem__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: var(--space-2xl); align-items: center; }
.problem__text { display: grid; gap: var(--space-lg); justify-items: start; }
.problem__text h2 { font-size: var(--text-display-s); line-height: 1.02; max-width: none; }
.problem__text .strong { font-weight: 700; font-size: var(--text-lead); }
.problem .photo { aspect-ratio: 4 / 5; }

/* ------------------------------------------------------------ what we do: rows on a deeper grey */

.services { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.services__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: var(--space-2xl); align-items: start; }
.services__head { display: grid; gap: var(--space-lg); justify-items: start; }
.rows { border-top: 3px solid var(--color-ink); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-lg); padding-block: var(--space-lg); border-bottom: 1px solid var(--color-rule); align-items: baseline; }

/* ------------------------------------------------------------ the work: printed sheets pasted on the board */

.work { padding-block: var(--section-gap) var(--section-gap-s); }
.work__head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-2xl); flex-wrap: wrap; }
.work__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.tile { display: flex; flex-direction: column; gap: var(--space-md); padding: var(--space-sm) var(--space-sm) var(--space-lg); text-decoration: none; grid-column: 8 / span 5; transition: box-shadow var(--dur-short) var(--ease-out); }
.tile--lead { grid-column: 1 / span 7; grid-row: span 2; }
.tile .photo { aspect-ratio: 16 / 9; }
.tile--lead .photo { aspect-ratio: auto; flex: 1; min-height: 360px; }
.tile__body { display: grid; gap: var(--space-xs); padding-inline: var(--space-sm); justify-items: start; }
.fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); }
.fig__n { font-family: var(--font-display); font-size: var(--text-fig); line-height: 1; text-transform: uppercase; letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums; }
.tile--lead .fig__n { font-size: var(--text-fig-l); }
.fig__l { font-weight: 700; font-size: var(--text-md); max-width: 18ch; line-height: 1.25; }
.tile:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.tile:focus-visible { outline-offset: 6px; }
.work__more { margin-top: var(--space-2xl); }

/* ------------------------------------------------------------ questions */

.faq { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: var(--space-2xl); align-items: start; }
.faq-list { border-top: 3px solid var(--color-ink); }
.faq-item { border-bottom: 1px solid var(--color-rule); }
.faq-item summary { position: relative; cursor: pointer; list-style: none; padding: var(--space-lg) var(--space-xl) var(--space-lg) 0; font-weight: 700; font-size: var(--text-lg); line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: var(--space-2xs); top: 50%; width: 10px; height: 10px; border-right: 3px solid var(--color-ink); border-bottom: 3px solid var(--color-ink); translate: 0 -70%; rotate: 45deg; transition: rotate var(--dur-short) var(--ease-out); }
.faq-item[open] summary::after { rotate: -135deg; }
.faq-item summary:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.faq-item p { padding: 0 var(--space-xl) var(--space-lg) 0; }

/* ------------------------------------------------------------ how it starts: a real list, a copier photograph */

.start { padding-block: var(--section-gap) var(--section-gap-s); }
.start__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: var(--space-2xl); align-items: center; }
.start__text { display: grid; gap: var(--space-xl); }
.steps { display: grid; gap: var(--space-lg); counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-lg); align-items: start; padding: var(--space-lg); background: var(--color-paper-3); box-shadow: var(--shadow-card); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-size: var(--text-fig); line-height: 0.9; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: var(--space-2xs); }
.start .photo { aspect-ratio: 4 / 5; }

/* ------------------------------------------------------------ the close: the enquiry after the work */

.close { padding-block: var(--section-gap-s) var(--section-gap); }
.close__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: var(--space-2xl); align-items: center; }
.close__text { display: grid; gap: var(--space-lg); justify-items: start; }
.close__text h2 { font-size: var(--text-display-s); max-width: 16ch; }
.price { display: grid; gap: var(--space-xs); padding: var(--space-xl); }
.price small { font-size: var(--text-md); }
.price .fig__n { font-size: var(--text-fig); line-height: 1; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ chrome: the statement footer */

.site-footer { background: var(--color-ink); color: var(--color-footer-text); padding: var(--space-2xl) 0 var(--space-lg); border-top: 3px solid var(--color-ink); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.3fr); gap: var(--space-xl) var(--space-2xl); margin-bottom: var(--space-2xl); align-items: start; }
.footer-brand { display: grid; gap: var(--space-md); justify-items: start; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { font-size: var(--text-md); line-height: 1.55; max-width: 36ch; }
.social-row { display: flex; gap: var(--space-sm); }
.social-row a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--color-footer-text); color: var(--color-footer-text); }
.social-row a:hover { background: var(--color-paper-3); color: var(--color-ink); }
.social-row svg { width: 18px; height: 18px; }
.footer-title { font-family: var(--font-body); font-weight: 700; font-size: var(--text-md); color: var(--color-paper-3); margin-bottom: var(--space-md); }
.footer-col ul { display: grid; gap: var(--space-xs); font-size: var(--text-md); }
.footer-col a { display: inline-block; padding-block: var(--space-2xs); }
.footer-col a:hover { color: var(--color-paper-3); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); flex-wrap: wrap; padding-top: var(--space-lg); border-top: 1px solid var(--color-ink-2); font-size: var(--text-sm); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 0.2em; }
.region-sep { display: inline-block; width: 1px; height: 1em; margin-inline: var(--space-xs); background: var(--color-footer-text); vertical-align: -0.12em; }


.js .wa-float--late { opacity: 0; pointer-events: none; }

/* ------------------------------------------------------------ small screens */

@media (max-width: 60rem) {
  .hero { min-height: 0; padding-block: var(--space-xl) var(--space-2xl); }
  .hero__grid, .problem__grid, .services__grid, .faq__grid, .start__grid, .close__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .hero__visual { justify-self: start; max-width: 460px; }
  .hero__story { left: var(--space-md); }
  .problem .photo, .start .photo { max-width: 420px; }
  .tile, .tile--lead { grid-column: 1 / -1; grid-row: auto; }
  .tile--lead .photo { aspect-ratio: 16 / 10; flex: none; min-height: 0; }
  .row { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  .steps li { grid-template-columns: 56px minmax(0, 1fr); padding: var(--space-md); }
  .price { padding: var(--space-lg); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-col a { display: flex; align-items: center; min-height: 44px; }
  .site-footer { padding-bottom: var(--space-3xl); }
  .btn { white-space: normal; text-align: center; }
}

/* ------------------------------------------------------------ every other page: the same system, the layouts kept */

main > section { padding-block: var(--section-gap-s); }
.section-tight { padding-block: var(--space-2xl); }
.section-surface { background: var(--color-paper-2); }
.center { text-align: center; margin-inline: auto; }
.lede { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; margin-top: var(--space-lg); }
.btn svg, .industry-link svg, .related-nav svg { width: 14px; height: 14px; flex-shrink: 0; }
.btn-whatsapp { background: var(--color-whatsapp); color: var(--color-paper-3); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.link-quiet { display: inline-block; white-space: nowrap; padding: var(--space-sm) var(--space-3xs); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; transition: text-decoration-thickness var(--dur-micro) var(--ease-out); }
.link-quiet:hover { text-decoration-thickness: 4px; }
.reply-line { font-size: var(--text-sm); color: var(--color-muted); margin: var(--space-xs) 0 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--space-2xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--space-2xl); }

/* page head: the Banner posture */
.page-hero { padding-block: var(--space-2xl) var(--space-xl); border-bottom: 3px solid var(--color-ink); }
.page-hero + section, .case-hero + section { padding-top: var(--space-3xl); }
.page-hero .shell { display: grid; gap: var(--space-lg); justify-items: start; }
.page-hero h1 { font-size: var(--text-display-s); max-width: 20ch; }
.page-hero p { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-lg); margin-bottom: var(--space-2xl); }

/* services */
.svc-list { border-top: 3px solid var(--color-ink); }
.svc-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); padding-block: var(--space-xl); border-bottom: 1px solid var(--color-rule); align-items: start; scroll-margin-top: var(--space-3xl); }
.svc-row h3 { margin-bottom: var(--space-xs); }
.svc-row--plain { padding-block: var(--space-lg); align-items: baseline; }
.svc-row--plain h3 { margin: 0; }
.svc-includes { display: grid; gap: var(--space-2xs); margin-bottom: var(--space-md); font-size: var(--text-md); }
.svc-best { margin-bottom: var(--space-md); font-size: var(--text-md); }

/* about: figures */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--space-xl); }
.stat { padding-inline: var(--space-lg); border-left: 1px solid var(--color-rule); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat .num { display: block; font-family: var(--font-display); font-size: var(--text-fig); line-height: 1; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.stat .label { display: block; margin-top: var(--space-2xs); font-size: var(--text-md); font-weight: 700; }

/* industries and the work index: printed sheets */
.industry-card { display: flex; flex-direction: column; background: var(--color-paper-3); box-shadow: var(--shadow-sheet); padding: var(--space-sm); }
.industry-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.industry-card__overlay { display: grid; gap: var(--space-xs); justify-items: start; padding: var(--space-md) var(--space-sm) var(--space-sm); }
.industry-link { display: inline-flex; white-space: nowrap; align-items: center; gap: var(--space-xs); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.industry-link:hover { text-decoration-thickness: 4px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); margin-top: var(--space-xl); }
.case-card { display: flex; flex-direction: column; background: var(--color-paper-3); box-shadow: var(--shadow-sheet); padding: var(--space-sm); text-decoration: none; }
.case-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; }
.case-card__body { display: grid; gap: var(--space-xs); padding: var(--space-md) var(--space-sm) var(--space-sm); }
.case-card:hover h3 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.case-card:focus-visible { outline-offset: 6px; }
.case-card__result { font-size: var(--text-md); }
.filter-row { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-xl); align-items: center; }
.filter-select { display: inline-flex; align-items: center; gap: var(--space-sm); }
.filter-select label { font-size: var(--text-md); font-weight: 700; }
.filter-select select { min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-ink); border-radius: 0; background: var(--color-paper-3); color: var(--color-ink); font: 400 var(--text-md)/1.2 var(--font-body); box-shadow: var(--offset); cursor: pointer; }
.filter-select select:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.filter-empty { margin-top: var(--space-xl); }

/* a case study */
.case-hero { padding-block: var(--space-2xl) var(--space-xl); border-bottom: 3px solid var(--color-ink); }
.case-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: center; }
.case-hero__text { display: grid; gap: var(--space-xl); justify-items: start; }
.case-hero h1 { font-size: var(--text-display-s); max-width: none; }
.case-meta-row { display: grid; gap: var(--space-md); }
.case-meta-row .k { display: block; font-size: var(--text-sm); color: var(--color-muted); }
.case-meta-row .v { display: block; font-weight: 700; font-size: var(--text-lg); }
.case-hero .photo { aspect-ratio: 4 / 3; }
.case-section { max-width: 760px; }
.case-section h2 { margin-bottom: var(--space-lg); }
.case-section p { font-size: var(--text-body); line-height: 1.7; max-width: none; }
.case-full-image { max-width: 1000px; margin-inline: auto; background: var(--color-paper-3); box-shadow: var(--shadow-card); padding: var(--space-sm); }
.case-full-image img { width: 100%; height: auto; }
.case-results { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); }
.case-results .num { display: block; white-space: nowrap; font-family: var(--font-display); font-size: clamp(2.25rem, 3.4vw, 3.25rem); line-height: 1; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.case-results .label { display: block; margin-top: var(--space-2xs); font-weight: 700; }
.related-nav { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); flex-wrap: wrap; }
.related-nav a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.related-nav a:hover { text-decoration-thickness: 4px; }
.related-nav__prev svg { scale: -1 1; }

/* legal */
.legal-body { max-width: 760px; }
.legal-body h2 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: var(--text-xl); font-weight: 700; line-height: 1.25; margin-top: var(--space-xl); margin-bottom: var(--space-sm); max-width: none; }
.legal-body p, .legal-body li { margin-bottom: var(--space-md); max-width: none; }
.legal-body ul { padding-left: var(--space-lg); margin-bottom: var(--space-md); list-style: disc; }
.legal-body a { text-decoration: underline; font-weight: 700; }

/* contact and get started */
.contact-layout, .hire-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.contact-form-card { background: var(--color-paper-3); box-shadow: var(--shadow-sheet); padding: var(--space-xl); }
.contact-form-card h2, .contact-side h2 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: var(--text-xl); font-weight: 700; line-height: 1.25; margin-bottom: var(--space-lg); }
.contact-card { display: flex; align-items: center; gap: var(--space-md); background: var(--color-paper-3); box-shadow: var(--shadow-card); padding: var(--space-md) var(--space-lg); margin-bottom: var(--space-md); text-decoration: none; }
.contact-card:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.contact-card:focus-visible { outline-offset: 4px; }
.contact-card .icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; background: var(--color-paper-2); }
.contact-card--wa .icon { background: var(--color-whatsapp); color: var(--color-paper-3); }
.contact-card .icon svg { width: 18px; height: 18px; }
.contact-card small, .contact-social small { display: block; font-size: var(--text-sm); color: var(--color-muted); }
.contact-card strong { font-size: var(--text-md); overflow-wrap: anywhere; }
.contact-social { margin-top: var(--space-lg); }
.contact-social .social-row { margin-top: var(--space-xs); }
.social-row--light a { border-color: var(--color-ink); color: var(--color-ink); background: var(--color-paper-3); }
.social-row--light a:hover { background: var(--color-ink); color: var(--color-paper-3); }
.call-expect { margin-top: var(--space-lg); background: var(--color-paper-3); box-shadow: var(--shadow-card); padding: var(--space-lg); }
.call-expect h3 { margin-bottom: var(--space-sm); }
.call-expect ol { display: grid; gap: var(--space-xs); padding-left: var(--space-lg); list-style: decimal; }

/* the closing line every page ends on */
.close-section { padding-block: var(--section-gap-s); }
.close-band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-md) var(--space-2xl); align-items: start; border-top: 3px solid var(--color-ink); padding-top: var(--space-2xl); }
.close-band h2 { font-size: var(--text-display-s); max-width: 18ch; }
.close-band__text { display: grid; gap: var(--space-lg); justify-items: start; }
.close-band p { font-size: var(--text-lead); }

.price-block { display: grid; gap: var(--space-lg); justify-items: start; max-width: 680px; }
.price-from { display: grid; gap: var(--space-2xs); margin: 0; }
.price-from small { font-size: var(--text-md); font-weight: 700; }
.price-from strong { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: var(--text-fig); line-height: 1; letter-spacing: var(--tracking-display); }

/* hidden blocks the owner can switch on in build.py */
.quote-card, .plan-card { background: var(--color-paper-3); box-shadow: var(--shadow-card); padding: var(--space-lg); margin: 0; }
.team-card img { width: 100%; height: auto; margin-bottom: var(--space-sm); }
.plan-price { font-family: var(--font-display); font-size: var(--text-fig); line-height: 1; font-variant-numeric: tabular-nums; }

@media (max-width: 60rem) {
  .grid-2, .case-hero__grid, .contact-layout, .hire-layout, .close-band { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .grid-3, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
  .section-head { flex-direction: column; align-items: start; }
  .page-hero, .case-hero { padding-block: var(--space-2xl) var(--space-xl); }
  .case-hero .photo { max-width: 460px; }
}
@media (max-width: 40rem) {
  .grid-3, .grid-4, .case-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-row, .case-results { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: var(--space-md) 0; border-left: 0; border-top: 1px solid var(--color-rule); }
  .stat:first-child { border-top: 0; }
  .contact-form-card { padding: var(--space-lg) var(--space-md); }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Application form: one question at a time (assets/js/fit-form.js). Shown only when the form is live or ?form=new. */
.fit { background: var(--color-paper-3); box-shadow: var(--shadow-sheet); padding: var(--space-xl); min-height: 30rem; display: grid; align-content: start; gap: var(--space-xl); }
.fit[hidden] { display: none; }
.fit__top { display: grid; gap: var(--space-xs); }
.fit__bar { height: 6px; background: var(--color-rule-2); }
.fit__bar span { display: block; height: 100%; background: var(--color-accent); transition: width var(--dur-long) var(--ease-out); }
.fit__count { font-size: var(--text-sm); color: var(--color-muted); margin: 0; }
.fit__stage { display: grid; gap: var(--space-md); align-content: start; }
.fit__stage--in { animation: fit-in var(--dur-long) var(--ease-out) both; }
@keyframes fit-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.fit__q { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: var(--tracking-display); font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.02; margin: 0; max-width: 20ch; text-wrap: balance; outline: none; }
.fit__hint, .fit__lead { margin: 0; color: var(--color-ink-2); font-size: var(--text-body); line-height: 1.45; max-width: 46ch; }
.fit__input { width: 100%; border: 0; border-bottom: 3px solid var(--color-ink); border-radius: 0; background: transparent; color: var(--color-ink); font: 400 clamp(1.375rem, 2.4vw, 1.875rem)/1.3 var(--font-body); padding: var(--space-sm) 0; margin-top: var(--space-sm); }
.fit__input::placeholder { color: var(--color-muted); opacity: 0.7; }
.fit__input:focus { border-bottom-color: var(--color-accent); outline: none; }
.fit .fit__input:focus-visible { outline: none; border-bottom-width: 5px; }
.fit__input[aria-invalid="true"] { border-bottom-color: oklch(48% 0.2 27); }
.fit__err { margin: 0; min-height: 1.4em; color: oklch(44% 0.18 27); font-weight: 600; font-size: var(--text-md); }
.fit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-lg); }
.fit__enter { font-size: var(--text-sm); color: var(--color-muted); }
.fit kbd { font: 600 0.8125rem var(--font-body); border: 1.5px solid var(--color-ink); padding: 1px 6px; }
.fit__skip, .fit__back, .fit__edit { background: none; border: 0; padding: 0; min-height: 44px; font: 600 var(--text-md) var(--font-body); color: var(--color-ink); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.fit__skip:hover, .fit__back:hover, .fit__edit:hover { color: var(--color-accent); }
.fit__back { justify-self: start; text-decoration: none; color: var(--color-muted); }
.fit :focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.fit .fit__q:focus-visible { outline: none; }
.fit__choices { display: grid; gap: var(--space-sm); max-width: 34rem; margin-top: var(--space-sm); }
.fit__choice { display: flex; align-items: center; gap: var(--space-md); min-height: 56px; padding: var(--space-sm) var(--space-md); background: var(--color-paper-3); color: var(--color-ink); border: 2px solid var(--color-ink); border-radius: 0; font: 600 var(--text-body) var(--font-body); text-align: left; cursor: pointer; box-shadow: 3px 3px 0 var(--color-ink); transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out); touch-action: manipulation; }
.fit__choice:hover { translate: 1px 1px; box-shadow: 2px 2px 0 var(--color-ink); }
.fit__choice:active { translate: 3px 3px; box-shadow: none; }
.fit__choice[aria-checked="true"] { background: var(--color-accent); color: var(--color-accent-ink); }
.fit__key { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1.5px solid currentColor; font-size: var(--text-sm); font-weight: 700; }
.fit__review { list-style: none; margin: 0; padding: 0; display: grid; border-top: 2px solid var(--color-ink); }
.fit__review li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-md); padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule-2); }
.fit__rq { grid-column: 1; font-size: var(--text-sm); color: var(--color-muted); }
.fit__ra { grid-column: 1; font-weight: 600; overflow-wrap: anywhere; }
.fit__edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: var(--text-sm); }
.fit__legal { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }
.fit__legal a { color: inherit; }
.fit__dry { margin: 0; padding: var(--space-sm) var(--space-md); border: 2px dashed var(--color-ink); font-size: var(--text-sm); font-weight: 600; }
@media (max-width: 40rem) { .fit { padding: var(--space-lg); min-height: 26rem; } .fit__choices { max-width: none; } }
@media (prefers-reduced-motion: reduce) { .fit__stage--in { animation: none; } .fit__bar span, .fit__choice { transition: none; } }

/* Full-screen application page (/apply.html): nothing but the form, like Typeform. */
.apply { min-height: 100svh; display: flex; flex-direction: column; background: var(--color-paper); }
.apply__bar { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md) var(--gutter); }
.apply__logo img { height: 28px; width: auto; display: block; }
.apply__close { min-height: 44px; display: inline-flex; align-items: center; font: 600 var(--text-md) var(--font-body); color: var(--color-ink); text-underline-offset: 0.2em; }
.apply .fit { flex: 1; width: 100%; max-width: 820px; margin: 0 auto; min-height: 0; background: transparent; box-shadow: none; padding: var(--space-xl) var(--gutter) var(--space-3xl); align-content: center; }
.apply .fit__top { display: contents; }
.apply .fit__bar { position: fixed; inset: 0 0 auto 0; height: 6px; z-index: var(--z-sticky); background: var(--color-rule-2); }
.apply .fit__count { order: -1; }
.apply .fit__q { font-size: clamp(2.5rem, 6.4vw, 4.75rem); max-width: 16ch; }
.apply .fit__hint, .apply .fit__lead { font-size: var(--text-lead); }
.apply .fit__choices { max-width: 38rem; }
.apply__noscript { padding: var(--gutter); margin: 0; }
@media (max-width: 40rem) { .apply .fit { padding: var(--space-lg) var(--gutter) var(--space-2xl); align-content: start; } }

/* Hero photo leans toward the pointer (assets/js/hero-tilt.js sets --lx and --ly). Transform only; the baseline tilt (--r) is kept. */
.hero__visual > figure.sheet { transform: perspective(1100px) rotateX(var(--lx, 0deg)) rotateY(var(--ly, 0deg)); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .hero__visual > figure.sheet { transform: none; will-change: auto; } }
