@font-face {
  font-family: Inter;
  src: url("inter-latin.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #252725;
  --muted: #515950;
  --paper: #fdfdfc;
  --line: #daddd6;
  --quiet: #f3f5f0;
  --red: #be3127;
  --red-dark: #a02720;
  --green: #24483c;
  font-family: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: .95rem; line-height: 1.55; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.12; }
h1 { font-size: clamp(2.25rem,5.35vw,4.1rem); margin-bottom: .36em; }
h2 { font-size: clamp(1.36rem,2.5vw,1.95rem); margin-bottom: .9rem; }
h3 { font-size: clamp(1rem,1.4vw,1.15rem); margin-bottom: .32rem; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #267681; outline-offset: 3px; }
.wrap { width: min(1090px,calc(100% - 3.25rem)); margin-inline: auto; }
.skip { position: fixed; inset: .5rem auto auto .5rem; padding: .6rem; background: white; transform: translateY(-160%); z-index: 4; }
.skip:focus { transform: none; }
.header { background: #fff; border-top: 2px solid var(--red); border-bottom: 1px solid #e9ece6; }
.header-inner { display: flex; align-items: center; min-height: 67px; gap: 1.4rem; }
.brand { display: inline-flex; gap: .55rem; align-items: center; text-decoration: none; font-size: 1.22rem; font-weight: 800; letter-spacing: -.045em; }
.brand-mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .45rem; color: #fff; background: var(--red); }
.header nav, .footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.2rem; }
.header nav { margin-left: auto; }
.header nav a, .footer nav a { font-size: .83rem; font-weight: 600; text-decoration: none; padding-block: .45rem; }
.header nav a:hover, .footer nav a:hover { color: var(--red-dark); text-decoration: underline; }
.button { min-height: 42px; display: inline-flex; justify-content: center; align-items: center; gap: .55em; padding: .55rem .9rem; border: 1px solid var(--red); border-radius: .4rem; background: var(--red); color: #fff; font: inherit; font-size: .85rem; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; }
.button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button-outline { background: #fff; color: var(--red-dark); }
.button-outline:hover { background: #fbefeb; color: var(--red-dark); }
.eyebrow { display: inline-block; margin-bottom: .6rem; color: var(--red-dark); font-size: .72rem; font-weight: 800; letter-spacing: .115em; text-transform: uppercase; text-decoration: none; }
a.eyebrow:hover { text-decoration: underline; }
.hero { padding: 1.45rem 0 1.35rem; background: #e8efe9; border-bottom: 1px solid #d7e1d8; color: #193d32; }
.hero-copy { max-width: 960px; margin-bottom: .8rem; }
.hero .eyebrow { margin: 0 0 .25rem; }
.hero h1 { margin: 0 0 .25rem; font-size: clamp(1.75rem,4vw,2.65rem); }
.hero-subtitle { margin: 0; max-width: 75ch; color: #425c50; font-size: .93rem; }
.hero .search { gap: .5rem; padding: .55rem; }
.hero + .section { padding-top: clamp(1.35rem,3vw,2rem); }
.intro { background: var(--quiet); padding: 1.35rem 0 1.7rem; border-bottom: 1px solid var(--line); }
.intro h1 { font-size: clamp(1.9rem,4.5vw,3.25rem); }
.search { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr) minmax(0,1fr) auto; align-items: end; gap: .65rem; max-width: 1010px; padding: .8rem; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: .55rem; }
label { display: grid; gap: .25rem; min-width: 0; color: var(--ink); font-size: .77rem; font-weight: 700; }
input, select { color: inherit; font: inherit; font-weight: 500; background: var(--quiet); border: 1px solid #dee2da; border-radius: .34rem; min-height: 42px; padding: .5rem .6rem; max-width: 100%; width: 100%; }
.section { padding-block: clamp(1.6rem,4.8vw,3rem); }
.section-title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem; margin-bottom: 1.08rem; }
.section-title h2 { margin: 0; }
.section-title form { display: flex; align-items: end; gap: .4rem; }
.section-title form .button { border-color: var(--line); color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.card { min-width: 0; min-height: 148px; border: 1px solid var(--line); border-radius: .44rem; background: #fff; overflow: hidden; }
.card a { display: grid; grid-template-columns: clamp(88px,10vw,130px) minmax(0,1fr); height: 100%; text-decoration: none; }
.card a:hover { background: #fafbf8; }
.card a:hover h3 { color: var(--red-dark); }
.card a:focus-visible { outline-offset: -3px; }
.card-media { position: relative; overflow: hidden; display: grid; place-items: center; color: #406152; background: linear-gradient(150deg,#e9eee3,#dbe6d7); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media span { font-size: 1.9rem; font-weight: 750; }
.card-info { min-width: 0; display: flex; flex-direction: column; padding: .76rem .93rem; }
.card-info h3 { overflow-wrap: anywhere; }
.card-location { margin: 0 0 .25rem; color: var(--red-dark); font-size: .72rem; font-weight: 800; }
.card-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0 0 .55rem; color: var(--muted); font-size: .78rem; line-height: 1.45; overflow-wrap: anywhere; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; padding-top: .48rem; border-top: 1px solid var(--line); font-size: .75rem; font-weight: 750; }
.card-bottom strong { color: var(--green); }
.continuation { margin-top: .85rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: .6rem 0 0; }
.chips a { min-height: 34px; display: inline-flex; align-items: center; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: .35rem; background: var(--quiet); font-size: .78rem; text-decoration: none; }
.chips a:hover { color: var(--red-dark); border-color: var(--red); }
.discover { border-top: 1px solid var(--line); margin-top: 2.65rem; padding-bottom: .55rem; }
.discover + .section { padding-top: 1.6rem; }
.pagination { display: flex; align-items: center; justify-content: center; gap: .55rem; margin: 1.55rem 0 0; }
.current-page { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: .22rem; border-radius: .39rem; background: var(--red); color: white; font-size: .85rem; font-weight: 700; }
.empty { background: var(--quiet); border: 1px solid var(--line); padding: 1rem; border-radius: .42rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .22rem .52rem; font-size: .77rem; color: var(--muted); margin-bottom: .85rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs a + a::before { content: '/'; color: #777e76; padding-right: .52rem; }
.detail { padding-block: 1.65rem; }
.detail-heading { margin-bottom: 1.3rem; }
.detail-heading h1 { font-size: clamp(2rem,4.3vw,3.25rem); margin-bottom: .23em; overflow-wrap: anywhere; }
.detail-meta { display: flex; flex-wrap: wrap; gap: .3rem .8rem; color: var(--muted); font-size: .85rem; }
.detail-meta span + span::before { content: '·'; margin-right: .8rem; color: #747a73; }
.detail-price { color: var(--green); font-size: 1.33rem; font-weight: 800; margin: .55rem 0 0; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(238px,29%); grid-template-areas: "detail contact"; gap: clamp(1.15rem,2.9vw,2rem); align-items: start; }
.detail-layout-single { grid-template-columns: minmax(0,760px); grid-template-areas: "detail"; }
.sheet { grid-area: detail; min-width: 0; }
.contact-panel { grid-area: contact; position: sticky; top: 1rem; padding: 1.22rem; background: #fff; border: 1px solid var(--line); border-radius: .6rem; }
.contact-panel h2 { margin-bottom: .75rem; font-size: clamp(1.15rem,2vw,1.48rem); overflow-wrap: anywhere; }
.contact-email { margin-bottom: .8rem; font-size: .83rem; color: var(--muted); overflow-wrap: anywhere; }
.contact-actions { display: grid; gap: .5rem; }
.contact-actions .button { width: 100%; overflow-wrap: anywhere; }
.detail-section { padding: .9rem 0 1.45rem; border-bottom: 1px solid var(--line); }
.detail-section + .detail-section { padding-top: 1.3rem; }
.detail-section > p { margin-bottom: .35rem; }
.detail-photo { margin: 0 0 1.1rem; border: 1px solid var(--line); background: var(--quiet); border-radius: .58rem; overflow: hidden; }
.detail-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 450px; object-fit: contain; }
.detail-map { width: 100%; height: clamp(200px,36vw,325px); margin: .5rem 0; border: 1px solid var(--line); border-radius: .48rem; }
.description { margin: 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.text-link { color: var(--red-dark); font-size: .87rem; font-weight: 700; }
.ad { margin-block: 1.4rem; border-block: 1px solid var(--line); padding: .45rem 0; text-align: center; color: var(--muted); font-size: .72rem; }
.ad ins { display: block; min-height: 120px; }
.footer { margin-top: 1.75rem; border-top: 1px solid var(--line); background: var(--quiet); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; justify-content: space-between; align-items: center; padding-block: 1.4rem; }
.error { padding-block: 3rem; }
.mark { color: var(--red-dark); font-weight: 800; }
@media (max-width: 780px) {
  .wrap { width: calc(100% - 2rem); }
  .search { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .search label:first-child, .search .button { grid-column: 1 / -1; }
  .detail-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "contact" "detail"; }
  .detail-layout-single { grid-template-areas: "detail"; }
  .contact-panel { position: static; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 1.45rem); }
  .header-inner { flex-wrap: wrap; gap: .2rem .7rem; justify-content: space-between; padding-block: .5rem; }
  .header nav { order: 2; width: 100%; margin-left: 0; }
  .grid { grid-template-columns: minmax(0,1fr); }
  .card { min-height: 129px; }
  .card a { grid-template-columns: clamp(76px,25vw,116px) minmax(0,1fr); }
  .hero { padding: 1rem 0; }
  .hero-copy { margin-bottom: .65rem; }
  .hero .search { column-gap: .45rem; row-gap: .35rem; }
  .hero .search .button { min-height: 44px; }
  .contact-actions .button { min-height: 44px; }
}
