/* Hallmark · shape: Feature Stack · genre: editorial · theme: Ink (deal 2/3, seed real-estate-agency-evalmad-06f2·5e9c507b·2026-11-04·r0) · job: buy · draw: 33cfcd
 * hero: Stage · nav: masthead · footer: letter close · imagery: photographs and the newest listing · signature: the newest listing, price set large · ink: paper
 * axes: light/grotesk-sans/chromatic-teal · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the hero could be any agency; led with a real listing and its price */
/* Hallmark · waive 44c · the listing card and the text column are both 559px tall · the card is the visual, not the photo alone */
/* Hallmark · waive 49b · real listing titles and photo credits cannot shorten · two lines at 320 */
@font-face {
  font-family: "Epilogue";
  src: url("../fonts/epilogue-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(99.5% 0.003 100); --color-paper-2: oklch(97% 0.004 100); --color-paper-3: oklch(94% 0.006 100);
  --color-ink: oklch(16% 0 0); --color-ink-2: oklch(28% 0 0); --color-muted: oklch(44% 0 0);
  --color-rule: oklch(89% 0.004 100); --color-rule-2: oklch(93.5% 0.003 100);
  --color-accent: oklch(50% 0.095 188); --color-accent-ink: oklch(99.5% 0.003 100); --color-accent-soft: oklch(93% 0.05 190); --color-accent-soft-ink: oklch(27% 0.045 190);
  --color-focus: oklch(50% 0.095 188);
  --font-display: "Epilogue", ui-sans-serif, system-ui, sans-serif; --font-body: var(--font-display);
  --font-outlier: "IBM Plex Mono", ui-monospace, monospace;
  --radius-card: 12px; --radius-pill: 999px; --rule-hair: 1px;
  --shadow-card: 0 20px 40px oklch(20% 0 0 / 0.16);
  --tracking-display: -0.04em; --display-weight: 700;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: var(--color-accent-soft); color: var(--color-accent-soft-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: muted */
[data-slot] > img { filter: saturate(0.65) contrast(0.97); }


:root {
  --container: 1360px;
  --masthead-h: 144.375px;
  --paper: var(--color-paper);
  --paper-2: var(--color-paper-2);
  --paper-3: var(--color-paper-3);
  --ink: var(--color-ink);
  --ink-2: var(--color-ink-2);
  --muted: var(--color-muted);
  --rule: var(--color-rule);
  --rule-2: var(--color-rule-2);
  --accent: var(--color-accent);
  --accent-ink: var(--color-accent-ink);
  --accent-soft: var(--color-accent-soft);
  --accent-soft-ink: var(--color-accent-soft-ink);
  --radius: var(--radius-card);
}

.skip {
  position: fixed;
  left: var(--space-md);
  top: -100px;
  z-index: var(--z-toast);
  background: var(--ink);
  color: var(--paper);
  padding: var(--space-sm) var(--space-md);
}
.skip:focus { top: var(--space-md); }

/* Masthead */
.masthead { border-bottom: var(--rule-hair) solid var(--rule); }
.masthead__inner {
  min-height: var(--masthead-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  padding-block: var(--space-md) var(--space-sm);
  text-align: center;
}
.masthead__brand {
  font-size: clamp(2.75rem, 4.4vw, 3.5rem);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking-display);
  line-height: 1;
  text-decoration: none;
}
.masthead__line {
  font-size: var(--text-sm);
  color: var(--muted);
}
.masthead__nav {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-xs);
  font-size: var(--text-sm);
}
.masthead__nav a {
  font-weight: 600;
  text-decoration: none;
}
.masthead__nav a:hover,
.masthead__nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.3em;
}
.menu { display: none; }

/* Hero */
.hero {
  min-height: calc(100svh - var(--masthead-h));
  display: flex;
  align-items: center;
  padding-block: var(--space-xl) var(--space-2xl);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-2xl);
  align-items: stretch;
  width: 100%;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  gap: var(--space-lg);
}
.hero__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-lg);
}
.hero__note {
  font-size: var(--text-sm);
  color: var(--muted);
}
.hero__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 34ch;
}
.hero__checklist li {
  padding-top: var(--space-xs);
  border-top: var(--rule-hair) solid var(--rule);
  font-size: var(--text-sm);
  color: var(--ink-2);
}
.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 4.4vw, 5rem);
}
.hero .lead { max-width: 38ch; }
.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Feature listing */
.feature {
  position: relative;
  background: var(--paper-2);
  border: var(--rule-hair) solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-md);
}
.feature__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}
.feature__ref {
  font-size: var(--text-xs);
  color: var(--muted);
}
.feature__title {
  max-width: 21ch;
  font-size: var(--text-xl);
  line-height: 1.15;
}
.feature__title a { text-decoration: none; }
.feature__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.feature__meta {
  font-size: var(--text-sm);
  color: var(--muted);
}
.feature__price {
  font-size: var(--text-2xl);
  font-weight: var(--display-weight);
  line-height: 1.1;
}
.feature__link {
  font-size: var(--text-sm);
  font-weight: 600;
}

/* Controls */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-lg);
  border: var(--rule-hair) solid var(--rule);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}
.btn:hover { background: var(--paper-3); }
.btn:active { background: var(--paper-3); border-color: var(--muted); }
.btn--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn--primary:hover,
.btn--primary:active {
  background: var(--ink-2);
  border-color: var(--ink-2);
}
.btn--wide { width: 100%; }
.btn:disabled,
.chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--paper-3);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 var(--space-sm);
  border-radius: var(--radius-pill);
  background: var(--paper-3);
  color: var(--ink-2);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
}
.tag--in {
  background: var(--accent-soft);
  color: var(--accent-soft-ink);
}

/* Sections */
.section { padding-block: var(--section-gap); }
.section--tight { padding-block: var(--space-2xl); }
.section--band { background: var(--paper-2); }
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: end;
  margin-bottom: var(--space-xl);
}
.section__head h2 { max-width: 17ch; }
.section__head p {
  max-width: 44ch;
  color: var(--muted);
}

/* Listing rows */
.listing-list { border-top: var(--rule-hair) solid var(--ink); }
.row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: var(--space-md);
  align-items: center;
  padding-block: var(--space-md);
  border-bottom: var(--rule-hair) solid var(--rule);
  text-decoration: none;
  transition: background-color var(--dur-micro) var(--ease-out);
}
.row:hover { background: var(--paper-2); }
.row:active { background: var(--paper-3); }
.row__thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}
.row__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xs);
  min-width: 0;
}
.row__title {
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.25;
}
.row__meta {
  font-size: var(--text-sm);
  color: var(--muted);
}
.row__price {
  font-size: var(--text-lg);
  font-weight: var(--display-weight);
  white-space: nowrap;
}
.row__tags {
  display: flex;
  gap: var(--space-2xs);
  justify-content: flex-end;
}

/* Filters */
.filters {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  font-size: var(--text-sm);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-md);
  border: var(--rule-hair) solid var(--muted);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--text-md);
  font-weight: 400;
}
.field textarea {
  min-height: 120px;
  padding-block: var(--space-sm);
  resize: vertical;
}
.field--search { flex: 1 1 320px; max-width: 440px; }
.field--full { grid-column: 1 / -1; }
.chips {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}
.chip {
  min-height: 44px;
  padding: 0 var(--space-md);
  border: var(--rule-hair) solid var(--rule);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}
.chip:hover { background: var(--paper-2); }
.chip:active { background: var(--paper-3); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.list-note {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Alerts */
.alert__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-2xl);
  align-items: start;
}
.alert__lead {
  margin-top: var(--space-md);
  max-width: 42ch;
  color: var(--ink-2);
}
.plain-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 0;
  display: flex;
  flex-direction: column;
}
.plain-list li {
  padding-block: var(--space-xs);
  border-top: var(--rule-hair) solid var(--rule);
  font-size: var(--text-sm);
}
.alert__panel {
  display: grid;
  gap: var(--space-lg);
}
.alert-form {
  background: var(--paper);
  border: var(--rule-hair) solid var(--rule);
  border-radius: var(--radius);
  padding: var(--space-lg);
}
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-md);
}
.check {
  display: flex;
  gap: var(--space-xs);
  align-items: flex-start;
  margin-block: var(--space-md);
  font-size: var(--text-sm);
  color: var(--ink-2);
}
.check input { margin-top: var(--space-2xs); }
.form-note {
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--muted);
}
.alert-sample { display: grid; gap: var(--space-xs); }
.alert-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: var(--space-lg);
}
.alert-card__brand {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--accent-soft);
}
.alert-card__title {
  margin-top: var(--space-xs);
  font-size: var(--text-lg);
  font-weight: 600;
}
.alert-card__meta {
  font-size: var(--text-sm);
  color: var(--paper-3);
}
.alert-card__time {
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  color: var(--paper-3);
}
.caption {
  font-size: var(--text-xs);
  color: var(--muted);
}

/* Places */
.places__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: var(--space-2xl);
  align-items: center;
}
.places__figure { margin: 0; }
.places__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.places__figure figcaption {
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--muted);
}
.places__lead {
  margin-top: var(--space-md);
  max-width: 44ch;
}
.places__list {
  margin-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--ink);
}
.places__list--page { margin-top: 0; }
.place {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-md);
  border-bottom: var(--rule-hair) solid var(--rule);
  text-decoration: none;
  font-size: var(--text-lg);
  font-weight: 600;
  transition: background-color var(--dur-micro) var(--ease-out);
}
.place:hover { background: var(--paper-2); }
.place:active { background: var(--paper-3); }
.place__count {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--muted);
  text-align: right;
}

/* Steps */
.steps {
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: 0;
  padding-left: var(--space-lg);
}
.steps li {
  padding-top: var(--space-sm);
  padding-left: var(--space-xs);
  border-top: var(--rule-hair) solid var(--rule);
}
.steps li::marker {
  font-weight: var(--display-weight);
  color: var(--accent);
}
.steps strong {
  display: block;
  margin-bottom: var(--space-2xs);
  font-weight: 600;
}

/* Exclusive band and page */
.section--exclusive {
  padding-block: var(--space-2xl);
  border-top: var(--rule-hair) solid var(--rule);
  border-bottom: var(--rule-hair) solid var(--rule);
}
.exclusive-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--space-xl);
  align-items: center;
}
.exclusive-band__count {
  font-size: var(--text-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--tracking-display);
  line-height: 0.9;
}
.exclusive-band__copy h2 { max-width: 14ch; }
.exclusive-band__copy p {
  margin-top: var(--space-xs);
  max-width: 48ch;
  color: var(--muted);
}
.exclusive-conditions {
  max-width: 760px;
  margin-top: var(--space-xl);
}
.exclusive-conditions h2 { margin-bottom: var(--space-sm); }
.exclusive-link { margin-top: var(--space-xl); }

/* Facts */
.facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 var(--space-2xl);
  margin: 0;
}
.facts > div {
  padding-block: var(--space-lg);
  border-top: var(--rule-hair) solid var(--rule);
}
.facts dt {
  font-size: var(--text-lg);
  font-weight: 600;
}
.facts dd {
  margin: var(--space-xs) 0 0;
  max-width: 46ch;
  color: var(--ink-2);
}

/* Contact */
.section--contact {
  background: var(--ink);
  color: var(--paper);
}
.section--contact h2 { color: var(--paper); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: start;
}
.contact__lead {
  margin-top: var(--space-md);
  max-width: 42ch;
  color: var(--paper-3);
}
.contact__line {
  margin-top: var(--space-md);
  font-size: var(--text-xl);
  font-weight: 600;
}
.contact__line a {
  color: var(--ink);
  text-decoration-color: var(--accent);
}
.section--contact .contact__line a {
  color: var(--paper);
}
.contact__note {
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--paper-3);
}
.contact-form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: var(--space-lg);
}
.contact-form--page {
  max-width: 640px;
  margin-top: var(--space-xl);
  background: var(--paper-2);
  border: var(--rule-hair) solid var(--rule);
}

/* Page heads and prose */
.page-head {
  padding-block: var(--space-2xl);
  border-bottom: var(--rule-hair) solid var(--rule);
}
.crumbs {
  margin-bottom: var(--space-md);
  font-size: var(--text-xs);
  color: var(--muted);
}
.crumbs a { text-decoration: none; }
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: var(--space-md); }
.prose { max-width: 760px; }
.prose h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-size: var(--text-xl);
}
.prose p {
  margin-top: var(--space-sm);
  color: var(--ink-2);
}
.letter {
  max-width: 620px;
  margin-block: var(--space-xl) var(--space-2xl);
}
.letter__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--text-sm);
  font-weight: var(--display-weight);
}
.letter p {
  margin-top: var(--space-md);
  color: var(--ink-2);
}
.letter p.letter__mark {
  margin-top: 0;
  color: var(--paper);
}
.letter__sign {
  margin-top: var(--space-xl);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--ink);
}
.caption { color: var(--muted); }

/* Detail */
.detail { padding-block: var(--space-xl) var(--space-3xl); }
.detail__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-xl);
  margin-top: var(--space-md);
}
.detail__head h1 {
  max-width: 18ch;
  font-size: var(--text-display-s);
}
.detail__price {
  font-size: var(--text-display-s);
  font-weight: var(--display-weight);
  line-height: 1;
  white-space: nowrap;
}
.detail__meta {
  margin-top: var(--space-sm);
  color: var(--muted);
}
.detail__tags {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}
.detail__ref {
  font-size: var(--text-xs);
  color: var(--muted);
}
.detail__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.detail__gallery figure { margin: 0; }
.detail__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.detail__main { aspect-ratio: 4 / 3; }
.detail__side { aspect-ratio: 4 / 3; }
.detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  gap: var(--space-2xl);
  align-items: start;
  margin-top: var(--space-2xl);
}
.detail__body h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-size: var(--text-xl);
}
.detail__body h2:first-child { margin-top: 0; }
.detail__body p {
  max-width: 65ch;
  color: var(--ink-2);
}
.detail__body p + p { margin-top: var(--space-sm); }
.detail__facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 var(--space-lg);
  margin: 0;
}
.detail__facts > div {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-xs);
  border-bottom: var(--rule-hair) solid var(--rule-2);
}
.detail__facts dt {
  font-size: var(--text-sm);
  color: var(--muted);
}
.detail__facts dd {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
}
.detail__note {
  margin-top: var(--space-lg);
  font-size: var(--text-xs);
  color: var(--muted);
}
.detail__aside { position: sticky; top: var(--space-lg); }
.agent-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  background: var(--paper-2);
  border: var(--rule-hair) solid var(--rule);
  border-radius: var(--radius);
  padding: var(--space-lg);
}
.agent-card__name {
  font-size: var(--text-lg);
  font-weight: 600;
}
.agent-card__role,
.agent-card__text,
.agent-card__small {
  font-size: var(--text-sm);
  color: var(--muted);
}
.agent-card .btn { margin-top: var(--space-xs); }
.section__head--related { margin-top: var(--space-3xl); }
.section__head--related h2 { font-size: var(--text-2xl); }
.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 var(--space-lg);
}
.ticks li {
  padding-block: var(--space-xs);
  border-top: var(--rule-hair) solid var(--rule);
  font-size: var(--text-sm);
}

/* Neighborhood pages */
.place-hero {
  padding-block: var(--space-xl) var(--space-2xl);
  border-bottom: var(--rule-hair) solid var(--rule);
}
.place-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-2xl);
  align-items: center;
}
.place-hero__figure { margin: 0; }
.place-hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.place-hero__market {
  margin-top: var(--space-lg);
  font-size: var(--text-2xl);
  font-weight: var(--display-weight);
}
.place-body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
  gap: var(--space-2xl);
  align-items: start;
}
.place-body__text p {
  margin-top: var(--space-md);
  max-width: 65ch;
  color: var(--ink-2);
}
.place-body__text h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-size: var(--text-xl);
}
.place-body__aside { position: sticky; top: var(--space-lg); }
.place-body__aside .listing-list { margin-top: var(--space-sm); }
.place-body__aside .row { grid-template-columns: 56px minmax(0, 1fr); }
.place-body__aside .row__thumb { width: 56px; height: 56px; }
.place-body__aside .row__title { font-size: var(--text-md); }
.place-body__aside .row__price { grid-column: 2; font-size: var(--text-md); }
.place-body__aside .row__tags { grid-column: 2; justify-content: flex-start; }
.place-body__aside .btn { margin-top: var(--space-lg); }
.contact__grid--page { margin-top: var(--space-lg); }
.prose:has(.contact__grid--page) { max-width: 100%; }

/* Footer */
.footer {
  padding-block: var(--space-3xl) var(--space-xl);
  border-top: var(--rule-hair) solid var(--rule);
}
.footer__inner {
  display: grid;
  gap: var(--space-2xl);
}
.footer__close {
  font-size: var(--text-2xl);
  font-weight: var(--display-weight);
  line-height: 1.1;
}
.footer__close span { font-size: var(--text-3xl); }
.footer__cols {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: var(--space-xl);
}
.footer__strong {
  margin-bottom: var(--space-xs);
  font-weight: 600;
}
.footer__cols p {
  font-size: var(--text-sm);
  color: var(--ink-2);
}
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding-top: var(--space-md);
  border-top: var(--rule-hair) solid var(--rule);
  font-size: var(--text-xs);
  color: var(--muted);
}
.credits summary { cursor: pointer; }
.credits ul {
  margin-top: var(--space-xs);
  padding-left: var(--space-md);
}

/* Mobile */
@media (max-width: 900px) {
  :root { --masthead-h: 112px; }
  .masthead__brand { font-size: clamp(2.5rem, 8vw, 3rem); }
  .masthead__nav { display: none; }
  .menu {
    display: block;
    width: 100%;
    margin-top: var(--space-xs);
  }
  .menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: var(--rule-hair) solid var(--rule);
    border-radius: 10px;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav {
    display: flex;
    flex-direction: column;
    padding-top: var(--space-xs);
  }
  .menu nav a {
    padding-block: var(--space-sm);
    border-bottom: var(--rule-hair) solid var(--rule);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
  }
  .hero { min-height: 0; }
  .hero__grid,
  .alert__grid,
  .places__grid,
  .contact__grid,
  .place-hero__grid,
  .place-body,
  .detail__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .section__head { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
  .exclusive-band { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
  .exclusive-band__count { font-size: var(--text-3xl); }
  .hero { padding-block: var(--space-xl) var(--space-2xl); }
  .hero h1 { max-width: 15ch; }
  .feature__media { aspect-ratio: 16 / 10; }
  .feature__body { position: static; border-top: 0; background: transparent; }
  .feature__title { font-size: var(--text-lg); }
  .filters { align-items: stretch; }
  .field--search { max-width: none; }
  .places__figure { max-width: 480px; }
  .contact__grid { gap: var(--space-xl); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .detail__head { flex-direction: column; gap: var(--space-md); }
  .detail__gallery { grid-template-columns: minmax(0, 1fr); }
  .detail__side { display: none; }
  .detail__aside,
  .place-body__aside { position: static; }
  .section__head--related { margin-top: var(--space-2xl); }
}

@media (max-width: 620px) {
  .row {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-areas:
      "thumb body"
      "thumb price"
      "thumb tags";
    gap: var(--space-xs) var(--space-sm);
    align-items: start;
  }
  .row__thumb { grid-area: thumb; width: 56px; height: 56px; }
  .row__body { grid-area: body; }
  .row__price { grid-area: price; font-size: var(--text-md); }
  .row__tags { grid-area: tags; justify-content: flex-start; }
  .row__title { font-size: var(--text-md); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .detail__facts { grid-template-columns: minmax(0, 1fr); }
  .ticks { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { flex: 1 1 100%; }
  .btn { width: 100%; }
  .chip { flex: 1 1 auto; }
  .footer__close span { font-size: var(--text-2xl); }
}
