@font-face {
  font-family: Manrope;
  src: url('/fonts/manrope-variable.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color: #241e22;
  background: #faf7f8;
  font: 16px/1.55 Manrope, system-ui, sans-serif;
  --accent: #7c2542;
  --muted: #61575c;
  --line: #e9dce1;
}

body { margin: 0; }
header, main, footer {
  box-sizing: border-box;
  max-width: 75rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 5vw, 3rem);
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  border-bottom: 1px solid var(--line);
}

a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: .25rem; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-decoration: none;
}

h1, h2, h3 { line-height: 1.2; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 6vw, 4rem); margin: .5rem 0 1.25rem; }
h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
p { margin: .5rem 0 1rem; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; }
.button {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: .65rem;
  padding: .65rem 1rem;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: #621a31; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.directions { display: flex; flex-wrap: wrap; gap: .7rem 1rem; margin: 1.5rem 0; }
section[id] { margin-top: 2rem; scroll-margin-top: 1rem; }

.card, .contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: .85rem;
  padding: 1.25rem;
}

.card strong, .price { color: var(--accent); font-size: 1.25rem; font-weight: 800; }
.quiet, figcaption { color: var(--muted); font-size: .9rem; }
.detail { display: grid; gap: 1.5rem; }
.detail article { min-width: 0; }
.detail figure { margin: 0; }
.detail img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: .85rem; }
figcaption { margin-top: .5rem; }
.contact { margin-top: 2.25rem; }
footer { color: var(--muted); font-size: .9rem; }

@media (min-width: 48rem) {
  .detail:has(figure) { grid-template-columns: 1.35fr 1fr; align-items: start; }
}
