@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --facade: #E3D6BB;
  --paper: #F7F5F0;
  --ink: #1C2127;
  --stone: #5E584E;
  --screw: #C9B994;
  --enamel: #1E4C8F;
  --enamel-deep: #173C72;
  --line: rgba(28, 33, 39, 0.16);
  --pad: 24px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-stretch: 100%;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}

a { color: var(--enamel); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.h2 {
  font-size: 32px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Header: desktop only, the phone gets the pinned call bar */
.top { display: none; }

/* The plate */
.plate {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--facade);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px var(--pad) 64px;
  text-align: center;
}
.screw {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--screw);
}
.screw::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 50%;
  height: 1.5px;
  margin-top: -0.75px;
  background: #A99873;
  transform: rotate(var(--turn, 35deg));
}
.screw-tl { top: 18px; left: 18px; }
.screw-tr { top: 18px; right: 18px; --turn: -20deg; }
.screw-bl { bottom: 18px; left: 18px; --turn: 80deg; }
.screw-br { bottom: 18px; right: 18px; --turn: 10deg; }

.plate-in { width: 100%; max-width: 1100px; }
.plate-kicker,
.plate-line {
  font-stretch: 125%;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  line-height: 1.4;
}
.plate-name .plate-kicker { display: block; color: var(--stone); margin-bottom: 16px; }
.plate-name {
  font-stretch: 125%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(40px, 13vw, 136px);
  line-height: 0.98;
  margin-bottom: 24px;
}
.plate-name span { display: block; }
.plate-line { font-size: 14px; margin-top: 8px; }
.plate-line-soft { color: var(--stone); }
.plate-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--screw);
  margin: 32px auto;
}
.plate-proof {
  font-size: 18px;
  line-height: 1.45;
  max-width: 24em;
  margin: 0 auto 32px;
}
.plate-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.btn-call {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: min(100%, 300px);
  padding: 14px 32px 15px;
  border-radius: var(--radius);
  background: var(--enamel);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 300ms var(--ease);
}
.btn-call-label { font-size: 17px; font-weight: 600; }
.btn-call-num { font-size: 15px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; opacity: 0.86; }
.plate-route {
  display: inline-block;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 17px;
}
.plate-notice:empty, .access-line:empty { display: none; }
.plate-notice {
  margin: 24px auto 0;
  max-width: 28em;
  font-size: 16px;
  font-weight: 600;
  white-space: pre-line;
}

/* Rendez-vous: opens on the number */
.rdv { padding-top: 80px; padding-bottom: 80px; }
.rdv-num {
  font-weight: 500;
  font-size: clamp(40px, 11vw, 140px);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rdv-num a { text-decoration: none; }
.rdv-grid { margin-top: 24px; }
.rdv-lead { font-size: 20px; line-height: 1.45; max-width: 22em; }
.facts { margin-top: 40px; }
.fact { padding: 16px 0 24px; border-top: 1px solid var(--line); }
.fact dt { font-weight: 600; font-size: 18px; }
.fact dd { color: var(--stone); font-size: 17px; margin-top: 4px; max-width: 26em; }

/* Hours and the 15 */
.hours-sec { padding-bottom: 80px; }
.week { list-style: none; margin-top: 24px; }
.week li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.week li:first-child { border-top: 1px solid var(--line); }
.day { font-weight: 500; }
.slots { text-align: right; font-variant-numeric: tabular-nums; }
.slots span + span::before { content: " · "; color: var(--stone); }
.slots .off { color: var(--stone); }
.slots:empty::before { content: "–"; color: var(--screw); }
.hours-note { margin-top: 16px; color: var(--stone); font-size: 16px; }
.hours-note a { white-space: nowrap; }

.urgent {
  margin: 48px calc(var(--pad) * -1) 0;
  padding: 40px var(--pad);
  background: var(--ink);
  color: var(--paper);
}
.urgent-title { font-size: 20px; line-height: 1.3; font-weight: 600; max-width: 18em; }
.urgent-num {
  display: inline-block;
  margin: 16px 0 8px;
  font-stretch: 125%;
  font-weight: 600;
  font-size: 96px;
  line-height: 1;
  color: var(--paper);
  text-decoration: none;
}
.urgent p { max-width: 26em; font-size: 17px; }
.urgent-small { margin-top: 16px; color: #B9B3A7; font-size: 15px !important; }

/* Access: opens on the house number */
.access { padding-top: 80px; padding-bottom: 96px; }
.n307 {
  font-stretch: 125%;
  font-weight: 600;
  font-size: clamp(120px, 34vw, 300px);
  line-height: 0.8;
  letter-spacing: 0.01em;
  color: var(--screw);
  margin-left: -0.04em;
}
.access-text { margin-top: 32px; }
.addr { margin-top: 16px; font-size: 22px; line-height: 1.4; white-space: pre-line; }
.access-line { margin-top: 12px; color: var(--stone); font-size: 17px; max-width: 26em; }
.link-route { display: inline-block; margin-top: 24px; font-weight: 500; font-size: 17px; padding: 8px 0; }

/* Close: the plate's sand again */
.close { position: relative; background: var(--facade); padding: 80px 0; }
.nw { white-space: nowrap; }
.close-in { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.close-title {
  font-stretch: 125%;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(24px, 6.4vw, 56px);
  line-height: 1.05;
  max-width: 16em;
}

/* Footer */
.foot { padding: 48px 0 40px; font-size: 15px; color: var(--stone); }
.foot-in { display: grid; gap: 24px; }
.foot-name { color: var(--ink); font-weight: 600; font-size: 16px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-legal a { color: var(--stone); }

/* Pinned call bar, phone */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: calc(64px + env(safe-area-inset-bottom));
  padding: 0 var(--pad) env(safe-area-inset-bottom);
  background: var(--enamel);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: transform 300ms var(--ease);
}
.callbar-num { font-weight: 400; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; opacity: 0.9; }
.callbar.is-hidden { transform: translateY(110%); }

/* Motion */
.js .reveal > * { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal > :nth-child(2) { transition-delay: 0.08s; }
.js .reveal > :nth-child(3) { transition-delay: 0.16s; }
.js .reveal > :nth-child(4) { transition-delay: 0.24s; }
.js .reveal.is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal > * { opacity: 1; transform: none; transition: none; }
  .callbar, .btn-call { transition: none; }
}

@media (hover: hover) and (pointer: fine) {
  .btn-call:hover, .top-call:hover { background: var(--enamel-deep); }
  .rdv-num a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
  .urgent-num:hover { text-decoration: underline; text-decoration-thickness: 4px; }
}

a:focus-visible { outline: 2px solid var(--enamel); outline-offset: 3px; }
.urgent a:focus-visible { outline-color: var(--paper); }

@media (max-width: 359px) {
  .plate-kicker, .plate-line { letter-spacing: 0.14em; }
}

/* Tablet */
@media (min-width: 640px) {
  :root { --pad: 40px; }
  .screw { width: 14px; height: 14px; }
  .screw-tl { top: 28px; left: 28px; }
  .screw-tr { top: 28px; right: 28px; }
  .screw-bl { bottom: 28px; left: 28px; }
  .screw-br { bottom: 28px; right: 28px; }
  .plate-kicker { font-size: 14px; }
  .plate-line { font-size: 15px; }
  .plate-proof { font-size: 20px; }
  .plate-actions { flex-direction: row; justify-content: center; gap: 16px; }
  .urgent { margin-left: 0; margin-right: 0; padding: 48px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-legal { grid-column: 1 / -1; }
}

@media (min-width: 640px) and (max-width: 959px) {
  .urgent { display: grid; grid-template-columns: 1fr auto; column-gap: 48px; align-items: start; }
  .urgent > * { grid-column: 1; }
  .urgent-title { margin-bottom: 16px; }
  .urgent .urgent-num { grid-column: 2; grid-row: 1 / span 3; margin: 0; font-size: 144px; }
}

/* Desktop */
@media (min-width: 960px) {
  :root { --pad: 48px; }
  body { padding-bottom: 0; }
  .callbar { display: none; }

  .top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 40px;
    height: 72px;
    padding: 0 var(--pad);
    background: var(--paper);
  }
  .top-name {
    font-stretch: 125%;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 14px;
    color: var(--ink);
    text-decoration: none;
    margin-right: auto;
  }
  .top-nav { display: flex; gap: 32px; }
  .top-nav a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; }
  .top-nav a:hover { color: var(--enamel); }
  .top-call {
    display: inline-block;
    padding: 12px 20px;
    border-radius: var(--radius);
    background: var(--enamel);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    transition: background-color 300ms var(--ease);
  }

  .plate { min-height: calc(100vh - 72px); padding: 96px var(--pad); }
  .plate-name { margin-bottom: 32px; }

  .rdv { padding-top: 128px; padding-bottom: 128px; }
  .rdv-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    margin-top: 48px;
    align-items: start;
  }
  .rdv-lead { font-size: 24px; }
  .facts { margin-top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }

  .h2 { font-size: 44px; }
  .hours-sec {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 64px;
    align-items: start;
    padding-bottom: 128px;
  }
  .week { margin-top: 32px; font-size: 19px; }
  .urgent { margin-top: 0; padding: 56px 48px 48px; }
  .urgent-title { font-size: 22px; }
  .urgent-num { font-size: 128px; }

  .access {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 64px;
    align-items: end;
    padding-top: 64px;
    padding-bottom: 128px;
  }
  .access-text { margin-top: 0; padding-bottom: 8px; }
  .addr { font-size: 26px; }

  .close { padding: 112px 0; }
  .close-in { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; }

  .foot-in { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
  .foot-legal { grid-column: auto; border-top: 0; padding-top: 0; flex-direction: column; gap: 8px; }
}
