@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F4F5F3;
  --ink: #15181E;
  --blue: #008CD4;
  --night: #2E3592;
  --red: #E1001A;
  --grey: #6B7380;
  --rule: rgba(21, 24, 30, .16);
  --r: 6px;
  --shadow: 0 8px 24px rgba(21, 24, 30, .22);
  --gut: 16px;
  --top: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--top); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-stretch: 100%;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--paper); padding: 8px 16px; }
.skip:focus { left: 8px; }

/* Buttons: one radius, one colour for the action */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border-radius: var(--r);
  font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.btn--action { background: var(--red); color: #fff; }
.btn--quiet { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* On the phone the pinned bar carries the call: the hero keeps the way there. */
.sheet .btn--action { display: none; }

@media (hover: hover) and (pointer: fine) {
  .btn--action:hover { background: #B50015; }
  .btn--quiet:hover { background: var(--ink); color: var(--paper); }
  .board a:hover .board__name { color: var(--red); }
  .top__nav a:hover { color: var(--red); }
}

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  height: var(--top);
}
.top__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.top__logo img { height: 34px; width: auto; }
.top__nav { display: none; gap: 32px; margin-left: auto; }
.top__nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .3s; }
.top__call { display: none; min-height: 40px; padding: 0 16px; font-size: 15px; font-variant-numeric: tabular-nums; }

/* Hero: the press sheet */
.sheet {
  --mo: 3px;  /* gap between trim and crop mark */
  --ml: 9px;  /* length of a crop mark */
  padding: 14px;
  min-height: calc(100vh - var(--top));
  min-height: calc(100svh - var(--top));
  display: flex;
}
.sheet__trim {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column;
  padding: 24px 20px 16px;
}

.crop { position: absolute; width: 0; height: 0; }
.crop::before, .crop::after { content: ""; position: absolute; background: var(--ink); }
.crop::before { width: var(--ml); height: 1px; }
.crop::after { width: 1px; height: var(--ml); }
.crop--tl { left: 0; top: 0; }
.crop--tl::before { right: calc(var(--mo)); top: 0; }
.crop--tl::after { left: 0; bottom: calc(var(--mo)); }
.crop--tr { right: 0; top: 0; }
.crop--tr::before { left: var(--mo); top: 0; }
.crop--tr::after { right: 0; bottom: var(--mo); }
.crop--bl { left: 0; bottom: 0; }
.crop--bl::before { right: var(--mo); bottom: 0; }
.crop--bl::after { left: 0; top: var(--mo); }
.crop--br { right: 0; bottom: 0; }
.crop--br::before { left: var(--mo); bottom: 0; }
.crop--br::after { right: 0; top: var(--mo); }

.target {
  position: absolute; left: 50%; top: -10px;
  width: 20px; height: 20px; margin-left: -10px;
  fill: none; stroke: var(--ink); stroke-width: 1;
}

.sheet__grid { flex: 1; display: flex; flex-direction: column; }
.sheet__text { display: flex; flex-direction: column; gap: 16px; container-type: inline-size; min-width: 0; }

.slug {
  font-stretch: 80%; font-weight: 500; font-size: 13px; letter-spacing: .04em;
  color: var(--grey);
}

.name {
  font-stretch: 125%; font-weight: 800;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.01em;
  color: var(--ink);
}
.name span { display: block; }
/* Both lines run the full width of the text column, like the logo's lockup: KPRIM is 4.27 em wide, IMPRESSIONS 9.2 em. */
.name span:first-child { font-size: calc((100vw - 76px) / 4.24); font-size: calc(100cqw / 4.24); margin-left: -.035em; color: var(--blue); }
.name span:last-child { font-size: calc((100vw - 76px) / 9.3); font-size: calc(100cqw / 9.3); font-weight: 700; letter-spacing: .015em; margin-top: .14em; }

.lede { font-size: 18px; line-height: 1.45; max-width: 30em; }
.proof { font-size: 15px; color: var(--grey); }
.proof b { color: var(--ink); font-weight: 700; }

.proofprint {
  --mo: 3px; --ml: 8px;
  position: relative;
  align-self: flex-end;
  width: 58%;
  margin: 32px 4px 8px 0;
}
.proofprint img { width: 100%; height: auto; }
.proofprint figcaption {
  position: absolute; right: calc(100% + 16px); bottom: 0;
  width: 9em; text-align: right;
  font-stretch: 80%; font-size: 12px; letter-spacing: .04em; line-height: 1.35; color: var(--grey);
}

.strip {
  display: grid; grid-template-columns: repeat(12, 1fr);
  margin-top: 24px;
}
.strip li { position: relative; height: 18px; }
.strip li::before { content: ""; position: absolute; inset: 0; background: var(--c); }
.strip li.t::before { opacity: .45; }
.strip span { display: none; }

/* Proof: the review */
.quote { padding: 64px 0 24px; }
.quote__in { display: grid; gap: 48px; }
.quote__text p {
  font-size: clamp(25px, 3.4vw, 46px); line-height: 1.18; font-weight: 500;
  text-wrap: pretty;
}
.quote__text footer { margin-top: 24px; font-size: 15px; color: var(--grey); }
.quote__text footer b { color: var(--ink); }
.stars { color: var(--ink); letter-spacing: .08em; margin: 0 4px; }
.bat { display: flex; gap: 20px; align-items: flex-start; }
.bat__stamp {
  font-stretch: 125%; font-weight: 800; font-size: 44px; line-height: .8;
  color: var(--blue);
}
.bat__text { font-size: 17px; max-width: 24em; padding-top: 2px; }

/* What they do */
.chain { padding: 64px 0; }
.h2 {
  font-stretch: 112%; font-weight: 700;
  font-size: clamp(32px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.01em;
  text-wrap: balance;
}
.h2 br { display: none; }
.chain__intro { margin-top: 20px; max-width: 34em; color: #3A404B; }
.chain__steps { margin-top: 48px; display: grid; gap: 32px 32px; }
.chain__steps li { max-width: 26em; }
.num {
  display: block;
  font-stretch: 125%; font-weight: 800; font-size: 34px; line-height: 1;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.chain__steps h3 { margin-top: 12px; font-size: 20px; font-weight: 700; line-height: 1.25; }
.chain__steps p { margin-top: 4px; font-size: 16px; color: #3A404B; }

/* The price board */
.prices { padding: 64px 0; }
.prices__in { display: grid; gap: 40px; }
.prices__big {
  font-stretch: 125%; font-weight: 800;
  font-size: min(17vw, 132px); line-height: .9; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.prices__big small { font-size: .26em; font-weight: 700; letter-spacing: 0; color: var(--grey); }
.prices__what { margin-top: 16px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.2; }
.prices__note { margin-top: 12px; max-width: 30em; font-size: 15px; color: var(--grey); }
.prices__lead .actions { margin-top: 28px; }

.board li + li { margin-top: 0; }
.board a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 14px 0;
  color: var(--ink); text-decoration: none;
}
.board__name { font-size: 18px; font-weight: 500; transition: color .3s; }
.board__dots { flex: 1; min-width: 16px; border-bottom: 2px dotted var(--rule); transform: translateY(-5px); }
.board__price { font-size: 15px; color: var(--grey); white-space: nowrap; }
.board__price b { font-size: 18px; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }

/* L'atelier */
.atelier { padding: 64px 0 72px; }
.atelier__claim {
  font-stretch: 112%; font-weight: 700;
  font-size: clamp(30px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.01em;
  max-width: 17em;
  text-wrap: balance;
}
.atelier__facts { margin-top: 40px; display: grid; gap: 20px; }
.atelier__facts li { max-width: 26em; font-size: 16px; color: #3A404B; }
.atelier__facts b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 2px; }

/* Find us */
.find { background: var(--night); color: #fff; padding: 72px 0; }
.find a { color: #fff; }
.find__in { display: grid; gap: 48px; }
.find__addr {
  font-stretch: 112%; font-weight: 700;
  font-size: clamp(36px, 6vw, 84px); line-height: 1; letter-spacing: -.01em;
  white-space: pre-line;
}
.find__where .actions { margin-top: 28px; }
.find__contact { margin-top: 36px; display: grid; gap: 16px; }
.find__contact dt { font-stretch: 80%; font-size: 13px; letter-spacing: .04em; color: rgba(255, 255, 255, .7); }
.find__contact dd { font-size: 20px; font-weight: 500; overflow-wrap: anywhere; }
.find__contact a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.find__hours h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: 17px; }
.hours th { text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 600; }
.hours .is-off th, .hours .is-off td { color: rgba(255, 255, 255, .62); font-weight: 400; }

/* Close */
.close { padding: 80px 0; }
.close .actions { margin-top: 32px; }

/* Footer */
.foot { padding: 40px 0 112px; }
.foot__in { display: grid; gap: 16px; font-size: 15px; color: var(--grey); }
.foot__logo { width: 120px; height: auto; }
.foot__lines a { color: var(--ink); text-decoration: none; font-weight: 600; }
.foot__addr { white-space: pre-line; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot__legal a { color: var(--grey); }
.foot__credit { font-size: 13px; }

/* Pinned call on the phone */
.dock {
  position: fixed; z-index: 30;
  left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  min-height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r);
  background: var(--red); color: #fff;
  font-weight: 600; font-size: 17px; text-decoration: none;
  box-shadow: var(--shadow);
}

/* Reveal, only when the script runs */
.js .reveal .wrap > * { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in .wrap > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal .wrap > * { opacity: 1; transform: none; transition: none; }
  .btn, .board__name, .top__nav a { transition: none; }
}

/* Tablet and up */
@media (min-width: 640px) {
  .chain__steps { grid-template-columns: repeat(2, 1fr); }
  .h2 br { display: inline; }
  .num { font-size: 40px; }
  .atelier__facts { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

@media (min-width: 768px) {
  :root { --gut: 32px; --top: 72px; }
  .top__logo img { height: 38px; }
  .top__call { display: inline-flex; margin-left: auto; }
  .dock { display: none; }
  .sheet .btn--action { display: inline-flex; }
  .foot { padding-bottom: 48px; }
  .foot__in { grid-template-columns: auto 1fr auto; align-items: end; gap: 16px 48px; }
  .foot__credit { grid-column: 1 / -1; }

  .sheet { --mo: 6px; --ml: 16px; padding: 28px 32px 32px; }
  .sheet__trim { padding: 40px 40px 24px; }
  .target { width: 24px; height: 24px; margin-left: -12px; top: -12px; }
  .strip { margin-top: 32px; }
  .strip li { height: 26px; }
  .strip span {
    display: block; position: absolute; left: 0; top: calc(100% + 6px);
    font-stretch: 80%; font-size: 11px; letter-spacing: .04em; color: var(--grey); white-space: nowrap;
  }
  .sheet__trim { padding-bottom: 40px; }
  .proofprint { width: 46%; }
}

@media (min-width: 900px) {
  .top__nav { display: flex; }
  .top__call { margin-left: 16px; }
}

@media (min-width: 1000px) {
  .chain__steps { grid-template-columns: repeat(3, 1fr); gap: 48px 48px; }
  .quote { padding: 112px 0 48px; }
  .quote__in { grid-template-columns: 8fr 4fr; gap: 64px; align-items: end; }
  .chain, .prices { padding: 96px 0; }
  .prices__in { grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
  .atelier { padding: 96px 0 112px; }
  .find { padding: 112px 0; }
  .find__in { grid-template-columns: 6fr 5fr; gap: 96px; align-items: start; }
  /* "47 rue du Maine" is 8.4 em wide: it holds on one line in its column. */
  .find__addr { font-size: min(5.2vw, 76px); }
  .prices__big { font-size: min(7.6vw, 124px); }
  .close { padding: 128px 0; }

  .sheet__grid { flex-direction: row; align-items: center; gap: 48px; }
  .sheet__text { flex: 1 1 0; gap: 20px; }
  .lede { font-size: 20px; }
  .proofprint { flex: 0 0 auto; width: auto; align-self: center; margin: 0 24px 0 0; }
  .proofprint img { height: min(62vh, 640px); width: auto; }
}
