/* ART'P.E.C 72, first version. Palette from the logo, the shop sign and the team photo. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("fonts/barlow-condensed-800-italic.woff2") format("woff2"); }

:root {
  --bleu: #1666C5;
  --orange: #D06A0C;
  --encre: #16191D;
  --enduit: #F3F1EC;
  --beton: #6B6862;
  --acier: #D3D4D2;
  --blanc: #FFFFFF;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --gutter: 24px;
  --head: 64px;
  --radius: 4px;
}
@media (min-width: 900px) {
  :root { --gutter: 48px; --head: 80px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--enduit);
  color: var(--encre);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-style: italic; font-weight: 800; line-height: 1; }
ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }

.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--blanc); padding: 8px 16px; }

/* Links inside text: ink, with the orange underline. */
.tlink { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 600; }

/* Buttons: one style, orange with ink text. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 24px;
  background: var(--orange); color: var(--encre);
  font-family: var(--text); font-weight: 600; font-size: 17px; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius);
  transition: background-color .3s ease, color .3s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-quiet {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--encre); color: var(--blanc); }
  .on-blue .btn:hover { background: var(--blanc); color: var(--encre); }
  .btn-quiet:hover, .tlink:hover { text-decoration-color: currentColor; }
}
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--enduit); }
.top .wrap { height: var(--head); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.top .logo img { width: 158px; height: auto; }
@media (min-width: 900px) { .top .logo img { width: 202px; } }
.nav { display: none; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; }
.nav .btn { min-height: 48px; padding: 0 20px; font-size: 16px; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 32px; }
  .nav a:not(.btn) { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 2px; transition: text-decoration-color .3s ease; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .nav a:not(.btn):hover { text-decoration-color: var(--orange); }
}
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px;
  background: none; border: 0; color: var(--encre); font: 600 16px/1 var(--text); cursor: pointer;
}
.menu-btn span.bars { display: block; width: 22px; height: 2px; background: currentColor; position: relative; }
.menu-btn span.bars::before, .menu-btn span.bars::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; }
.menu-btn span.bars::before { top: -7px; }
.menu-btn span.bars::after { top: 7px; }
@media (min-width: 900px) { .menu-btn { display: none; } }
.menu-open .nav {
  display: flex; flex-direction: column; align-items: stretch; gap: 0;
  position: absolute; left: 0; right: 0; top: var(--head);
  background: var(--enduit); padding: 8px var(--gutter) 24px;
  box-shadow: 0 24px 32px rgba(22, 25, 29, .22);
}
.menu-open .nav a:not(.btn) { padding: 14px 0; font-size: 20px; }
.menu-open .nav .btn { margin-top: 16px; min-height: 56px; }
@media (min-width: 900px) { .menu-open .nav { position: static; flex-direction: row; padding: 0; box-shadow: none; } }

/* ---------- Hero: the shop sign ---------- */
.hero { display: flex; flex-direction: column; min-height: calc(100svh - var(--head)); }
.hero-photo { height: 30svh; min-height: 200px; overflow: hidden; background: var(--encre); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 72%; }
.hero-panel { flex: 1; background: var(--bleu); color: var(--blanc); display: flex; align-items: center; }
.hero-inner { width: 100%; padding: 32px var(--gutter) 40px; container-type: inline-size; }
.hero-title { text-transform: uppercase; letter-spacing: .01em; font-size: min(17.6cqi, 100px); line-height: .9; }
.hero-title span { display: block; }
.hero-title .artisan { font-size: .42em; letter-spacing: .06em; margin-bottom: .22em; }
.hero-proof { margin-top: 24px; font-size: 16px; line-height: 1.45; max-width: 34em; }
.hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }
.hero-actions .btn { width: 100%; }
.hero-actions .btn-quiet { color: var(--blanc); }
@media (min-width: 560px) { .hero-actions .btn { width: auto; } }
@media (min-width: 900px) {
  .hero { flex-direction: row-reverse; min-height: calc(100vh - var(--head)); }
  .hero-photo { height: auto; flex: 0 0 42%; }
  .hero-photo img { object-position: 30% 60%; }
  .hero-inner { padding: 64px var(--gutter) 64px max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter))); }
  .hero-title { font-size: min(17.6cqi, 132px, 12.5vh); }
  .hero-proof { margin-top: 32px; font-size: 18px; }
  .hero-actions { margin-top: 32px; }
}

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section-follow { padding-top: 0; }
.gap { margin-top: 12px; }
@media (min-width: 900px) { .section { padding-block: 128px; } .section-follow { padding-top: 0; } }
.h2 { font-size: 36px; line-height: 1; }
@media (min-width: 900px) { .h2 { font-size: 64px; line-height: .95; } }
.label { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--beton); }
.lead { font-size: 19px; line-height: 1.5; }
@media (min-width: 900px) { .lead { font-size: 22px; } }

/* Proof: opens on the number */
.proof-grid { display: grid; gap: 40px; }
.score { display: flex; align-items: flex-end; gap: 16px; }
.score-num { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 104px; line-height: .8; }
.score-txt { padding-bottom: 6px; font-size: 16px; line-height: 1.35; }
.score-txt strong { display: block; font-size: 19px; }
.score-link { margin-top: 16px; display: inline-block; font-size: 16px; }
.quotes { display: grid; gap: 32px; }
.quote { margin: 0; }
.quote p { font-size: 19px; line-height: 1.5; }
.quote p::before { content: "«\00A0"; }
.quote p::after { content: "\00A0»"; }
.quote footer { margin-top: 12px; font-size: 15px; color: var(--beton); }
.quote footer strong { color: var(--encre); font-weight: 600; }
.creds { display: grid; gap: 24px; padding-top: 40px; margin-top: 8px; border-top: 1px solid var(--acier); }
.creds dt { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 26px; line-height: 1.05; }
.creds dd { margin-top: 6px; font-size: 16px; color: var(--beton); max-width: 30em; }
@media (min-width: 900px) {
  .proof-grid { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
  .score-num { font-size: 168px; }
  .quotes { grid-template-columns: 1fr 1fr; gap: 48px; }
  .quote p { font-size: 21px; }
  .creds { grid-column: 2; grid-template-columns: 1fr 1fr; gap: 48px; }
  .creds dt { font-size: 30px; }
}

/* Trades: a typographic list */
.trades-head { max-width: 15em; }
.trades { margin-top: 40px; border-top: 1px solid var(--acier); }
.trades li { border-bottom: 1px solid var(--acier); }
.trades a { display: grid; gap: 4px; padding: 20px 0; text-decoration: none; }
.trades h3 { font-size: 30px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.trades h3 .arrow { font-family: var(--text); font-style: normal; font-weight: 400; font-size: 22px; color: var(--orange); transition: transform .3s ease; }
.trades p { color: var(--beton); font-size: 16px; }
.trades-more { margin-top: 32px; }
@media (min-width: 900px) {
  .trades a { grid-template-columns: 5fr 6fr 1fr; align-items: baseline; gap: 32px; padding: 28px 0; }
  .trades h3 { font-size: 44px; display: block; }
  .trades p { font-size: 18px; }
  .trades .arrow-d { justify-self: end; font-size: 26px; color: var(--orange); transition: transform .3s ease; }
}
@media (max-width: 899px) { .trades .arrow-d { display: none; } }
@media (min-width: 900px) { .trades h3 .arrow { display: none; } }
@media (hover: hover) and (pointer: fine) {
  .trades a:hover .arrow-d, .trades a:hover .arrow { transform: translateX(6px); }
  .trades a:hover h3 { color: var(--bleu); }
}

/* Work: dark, opens on the photos */
.work { background: var(--encre); color: var(--blanc); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.work-grid figure { margin: 0; position: relative; }
.work-grid img { width: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.work-grid figcaption { margin-top: 8px; font-size: 14px; line-height: 1.35; color: var(--acier); }
.work-grid .big { grid-column: 1 / -1; }
.work-foot { margin-top: 40px; display: grid; gap: 16px; }
.work-foot p { color: var(--acier); max-width: 34em; }
.work-foot .tlink { color: var(--blanc); }
@media (min-width: 900px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .work-grid .big { grid-column: 1 / 3; grid-row: 1 / 3; display: flex; flex-direction: column; }
  .work-grid .big img { flex: 1 1 0; min-height: 0; height: 0; aspect-ratio: auto; }
  .work-foot { grid-template-columns: 5fr 7fr; align-items: end; gap: 48px; margin-top: 56px; }
}

/* Who */
.who-grid { display: grid; gap: 32px; }
.who-text .h2 { max-width: 12em; }
.who-text .lead { margin-top: 24px; max-width: 30em; }
.who-text .small { margin-top: 16px; color: var(--beton); max-width: 34em; }
.who-photos { display: grid; grid-template-columns: 3fr 2fr; gap: 8px; align-items: end; }
.who-photos figure { margin: 0; }
.who-photos figcaption { margin-top: 8px; font-size: 14px; color: var(--beton); }
@media (min-width: 900px) {
  .who-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
  .who-photos { gap: 16px; }
}

/* Find us */
.find { background: var(--blanc); }
.find-grid { display: grid; gap: 40px; }
.find-addr { margin-top: 12px; font-size: 44px; line-height: 1; max-width: 9em; }
.find-city { margin-top: 12px; font-size: 18px; }
.find-map { margin-top: 24px; }
.hours { margin-top: 40px; display: grid; grid-template-columns: auto 1fr; gap: 0 24px; max-width: 360px; }
.hours dt, .hours dd { padding: 10px 0; border-bottom: 1px solid var(--acier); font-size: 17px; }
.hours dt { font-weight: 600; }
.hours dd span + span::before { content: " · "; }
.hours .off { color: var(--beton); }
.hours .today { color: var(--bleu); }
.hours-src { margin-top: 12px; font-size: 14px; color: var(--beton); }
.reach { margin-top: 40px; display: grid; gap: 20px; }
.reach dt { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--beton); }
.reach dd { margin-top: 2px; font-size: 19px; }
.reach dd a { text-decoration: none; font-weight: 600; }
.find-photo { margin: 0; }
.find-photo img { width: 100%; }
.find-photo figcaption { margin-top: 8px; font-size: 14px; color: var(--beton); }
@media (min-width: 900px) {
  .find-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .find-addr { font-size: 72px; }
  .reach { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
}

/* Close band */
.close { background: var(--bleu); color: var(--blanc); }
.close .wrap { display: grid; gap: 32px; padding-block: 64px; }
.close h2 { font-size: 40px; text-transform: uppercase; line-height: .95; max-width: 11em; }
.close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }
.close-actions .btn { width: 100%; }
.close-actions .btn-quiet { color: var(--blanc); }
@media (min-width: 560px) { .close-actions .btn { width: auto; } }
@media (min-width: 900px) {
  .close .wrap { grid-template-columns: 7fr 5fr; align-items: end; padding-block: 96px; }
  .close h2 { font-size: 72px; }
  .close-actions { justify-content: flex-end; }
}

/* Footer */
.foot { background: var(--encre); color: var(--acier); font-size: 15px; padding-block: 48px 120px; }
.foot .wrap { display: grid; gap: 24px; }
.foot-name { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 28px; color: var(--blanc); line-height: 1; }
.foot a { color: var(--blanc); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-legal a { color: var(--acier); }
.foot-credit { color: var(--beton); }
@media (min-width: 900px) {
  .foot { padding-block: 64px; }
  .foot .wrap { grid-template-columns: 4fr 4fr 4fr; align-items: start; }
}

/* Call bar pinned on the phone */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
  background: var(--enduit);
  transform: translateY(110%); transition: transform .3s ease;
}
.callbar .btn { width: 100%; }
.callbar.show { transform: none; }
@media (min-width: 900px) { .callbar { display: none; } }

/* ---------- Prestations page ---------- */
.p-hero { background: var(--bleu); color: var(--blanc); }
.p-hero .wrap { padding-block: 48px 56px; }
.p-title { container-type: inline-size; }
.p-hero h1 { text-transform: uppercase; font-size: min(15.5cqi, 120px); line-height: .92; letter-spacing: .01em; }
.p-hero h1 a { display: block; width: fit-content; white-space: nowrap; color: var(--blanc); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 4px; text-underline-offset: 8px; transition: text-decoration-color .3s ease; }
@media (hover: hover) and (pointer: fine) { .p-hero h1 a:hover { text-decoration-color: var(--orange); } }
.p-hero .lead { margin-top: 24px; max-width: 32em; }
.p-jump { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.p-jump a { font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; min-height: 40px; display: inline-flex; align-items: center; }
@media (min-width: 900px) {
  .p-hero .wrap { padding-block: 96px; display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
  .p-hero .lead { margin-top: 0; }
}

.trade { padding-block: 56px; }
.trade + .trade { padding-top: 0; }
.trade-grid { display: grid; gap: 32px; }
.trade h2 { font-size: 40px; }
.trade .lead { margin-top: 16px; }
.trade ul { margin-top: 24px; border-top: 1px solid var(--acier); }
.trade li { padding: 12px 0; border-bottom: 1px solid var(--acier); }
.trade .note { margin-top: 20px; font-size: 16px; color: var(--beton); }
.trade-call { margin-top: 32px; }
.trade figure img.wide { aspect-ratio: 4 / 3; }
.trade figure { margin: 0; }
.trade figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.trade figcaption { margin-top: 8px; font-size: 14px; color: var(--beton); }
.trade .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.trade .pair img { aspect-ratio: 3 / 4; }
@media (min-width: 900px) {
  .trade { padding-block: 96px; }
  .trade-grid { grid-template-columns: 6fr 5fr; gap: 96px; align-items: center; }
  .trade:nth-of-type(even) .trade-grid > :first-child { order: 2; }
  .trade h2 { font-size: 64px; }
  .trade .pair { gap: 16px; }
}

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal > * { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
  .js .reveal.in > * { opacity: 1; transform: none; }
  .js .reveal.in > *:nth-child(2) { transition-delay: .08s; }
  .js .reveal.in > *:nth-child(3) { transition-delay: .16s; }
  .js .reveal.in > *:nth-child(4) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  .callbar, .btn, .trades .arrow, .trades .arrow-d { transition: none; }
}
