@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --bleu: #14558f;
  --bleu-fonce: #0f4372;
  --encre: #141c26;
  --mur: #ffffff;
  --ciment: #eef0f2;
  --chene: #be9d66;
  --gris: #56606b;
  --trait: #dfe3e7;

  --gutter: 24px;
  --wrap: 1400px;
  --head: 56px;
  --pin: 64px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) {
  :root { --gutter: 48px; --head: 72px; --pin: 0px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); }
body {
  margin: 0;
  background: var(--mur);
  color: var(--encre);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0;
  padding-bottom: var(--pin);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bleu); }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--encre); color: #fff; padding: 8px 16px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; }

/* Display face: Archivo condensed */
.mark, .hero__name, .care__title, .care__n, .team__names, .book__num, .place h2, .book h2 {
  font-stretch: 68%;
  font-weight: 800;
}

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  background: var(--bleu); color: #fff;
  font-weight: 600; font-size: 17px; text-decoration: none;
  border-radius: var(--radius);
  transition: background-color .3s var(--ease);
}
.btn--small { min-height: 40px; padding: 0 16px; font-size: 16px; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--bleu-fonce); }
  .link:hover { color: var(--bleu-fonce); }
}

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--mur); height: var(--head); }
.top__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.mark { color: var(--encre); text-decoration: none; text-transform: uppercase; font-size: 22px; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.mark__b { color: var(--bleu); }
.nav { display: none; margin-left: auto; gap: 32px; }
.nav a { color: var(--encre); text-decoration: none; font-size: 16px; font-weight: 500; }
.top .btn { display: none; }
@media (min-width: 900px) {
  .mark { font-size: 26px; }
  .nav { display: flex; }
  .top .btn { display: inline-flex; }
}
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--bleu); } }

/* Hero */
.hero { display: flex; flex-direction: column; min-height: calc(100vh - var(--head) - var(--pin)); min-height: calc(100svh - var(--head) - var(--pin)); }
.hero__photo { order: -1; position: relative; flex: 1 1 auto; min-height: 220px; height: 36svh; overflow: hidden; background: var(--ciment); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__text { padding: 24px var(--gutter) 32px; }
.hero__name { font-size: clamp(52px, 15.5vw, 112px); line-height: .9; text-transform: uppercase; letter-spacing: .01em; }
.hero__name span { display: block; }
.hero__name span + span { color: var(--bleu); }
.tape { display: block; width: 72px; height: 4px; background: var(--bleu); margin: 20px 0 16px; }
.hero__lead { font-size: 20px; line-height: 1.4; max-width: 30ch; }
.hero__proof { margin-top: 12px; font-size: 15px; color: var(--gris); font-weight: 500; }
.hero__actions { margin-top: 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__call { display: none; }

@media (min-width: 900px) {
  .hero { flex-direction: row; min-height: calc(100vh - var(--head)); }
  .hero__text {
    flex: 0 0 44%;
    display: flex; flex-direction: column; justify-content: center;
    padding: 48px 64px 96px max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  }
  .hero__name { font-size: clamp(72px, 6.8vw, 112px); }
  .hero__name span { white-space: nowrap; }
  .hero__call { display: inline-flex; }
  .hero__photo { order: 0; flex: 1 1 56%; height: auto; min-height: 0; }
  .hero__photo img { object-position: 40% 50%; }
  .tape { width: 96px; margin: 32px 0 24px; }
  .hero__lead { font-size: 24px; }
  .hero__proof { font-size: 16px; margin-top: 16px; }
  .hero__actions { margin-top: 40px; gap: 32px; }
}

/* Sam's own words */
.words { padding: 96px 0; }
.words__in { display: grid; gap: 48px; }
.words__quote p { font-size: clamp(28px, 6.4vw, 52px); line-height: 1.15; font-weight: 500; letter-spacing: -.005em; max-width: 22ch; }
.words__quote footer { margin-top: 24px; font-size: 15px; color: var(--gris); }
.words__then { font-size: 19px; line-height: 1.45; max-width: 34ch; }
.creds { margin-top: 32px; }
.creds li { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--trait); font-weight: 500; }
.creds li:last-child { border-bottom: 1px solid var(--trait); }
.creds__y { font-stretch: 68%; font-weight: 800; color: var(--chene); font-size: 20px; min-width: 48px; }
.words__lang { margin-top: 16px; color: var(--gris); font-size: 15px; }
@media (min-width: 900px) {
  .words { padding: 144px 0 128px; }
  .words__in { grid-template-columns: 7fr 4fr; gap: 96px; align-items: end; }
}

/* What they treat */
.care { padding: 0 0 96px; }
.care__title { font-size: clamp(36px, 9vw, 72px); line-height: .98; text-transform: uppercase; letter-spacing: .01em; }
.care__list { margin-top: 40px; counter-reset: none; }
.care__list li { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--trait); }
.care__list li:last-child { border-bottom: 1px solid var(--trait); }
.care__n { color: var(--chene); font-size: 18px; min-width: 32px; }
.care__t { font-size: 22px; font-weight: 600; line-height: 1.25; }
.care__note { margin-top: 24px; color: var(--gris); font-size: 15px; max-width: 52ch; }
@media (min-width: 900px) {
  .care { padding-bottom: 144px; }
  .care .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 0 96px; }
  .care__title { grid-row: span 2; font-size: clamp(48px, 4.5vw, 64px); }
  .care__list { margin-top: 8px; }
  .care__list li { padding: 20px 0; }
  .care__n { font-size: 22px; min-width: 48px; }
  .care__t { font-size: 30px; }
}

/* The cabinet */
.place { display: grid; background: var(--ciment); }
.place__photo { overflow: hidden; }
.place__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; }
.place__text { padding: 48px var(--gutter) 64px; }
.place h2 { font-size: clamp(32px, 8vw, 56px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; max-width: 14ch; }
.place__lead { margin-top: 16px; font-size: 20px; line-height: 1.4; max-width: 30ch; }
.facts { margin: 32px 0; display: grid; gap: 16px; }
.facts dt { font-size: 14px; color: var(--gris); font-weight: 500; }
.facts dd { font-size: 17px; }
@media (min-width: 900px) {
  .place { grid-template-columns: 1fr 1fr; align-items: center; }
  .place__photo img { aspect-ratio: auto; height: 100%; max-height: 880px; }
  .place__photo { align-self: stretch; }
  .place__text { padding: 96px max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 96px 96px; }
  .place__lead { font-size: 24px; }
}

/* The team: the memorable element */
.team { background: var(--encre); color: #fff; padding: 80px 0 72px; overflow: hidden; }
.team__kicker { font-size: 16px; font-weight: 500; color: #b9c2cc; }
.team__names {
  margin-top: 24px;
  white-space: pre-line;
  text-transform: uppercase;
  font-size: clamp(64px, 22vw, 176px);
  line-height: .88;
  letter-spacing: .01em;
}
.team__sam { margin-top: 32px; max-width: 46ch; color: #d5dbe1; font-size: 17px; }
@media (min-width: 900px) {
  .team { padding: 128px 0 112px; }
  .team__kicker { font-size: 18px; }
  .team__names { white-space: normal; word-spacing: .18em; font-size: clamp(96px, 10.4vw, 152px); margin-top: 32px; }
  .team__sam { margin-top: 48px; font-size: 18px; }
}

/* Book and hours */
.book { padding: 96px 0; }
.book__in { display: grid; gap: 64px; }
.book h2 { font-size: clamp(28px, 7.6vw, 56px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
.book h2 span { display: block; }
.book__num { display: block; margin: 24px 0; font-size: clamp(44px, 12.5vw, 96px); line-height: 1; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.book__hours { background: var(--ciment); padding: 32px 24px; border-radius: var(--radius); }
.book__hours h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--trait); }
.hours li:first-child { border-top: 0; }
.hours__d { font-weight: 600; }
.hours__s { display: flex; flex-direction: column; align-items: flex-end; text-align: right; font-variant-numeric: tabular-nums; }
.hours .off { color: var(--gris); }
@media (min-width: 900px) {
  .book { padding: 128px 0; }
  .book__in { grid-template-columns: 7fr 5fr; gap: 96px; align-items: center; }
  .book__hours { padding: 40px 48px; }
}
@media (hover: hover) and (pointer: fine) { .book__num:hover { color: var(--bleu-fonce); } }

/* Footer */
.foot { background: var(--encre); color: #c9d0d7; padding: 48px 0 40px; font-size: 15px; }
.foot__in { display: grid; gap: 16px; }
.foot a { color: #fff; }
.foot__name { color: #fff; font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: 22px; letter-spacing: .01em; }
.foot__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.foot__legal a { color: #c9d0d7; }
.foot__by { color: #8d98a4; font-size: 14px; }
@media (min-width: 900px) {
  .foot__in { grid-template-columns: 3fr 3fr 4fr; align-items: start; }
  .foot__by { grid-column: 1 / -1; margin-top: 16px; }
}

/* Pinned call on the phone */
.pin {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--pin); padding-bottom: env(safe-area-inset-bottom);
  background: var(--bleu); color: #fff;
  font-weight: 600; font-size: 18px; text-decoration: none;
}
@supports (padding: max(0px)) { .pin { height: calc(var(--pin) + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .pin { display: none; } }

/* Reveal, once */
.js .reveal > * { opacity: 0; transform: translateY(28px); }
.js .reveal.is-in > * { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal.is-in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal.is-in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal.is-in > *:nth-child(5) { transition-delay: .32s; }
.js .team__names.reveal { opacity: 0; transform: translateY(28px); }
.js .team__names.reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal > *, .js .team__names.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .link { transition: none; }
}
