@font-face {
  font-family: "Sofia";
  src: url("fonts/sofia.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/sourcesans3.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --choco: #34261f;
  --creme: #f3e8d4;
  --citron: #a8c62a;
  --mur: #eeece8;
  --ardoise: #4f4c4b;
  --ligne: #d9d5cf;
  --script: "Sofia", "Brush Script MT", cursive;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --top: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--mur);
  color: var(--choco);
  font: 400 17px/1.55 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }

.link {
  text-decoration: underline;
  text-decoration-color: var(--citron);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 4px;
  font: 700 17px/1 var(--sans);
  text-decoration: none;
  transition: background-color .3s, color .3s;
}
.btn-call { background: var(--citron); color: var(--choco); }
.btn-quiet { color: var(--creme); box-shadow: inset 0 0 0 2px rgba(243, 232, 212, .45); }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--top);
  background: var(--choco);
  color: var(--creme);
}
.top-in { height: 100%; display: flex; align-items: center; gap: 32px; }
.top-name { font: 400 28px/1 var(--script); text-decoration: none; margin-right: auto; padding-top: 4px; }
.top-nav { display: none; gap: 32px; }
.top-nav a { text-decoration: none; font-weight: 600; font-size: 16px; }
.top-call { display: none; min-height: 40px; padding: 0 16px; font-size: 16px; }
.top-hours { font-weight: 600; font-size: 16px; text-decoration: none; }

/* Hero: the sign, then the salon */
.hero {
  min-height: calc(100vh - var(--top));
  min-height: calc(100svh - var(--top));
  display: flex;
  flex-direction: column;
  background: var(--choco);
}
.sign { color: var(--creme); text-align: center; padding: 40px 0 40px; }
.sign-in { max-width: 1400px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; }
.sign-name {
  font: 400 clamp(44px, 13vw, 144px)/1.12 var(--script);
  letter-spacing: 0;
  white-space: nowrap;
}
.sign-mark { position: relative; }
.orn { display: none; position: absolute; fill: var(--citron); stroke: var(--citron); }
.sign-line {
  margin-top: 4px;
  color: var(--citron);
  font-weight: 700;
  font-size: clamp(16px, 4.6vw, 28px);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sign-line span { padding: 0 .2em; }
.sign-welcome { margin-top: 24px; font-size: clamp(18px, 2vw, 22px); white-space: pre-line; }
.sign-today { margin-top: 8px; font-size: 16px; opacity: .8; }
.sign-actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 320px; }
.sign-proof { margin-top: 24px; font-size: 16px; opacity: .8; }
.sign-proof strong { font-weight: 700; opacity: 1; color: var(--creme); }

.hero-photo { flex: 1 1 auto; min-height: 220px; position: relative; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* Reviews */
.reviews { padding: 96px 0 88px; }
.quote blockquote p { font-weight: 600; letter-spacing: -.01em; }
.quote-big blockquote p { font-size: clamp(28px, 4.4vw, 56px); line-height: 1.15; max-width: 22ch; }
.quote-big blockquote p::before { content: "« "; color: var(--citron); }
.quote-big blockquote p::after { content: " »"; color: var(--citron); }
.quote-small { margin-top: 56px; margin-left: auto; max-width: 560px; }
.quote-small blockquote p { font-size: 22px; line-height: 1.35; }
.quote figcaption { margin-top: 16px; font-size: 16px; color: var(--ardoise); }
.reviews-more { margin-top: 48px; }
.reviews-in { display: grid; }

/* The salon */
.salon { background: var(--creme); padding: 88px 0; }
.salon-in { display: grid; gap: 56px; }
.year { font-weight: 700; font-size: clamp(88px, 16vw, 200px); line-height: .9; letter-spacing: -.03em; }
.year-text { margin-top: 16px; font-size: 20px; max-width: 26ch; }
.salon-list h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; max-width: 18ch; }
.services { margin-top: 32px; }
.services div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(52, 38, 31, .18); }
.services div:last-child { border-bottom: 1px solid rgba(52, 38, 31, .18); }
.services dt { font-weight: 700; font-size: 24px; }
.services dd { font-size: 18px; color: var(--ardoise); text-align: right; }
.salon-note { margin-top: 24px; font-size: 18px; }

/* Visit */
.visit { padding: 96px 0; }
.visit-title { font-weight: 700; font-size: clamp(32px, 5vw, 64px); line-height: 1.05; letter-spacing: -.02em; }
.nw { white-space: nowrap; }
.visit-grid { margin-top: 40px; display: grid; gap: 40px; }
.visit-photo img { width: 100%; border-radius: 4px; }
.hours { background: var(--choco); color: var(--creme); border-radius: 4px; padding: 32px 24px; }
.hours h3 { font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--citron); }
.hours dl { margin-top: 16px; }
.hours dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(243, 232, 212, .14); }
.hours dl div:first-child { border-top: 0; }
.hours dt { font-weight: 600; }
.hours dd { text-align: right; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 12px; }
.hours dd .off { opacity: .6; }
.hours dl div.is-today dt::after { content: "aujourd'hui"; margin-left: 8px; font-size: 13px; font-weight: 700; color: var(--choco); background: var(--citron); padding: 2px 6px; border-radius: 4px; vertical-align: 2px; }
.where { margin-top: 32px; display: grid; gap: 8px; font-size: 18px; }
.where-address { font-weight: 600; font-size: 20px; }

/* Close */
.close { background: var(--choco); color: var(--creme); padding: 88px 0 96px; }
.close-in { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.close-title { font-weight: 700; font-size: clamp(40px, 7vw, 88px); line-height: 1; letter-spacing: -.02em; }

/* Footer */
.foot { background: var(--choco); color: rgba(243, 232, 212, .75); padding: 40px 0 120px; font-size: 15px; border-top: 1px solid rgba(243, 232, 212, .12); }
.foot-in { display: grid; gap: 16px; }
.foot-name { font: 400 30px/1 var(--script); color: var(--creme); }
.foot a { color: var(--creme); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-credit { opacity: .8; }

/* Pinned call on the phone */
.pin {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 20;
  display: flex; align-items: center; justify-content: center;
  min-height: 56px;
  border-radius: 4px;
  background: var(--citron);
  color: var(--choco);
  font: 700 18px/1 var(--sans);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(52, 38, 31, .28);
}

@media (min-width: 720px) {
  .sign-actions { flex-direction: row; justify-content: center; max-width: none; width: auto; }
  .salon-in { grid-template-columns: 5fr 7fr; align-items: start; }
  .visit-info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .where { margin-top: 0; }
}

@media (min-width: 960px) {
  .wrap, .sign-in { padding: 0 48px; }
  .top-nav, .top-call { display: inline-flex; }
  .top-hours { display: none; }
  .pin { display: none; }
  .foot { padding-bottom: 48px; }
  .foot-in { grid-template-columns: 1fr 1fr 1fr; align-items: end; }
  .foot-credit { grid-column: 1 / -1; }
  .sign { padding: 56px 0 48px; }
  .reviews { padding: 136px 0 120px; }
  .reviews-in { grid-template-columns: 7fr 5fr; column-gap: 96px; align-items: end; }
  .quote-small { margin: 0; max-width: none; padding-bottom: 8px; }
  .reviews-more { grid-column: 2; margin-top: 32px; }
  .salon, .visit { padding: 128px 0; }
  .salon-in { gap: 96px; }
  .visit-grid { gap: 64px; grid-template-columns: 7fr 5fr; align-items: start; }
  .visit-info { display: block; }
  .where { margin-top: 32px; }
  .hours { padding: 40px; }
}

@media (min-width: 1280px) {
  .orn { display: block; }
  .orn-comb { width: 120px; right: calc(100% + 16px); bottom: 14%; transform: rotate(-22deg); }
  .orn-scissors { width: 112px; left: calc(100% + 16px); top: 6%; transform: rotate(-28deg); }
}

@media (hover: hover) and (pointer: fine) {
  .btn-call:hover, .pin:hover { background: var(--creme); }
  .btn-quiet:hover { background: rgba(243, 232, 212, .1); }
  .top-nav a:hover { color: var(--citron); }
}

/* Reveal, once */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .pin { transition: none; }
}
