:root {
  color-scheme: light;
  --ink: #17343a;
  --teal: #075e63;
  --paper: #f4fbfb;
  --line: #cddfde;
  background: var(--paper);
  color: var(--ink);
  font: 100%/1.55 system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: var(--teal); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .5rem 1rem; background: white; z-index: 1; }
.skip:focus { top: 1rem; }
.shell { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.hero { background: linear-gradient(180deg, #f4fbfb40 0, #f4fbfb45 12rem, var(--paper) 40rem), url('/mowzii-hero.jpg') center top / auto 42rem no-repeat; }
.header, .footer { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 1rem; }
.header { padding-block: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--teal); font-size: 1.7rem; font-weight: 800; text-decoration: none; }
.brand img { object-fit: contain; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.15rem; }
.header nav { background: #fff; border-radius: .8rem; padding: .55rem .85rem; }
.header a, .footer a { font-weight: 700; }
.introduction { padding: clamp(3.5rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem); }
.introduction p { font-size: clamp(1.05rem, 2.4vw, 1.35rem); max-width: 33rem; margin-top: .9rem; }
.introduction .eyebrow { color: var(--ink); font-weight: 800; font-size: .81rem; letter-spacing: .13em; text-transform: uppercase; }
h1 { font-size: clamp(2.55rem, 7.4vw, 6.3rem); max-width: 13ch; line-height: .99; letter-spacing: -.055em; color: var(--teal); margin-top: .75rem; }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); letter-spacing: -.035em; line-height: 1.13; }
h3 { font-size: 1.15rem; color: var(--teal); margin-bottom: .5rem; }
.button { display: inline-block; margin-top: 1.4rem; background: var(--teal); color: #fff; font-weight: 700; text-decoration: none; padding: .75rem 1.15rem; border-radius: .75rem; }
.button:hover { background: #084c50; }
.map-section, .overview { scroll-margin-top: 1rem; }
.map-section { margin-bottom: 3rem; }
.map-header { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; margin-bottom: .85rem; }
.map-header p { margin-top: .4rem; }
.map-controls { display: flex; gap: .75rem; flex-wrap: wrap; }
.map-controls[hidden], .map-controls label[hidden] { display: none; }
.map-controls label { display: grid; gap: .2rem; font-weight: 700; font-size: .87rem; }
.map-controls select { border: 1px solid var(--teal); border-radius: .55rem; background: #fff; color: var(--ink); padding: .55rem; font: inherit; font-size: 1rem; }
.property-map { isolation: isolate; height: clamp(22rem, 62vh, 41rem); overflow: hidden; border: 1px solid var(--line); border-radius: 1.15rem; background: #e1eeeb; }
.property-map > p { padding: 1rem; }
.mowzii-map-marker { display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--teal); color: #fff; font-size: 1rem; box-shadow: 0 2px 6px #17343a50; }
.mowzii-map-marker.listing { border-radius: .45rem; background: #f8e043; color: #172c30; font-size: .7rem; font-weight: 800; }
.mowzii-map-marker.cluster { border-radius: .55rem; background: #00ebf5; }
.mowzii-map-marker img { width: 27px; height: 27px; object-fit: contain; }
.mowzii-map-marker .count { position: absolute; top: -.45rem; right: -.45rem; min-width: 1.25rem; padding-inline: .15rem; border: 1px solid #fff; border-radius: 1rem; background: var(--teal); text-align: center; font-size: .75rem; font-weight: 800; color: #fff; }
.leaflet-popup-content strong { display: block; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.3rem; }
.cards article, .launch { border: 1px solid var(--line); border-radius: 1.15rem; padding: clamp(1.1rem, 3vw, 1.75rem); background: #fff; }
.launch { margin-block: 2.6rem; background: #fffce3; border-color: #eee2a7; }
.launch p { margin-block: .55rem .8rem; max-width: 59ch; }
.launch a { font-weight: 700; }
.footer { border-top: 1px solid var(--line); padding-block: 1.4rem 2rem; }

@media (max-width: 720px) {
  .shell { width: calc(100% - 2rem); }
  .hero { background-position: 41% top; }
  .cards { grid-template-columns: 1fr; }
}
