@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: 500; font-display: swap; src: url("fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/barlow-condensed-500.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"); }

:root {
  --bardage: #3A3F45;
  --bardage-rib: #33383D;
  --nuit: #1F2226;
  --menuiserie: #F4F3EF;
  --panneau: #E6E5E0;
  --verre: #DCE1E3;
  --vitre: #2A2F34;
  --gris: #62686E;
  --laiton: #8A6326;
  --laiton-clair: #D2AE73;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, sans-serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s16: 128px;
  --radius: 2px;
  --dock-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--menuiserie);
  color: var(--nuit);
  font: 400 17px/1.5 var(--text);
  letter-spacing: 0;
  padding-bottom: var(--dock-h);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--laiton); text-underline-offset: 3px; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--menuiserie); color: var(--nuit); padding: var(--s1) var(--s2); z-index: 20; }
.skip:focus { left: var(--s2); top: var(--s2); }
:focus-visible { outline: 2px solid var(--laiton-clair); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--s2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--s3);
  font: 600 19px/1 var(--display); letter-spacing: 0.02em;
  text-decoration: none; border-radius: var(--radius);
  transition: background-color 300ms ease, color 300ms ease;
}
.btn-call { background: var(--laiton); color: #fff; }
.btn-ghost { color: var(--menuiserie); box-shadow: inset 0 0 0 2px rgba(244, 243, 239, 0.55); }
.btn-ghost-dark { color: var(--nuit); box-shadow: inset 0 0 0 2px var(--nuit); }

/* Header */
.top { background: var(--bardage); color: var(--menuiserie); }
.top-in { display: flex; align-items: center; gap: var(--s3); min-height: 56px; }
.mark { color: var(--menuiserie); text-decoration: none; font: 600 22px/1 var(--display); letter-spacing: 0.01em; }
.mark span { font-weight: 500; font-size: 16px; color: var(--verre); margin-left: 6px; }
.top-nav { display: none; }
.top-call { display: none; }

/* Hero: the door, drawn */
.hero {
  background-color: var(--bardage);
  background-image: repeating-linear-gradient(90deg, var(--bardage) 0 30px, var(--bardage-rib) 30px 33px);
  color: var(--menuiserie);
  min-height: calc(100svh - 56px - var(--dock-h));
  display: flex;
}
.hero-in {
  display: grid; align-content: center; justify-items: center;
  gap: var(--s3); padding-top: var(--s3); padding-bottom: var(--s4);
}

.door {
  --frame: var(--menuiserie);
  position: relative;
  height: clamp(260px, calc(100svh - 372px), 480px);
  aspect-ratio: 0.74;
  container-type: size;
  background: var(--frame);
  padding: 2.6cqw;
  display: grid;
  grid-template-columns: 0.56fr 2fr 0.56fr;
  grid-template-rows: 20% 1fr 24%;
  grid-template-areas: "t t t" "a b c" "d e f";
  gap: 1.8cqw;
  border-radius: var(--radius);
}
.door::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -3.2cqw; height: 3.2cqw;
  background: #8E9397;
}
.door-transom {
  grid-area: t; background: var(--vitre);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #fff; line-height: 1;
}
.door-word { font: 600 17cqw/0.9 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.door-sub { font: 500 5.4cqw/1 var(--display); margin-top: 0.6cqw; color: var(--verre); }
.door-side { background: var(--vitre); position: relative; overflow: hidden; }
.door-side-l { grid-area: a; }
.door-side-r { grid-area: c; }
.door-side::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8%; height: 34%;
  background: repeating-linear-gradient(180deg, rgba(220, 225, 227, 0.36) 0 1.6cqw, transparent 1.6cqw 3.4cqw);
}
.door-leaf {
  grid-area: b; background: var(--vitre); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.door-name {
  font: 600 14.6cqw/0.9 var(--display); color: #fff;
  transform: rotate(-32deg) translateY(-12%);
  display: flex; flex-direction: column; align-items: center;
  white-space: nowrap; letter-spacing: 0.01em;
}
.door-surname { text-transform: uppercase; font-size: 0.86em; letter-spacing: 0.05em; margin-top: 1cqw; }
.door-tel {
  position: absolute; left: 0; right: 0; bottom: 7%;
  text-align: center; color: #fff; text-decoration: none;
  font: 600 5.8cqw/1 var(--display); letter-spacing: 0.04em;
}
.door-handle {
  position: absolute; right: 3.4cqw; top: 60%; width: 1.4cqw; height: 13cqw;
  background: #B9BEC1; border-radius: 1cqw;
}
.door-panel { background: var(--panneau); }
.door-panel-l { grid-area: d; }
.door-panel-m { grid-area: e; }
.door-panel-r { grid-area: f; }

.hero-text { width: 100%; max-width: 560px; text-align: center; }
.hero-lede { font: 500 23px/1.2 var(--display); letter-spacing: 0.005em; color: var(--menuiserie); text-wrap: balance; }
.hero-meta { margin-top: var(--s1); font-size: 16px; color: var(--verre); display: flex; flex-wrap: wrap; justify-content: center; gap: 0 var(--s2); }
.hero-proof { color: var(--laiton-clair); }
.hero-actions { display: grid; gap: var(--s1); margin-top: var(--s3); }
.hero-actions .btn-call { display: none; }
.hero .btn-call { background: var(--laiton-clair); color: var(--nuit); }
.services-cta { display: none; }

/* Proof */
.proof { padding: var(--s10) 0 var(--s8); }
.quote-main blockquote p {
  font: 500 clamp(34px, 8.6vw, 88px)/1.02 var(--display);
  max-width: 17ch; text-wrap: balance;
}
.quote-main figcaption, .quote figcaption { margin-top: var(--s2); font-size: 16px; color: var(--gris); }
.quotes { display: grid; gap: var(--s4); margin-top: var(--s8); }
.quote blockquote p { font-size: 20px; line-height: 1.4; max-width: 34ch; }
.quote figcaption { margin-top: var(--s1); }
.quotes-more { font-size: 16px; }

/* Services */
.services { padding: var(--s8) 0 var(--s10); background: var(--panneau); }
.services h2 { font: 600 clamp(44px, 11vw, 112px)/0.95 var(--display); letter-spacing: -0.005em; }
.services-lede { margin-top: var(--s3); font-size: 19px; max-width: 34ch; }
.services-list { margin-top: var(--s6); display: grid; gap: 0; }
.services-list > div { padding: var(--s3) 0; box-shadow: inset 0 1px 0 rgba(31, 34, 38, 0.18); }
.services-list dt { font: 600 26px/1.1 var(--display); }
.services-list dd { margin-top: 6px; color: var(--gris); max-width: 36ch; }
.services-cta { margin-top: var(--s5); }

/* Who */
.who { padding: var(--s10) 0; }
.who-in { display: grid; gap: var(--s5); }
.who-title { font: 600 30px/1.1 var(--display); }
.who-year { display: block; font-size: clamp(112px, 34vw, 280px); line-height: 0.8; color: var(--bardage); letter-spacing: -0.02em; margin-bottom: var(--s3); }
.who-line { display: block; max-width: 18ch; }
.who-about { margin-top: var(--s2); font-size: 18px; max-width: 40ch; }
.who-photo { position: relative; background: var(--verre); }
.who-photo::before {
  content: attr(data-placeholder); position: absolute; left: var(--s2); bottom: var(--s2);
  font-size: 14px; color: var(--gris);
}
.who-photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Visit */
.visit { padding: var(--s8) 0 var(--s10); box-shadow: inset 0 1px 0 rgba(31, 34, 38, 0.18); }
.visit-in { display: grid; gap: var(--s8); }
.visit-title { font: 600 clamp(40px, 10vw, 96px)/0.98 var(--display); max-width: 12ch; }
.visit-access { margin-top: var(--s3); font-size: 18px; }
.visit-actions { margin-top: var(--s4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.link { font: 600 22px/1 var(--display); letter-spacing: 0.03em; }
.visit-hours h3 { font: 600 26px/1.1 var(--display); }
.hours { margin-top: var(--s2); }
.hours > div { display: flex; justify-content: space-between; gap: var(--s2); padding: 12px 0; box-shadow: inset 0 -1px 0 rgba(31, 34, 38, 0.14); }
.hours dt { font-weight: 500; }
.hours dd { color: var(--gris); min-width: 7em; text-align: right; }
.hours dd:empty::after { content: ""; display: inline-block; width: 3em; height: 1px; background: rgba(31, 34, 38, 0.3); vertical-align: middle; }
.hours dd span + span::before { content: ", "; }
.hours-note { margin-top: var(--s2); font-size: 16px; color: var(--gris); }

/* Close */
.close {
  background-color: var(--bardage);
  background-image: repeating-linear-gradient(90deg, var(--bardage) 0 30px, var(--bardage-rib) 30px 33px);
  color: var(--menuiserie); padding: var(--s10) 0;
}
.close-in { display: grid; justify-items: start; gap: var(--s2); }
.close-number a { color: var(--menuiserie); text-decoration: none; font: 600 clamp(52px, 15vw, 168px)/0.9 var(--display); letter-spacing: 0.02em; white-space: nowrap; }
.close-line { font-size: 18px; color: var(--verre); }
.close .btn-call { margin-top: var(--s2); background: var(--laiton-clair); color: var(--nuit); }

/* Footer */
.foot { background: var(--nuit); color: var(--verre); padding: var(--s6) 0 var(--s5); font-size: 15px; }
.foot-in { display: grid; gap: var(--s2); }
.foot a { color: var(--menuiserie); }
.foot-name { font: 600 22px/1 var(--display); color: var(--menuiserie); }
.foot-legal a { margin-right: var(--s2); }
.foot-credit { color: #9AA0A5; }

/* Phone dock */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  height: var(--dock-h); padding-bottom: env(safe-area-inset-bottom);
  display: flex; align-items: center; justify-content: center;
  background: var(--laiton); color: #fff; text-decoration: none;
  font: 600 21px/1 var(--display); letter-spacing: 0.03em;
}

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .wrap { padding: 0 var(--s5); }
  .quotes { grid-template-columns: 1fr 1fr; align-items: start; }
  .quotes-more { grid-column: 1 / -1; }
  .services-list { grid-template-columns: 1fr 1fr; column-gap: var(--s6); }
  .hours { max-width: 460px; }
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; font-size: 18px; }
  .dock { display: none; }
  .top { position: sticky; top: 0; z-index: 10; }
  .top-in { min-height: 72px; }
  .mark { font-size: 26px; }
  .top-nav { display: flex; gap: var(--s4); margin-left: auto; }
  .top-nav a { color: var(--menuiserie); text-decoration: none; font: 500 19px/1 var(--display); letter-spacing: 0.02em; }
  .top-call { display: inline-flex; background: var(--laiton-clair); color: var(--nuit); }

  .hero { min-height: calc(100vh - 72px); }
  .hero-in {
    grid-template-columns: 1fr 1fr; align-items: center; justify-items: stretch;
    gap: var(--s12); padding-top: var(--s8); padding-bottom: var(--s8);
  }
  .door { height: min(calc(100vh - 72px - 160px), 700px); justify-self: end; }
  .hero-text { text-align: left; justify-self: start; max-width: 520px; }
  .hero-lede { font-size: 48px; line-height: 1.06; text-wrap: pretty; }
  .hero-meta { margin-top: var(--s3); font-size: 18px; flex-direction: column; justify-content: flex-start; gap: 4px; }
  .hero-actions { display: flex; gap: var(--s2); margin-top: var(--s5); }
  .hero-actions .btn-call { display: inline-flex; }
  .services-cta { display: block; }
  .btn { min-height: 56px; padding: 0 var(--s4); font-size: 21px; }

  .proof { padding: var(--s16) 0; }
  .proof .wrap { display: grid; grid-template-columns: 7fr 4fr; gap: var(--s12); align-items: end; }
  .quotes { grid-template-columns: 1fr; margin-top: 0; gap: var(--s5); }
  .quotes-more { grid-column: auto; }
  .quote blockquote p { font-size: 22px; }

  .services { padding: var(--s12) 0 var(--s16); }
  .services-head { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s8); align-items: end; }
  .services-lede { margin-top: 0; font-size: 21px; }
  .services-list { grid-template-columns: repeat(6, 1fr); margin-top: var(--s10); }
  .services-list > div { grid-column: span 2; }
  .services-list > div:nth-child(n+4) { grid-column: span 3; }
  .services-list dt { font-size: 30px; }

  .who { padding: var(--s16) 0; }
  .who-in { grid-template-columns: 6fr 5fr; gap: var(--s12); align-items: center; }
  .who-title { font-size: 44px; }
  .who-about { font-size: 21px; }

  .visit { padding: var(--s12) 0 var(--s16); }
  .visit-in { grid-template-columns: 7fr 5fr; gap: var(--s12); align-items: start; }
  .visit-access { font-size: 21px; }
  .visit-hours { padding-top: var(--s2); }

  .close { padding: var(--s16) 0; }
  .close-in { grid-template-columns: auto 1fr; align-items: end; column-gap: var(--s8); }
  .close-number { grid-row: 1 / 3; }
  .close .btn-call { justify-self: start; margin-top: 0; }

  .foot-in { grid-template-columns: 1fr 1fr 1fr 1fr; align-items: start; }
}

@media (hover: hover) and (pointer: fine) {
  .btn-call:hover { background: var(--nuit); color: #fff; }
  .hero .btn-call:hover, .top-call:hover, .close .btn-call:hover { background: var(--menuiserie); color: var(--nuit); }
  .btn-ghost:hover { background: var(--menuiserie); color: var(--nuit); }
  .btn-ghost-dark:hover { background: var(--nuit); color: var(--menuiserie); }
  .top-nav a:hover { color: var(--laiton-clair); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
