:root {
  color-scheme: light;
  --ink: #22251f;
  --muted: #53594f;
  --line: #cccfc4;
  --paper: #fcfbf8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4.75vw, 5.25rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.4rem; }
body { margin: 0; font: 1rem/1.5 var(--sans); background: var(--paper); color: var(--ink); }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3e79a2; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
.wrap { width: min(100%, 1600px); padding-inline: var(--gutter); margin: 0 auto; }
.skip { position: absolute; top: 0; left: 0; z-index: 5; padding: .75rem 1rem; transform: translateY(-140%); background: white; color: black; }
.skip:focus-visible { transform: none; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner, .masthead nav, .price-line, .hero-meta, .photo-heading, .contact-methods, .footer-inner { display: flex; align-items: center; }
.masthead-inner { min-height: 4.5rem; justify-content: space-between; gap: 1rem; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; align-items: flex-start; gap: .08rem; }
.wordmark strong { font-size: 1.02rem; font-weight: 650; line-height: 1.25; letter-spacing: .145em; text-transform: uppercase; }
.wordmark span { font-size: .78rem; letter-spacing: .025em; color: var(--muted); }
.masthead nav { gap: clamp(1rem, 2.4vw, 2.5rem); }
.masthead nav a { min-height: 2.75rem; display: inline-flex; align-items: center; text-decoration: none; font-size: .9rem; }
.masthead nav a:hover, .footer-inner a:hover { text-decoration: underline; }
.masthead nav .nav-contact { border: 1px solid #9c9f93; border-radius: 3px; padding: 0 1.05rem; }
.hero-head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 2rem; padding: clamp(2rem,4vw,4.3rem) 0 clamp(1.35rem,2.4vw,2.35rem); }
.eyebrow { font: 600 .875rem/1.4 var(--sans); letter-spacing: .115em; text-transform: uppercase; color: #46513f; }
.hero-head h1 { font: 400 clamp(3.05rem,5.1vw,5.8rem)/1.04 var(--serif); letter-spacing: -.065em; margin: .37rem 0 .73rem; text-wrap: balance; }
.hero-meta { flex-wrap: wrap; column-gap: 1.2rem; row-gap: .35rem; color: var(--muted); }
.hero-meta p { font-size: .98rem; }
.facts { margin: 0; padding: 0 0 0 1.15rem; border-left: 1px solid #9d9f94; list-style: none; display: flex; align-items: center; gap: .7rem; font-size: .98rem; color: var(--ink); }
.facts li { white-space: nowrap; }
.facts li + li::before { content: "·"; color: #767a70; margin-right: .7rem; }
.offer { display: grid; justify-items: end; gap: .63rem; }
.price-line { gap: .55rem; align-items: baseline; white-space: nowrap; }
.price-line strong { font: 400 clamp(2.05rem,2.8vw,3.4rem)/1.06 var(--serif); letter-spacing: -.055em; }
.price-line span { font-size: .95rem; color: var(--muted); }
.button { display: inline-flex; min-height: 2.875rem; align-items: center; justify-content: center; text-align: center; padding: .66rem 1.12rem; font: 600 .94rem/1.2 var(--sans); text-decoration: none; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: white; }
.button:hover { background: #3c4739; border-color: #3c4739; }
.button.light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button.light:hover { background: #e5e9df; border-color: #e5e9df; }
.spread { display: grid; grid-template-columns: 1.57fr 1fr; gap: clamp(.35rem,.85vw,.85rem); aspect-ratio: 2.65 / 1; }
.spread .frame { display: block; overflow: hidden; min-width: 0; min-height: 0; background: #d4ccbb; }
.spread img { width: 100%; height: 100%; object-fit: cover; }
.spread .second img { object-position: 48% 56%; }
.gallery-actions { display: flex; justify-content: flex-end; padding-top: .2rem; }
.all-photos { display: inline-flex; gap: .55rem; align-items: center; min-height: 2.75rem; padding: .45rem 0; color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.all-photos:hover { text-decoration: underline; }
.grid-symbol { display: grid; width: .95rem; height: .95rem; grid-template: repeat(2,1fr)/repeat(2,1fr); gap: 2px; }
.grid-symbol i { border: 1.4px solid currentColor; }
.details { display: grid; grid-template-columns: .95fr 1fr; column-gap: clamp(3rem,8.5vw,9rem); padding-block: clamp(2.8rem,5.5vw,6rem); align-items: start; }
h2 { font: 400 clamp(2.15rem,3.4vw,3.8rem)/1.08 var(--serif); letter-spacing: -.052em; }
.story p { margin-top: 1.1rem; max-width: 38ch; font: 400 clamp(1.22rem,1.65vw,1.75rem)/1.48 var(--serif); letter-spacing: -.015em; }
.neighborhood-links { margin-top: 1.15rem; line-height: 1.7; }
.neighborhood-links a { display: inline-block; }
.neighborhood-links span { margin-inline: .3rem; color: var(--muted); }
.lease h2 { font: 600 .875rem/1.4 var(--sans); letter-spacing: .105em; text-transform: uppercase; margin: .2rem 0 .6rem; }
.lease dl div { display: grid; grid-template-columns: minmax(7.5rem,.8fr) minmax(0,1.25fr); align-items: baseline; gap: .6rem 1.2rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.lease dt { color: var(--muted); }
.lease dd { color: var(--ink); }
.gallery { padding: clamp(2rem,3.8vw,4rem) 0 clamp(2.7rem,5.5vw,6rem); border-top: 1px solid var(--line); }
.photo-heading { justify-content: space-between; gap: .75rem; align-items: baseline; padding-bottom: 1.35rem; }
.text-control { min-height: 2.75rem; padding: .4rem 0; background: transparent; border: 0; text-decoration: underline; text-underline-offset: .23em; font-size: .95rem; }
.photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.65rem,1.3vw,1.5rem); }
.photo-grid a { display: block; text-decoration: none; }
.photo-grid img { width: 100%; aspect-ratio: 3/2; height: auto; object-fit: cover; background: #e6e2d8; }
.contact { background: #262d25; color: white; padding: clamp(2.4rem,4.5vw,4.8rem) 0; }
.contact-inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.agent { display: flex; align-items: center; gap: clamp(1.1rem,2.4vw,2.6rem); }
.agent img { width: clamp(5rem,8.3vw,8.4rem); aspect-ratio: 4/5; height: auto; object-fit: cover; }
.agent h2 { margin-bottom: .55rem; font-size: clamp(2rem,3vw,3.3rem); }
.agent p { line-height: 1.45; }
.agent .broker { color: #d3d9ce; font-size: .9rem; }
.contact-methods { flex-wrap: wrap; justify-content: flex-end; gap: 1.3rem; }
.contact-methods .contact-link { min-height: 2.75rem; display: inline-flex; align-items: center; white-space: nowrap; }
.footer-inner { padding-block: 1.25rem; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.5rem; color: var(--muted); font-size: .83rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.viewer { position: fixed; inset: 0; padding: 0; border: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; background: #151814; color: white; }
.viewer::backdrop { background: #151814; }
.viewer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; }
.viewer-top, .viewer-bottom { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding: .65rem max(1.1rem,env(safe-area-inset-left)); }
.viewer-top { padding-top: max(.65rem,env(safe-area-inset-top)); border-bottom: 1px solid #42463e; }
.viewer-bottom { padding-bottom: max(.65rem,env(safe-area-inset-bottom)); }
.viewer-top p { font-size: .95rem; font-weight: 600; }
.viewer button { color: white; background: transparent; border: 1px solid #6a7065; min-width: 2.75rem; min-height: 2.75rem; padding: .43rem .86rem; border-radius: 3px; }
.viewer button:hover { background: #343a30; }
.viewer button:focus-visible { outline-color: #b9d4ff; }
.viewer figure { min-height: 0; display: grid; place-items: center; overflow: hidden; }
.viewer figure img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; touch-action: pan-y pinch-zoom; }
.viewer-count { color: #cfd5c9; font-size: .95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.viewer-controls { display: flex; gap: .45rem; }
.viewer-controls button { font-size: .94rem; }
@media (max-width: 860px) {
  .hero-head { column-gap: 1.1rem; }
  .hero-head h1 { font-size: clamp(3rem,5.4vw,4rem); }
  .hero-meta { display: grid; }
  .facts { border: 0; padding: 0; }
  .details { column-gap: 2.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .contact-methods { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .masthead-inner { min-height: 3.95rem; }
  .masthead nav a:not(.nav-contact) { display: none; }
  .masthead nav .nav-contact { padding-inline: .8rem; }
  .hero-head { display: block; padding-block: 1.65rem 1.15rem; }
  .hero-head h1 { font-size: clamp(2.9rem,9.6vw,3.85rem); line-height: .99; margin: .47rem 0 .75rem; }
  .hero-meta { row-gap: .28rem; }
  .facts, .hero-meta p { font-size: .93rem; }
  .facts { gap: .55rem; }
  .facts li + li::before { margin-right: .55rem; }
  .eyebrow { font-size: .875rem; }
  .offer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.05rem; }
  .price-line { gap: .35rem; }
  .price-line strong { font-size: 2.13rem; }
  .price-line span { font-size: .88rem; }
  .button { padding-inline: .95rem; }
  .spread { display: block; aspect-ratio: 1.27; margin-inline: calc(-1 * var(--gutter)); }
  .spread .frame { height: 100%; }
  .spread .second { display: none; }
  .spread .first img { object-position: 47% center; }
  .details { grid-template-columns: 1fr; gap: 2rem; }
  .story p { margin-top: .8rem; }
  .lease dl div { padding-block: .6rem; }
  .photo-heading { padding-bottom: .8rem; }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-methods { gap: .55rem 1rem; }
  .footer-inner { align-items: flex-start; }
  .viewer-bottom { align-items: center; }
}
@media (max-width: 350px) {
  :root { --gutter: .9rem; }
  .offer .button { padding-inline: .65rem; }
  .viewer-controls { gap: .25rem; }
  .viewer-controls button { padding-inline: .6rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.pet-terms summary { cursor: pointer; width: fit-content; }
.pet-terms p { margin-top: .4rem; font-size: .92rem; }
