:root {
  --navy: #19324a;
  --blue: #276a88;
  --paper: #fffdf4;
  --red: #dd4b39;
  --yellow: #ffd268;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f3f0e5;
  color: var(--navy);
  font:
    16px/1.5 system-ui,
    sans-serif;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  background: white;
  padding: 0.5rem;
}
header {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  padding-bottom: 4rem;
}
nav {
  max-width: 1100px;
  margin: auto;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.header-title {
  color: white;
  font-size: 1.35rem;
  font-weight: 900;
  margin-left: auto;
  text-align: right;
}
nav a {
  color: white;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}
nav a:visited {
  color: white;
}
nav a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}
.hero {
  max-width: 1100px;
  margin: 4rem auto 0;
  padding: 1.25rem;
}
.hero > p:first-child {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--yellow);
  font-weight: 800;
}
.hero h1 {
  font:
    800 clamp(2.8rem, 7vw, 5.5rem)/0.95 Georgia,
    serif;
  margin: 0.15em 0;
}
.hero #description {
  max-width: 700px;
  font-size: 1.15rem;
}
.hero #facts {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.hero #facts span {
  background: #ffffff18;
  border: 1px solid #ffffff45;
  border-radius: 99px;
  padding: 0.4rem 0.7rem;
}
main {
  max-width: 1100px;
  margin: -2rem auto 4rem;
  padding: 0 1.25rem;
}
.tools {
  background: white;
  padding: 1rem;
  border-radius: 14px;
  display: flex;
  gap: 1rem;
  align-items: end;
  box-shadow: 0 8px 30px #19324a20;
}
.tools label {
  display: grid;
  gap: 0.25rem;
  flex: 1;
  font-weight: 700;
}
.tools input,
.tools select,
.tools button {
  font: inherit;
  padding: 0.7rem;
  border: 1px solid #a9b2b5;
  border-radius: 8px;
}
.tools button {
  background: var(--red);
  color: white;
  border: 0;
  font-weight: 800;
}
.status {
  margin: 1.5rem 0;
  background: var(--paper);
  padding: 1rem;
  border-left: 5px solid var(--yellow);
}
.status:empty {
  display: none;
}
.listings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.sale {
  background: white;
  border-radius: 12px;
  padding: 1.25rem;
  border-top: 6px solid var(--blue);
  break-inside: avoid;
}
.sale h2 {
  margin: 0.1rem 0;
}
.sale .hours {
  font-weight: 800;
  color: var(--red);
}
#map-state {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 2px dashed #91a0a7;
  border-radius: 12px;
}
footer {
  text-align: center;
  padding: 2rem;
  background: var(--navy);
  color: white;
}
footer a,
footer a:visited { color:white; font-weight:800; }
footer a:focus-visible { outline:3px solid var(--yellow); outline-offset:4px; }
@media (max-width: 680px) {
  .tools,
  .listings {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero {
    margin-top: 2rem;
  }
  nav {
    gap: 1rem;
  }
  .header-title { font-size:1.05rem; }
}
@media print {
  header {
    background: white;
    color: var(--navy);
    padding: 0;
  }
  .hero {
    margin: 0;
  }
  .tools, header, footer, #map-state {
    display: none;
  }
  main {
    margin: 0;
  }
  .listings {
    grid-template-columns: 1fr 1fr;
  }
  .sale {
    border: 1px solid #777;
  }
  .status {
    display: none;
  }
}
.print-guide .listings {
  width: min(8in, 100%);
  margin: auto;
  background: #fff;
  padding: 0.25in;
  box-shadow: 0 10px 35px #19324a20;
}
.print-guide .sale {
  border-radius: 0;
}
.garage-root { display:none; }
.garage-page { width:8.5in; height:11in; overflow:hidden; color:#2f2517; background:#fff; }
.garage-header { padding-bottom:12px; border-bottom:2px solid #d6b98c; }
.garage-header p { margin:0; color:#7f2d2f; font-size:.76rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.garage-header h1 { margin:3px 0; font-size:3rem; line-height:1.02; }
.garage-header h2 { margin:0; color:#5b6779; font-size:1rem; }
.garage-listings { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.garage-entry { display:grid; gap:4px; padding:8px; border:1px solid #d6b98c; border-radius:9px; break-inside:avoid; }
.garage-entry h3,.garage-entry p { margin:0; }
.garage-entry h3 { font-size:.9rem; line-height:1.15; }
.garage-entry p { font-size:.75rem; line-height:1.25; }
.garage-entry .hours { color:inherit; font-weight:700; }
.print-guide .garage-root { display:grid; }
.print-guide .listings,.print-guide #map-state { display:none; }
.print-guide header { padding-bottom:0; }
.print-guide header .hero { display:none; }
.print-guide main { margin:2rem auto 4rem; }
@page {
  size: letter;
  margin: 0.25in;
}
@media print {
  .print-guide>header,.print-guide>footer,.print-guide main>.tools,.print-guide main>.status { display:none!important; }
  .print-guide main { max-width:none; margin:0; padding:0; }
  .print-guide .garage-root { display:block; }
  .print-guide .listings {
    width: 8in;
    min-height: 10.5in;
    padding: 0;
    box-shadow: none;
  }
  .sale {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
