/* Au Rythme du Pain, Treatment A: Layered Physical.
   Palette and type read off their own fascia, apron and shelving. */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/montserrat-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/montserrat-900.woff2') format('woff2');
}

:root {
  --ink: #111111;
  --paper: #F7F1E4;
  --paper-deep: #EDE3CC;
  --amber: #B8722A;
  --amber-deep: #7A4B1C;
  --denim: #3D5F80;
  --glow: #F5DFA0;
  --joinery: #3A4550;
  --white: #FFFFFF;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 2rem;
  --space-4: 4rem;

  --display: clamp(2.75rem, 9vw, 5.5rem);
  --heading: clamp(1.5rem, 4vw, 2.25rem);
  --body: 1rem;
  --small: 0.8125rem;

  --font-display: 'Montserrat', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: 'Montserrat', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); margin: 0; }

.container {
  max-width: 68rem;
  margin: 0 auto;
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid rgba(17,17,17,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0.6rem var(--space-2);
  max-width: 68rem;
  margin: 0 auto;
}
.nav-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  min-height: 44px;
}
.nav-mark img { width: 30px; height: 30px; }
.nav-mark span {
  display: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-call-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.1rem;
  background: var(--amber-deep);
  color: var(--white);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 2px;
  transition: background 0.15s ease-out, transform 0.15s ease-out;
}
.btn-call-nav:hover { background: var(--ink); transform: translateY(-1px); }

@media (min-width: 640px) {
  .nav-mark span { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.15) 0%, rgba(17,17,17,0.35) 55%, rgba(17,17,17,0.88) 100%);
}
.hero-inner {
  position: relative;
  padding: var(--space-4) var(--space-2) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  animation: rise 0.4s ease-out both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-snap {
  position: absolute;
  border: 6px solid var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  width: 34vw;
  max-width: 150px;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: none;
}
.hero-snap-a { top: 8%; right: 6%; transform: rotate(-4deg); }
.hero-snap-b { top: 20%; right: 20%; transform: rotate(3deg); z-index: 2; }
@media (min-width: 560px) {
  .hero-snap { display: block; }
}

.seal {
  align-self: flex-start;
  border: 1.5px solid var(--white);
  background: rgba(17,17,17,0.88);
  padding: 0.9rem 1.2rem;
  color: var(--white);
}
.seal .rule { height: 1px; background: var(--white); opacity: 0.6; margin: 0.5rem 0; }
.seal h1 {
  font-size: var(--display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.seal .tagline {
  font-size: var(--small);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.note-card {
  background: var(--paper);
  color: var(--ink);
  padding: var(--space-2);
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.note-card p { margin: 0; font-size: 0.95rem; }
.note-card .hours-line, .note-card .addr-line {
  font-variant-numeric: tabular-nums;
}
.note-card .addr-line a { text-decoration: underline; text-decoration-color: var(--amber); }

.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  background: var(--amber-deep);
  color: var(--white);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease-out, transform 0.15s ease-out;
}
.btn-call:hover { background: var(--ink); transform: translateY(-1px); }

.proof-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem var(--space-2);
  padding: 0.6rem var(--space-2);
  font-family: var(--font-text);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
}

/* ---------- Offering ---------- */
.section {
  padding: var(--space-4) 0;
}
.section-amber {
  background: var(--amber-deep);
  color: var(--white);
}
.section-amber a { color: var(--white); }
.section-ink {
  background: var(--ink);
  color: var(--paper);
}

.section-head {
  max-width: 40rem;
  margin: 0 0 var(--space-3);
}
.section-head h2 {
  font-size: var(--heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.section-head p {
  max-width: 38ch;
  margin-top: var(--space-1);
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 800px) {
  .offer-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}

.bread-list { list-style: none; margin: 0; padding: 0; }
.bread-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}
.bread-list .name { font-weight: 700; }
.bread-list .desc { display: block; font-weight: 400; font-size: 0.85rem; opacity: 0.85; margin-top: 0.15rem; }
.bread-group-title {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin: var(--space-2) 0 0.3rem;
}
.bread-group-title:first-child { margin-top: 0; }

.price-note {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px dashed rgba(255,255,255,0.4);
  font-size: var(--small);
}
.price-note dl { display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; margin: 0.5rem 0 0; }
.price-note dt { font-weight: 700; }
.price-note dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.price-note .caveat { display: block; margin-top: 0.6rem; opacity: 0.85; }

.photo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-1);
}
.photo-stack figure { margin: 0; }
.photo-stack .tall { grid-column: 1 / 2; grid-row: 1 / 3; }
.photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}
.photo-stack figcaption {
  font-size: 0.7rem;
  margin-top: 0.3rem;
  opacity: 0.85;
}

/* ---------- Craft / interior ---------- */
.craft-photo-wrap {
  position: relative;
  margin-top: var(--space-3);
}
.craft-photo-wrap img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center 55%;
}
.craft-photo-wrap figcaption {
  font-size: var(--small);
  opacity: 0.75;
  margin-top: 0.4rem;
}

.supplier-note {
  margin-top: var(--space-2);
  font-size: var(--small);
  opacity: 0.85;
}

/* ---------- Find us ---------- */
.find-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 800px) {
  .find-grid { grid-template-columns: 1fr 1fr; }
}
.find-block dt {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--amber-deep);
  margin-top: var(--space-2);
}
.find-block dt:first-child { margin-top: 0; }
.find-block dd {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
}
.find-block .tel {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-block: 12px;
}
.find-block dd a[href^="mailto"] {
  display: inline-block;
  padding-block: 12px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-2);
}
.social-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1rem;
  border: 1.5px solid var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.15s ease-out, color 0.15s ease-out;
}
.social-row a:hover { background: var(--ink); color: var(--paper); }

.directions-link {
  display: inline-block;
  margin-top: 0.4rem;
  padding-block: 12px;
  font-size: 0.85rem;
  text-decoration: underline;
  text-decoration-color: var(--amber);
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-3) 0;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
}
footer a { text-decoration: underline; text-decoration-color: var(--amber); }
.footer-legal { opacity: 0.75; margin-top: var(--space-2); width: 100%; }

/* ---------- Legal page ---------- */
.legal-body {
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--space-4) var(--space-2);
}
.legal-body h1 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.legal-body h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: var(--space-3);
}
.legal-body dl { margin: 0.5rem 0; }
.legal-body dt { font-weight: 700; margin-top: 0.5rem; }
.legal-body dd { margin: 0.1rem 0 0; }
.legal-body .missing { color: var(--amber-deep); font-style: italic; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-inner { animation: none; }
  .btn-call, .btn-call-nav, .social-row a { transition: none; }
}

/* ---------- Print ---------- */
@media print {
  .nav-wrap, .hero-photo, .hero-scrim, .hero-snap, .proof-bar, footer { display: none; }
  body { background: #fff; color: #000; }
  a[href^="http"]::after, a[href^="tel"]::after, a[href^="mailto"]::after {
    content: " (" attr(href) ")";
    font-size: 0.75em;
  }
  .section { padding: 0.5rem 0; page-break-inside: avoid; }
  .price-note, .find-block { page-break-inside: avoid; }
}
