:root {
  --ink: #202529;
  --paper: #f7f8f8;
  --silver: #dce2e5;
  --muted: #657077;
  --line: #dce0e2;
  --display: "Bricolage Grotesque", sans-serif;
  --body: "Manrope", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.65 var(--body);
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #60849a;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(44px, 5.5vw, 84px);
}
[hidden] {
  display: none !important;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
  margin-bottom: 22px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 99;
  padding: 12px;
  background: white;
  color: var(--ink);
}
.skip:focus {
  top: 10px;
}
.header {
  height: 82px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(247, 248, 248, 0.94);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -3px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.brand-mark {
  width: 19px;
  height: 27px;
  border: 1.5px solid currentColor;
  border-radius: 12px 12px 0 0;
  position: relative;
  display: block;
}
.brand-mark:after {
  content: "";
  position: absolute;
  inset: 0 50% 0 auto;
  border-left: 1px solid currentColor;
}
.descriptor {
  font-size: 11px;
}
.header nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
}
.header nav a {
  padding: 10px 15px;
  border-radius: 30px;
  transition: background 0.25s;
}
.header nav a:hover {
  background: var(--silver);
}
.hero {
  min-height: 650px;
  height: calc(100svh - 126px);
  max-height: 1000px;
  position: relative;
  background: var(--ink);
  color: white;
  overflow: hidden;
}
.hero-media,
.hero-media > img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media > img {
  object-fit: cover;
  object-position: center 60%;
}
#hero-incoming {
  opacity: 0;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(12, 18, 22, 0.65), rgba(12, 18, 22, 0.05) 80%),
    linear-gradient(0deg, rgba(12, 18, 22, 0.75), transparent 55%);
  pointer-events: none;
}
.hero-topline {
  position: absolute;
  top: 28px;
  left: 4%;
  right: 4%;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.14em;
}
.hero-copy {
  position: absolute;
  left: 7%;
  top: 22%;
  max-width: 86%;
}
.hero h1 {
  font-size: clamp(70px, 8.8vw, 146px);
  line-height: 0.94;
  max-width: 1000px;
}
.hero h1 span {
  color: #dfe5e8;
}
.hero-copy > .eyebrow {
  font-size: 11px;
  margin-bottom: 24px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 15px 25px;
  background: var(--ink);
  border: 1px solid transparent;
  color: white;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  transition:
    transform 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}
.button:hover {
  transform: translateY(-3px);
  background: #3e4b53;
  box-shadow: 0 8px 22px #16212818;
}
.button.light {
  background: white;
  color: var(--ink);
}
.button.light:hover {
  background: var(--silver);
}
.hero-copy > .button {
  margin-top: 34px;
}
.hero-bottom {
  position: absolute;
  left: 7%;
  right: 4%;
  bottom: 38px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.hero-property {
  display: grid;
  gap: 5px;
}
.hero-property > span {
  font-size: 10px;
  color: #dce2e5;
}
.hero-property button {
  font-family: var(--display);
  font-size: 23px;
  background: none;
  border: 0;
  padding: 5px 0;
  text-align: left;
  transition: opacity 0.2s;
}
.hero-property button:hover {
  opacity: 0.75;
}
.hero-reel {
  display: flex;
  gap: 7px;
  padding: 9px;
  background: #1c242840;
  backdrop-filter: blur(20px);
  border: 1px solid #ffffff40;
  border-radius: 19px;
}
.hero-reel button {
  border: 2px solid transparent;
  position: relative;
  border-radius: 9px;
  width: 64px;
  height: 48px;
  padding: 0;
  overflow: hidden;
  opacity: 0.55;
  transition:
    opacity 0.3s,
    transform 0.3s,
    border-color 0.3s;
  background: #4b555d;
}
.hero-reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-reel button[aria-pressed="true"] {
  opacity: 1;
  border-color: white;
  transform: translateY(-4px);
}
.hero-reel button:hover {
  opacity: 1;
  transform: translateY(-4px);
}
.hero-error {
  position: absolute;
  bottom: 4px;
  left: 7%;
  background: var(--ink);
  padding: 5px 10px;
  font-size: 11px;
}
.section {
  padding: 100px 6%;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
}
.section-heading > p {
  max-width: 350px;
  color: var(--muted);
  font-size: 13px;
}
.discovery {
  margin: 44px 0 28px;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
legend {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  border: 1px solid currentColor;
  border-radius: 40px;
  background: transparent;
  padding: 10px 17px;
  transition:
    background 0.25s,
    color 0.25s,
    opacity 0.25s;
}
.text-button:hover {
  background: var(--ink);
  color: var(--paper);
}
.text-button:disabled {
  opacity: 0.4;
  cursor: default;
}
.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0;
  font-size: 11px;
  color: var(--muted);
}
.results-line .text-button {
  border-color: var(--line);
}
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.property-card {
  position: relative;
  min-width: 0;
}
.property-photo {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  background: var(--silver);
  aspect-ratio: 4/5;
  border-radius: 9px;
}
.property-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.property-photo:hover img,
.property-photo:focus-visible img {
  transform: scale(1.055);
}
.photo-label {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 12px);
  opacity: 0;
  white-space: nowrap;
  font-size: 11px;
  background: #ffffffed;
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 40px;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.property-photo:hover .photo-label,
.property-photo:focus-visible .photo-label {
  opacity: 1;
  transform: translate(-50%, 0);
}
.property-location {
  font-size: 10px;
  color: var(--muted);
  margin: 20px 0 9px;
}
.property-name {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--display);
  font-size: clamp(23px, 2.25vw, 35px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-align: left;
  transition: color 0.25s;
}
.property-name:hover {
  color: #647985;
}
.property-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 19px;
  padding-top: 14px;
  font-size: 10px;
  color: var(--muted);
}
.property-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.sample-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 26px;
  line-height: 1.7;
}
.empty {
  text-align: center;
  padding: 65px 10px;
  border-radius: 12px;
  background: #e9edef;
}
.empty h3 {
  font-size: 30px;
}
.empty p {
  margin: 14px auto 24px;
  max-width: 430px;
  font-size: 13px;
}
.reveal-item {
  animation: arrive 0.5s both;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.perspectives {
  background: #20292f;
  color: #f4f6f7;
  padding: 90px 4% 40px;
}
.perspective-heading {
  padding: 0 2% 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 0 50px;
}
.perspective-heading .eyebrow {
  grid-column: 1/-1;
  color: #bbc6cc;
}
.perspective-heading h2 span {
  color: #bfcbd2;
}
.perspective-heading > p:last-child {
  justify-self: end;
  max-width: 280px;
  font-size: 13px;
  color: #c4cdd2;
}
.places {
  display: flex;
  gap: 12px;
  height: 580px;
}
.place {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 0;
  border: 0;
  border-radius: 9px;
  min-width: 0;
  color: white;
  background: #434e56;
  transition: flex 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.place.active {
  flex: 2.1;
}
.place > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s;
}
.place:hover > img {
  transform: scale(1.045);
}
.place:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0c151cdf, transparent 65%);
}
.place-copy {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 24px;
  bottom: 28px;
  display: grid;
  gap: 14px;
}
.place-copy strong {
  font: 500 clamp(24px, 2.7vw, 43px) / 1 var(--display);
  letter-spacing: -0.03em;
}
.place-copy > span {
  font-size: 12px;
  line-height: 1.6;
  max-width: 310px;
  display: none;
}
.place.active .place-copy > span {
  display: block;
  animation: arrive 0.5s both;
}
.place-copy small {
  font-size: 10px;
  color: #e0e7eb;
  opacity: 0.8;
}
.place-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  font-size: 11px;
  color: #c9d3d8;
}
.place-caption .text-button {
  border-color: #667780;
  color: white;
}
.place-caption .text-button:hover {
  background: white;
  color: var(--ink);
}
footer {
  padding: 45px 6% 30px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.footer-brand {
  font: 600 clamp(100px, 23vw, 340px) / 0.9 var(--display);
  letter-spacing: -0.075em;
  display: inline-block;
}
footer > div {
  border-top: 1px solid #657077;
  margin-top: 35px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #c5ced3;
}
footer a:hover {
  opacity: 0.75;
}
dialog {
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  border: 0;
  border-radius: 18px;
  width: min(1150px, 94vw);
  max-height: 92svh;
  overscroll-behavior: contain;
  box-shadow: 0 25px 100px #0005;
}
dialog::backdrop {
  background: #0b161ed0;
  backdrop-filter: blur(12px);
}
dialog[open] {
  animation: arrive 0.3s;
}
.dialog-top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #f7f8f8ee;
  backdrop-filter: blur(15px);
  padding: 16px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.12em;
}
.close {
  border: 1px solid var(--line);
  border-radius: 40px;
  min-height: 44px;
  padding: 8px 18px;
  background: white;
  font-size: 11px;
}
.close:hover {
  background: var(--silver);
}
.property-detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.detail-gallery {
  padding: 28px;
  min-width: 0;
}
.detail-gallery > img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 9px;
  background: var(--silver);
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 11px;
}
.gallery-controls button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 8px 16px;
  background: transparent;
  font-size: 11px;
}
.gallery-controls button:hover {
  background: var(--silver);
}
#photo-caption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 14px;
}
.detail-info {
  padding: 36px 30px 36px 10px;
}
.detail-info h2 {
  font-size: clamp(36px, 4vw, 58px);
}
.detail-price {
  font-size: 25px;
  font-family: var(--display);
  margin: 20px 0;
}
dl {
  margin: 0;
}
#detail-facts {
  display: flex;
  gap: 35px;
  border-block: 1px solid var(--line);
  padding: 20px 0;
  margin-bottom: 22px;
}
dt {
  font-size: 10px;
  color: var(--muted);
}
dd {
  margin: 0;
  font-size: 20px;
}
#detail-description {
  font-size: 13px;
  color: var(--muted);
}
#detail-highlights {
  padding-left: 16px;
  font-size: 11px;
  line-height: 2;
}
#gallery-error {
  padding: 18px 28px;
  background: #dbe3e8;
  font-size: 12px;
}
@media (min-width: 1500px) {
  .section {
    padding-inline: max(6%, calc((100% - 1380px) / 2));
  }
}
@media (max-width: 1000px) {
  .header {
    gap: 15px;
  }
  .descriptor {
    display: none;
  }
  .hero-bottom {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .hero-reel button {
    width: 58px;
    height: 44px;
  }
  .places {
    height: 490px;
  }
  .place-copy {
    left: 19px;
    right: 15px;
  }
  .property-detail {
    grid-template-columns: 1fr 1fr;
  }
  .detail-info {
    padding: 25px 20px 25px 0;
  }
  #detail-facts {
    gap: 20px;
  }
  .property-meta {
    display: grid;
    gap: 4px;
  }
  .section-heading > p {
    max-width: 270px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 78px;
  }
  .header {
    height: 66px;
    padding: 0 5%;
    gap: 10px;
  }
  .brand {
    font-size: 31px;
  }
  .brand-mark {
    width: 16px;
    height: 23px;
  }
  .header nav {
    display: none;
  }
  .hero {
    min-height: 610px;
    height: calc(100svh - 110px);
    max-height: 860px;
  }
  .hero-media > img {
    object-position: 62% 60%;
  }
  .hero-topline {
    left: 6%;
    right: 6%;
    top: 22px;
    font-size: 8px;
  }
  .hero-topline > span:last-child {
    display: none;
  }
  .hero-copy {
    top: 23%;
    left: 6%;
    max-width: 90%;
  }
  .hero-copy > .eyebrow {
    font-size: 9px;
    margin-bottom: 20px;
  }
  .hero h1 {
    font-size: clamp(56px, 13.5vw, 90px);
    line-height: 1;
  }
  .hero-copy > .button {
    margin-top: 26px;
  }
  .hero-bottom {
    left: 6%;
    right: 6%;
    bottom: 24px;
    gap: 19px;
  }
  .hero-property button {
    font-size: 22px;
  }
  .hero-reel {
    width: 100%;
    justify-content: space-between;
    padding: 7px;
    gap: 5px;
    border-radius: 14px;
  }
  .hero-reel button {
    flex: 1;
    min-width: 0;
    width: auto;
    height: 43px;
  }
  .section {
    padding: 65px 6%;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    margin-top: 24px;
    max-width: 350px;
    font-size: 12px;
  }
  .discovery {
    margin-top: 30px;
  }
  .results-line {
    font-size: 10px;
    gap: 10px;
  }
  .results-line .text-button {
    font-size: 10px;
    padding-inline: 12px;
  }
  .property-grid {
    grid-template-columns: 1fr;
    gap: 37px;
  }
  .property-photo {
    aspect-ratio: 5/4;
  }
  .property-name {
    font-size: 32px;
  }
  .property-meta {
    display: flex;
    font-size: 11px;
    margin-top: 15px;
  }
  .property-location {
    margin-top: 15px;
  }
  .photo-label {
    opacity: 1;
    transform: translate(-50%, 0);
    padding: 9px 17px;
    bottom: 17px;
    font-size: 10px;
  }
  .perspectives {
    padding: 65px 6% 30px;
  }
  .perspective-heading {
    display: block;
    padding: 0 0 30px;
  }
  .perspective-heading > p:last-child {
    margin-top: 24px;
    font-size: 12px;
  }
  .places {
    height: auto;
    flex-direction: column;
    gap: 10px;
  }
  .place {
    flex: none;
    height: 170px;
    transition: height 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .place.active {
    height: 390px;
    flex: none;
  }
  .place-copy {
    left: 23px;
    bottom: 24px;
  }
  .place-copy strong {
    font-size: 34px;
  }
  .place-copy small {
    font-size: 10px;
  }
  .place-caption {
    font-size: 10px;
    align-items: start;
  }
  .place-caption > span {
    max-width: 145px;
  }
  .place-caption .text-button {
    white-space: nowrap;
    font-size: 10px;
    padding: 9px 13px;
  }
  footer {
    padding: 35px 6% 25px;
  }
  footer > div {
    display: grid;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    font-size: 9px;
  }
  .footer-brand {
    font-size: 27vw;
  }
  dialog {
    width: 94vw;
    max-height: 94svh;
    border-radius: 14px;
  }
  .dialog-top {
    padding: 12px 17px;
  }
  .property-detail {
    grid-template-columns: 1fr;
  }
  .detail-gallery {
    padding: 18px;
  }
  .detail-gallery > img {
    aspect-ratio: 4/3;
  }
  .detail-info {
    padding: 12px 22px 28px;
  }
  .detail-info h2 {
    font-size: 40px;
  }
  .detail-info .eyebrow {
    margin-bottom: 16px;
  }
  #detail-facts {
    justify-content: space-between;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  button {
    border: 1px solid ButtonText;
  }
  .hero-shade {
    background: #0009;
  }
  .hero-reel button {
    opacity: 1;
  }
}
/* Purpose-built dropdowns keep native radio/checkbox keyboard behaviour. */
.filter-menus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.filter-menu {
  position: relative;
  min-width: 0;
}
.filter-menu[open] {
  z-index: 12;
}
.filter-menu summary {
  -webkit-tap-highlight-color: transparent;
  list-style: none;
  cursor: pointer;
  padding: 15px 46px 15px 21px;
  border: 1px solid #cbd3d8;
  border-radius: 18px;
  position: relative;
  min-height: 81px;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.filter-menu summary::-webkit-details-marker {
  display: none;
}
.filter-menu summary:focus-visible {
  outline: 3px solid #60849a;
  outline-offset: 4px;
}
.filter-menu summary:hover,
.filter-menu[open] summary {
  border-color: #738793;
  box-shadow: 0 4px 18px #20252908;
}
.filter-label {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.filter-value {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  display: block;
}
.filter-toggle {
  position: absolute;
  right: 20px;
  top: 38px;
  width: 10px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transition: transform 0.2s;
}
.filter-menu[open] .filter-toggle {
  transform: rotate(90deg);
}
.filter-menu.has-selection summary {
  background: #e9eff2;
  border-color: #9eafb9;
}
.filter-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: max(100%, 270px);
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 13px;
  box-shadow: 0 18px 50px #17283224;
  max-height: min(410px, 60svh);
  overflow: auto;
  overscroll-behavior: contain;
}
.filter-menu:nth-child(3n) .filter-panel {
  left: auto;
  right: 0;
}
.filter-panel legend {
  padding: 4px 10px 9px;
  margin: 0;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.025em;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.4;
}
.filter-option:hover {
  background: #f0f3f5;
}
.filter-option:has(input:checked) {
  background: #e8eef1;
  color: #172e3c;
}
.filter-option input {
  accent-color: #354d5c;
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}
.filter-option small {
  font-size: 10px;
  color: var(--muted);
  margin-left: auto;
  min-width: 20px;
  text-align: center;
}
.filter-done {
  margin-top: 10px;
  width: 100%;
  min-height: 42px;
  padding: 10px 15px;
}
.filter-status {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  margin-top: 16px;
}
#active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.filter-chip {
  border: 1px solid #c3ced4;
  border-radius: 30px;
  background: #e9eef1;
  min-height: 36px;
  padding: 7px 13px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-chip:hover {
  background: #dce6eb;
}
.filter-chip span {
  font-size: 16px;
  line-height: 1;
}
#reset-filters {
  font-size: 10px;
  white-space: nowrap;
  border-color: var(--line);
  min-height: 36px;
  padding: 7px 14px;
}
.property-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}
.property-tags span {
  display: inline-block;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 9px;
  line-height: 1.5;
  color: #56656e;
  background: #eef1f3;
}
#detail-tags {
  margin-top: 24px;
}
@media (max-width: 700px) {
  .header nav {
    display: flex;
    margin-left: auto;
    font-size: 11px;
  }
  .header nav a {
    padding: 10px 12px;
  }
  .header nav a:last-child {
    display: none;
  }
  .filter-menus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .filter-menu summary {
    padding: 13px 29px 13px 13px;
    min-height: 78px;
    border-radius: 14px;
  }
  .filter-label {
    font-size: 8px;
  }
  .filter-value {
    font-size: 11px;
  }
  .filter-toggle {
    right: 12px;
    top: 36px;
    width: 8px;
  }
  .filter-menu:nth-child(n) .filter-panel {
    left: 0;
    right: auto;
  }
  .filter-menu:nth-child(2n) .filter-panel {
    left: auto;
    right: 0;
  }
  .filter-status {
    flex-wrap: wrap;
    gap: 10px;
  }
  .property-tags {
    gap: 6px;
  }
  .results-line > span {
    font-size: 9px;
    text-align: right;
  }
}
@media (forced-colors: active) {
  .filter-option:has(input:checked) {
    outline: 1px solid Highlight;
  }
  .filter-menu.has-selection summary {
    outline: 1px solid Highlight;
  }
}

.filter-toggle {
  width: 7px;
  height: 7px;
  border: 0;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  top: 35px;
}
.filter-menu[open] .filter-toggle {
  transform: rotate(225deg);
}
.filter-panel {
  max-height: var(--panel-height, min(410px, 60svh));
}
.filter-menu.opens-up .filter-panel {
  top: auto;
  bottom: calc(100% + 8px);
}
@media (max-width: 700px) {
  .filter-toggle {
    width: 7px;
    top: 33px;
  }
}
/* Compact filters with a separate ordering capsule. */
.filter-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: start;
}
.filter-menus {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.sort-capsule {
  padding: 8px;
  border: 1px solid #d0dade;
  border-radius: 22px;
  background: #e7edf0;
}
.sort-capsule summary {
  background: transparent;
  border-color: transparent;
}
.sort-capsule .filter-panel {
  left: auto;
  right: 0;
}
.filter-menu summary {
  min-height: 65px;
  padding: 10px 35px 10px 15px;
  border-radius: 14px;
}
.filter-label {
  margin-bottom: 3px;
}
.filter-value {
  font-size: 12px;
}
.filter-toggle {
  top: 27px;
  right: 15px;
}
.filter-panel {
  padding: 9px;
  border-radius: 15px;
}
.filter-panel legend {
  padding: 3px 8px 7px;
}
.filter-option {
  padding: 8px;
  gap: 10px;
}
.filter-panel-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.filter-clear {
  background: transparent;
  border: 0;
  font-size: 11px;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 30px;
}
.filter-clear:hover {
  background: #e9eef1;
}
.filter-panel-actions .filter-done {
  margin: 0;
  flex: 1;
  width: auto;
  min-height: 44px;
}
.home-folio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3%;
  min-height: 670px;
  align-items: center;
  background: #e9edf0;
  overflow: hidden;
}
.folio-copy h2 {
  font-size: clamp(44px, 5.2vw, 78px);
}
.folio-copy > p:not(.eyebrow) {
  max-width: 360px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}
.folio-copy > .button {
  margin-top: 28px;
}
.folio-copy #folio-status {
  font-size: 10px;
  margin-top: 18px;
}
.folio-stage {
  min-width: 0;
}
.home-fan {
  position: relative;
  height: 380px;
  perspective: 1200px;
  isolation: isolate;
}
.fan-card {
  position: absolute;
  width: 62%;
  max-width: 330px;
  height: 345px;
  left: 19%;
  top: 20px;
  border: 5px solid white;
  background: white;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px #16212822;
  transform: translateX(calc(var(--offset) * 31%))
    translateY(calc(var(--offset) * 8px)) rotate(calc(var(--offset) * 10deg));
  transform-origin: 50% 110%;
  transition:
    transform 0.65s cubic-bezier(0.2, 0.75, 0.2, 1),
    box-shadow 0.5s;
  z-index: calc(3 - var(--offset));
  text-align: left;
}
.fan-card img {
  width: 100%;
  height: 74%;
  object-fit: cover;
}
.fan-card > span {
  display: grid;
  gap: 3px;
  padding: 12px 15px;
  color: var(--ink);
}
.fan-card small {
  font-size: 9px;
  color: var(--muted);
}
.fan-card strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
}
.fan-card em {
  font-size: 9px;
  font-style: normal;
  color: var(--muted);
}
.home-fan:hover .fan-card,
.home-fan:focus-within .fan-card {
  transform: translateX(calc(var(--offset) * 45%))
    rotate(calc(var(--offset) * 14deg));
}
.home-fan .fan-card:hover,
.home-fan .fan-card:focus-visible {
  transform: translateX(calc(var(--offset) * 36%)) translateY(-35px) rotate(0);
  z-index: 5;
  box-shadow: 0 26px 55px #16212833;
}
#folio-empty {
  padding: 35px;
  border: 1px solid #bbc7ce;
  border-radius: 20px;
  text-align: center;
}
#folio-empty p {
  margin-bottom: 20px;
}
@media (max-width: 1000px) {
  .filter-layout {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 14px;
  }
  .filter-menus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-folio {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-bottom: 65px;
  }
  .folio-copy {
    max-width: 650px;
  }
  .folio-stage {
    max-width: 640px;
    width: 100%;
    margin: auto;
  }
  .filter-menus .filter-menu:nth-child(n) .filter-panel {
    left: 0;
    right: auto;
  }
  .filter-menus .filter-menu:nth-child(2n) .filter-panel {
    left: auto;
    right: 0;
  }
}
@media (max-width: 700px) {
  .filter-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .sort-capsule {
    width: 190px;
    justify-self: end;
    padding: 5px;
    border-radius: 18px;
  }
  .filter-menu summary {
    padding: 10px 29px 10px 12px;
    min-height: 62px;
  }
  .filter-value {
    font-size: 11px;
  }
  .filter-toggle {
    top: 26px;
    right: 12px;
  }
  .sort-capsule .filter-panel {
    left: auto !important;
    right: 0 !important;
  }
  .home-folio {
    gap: 45px;
    padding-bottom: 65px;
  }
  .home-fan {
    height: 330px;
  }
  .fan-card {
    height: 285px;
    max-width: none;
    width: 62%;
    left: 19%;
    border-width: 4px;
  }
  .fan-card img {
    height: 70%;
  }
  .fan-card > span {
    padding: 10px 9px;
  }
  .fan-card strong {
    font-size: 17px;
  }
  .fan-card small,
  .fan-card em {
    font-size: 8px;
  }
  .folio-copy h2 {
    font-size: clamp(43px, 11vw, 65px);
  }
  .home-fan:hover .fan-card,
  .home-fan:focus-within .fan-card {
    transform: translateX(calc(var(--offset) * 30%))
      rotate(calc(var(--offset) * 10deg));
  }
  .home-fan .fan-card:hover,
  .home-fan .fan-card:focus-visible {
    transform: translateX(calc(var(--offset) * 28%)) translateY(-25px) rotate(0);
  }
}
