/* Shared storefront for the first visit, the catalogue and the handover. */
body.sfPage {
  --sf-ink:#17243a;
  --sf-accent:#263ec4;
  --sf-muted:#495569;
  --sf-line:#d4d6d8;
  --sf-paper:#f9f8f4;
  --sf-grid:clamp(20px,4vw,60px);
  --sf-serif:"Iowan Old Style","Palatino Linotype",Georgia,serif;
}
body.designAgency.sfPage {background:var(--sf-paper)!important;color:var(--sf-ink)!important}
.sfPage a:focus-visible,.sfPage summary:focus-visible,.sfPage button:focus-visible,
.sfPage input:focus-visible,.sfPage textarea:focus-visible {outline:3px solid var(--sf-accent);outline-offset:3px}
html body.designAgency.sfPage .designNav {background:var(--sf-paper);border-color:var(--sf-line)}
html body.sfHome main.intake,html body.sfCatalogue main.handoverCatalogue {
  width:100%;max-width:1280px;margin:auto;padding:0 var(--sf-grid);
}
.sfPage .sfArrival,.sfPage .sfCatalogueIntro {display:grid;align-items:center}
.sfPage .sfArrival {grid-template-columns:minmax(0,1fr) minmax(0,1.06fr);gap:clamp(24px,5vw,78px);padding:clamp(26px,4vw,52px) 0}
.sfPage .sfHeroImage {border-radius:3px;overflow:hidden;align-self:stretch}
.sfPage .sfHeroImage picture,.sfPage .sfHeroImage img {width:100%;height:100%;display:block}
.sfPage .sfHeroImage img {aspect-ratio:1.54;object-fit:cover;object-position:54% 50%;max-height:410px}
html body.sfPage .sfIntro h1,html body.sfPage .sfCatalogueIntro h1,html body.sfPage .sfSelected h1 {
  font:550 clamp(52px,6vw,88px)/.97 CPGeist,Arial,sans-serif!important;
  letter-spacing:-.066em!important;margin:.18em 0 .26em;color:var(--sf-ink)!important;
}
html body.sfHome .sfIntro h1 em {font:italic 500 1.09em/.94 var(--sf-serif);letter-spacing:-.062em;color:var(--sf-accent)}
html body.sfPage p.sfAudience {font:650 .93rem/1.35 CPGeist,Arial,sans-serif;color:var(--sf-muted);margin:0}
html body.sfPage p.sfLead {font:400 clamp(1rem,1.5vw,1.16rem)/1.5 CPGeist,Arial,sans-serif;max-width:46ch;color:var(--sf-ink);margin:0}
.sfPage .sfActions {display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;margin-top:20px}
html body.sfPage a.sfButton,html body.sfPage .sfBrief a.sfButton {
  display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;
  border:1px solid var(--sf-accent);border-radius:4px;background:var(--sf-accent);color:white!important;
  text-decoration:none;font:650 1rem/1.3 CPGeist,Arial,sans-serif;
}
html body.sfPage a.sfButton:hover {background:#132990}
html body.sfPage a.sfLink,html body.sfPage a.sfSecondary {display:inline-flex;align-items:center;min-height:40px;color:var(--sf-ink);text-decoration:underline;text-underline-offset:.23em;font-weight:550}
.sfPage .sfSectionHead {display:flex;align-items:baseline;justify-content:space-between;border-top:1px solid var(--sf-ink);padding-top:20px}
html body.sfHome .sfSectionHead h2,html body.sfHome .sfOtherWork h2,html body.sfCatalogue .sfClosing h2 {
  margin:0;font:500 clamp(27px,3vw,42px)/1.1 var(--sf-serif);letter-spacing:-.04em;color:var(--sf-ink)
}
.sfPage .sfJobs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(22px,3.7vw,56px);margin-top:20px}
.sfPage .sfJob {position:relative;display:grid;grid-template-columns:clamp(86px,9vw,126px) minmax(0,1fr);gap:18px;padding:22px 0;border-top:1px solid var(--sf-line)}
.sfPage .sfJob>span[id] {position:absolute;top:0}
.sfPage .sfJobImage img {width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:3px}
html body.sfHome .sfJob h3 {font:620 clamp(19px,1.8vw,25px)/1.14 CPGeist,Arial,sans-serif;letter-spacing:-.045em;margin:0 0 .38em}
html body.sfHome .sfJob p {font:400 1rem/1.43 CPGeist,Arial,sans-serif;color:var(--sf-muted);margin:0 0 .6em}
html body.sfPage .sfBuy {display:flex;width:max-content;max-width:100%;align-items:baseline;gap:.7em;padding:4px 0;color:var(--sf-accent);text-decoration:none;min-height:34px}
.sfPage .sfBuy span {text-decoration:underline;text-underline-offset:.2em;font-weight:600}
.sfPage .sfBuy b {font-weight:700;white-space:nowrap;color:var(--sf-ink)}
html body.sfPage a.sfReady,html body.sfPage a.sfSecondary {
  display:block;width:fit-content;max-width:100%;color:var(--sf-muted);font:450 .91rem/1.44 CPGeist,Arial,sans-serif;
  text-underline-offset:.18em;padding:5px 0;min-height:0
}
html body.sfPage a.sfReady:hover,html body.sfPage a.sfSecondary:hover {color:var(--sf-accent)}
.sfPage .sfOtherWork {display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,4vw,64px);margin:20px 0 0;padding:clamp(18px,3.3vw,42px);background:#e9edf6;border-radius:4px}
html body.sfHome .sfOtherWork h2 {font-size:clamp(25px,2.6vw,35px)}
html body.sfHome .sfOtherWork p {margin:10px 0 2px;color:var(--sf-ink);max-width:52ch}
.sfPage .sfBrief {border-bottom:1px solid var(--sf-line);padding:15px 0;margin:0}
.sfPage .sfBrief summary,.sfPage .offerFold>summary {cursor:pointer}
.sfPage .sfBrief label,.sfPage .sfBrief textarea {display:block}
.sfPage .sfBrief label {margin:14px 0 4px;font-weight:600}
.sfPage .sfBrief textarea {width:min(100%,600px);padding:12px;font:inherit;border:1px solid var(--sf-muted);border-radius:4px;margin-bottom:9px}
.sfPage .sfBrief .forwardMail {margin:8px 0}
.sfPage .sfSelected {max-width:850px;margin:34px 0;padding:clamp(19px,3vw,38px);background:#ebeff6;border-left:4px solid var(--sf-accent)}
html body.sfHome .sfSelected h1 {font-size:clamp(34px,4.3vw,58px)!important}
.sfPage .sfSelectedPrice {display:block;font-size:1.8rem;margin-top:12px}
.sfPage .sfSelectedReady {display:block;font-weight:600;margin:7px 0 10px}
.sfPage .sfSelectedTerms,.sfPage .sfSelectedDelay {color:var(--sf-muted);line-height:1.45}
.sfPage .sfSelected .sfActions {margin:16px 0 6px}
.sfPage .sfCatalogueIntro {grid-template-columns:1fr auto;gap:22px;padding:clamp(28px,4vw,54px) 0 22px}
html body.sfCatalogue .sfCatalogueIntro h1 {font-size:clamp(40px,5.4vw,76px)!important}
html body.sfCatalogue .sfCatalogueIntro p {color:var(--sf-muted);font-size:1.06rem;line-height:1.48;max-width:60ch;margin:12px 0 0}
.sfPage .sfCategoryNav {display:flex;flex-wrap:wrap;gap:6px 20px;border-block:1px solid var(--sf-line);padding:8px 0}
.sfPage .sfCategoryNav a {padding:6px 0;color:var(--sf-ink);font-weight:600}
html body.sfCatalogue .handoverCatalogue .designCategory {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(20px,4vw,60px);margin:clamp(28px,4vw,52px) 0}
html body.sfCatalogue .handoverCatalogue .designCategory>h2 {grid-column:1/-1;border-bottom:2px solid var(--sf-ink);font:500 clamp(26px,3vw,39px)/1.17 var(--sf-serif)!important;padding-bottom:12px}
html body.sfCatalogue .sfCatalogueItem {padding:18px 0;border:0;border-bottom:1px solid var(--sf-line);min-width:0}
html body.sfCatalogue .sfCatalogueItem .directOfferLink {display:grid;grid-template-columns:1fr auto;align-items:baseline;gap:5px 12px;min-height:0}
html body.sfCatalogue .sfCatalogueItem .directOfferLink>strong {font:640 clamp(18px,1.8vw,23px)/1.2 CPGeist,Arial,sans-serif;letter-spacing:-.035em}
.sfPage .sfCatalogueItem .directOfferLink>b {font-size:1.12rem;white-space:nowrap;color:var(--sf-ink)}
html body.sfCatalogue .sfCatalogueItem .directResult {color:var(--sf-muted);line-height:1.45;font-size:1rem;margin:2px 0}
html body.sfCatalogue .sfCatalogueItem .directOfferLink>span {grid-column:1/-1;width:max-content;max-width:100%;font-weight:650;color:var(--sf-accent);padding:5px 0;text-underline-offset:.2em}
html body.sfCatalogue .sfCatalogueItem .offerFold {margin-top:4px}
html body.sfCatalogue .sfCatalogueItem .offerFold>summary {min-height:32px;font-size:.9rem;font-weight:500;color:var(--sf-muted);padding:5px 0}
.sfCatalogueItem:has(.offerFold[open]) {grid-column:1/-1}
.sfPage .sfClosing {border-top:1px solid var(--sf-line);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:25px 0 40px}
html body.sfIntake .dropLead .dropPrice {font-size:1.65rem;color:var(--sf-accent)}
html body.sfIntake .dropLead .dropDelivery {color:var(--sf-ink);font-weight:550}
html body.sfIntake .dropLead {padding-bottom:14px;border-bottom:1px solid var(--sf-line)}
html body.sfStudio #transmettre {border-top:3px solid var(--sf-accent)}
html body.sfStudio .studioPayer {border-left:0;padding-left:0;color:var(--sf-ink);font-size:1.12rem;line-height:1.48}
@media(max-width:720px){
  html body.sfHome main.intake,html body.sfCatalogue main.handoverCatalogue {padding-inline:18px}
  .sfPage .sfArrival {position:relative;display:block;padding:24px 0 20px}
  .sfPage .sfHeroImage {position:absolute;right:0;top:50px;width:clamp(82px,27vw,156px);height:clamp(102px,31vw,153px);pointer-events:none}
  .sfPage .sfHeroImage img {object-position:56% center}
  html body.sfHome .sfIntro h1 {font-size:clamp(41px,8.9vw,63px)!important;min-height:clamp(87px,25vw,124px);max-width:67%;margin:15px 0 13px}
  html body.sfHome .sfIntro .sfLead {font-size:1rem;max-width:48ch}
  .sfPage .sfActions {gap:6px 15px;margin-top:13px}
  .sfPage .sfJobs {grid-template-columns:1fr;margin-top:13px}
  .sfPage .sfSectionHead {padding-top:16px}
  .sfPage .sfJob {grid-template-columns:72px minmax(0,1fr);gap:11px;padding:14px 0}
  .sfPage .sfJobImage img {aspect-ratio:1/1.1}
  html body.sfHome .sfJob h3 {font-size:1.2rem}
  .sfPage .sfOtherWork {grid-template-columns:1fr;gap:16px;margin-top:8px}
  .sfPage .sfOtherWork>div+div {border-top:1px solid #b9c6d2;padding-top:14px}
  .sfPage .sfCatalogueIntro {display:block;padding:22px 0 17px}
  .sfPage .sfCatalogueIntro .sfButton {margin-top:13px}
  .sfPage .sfCategoryNav {gap:0 15px}
  html body.sfCatalogue .handoverCatalogue .designCategory {grid-template-columns:1fr;margin:25px 0}
  html body.sfCatalogue .sfCatalogueItem {padding:14px 0}
}
@media(max-width:350px){
  .sfPage .sfHeroImage {width:68px;height:92px;top:56px}
  html body.sfHome .sfIntro h1 {font-size:36px!important;min-height:82px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.sfPage .sfReturn {display:grid;grid-template-columns:minmax(200px,1fr) 2fr;gap:24px;border-top:1px solid var(--sf-line);padding:28px 0}
html body.sfHome .sfReturn h2 {font:500 clamp(25px,2.8vw,37px)/1.1 var(--sf-serif);letter-spacing:-.04em;margin:0}
html body.sfHome .sfReturn p {margin:0 0 6px}
.sfReturn .sfLink {margin-right:18px}
@media(max-width:720px){
  .sfPage .sfArrival {display:grid;grid-template-columns:minmax(0,1fr) clamp(76px,26vw,146px);gap:12px 10px;align-items:center}
  .sfPage .sfIntro {display:contents}
  .sfPage .sfIntro .sfAudience {grid-area:1/1/2/3}
  html body.sfHome .sfIntro h1 {grid-area:2/1/3/2;max-width:100%;min-height:0;margin:0}
  .sfPage .sfHeroImage {grid-area:2/2/3/3;position:static;align-self:center;width:100%;height:clamp(90px,23vw,116px)}
  .sfPage .sfIntro .sfLead {grid-area:3/1/4/3}
  .sfPage .sfIntro .sfActions {grid-area:4/1/5/3;margin:0}
  .sfPage .sfReturn {grid-template-columns:1fr;gap:8px;padding:20px 0}
}
.sfPage .sfJobHeading {display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.sfPage .sfJobPrice {font:650 1.13rem/1.2 CPGeist,Arial,sans-serif;white-space:nowrap;color:var(--sf-ink)}
html body.sfHome main.intake > #dossier:not([data-direct-visit]):not(:target):not(:has(:target)) {display:none}

.sfCatalogue .relatedOffers {margin:18px 0 8px;border-block:1px solid #cdd0d5}
.sfCatalogue .relatedOffers > summary {cursor:pointer;font-weight:650;color:#273d9b;padding:16px 0;line-height:1.42}
.sfCatalogue .relatedOffers[open] > summary {margin-bottom:4px}
.sfCatalogue .relatedOffers .sfCatalogueItem {margin-inline-start:12px}
.sfIntake .dropSources {max-width:54ch;padding:13px 16px;margin:0 0 16px;background:#edf0f9;color:#192945;line-height:1.45;border-radius:4px}
.sfStudio #studio-ready-wrap:not([hidden]) {display:block;line-height:1.45;margin:12px 0}
.sfStudio #studio-ready {display:inline;width:auto;margin:0 5px 0 0}
.sfStudio #studio-note {max-width:65ch;overflow-wrap:anywhere}
.sfStudio #studio-ready-wrap[hidden],.sfStudio #studio-copy-note[hidden] {display:none}
.sfReturn .sfLink {display:inline-block;margin-block:5px}
.sfCatalogue .sfScopeChoice {display:block;width:fit-content;margin:6px 0 11px;color:#2c418d;text-decoration:underline;text-underline-offset:3px;line-height:1.45}
.sfCatalogue .sfTerms {display:block;padding:12px 0 15px;background:transparent;box-shadow:none;border:0}
.sfCatalogue .sfTerms dl {display:grid;gap:10px;margin:0 0 12px}
.sfCatalogue .sfTerms dl>div {display:grid;grid-template-columns:minmax(9em,26%) 1fr;gap:12px;align-items:baseline}
.sfCatalogue .sfTerms dt {color:#405068;font-weight:650}
.sfCatalogue .sfTerms dd {margin:0;line-height:1.45;min-width:0}
.sfCatalogue .sfTerms dl>.sfNative {display:block}
.sfCatalogue .sfTermsLinks {display:flex;flex-wrap:wrap;gap:7px 18px}
.sfCatalogue .sfTerms a {color:#263fbc;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
@media(max-width:560px){.sfCatalogue .sfTerms dl>div{display:block}.sfCatalogue .sfTerms dd{margin-top:2px}}

.sfCatalogueItem > .sfReady .sfRemaining {display:block;color:var(--sf-muted);font-size:.94rem;font-weight:400;line-height:1.4;text-decoration:none}
.sfCatalogueItem > .sfReady:has(.sfRemaining) {display:inline-block}
.sfCommon {margin:1.75rem 0;border-top:1px solid var(--sf-line);scroll-margin-top:5rem}
.sfCommon details {border-bottom:1px solid var(--sf-line);padding:.9rem 0}
.sfCommon summary {cursor:pointer;font-weight:650}
.sfCommon p {max-width:62ch}
.sfCommon ul {padding:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr));gap:1rem 2rem}
.sfCommon li a {display:flex;justify-content:space-between;gap:12px}
.sfCommon li strong {white-space:nowrap}
.sfCommon li small {display:block;color:var(--sf-muted)}

.sfHome #dossier {scroll-margin-top:5rem}
.sfHome #dossier input[type=file] {display:block;width:100%;max-width:36rem;margin:.4rem 0}
.sfHome .sfActions .homeDropHint {font-size:.9rem;color:var(--sf-muted)}
.sfHome .sfArrival.homeDrag {outline:3px dashed var(--sf-accent);outline-offset:-5px}
.sfPage .dropUseLink:not([hidden]) {display:block;margin:.45rem 0;padding:.3rem 0;background:none;border:0;color:var(--sf-accent);font:inherit;text-align:left;text-decoration:underline;cursor:pointer}
@media (pointer:coarse) {.sfHome .homeDropHint {display:none}}

/* The home page opens with the buyer's situation. Each result links to its own quote. */
body.sfHome .sfFourArrival {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 6vw, 90px);
  padding-block: clamp(28px, 4vw, 60px);
}
.sfHome .sfFourArrival[hidden], .sfHome .situationPanel[hidden] {display:none!important}
.sfHome .situationMenu {display:grid; border-top:1px solid var(--sf-ink)}
html body.sfHome a.situationChoice {
  color:var(--sf-ink); text-decoration:none; display:grid; align-items:center;
  grid-template-columns:64px 1fr auto; gap:16px; padding:10px 12px 10px 6px;
  border-bottom:1px solid var(--sf-line);
  font:550 clamp(17px,1.55vw,22px)/1.22 CPGeist,Arial,sans-serif; letter-spacing:-.028em;
}
.situationChoice img {width:64px;height:51px;object-fit:cover;border-radius:2px}
.situationChoice .choiceArrow {color:var(--sf-accent);font:400 1.28em/1 Arial,sans-serif}
html body.sfHome .situationChoice[aria-current],html body.sfHome .situationChoice:hover {background:#e9edf8;color:#182d98}
.sfHome .situationPanel {display:grid;grid-template-columns:minmax(0,.74fr) minmax(0,1.26fr);gap:clamp(20px,5vw,76px);border-top:2px solid var(--sf-ink);padding:30px 0 18px;scroll-margin-top:80px}
.situationPanel:focus {outline:none}
html body.sfHome .situationSummary h2,html body.sfHome .allSituations h2 {
  font:500 clamp(28px,3.2vw,46px)/1.05 var(--sf-serif);letter-spacing:-.045em;margin:0 0 13px;max-width:18ch;
}
html body.sfHome .handoffAction {display:inline-flex;align-items:center;gap:.55em;color:var(--sf-accent);min-height:40px;font-weight:650;text-underline-offset:.22em}
.sfHome .situationOffer {padding:14px 0 15px;border-bottom:1px solid var(--sf-line);scroll-margin-top:80px}
.sfHome .situationOffer:first-child {padding-top:0}
html body.sfHome a.situationOrder {display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:baseline;gap:10px;text-decoration:none;color:var(--sf-ink);font:600 clamp(18px,1.8vw,24px)/1.2 CPGeist,Arial,sans-serif;letter-spacing:-.035em;min-height:34px}
.situationOrder b {white-space:nowrap}.situationOrder span {color:var(--sf-accent)}
.situationOrder:hover strong {text-decoration:underline;text-underline-offset:.15em}
html body.sfHome .situationOffer p {color:var(--sf-muted);font:400 1rem/1.45 CPGeist,Arial,sans-serif;max-width:65ch;margin:3px 0}
.sfHome .readyChoice summary,.sfHome .allSituations summary {cursor:pointer;font:500 .93rem/1.45 CPGeist,Arial,sans-serif;color:var(--sf-muted);padding:5px 0;width:fit-content;max-width:100%}
html body.sfHome .situationOffer .sfReady {color:var(--sf-accent);padding:8px 0}
.sfHome .situationException {display:inline-block;color:var(--sf-accent);padding:12px 0;text-underline-offset:.2em}
.sfHome .allSituations {padding:26px 0;border-bottom:1px solid var(--sf-line)}
.sfHome .allSituations>div {display:flex;align-items:center;flex-wrap:wrap;gap:10px 30px}
.sfHome .allSituations h2 {margin:0!important}
html body.sfHome .allSituations .needTiles {display:flex;flex-wrap:wrap;gap:8px 24px;margin:0}
.sfHome .allSituations nav a {color:var(--sf-accent);padding:8px 0;text-underline-offset:.2em}
@media(max-width:760px) {
  body.sfHome .sfFourArrival {display:grid;grid-template-columns:1fr;gap:20px;padding-block:22px}
  html body.sfHome .sfFourArrival .sfIntro h1 {font-size:clamp(42px,10.5vw,62px)!important;margin:.16em 0}
  .sfHome .sfFourArrival h1 br {display:none}
  html body.sfHome .sfFourArrival p.sfLead {font-size:1rem}
  .sfHome .sfFourArrival .sfActions {margin-top:12px}
  html body.sfHome a.situationChoice {grid-template-columns:46px 1fr auto;gap:12px;padding:5px 6px;min-height:49px;font-size:17px}
  .situationChoice img {width:46px;height:39px}
  .sfHome .situationPanel {grid-template-columns:1fr;gap:14px;padding:21px 0 12px;scroll-margin-top:63px}
  html body.sfHome .situationSummary h2 {max-width:24ch;margin:0}
  .sfHome .situationOrder {gap:6px}
}
@media(max-width:760px) {
  .sfHome .sfFourArrival .sfIntro {display:block}
  .sfHome .sfFourArrival .homeDropHint {display:none}
}
