/* Hallmark · shape: Manifesto · genre: modern-minimal · theme: Cobalt (by request) · job: hire · draw: a83ae1
 * hero: Poster · nav: floating cut panel · footer: mast · imagery: screenshots 1 (headless capture of www.allowancesapi.com) · signature: the ASCII field, unstructured business needs on the left resolving into the four stages of an engagement on the right
 * axes: light/grotesk-sans/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: P, a new consultancy has no case studies to argue with; led with the service offer and the delivery model, proof is the consultants' seniority */
/* Hallmark · hero-review: fix · 5 findings · 5 resolved · finish-review: subagent · 5 findings · 5 resolved · gap: none · content rebuild finish-review: subagent · 5 findings · 5 resolved · gap: theme carried below the fold by the wash row */
/* Hallmark · dismissed 58 · the services window holds the eight service areas of the company description (profil_societe_en.md §2.4) as cards, icon left, title and paragraph right, at their true count · content rebuild 2026-11-16: fact sheet and experience index removed, about block added, product section restored on request */
@import url("./tokens.css");
@import url("./base.css");

/* fonts are served from this site (variable files, latin subset): no request leaves it for a visitor to read the page */
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/FamiljenGrotesk.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/IBMPlexSans.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/fonts/JetBrainsMono.woff2") format("woff2"); }

/* ---------- shared ---------- */
h1, h2, h3 { color: var(--color-ink); }
h3 { font-weight: 500; }
a { text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--color-accent); }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
code { font-family: var(--font-outlier); font-size: 0.9375em; }
b { font-weight: 500; }
.nowrap { white-space: nowrap; }

.skip { 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); }
.skip:focus-visible { top: var(--space-md); }

.cut { border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); }
@supports (corner-shape: bevel) { .cut, .shot__frame { border-radius: var(--cut-l) 4px var(--cut-l) 4px; corner-shape: bevel round bevel round; } }

.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.head--split { grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.head--split .lead { grid-column: 3; }
.head .lead { color: var(--color-ink-2); }
@media (max-width: 64rem) { .head--split { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); } .head--split .lead { grid-column: auto; } }
.caption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); }

/* keycaps: a key face on a 3px bottom edge; the one primary is solid cobalt */
.key { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-key-face); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-display); white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-key); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out); }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(3px); box-shadow: var(--shadow-key-press); }
.key:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.key:disabled, .key[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.key[aria-busy="true"] { cursor: progress; }
.key--primary { background: var(--color-accent); border-color: var(--color-accent-edge); color: var(--color-accent-ink); box-shadow: var(--shadow-key-accent); }
.key--primary:focus-visible { outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .key { transition: none; } .key:hover { transform: none; } }

/* a fact the brief did not give */
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- nav: a floating cut panel ---------- */
.nav { position: fixed; top: var(--space-md); left: 0; right: 0; z-index: var(--z-sticky-nav); padding-inline: var(--gutter); pointer-events: none; }
.nav__panel { pointer-events: auto; display: flex; align-items: center; gap: var(--space-xl); width: min(100%, 1100px); min-height: 56px; margin-inline: auto; padding: 0 var(--space-xs) 0 var(--space-lg); box-shadow: var(--shadow-card); }
.nav__mark { font: 600 var(--text-lg)/1 var(--font-display); letter-spacing: var(--tracking-display); text-decoration: none; white-space: nowrap; }
.nav__links { display: flex; gap: var(--space-lg); margin: 0 auto 0 0; padding: 0; list-style: none; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: none; }
.nav__links a:hover { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }
.nav__key { min-height: 40px; padding-inline: var(--space-md); font-size: var(--text-sm); }
/* on a phone the hero's key is one screen down, so the panel keeps its three links and drops the key */
/* phones: no room for the key or the language switcher (the footer keeps it), so the link row ends on Contact instead of About */
.nav__langs { display: flex; gap: var(--space-sm); margin: 0; padding: 0; list-style: none; }
.nav__langs a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-outlier); font-size: var(--text-xs); letter-spacing: 0.06em; color: var(--color-muted); text-decoration: none; }
.nav__langs a:hover { color: var(--color-ink); }
.nav__langs a[aria-current] { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 0.3em; }
.foot__links a[aria-current] { color: var(--color-ink); text-decoration-color: var(--color-accent); }
.nav__contact { display: none; }
@media (max-width: 40rem) { .nav__key, .nav__about, .nav__langs { display: none; } .nav__contact { display: block; } .nav__panel { gap: var(--space-md); padding-inline: var(--space-md); } .nav__links { gap: var(--space-md); margin-right: 0; } }

/* ---------- hero: Poster over the field ---------- */
.hero { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 100dvh; padding-top: calc(var(--space-md) + 56px + var(--space-xl)); padding-bottom: var(--space-3xl); isolation: isolate; border-bottom: var(--rule-hair) solid var(--color-rule); }
.field { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
/* without script the field is a dot grid on the same 8 by 16 cell */
html:not(.js) .hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background-image: radial-gradient(circle, var(--color-glyph-2) 1px, transparent 1.5px); background-size: var(--cell-w) var(--cell-h); }
.hero__legend { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: start; gap: var(--space-lg); font-size: var(--text-sm); color: var(--color-muted); }
.hero__legend-raw { align-self: start; padding-inline: var(--space-xs); background: var(--color-paper); font-family: var(--font-display); font-weight: 500; }
.hero__legend-resolved { display: grid; gap: var(--space-3xs); padding-inline: var(--space-xs); background: var(--color-paper); color: var(--color-ink-2); text-align: right; }
.hero__legend-resolved code:first-child { color: var(--color-ink); }
.hero__content { position: relative; z-index: 1; align-self: end; }
.hero__text { display: grid; gap: var(--space-lg); width: fit-content; max-width: 100%; }
.hero__text h1 { max-width: 14ch; }
.hero__text .lead { max-width: 40ch; color: var(--color-ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xs); }
@media (max-width: 64rem) { .hero { padding-top: calc(var(--space-md) + 56px + var(--space-2xl)); padding-bottom: var(--space-2xl); } }
@media (max-width: 40rem) { .hero__legend { display: none; } }

/* ---------- the first claim: a statement ---------- */
.claim { padding-block: var(--section-gap-s); }
.statement { grid-column: 1 / span 10; margin: 0; font: var(--display-weight) var(--text-section)/1.1 var(--font-display); letter-spacing: var(--tracking-display); text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
@media (max-width: 40rem) { .statement { grid-column: 1 / -1; text-wrap: pretty; } }

/* ---------- services: eight cards, two across, icon left ---------- */
.services { padding-block: var(--section-gap-s) var(--section-gap); border-top: var(--rule-hair) solid var(--color-rule); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-lg); align-items: start; padding: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); box-shadow: var(--shadow-card); transition: border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.card:hover { border-color: var(--color-accent-2); transform: translateY(-2px); }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-input); background: var(--color-accent-wash); color: var(--color-accent); }
.card__icon svg { width: 28px; height: 28px; }
.card__body { display: grid; gap: var(--space-xs); }
.card h3 { font: 500 var(--text-title)/1.2 var(--font-display); letter-spacing: var(--tracking-display); max-width: none; }
.card p { color: var(--color-ink-2); max-width: none; }
.card__stack { font-size: var(--text-sm); color: var(--color-muted); }
@supports (corner-shape: bevel) { .card { border-radius: var(--cut-l) 4px var(--cut-l) 4px; corner-shape: bevel round bevel round; } }
@media (max-width: 64rem) { .cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .card { grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-md); padding: var(--space-md); } .card__icon { width: 44px; height: 44px; } .card__icon svg { width: 24px; height: 24px; } }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }

/* ---------- the delivery model: four cells across ---------- */
.model { padding-block: 0 var(--section-gap); }
.model__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.model__grid > div { padding: var(--space-lg) var(--space-lg) var(--space-2xl); border-left: var(--rule-hair) solid var(--color-rule-2); }
.model__grid > div:first-child { padding-left: 0; border-left: 0; }
.model__grid dt { font: 500 var(--text-title)/1.2 var(--font-display); letter-spacing: var(--tracking-display); margin-bottom: var(--space-xs); }
.model__grid dd { margin: 0; color: var(--color-ink-2); }
@media (max-width: 64rem) { .model__grid { grid-template-columns: minmax(0, 1fr); } .model__grid > div { padding: var(--space-md) 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule-2); } .model__grid > div:first-child { border-top: 0; } }

/* ---------- the work: one product, shown ---------- */
.work { padding-block: 0 var(--section-gap); }
.shot { display: block; text-decoration: none; }
.shot:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.shot__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; min-height: 560px; margin: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); box-shadow: var(--shadow-card); }
.shot__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 64rem) { .shot__frame { aspect-ratio: 4 / 3; min-height: 0; } }

/* ---------- the method: four rows beside a head block ---------- */
.method { padding-block: 0 var(--section-gap); }
.method__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap-columns); align-items: start; }
.method .head { margin-bottom: 0; }
.rows { margin: 0; }
.rows > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.rows > div:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows dt { font: 500 var(--text-title)/1.2 var(--font-display); letter-spacing: var(--tracking-display); }
.rows dd { margin: 0; color: var(--color-ink-2); }
@media (max-width: 64rem) { .method__grid { grid-template-columns: minmax(0, 1fr); } .rows > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); } }

/* ---------- about: two columns of prose under a split head ---------- */
.about { padding-block: 0 var(--section-gap-l); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 5fr); gap: var(--gap-columns); }
.about__grid p { max-width: none; color: var(--color-ink-2); }
.about__grid p:last-child { grid-column: 3; }
@media (max-width: 64rem) { .about__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); } .about__grid p:last-child { grid-column: auto; } }

/* ---------- the close: contact, on a change of paper ---------- */
.contact { padding-block: var(--section-gap-s); background: var(--color-paper-2); }
.contact .head { margin-bottom: var(--space-lg); }
/* the form: two columns of fields on a wide screen, one on a phone; the one primary key sends */
.form { display: grid; gap: var(--space-md); max-width: 44rem; margin-bottom: var(--space-2xl); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
.form__field { display: grid; gap: var(--space-2xs); margin: 0; max-width: none; }
.form__field label { font-size: var(--text-sm); color: var(--color-ink-2); }
.form__field input, .form__field textarea { width: 100%; min-height: 48px; padding: var(--space-sm) var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-paper); color: var(--color-ink); box-sizing: border-box; }
.form__field textarea { min-height: 10rem; resize: vertical; }
.form__field input:focus-visible, .form__field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-accent); }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__consent { margin: 0; font-size: var(--text-sm); color: var(--color-muted); max-width: none; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.form__status { margin: 0; font-size: var(--text-sm); color: var(--color-ink-2); }
.form__status[data-state="sent"] { color: var(--color-success); }
.form__status[data-state="error"] { color: var(--color-error); }
@media (max-width: 40rem) { .form__row { grid-template-columns: minmax(0, 1fr); } }
/* email and phone are the page's real targets: give them the 44px row the nav links have */
.contact__grid dd a { display: inline-flex; align-items: center; min-height: 44px; }
.contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.contact__grid > div { padding-inline: var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule-2); }
.contact__grid > div:first-child { padding-left: 0; border-left: 0; }
.contact__grid dt { margin-bottom: var(--space-sm); }
.contact__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-input); background: var(--color-accent-wash); color: var(--color-accent); }
.contact__icon svg { width: 24px; height: 24px; }
.contact__grid dd { margin: 0; color: var(--color-ink-2); }
@media (max-width: 64rem) { .contact__grid { grid-template-columns: minmax(0, 1fr); } .contact__grid > div { padding: var(--space-md) 0; border-left: 0; border-top: var(--rule-hair) solid var(--color-rule-2); } .contact__grid > div:first-child { border-top: 0; } }

/* ---------- inner page: one column of prose under the floating nav ---------- */
.page { padding-top: calc(var(--space-md) + 56px + var(--space-2xl)); padding-bottom: var(--section-gap); }
.prose { max-width: 70ch; }
.prose h1 { margin-bottom: var(--space-xs); }
.prose h2 { margin-top: var(--space-2xl); margin-bottom: var(--space-sm); font-size: var(--text-xl); }
.prose h3 { margin-top: var(--space-lg); margin-bottom: var(--space-2xs); font-size: var(--text-lg); }
.prose p { color: var(--color-ink-2); }
.facts { display: grid; gap: 0; margin: var(--space-lg) 0 0; }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap-columns); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.facts > div:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.facts dd { margin: 0; color: var(--color-ink-2); }
@media (max-width: 40rem) { .facts > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-3xs); } }

/* ---------- footer: a mast ---------- */
.foot { padding-block: var(--section-gap-s) var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot__mark { margin: 0 0 var(--space-xl); font: 600 var(--text-display-s)/1 var(--font-display); letter-spacing: var(--tracking-display); }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0 0 var(--space-xl); padding: 0; list-style: none; }
.foot__links a { color: var(--color-ink-2); }
.foot__legal { max-width: 65ch; font-size: var(--text-sm); color: var(--color-muted); }
