/*
  The simple page after the services, strict white / black alternation: our work (white), Anor's words (black), how we
  work (white), who we are (black), questions (white), Emilien's words (black), the final call (white), the footer
  (black). Straight edges between grounds, no motion here.
*/

.nw { white-space: nowrap; }
.wk, .tm, .how, .who, .qs, .ct, .ft { --x: max(16px, env(safe-area-inset-left, 0px)); position: relative; overflow-x: clip; }
.pg-in { max-width: 80rem; margin-inline: auto; padding-inline: var(--x); }
.pg-h { max-width: 20ch; }
.wk, .how, .who, .qs { padding-block: 56px; }

/* ---------- Ce qu'on a fait: a row of phone screens; the whole card opens the site ---------- */
.wk-row {
  list-style: none; margin: 24px calc(-1 * var(--x)) 0; padding: 0 var(--x) 10px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--x); overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.wk-c { position: relative; scroll-snap-align: start; display: grid; align-content: start; gap: 4px; min-width: 0; }
.wk-shot {
  display: block; width: 100%; height: auto; aspect-ratio: 400 / 865; margin-bottom: 10px;
  border-radius: var(--r-3); border: 1px solid var(--line); background: var(--c-paper);
}
.wk-name { margin: 0; font-family: var(--f-display); font-variation-settings: var(--fv-sub); font-weight: normal; font-size: 1.125rem; line-height: 1.15; }
.wk-a { color: inherit; text-decoration: none; }
.wk-a::after { content: ""; position: absolute; inset: -6px; border-radius: 18px; }     /* the whole card is the link */
.wk-a:focus-visible { outline: none; }
.wk-a:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 0; }
.wk-trade { margin: 0; font-size: .875rem; line-height: 1.35; color: var(--muted); }
.wk-tag { font-size: .6875rem; padding: .08rem .42rem; border-width: 1px; vertical-align: 1px; margin-left: 2px; }
.wk-did { margin: 2px 0 0; font-size: .9375rem; line-height: 1.4; text-wrap: pretty; }
.wk-url { margin: 4px 0 0; font-size: .8125rem; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .2em; }
.wk-c:hover .wk-url { text-decoration-color: currentColor; }
.wk-arr { display: inline-block; transition: transform var(--dur-ui-1) var(--ease-ui); }
.wk-c:hover .wk-arr { transform: translate(2px, -2px); }


/* ---------- Comment on travaille: three steps ---------- */
.how-l { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }
.how-s { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.how-n {
  grid-row: 1 / span 2; font-family: var(--f-display); font-variation-settings: "wdth" 62, "wght" 820;
  font-size: 2.75rem; line-height: .82; color: var(--acc);
}
.how-h { margin: 0; font-family: var(--f-display); font-variation-settings: var(--fv-sub); font-weight: normal; font-size: 1.25rem; line-height: 1.15; }
.how-p { margin: 6px 0 0; max-width: 40ch; font-size: 1rem; line-height: 1.5; text-wrap: pretty; }

/* ---------- Qui on est: one real photo each, Gabriel first ---------- */
.who-l { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.who-p { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 16px; align-items: center; }
.who-ph { display: block; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; background: var(--c-paper); }
.who-n { margin: 0; font-family: var(--f-display); font-variation-settings: var(--fv-sub); font-weight: normal; font-size: 1.25rem; line-height: 1.15; }
.who-line { margin: 4px 0 0; max-width: 36ch; font-size: 1rem; line-height: 1.5; text-wrap: pretty; }
.who-end { margin: 28px 0 0; font-weight: 600; }

/* ---------- Clients' words: two black bands, after our work and before the final call ---------- */
.tm { padding-block: 56px; }
.tm-f { margin: 0; max-width: 46rem; }
.tm-q { margin: 0; }
.tm-q p { margin: 0; font-family: var(--f-display); font-variation-settings: var(--fv-sub); font-size: var(--t-h3); line-height: 1.25; text-wrap: pretty; }
.tm-m { color: var(--acc); }
.tm-by { margin-top: 20px; font-weight: 600; }
.tm-l { margin: 6px 0 0; font-size: .9375rem; color: var(--muted); }

/* ---------- Vos questions: every answer shown ---------- */
.qs-l { margin: 24px 0 0; display: grid; }
.qs-i { padding: 16px 0; border-top: 1px solid var(--line); }
.qs-i:last-child { border-bottom: 1px solid var(--line); }
.qs-q { font-family: var(--f-display); font-variation-settings: var(--fv-sub); font-size: 1.125rem; line-height: 1.2; text-wrap: balance; }
.qs-a { margin: 6px 0 0; max-width: 46ch; font-size: 1rem; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* ---------- The final call ---------- */
.ct { padding-block: 64px 72px; }
.ct-h { max-width: 14ch; }
.ct-p { margin: 16px 0 0; max-width: 32ch; font-size: var(--t-lead); line-height: 1.4; text-wrap: pretty; }
.ct-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ct-co { margin: 20px 0 0; font-size: 1rem; }

/* ---------- Footer ---------- */
.ft { padding-block: 40px 48px; }
.ft-in { display: grid; gap: 8px; justify-items: start; }
.ft-wm { display: block; height: 26px; width: auto; margin-bottom: 8px; }
.ft p { margin: 0; font-size: .875rem; color: var(--muted); }
.ft-place { color: var(--fg) !important; font-weight: 600; }
.ft-legal .lnk { font-weight: 500; }

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  .tm { padding-block: 96px; }
  .tm-q p { font-size: var(--t-h2); line-height: 1.2; }
  .wk, .tm, .how, .who, .qs, .ct, .ft { --x: clamp(16px, 3.4vw, 64px); }
  .pg-in { max-width: none; }
  .wk, .how, .who, .qs { padding-block: 96px; }
  .pg-h { font-size: var(--t-h1); max-width: 18ch; }

  .wk-row { margin: 40px 0 0; padding: 0; overflow: visible; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
    
  .how-l { margin-top: 40px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .how-h { font-size: 1.5rem; }
  .how-p { font-size: 1.0625rem; }

  .who .pg-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 5vw, 96px); align-items: center; }
  .who-l { margin: 0; grid-column: 2; grid-row: 1 / span 2; gap: 32px; }
  .who .pg-h { align-self: end; }
  .who-end { grid-column: 1; align-self: start; margin-top: 20px; }
  .who-p { grid-template-columns: 112px minmax(0, 1fr); column-gap: 24px; }
  .who-ph { width: 112px; height: 112px; }
  .who-n { font-size: 1.5rem; }
  .who-line { font-size: 1.0625rem; }

  .qs .pg-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); column-gap: clamp(32px, 5vw, 96px); align-items: start; }
  .qs-l { margin: 0; }
  .qs-q { font-size: 1.375rem; }
  .qs-a { font-size: 1.0625rem; }

  .ct { padding-block: 120px; }
  .ct-h { font-size: var(--t-poster); font-variation-settings: var(--fv-poster); line-height: 1; max-width: 12ch; }
  .ft-in { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 32px; }
  .ft-wm { margin: 0; }
  .ft-note { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .wk-row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
}
