:root {
  --ink: #16211f;
  --paper: #f6f4ee;
  --sand: #e7e2d8;
  --sea: #3b6264;
  --line: rgba(22, 33, 31, .23);
  --serif: "Playfair Display", Georgia, serif;
  --sans: Manrope, Arial, sans-serif;
  --mono: "DM Mono", monospace;
  --gutter: clamp(24px, 7vw, 118px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); }
body.dialog-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 5px; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: wait; opacity: .5; }
button, a, input, textarea, summary { touch-action: manipulation; }
img { display: block; max-width: 100%; }
button, a { -webkit-user-select: none; }
:focus-visible { outline: 3px solid #bd8f3f; outline-offset: 5px; }
h1, h2, h3, p, figure { margin-top: 0; }
h2 { font: 500 clamp(2.7rem, 4.8vw, 4.7rem)/1.06 var(--serif); letter-spacing: -.04em; margin: 15px 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.skip-link { position: fixed; z-index: 100; left: 18px; top: 12px; padding: 12px 20px; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section-shell { max-width: 1550px; margin: 0 auto; padding: clamp(76px, 9vw, 138px) var(--gutter); }
.section-label, .eyebrow { font: 500 .78rem/1.5 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.section-label { color: var(--sea); }
.small-note { font-size: .8rem; line-height: 1.7; color: #5d6460; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; margin-bottom: 55px; }
.section-heading > p { max-width: 360px; margin: 0 0 5px auto; font-size: 1.06rem; }
.button { min-height: 54px; padding: 14px 25px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; text-decoration: none; font-size: .875rem; font-weight: 600; border: 1px solid transparent; border-radius: 0; transition: background .25s, color .25s, border-color .25s; }
.button-light { color: var(--ink); background: var(--paper); }
.button-light:hover { background: white; border-color: white; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--sea); }
.text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; padding: 4px 0; font-size: .9rem; text-decoration: none; border-bottom: 1px solid currentColor; line-height: 1.5; }
.text-link span { font-size: 1.2rem; transition: transform .25s; }
.text-link:hover span { transform: translate(2px, -2px); }

/* The original restrained palette and typography carry through every section. */
.nav { position: fixed; z-index: 20; top: 0; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 17px clamp(24px, 4vw, 68px); color: white; border-bottom: 1px solid rgba(255,255,255,.26); transition: background .25s, color .25s, border-color .25s; }
.nav.is-scrolled, .nav.menu-open { color: var(--ink); background: var(--paper); border-color: var(--line); }
.brand { text-decoration: none; font: 500 1.5rem/1.15 var(--serif); flex: 0 0 auto; }
.brand small { display: block; font: 400 .75rem/1.5 var(--sans); letter-spacing: .035em; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 1.5vw, 28px); }
.nav-links a { min-height: 44px; display: flex; align-items: center; font-size: .875rem; text-decoration: none; position: relative; }
.nav-links a::after { position: absolute; content: ""; bottom: 3px; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-links a:hover::after, .nav-links a[aria-current="location"]::after { transform: scaleX(1); }
.menu-toggle { display: none; padding: 8px 0 8px 14px; border: 0; background: transparent; min-height: 44px; font-size: .875rem; gap: 14px; align-items: center; }
.menu-toggle span { font-size: 1.25rem; }

.hero { min-height: max(760px, 100svh); height: auto; position: relative; display: flex; align-items: flex-end; color: white; overflow: hidden; background: #465851; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,19,17,.58), rgba(9,19,17,.06) 32%, rgba(9,19,17,.2) 48%, rgba(9,19,17,.79)); z-index: 1; pointer-events: none; }
.hero-media { position: absolute; inset: -35px 0; transform: translateY(var(--parallax, 0px)); }
.hero-slide { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: center 48%; opacity: 0; transform: scale(1.045); transition: opacity 1.5s ease, transform 9s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide:first-child { object-position: 50% 52%; }
.hero-content { width: 100%; position: relative; z-index: 2; padding: 150px var(--gutter) 133px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; }
.hero h1 { font: 500 clamp(3.2rem, 6.9vw, 6.5rem)/1.02 var(--serif); letter-spacing: -.045em; margin: 16px 0 22px; max-width: 970px; }
.hero-title > p { font-size: clamp(1rem, 1.4vw, 1.22rem); margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }
.light-link { color: white; }
.hero-price { padding: 0 0 10px 28px; border-left: 1px solid rgba(255,255,255,.65); }
.hero-price strong { display: block; font: 500 clamp(1.9rem, 3.1vw, 2.9rem)/1.15 var(--serif); letter-spacing: -.02em; margin-top: 8px; }
.listing-status { display: block; font-size: .8rem; margin-top: 12px; opacity: .9; }
.hero-bottom { position: absolute; bottom: 27px; left: var(--gutter); right: var(--gutter); z-index: 2; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.35); gap: 20px; }
.scroll-cue { text-decoration: none; display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: .8rem; }
.slideshow-controls { display: flex; align-items: center; gap: 9px; }
.slideshow-controls button { border: 0; color: white; background: transparent; min-height: 44px; min-width: 44px; font-size: 1.1rem; }
.slideshow-controls button:hover { background: rgba(255,255,255,.12); }
#hero-count { font: .8rem var(--mono); padding: 0 7px; }
#hero-pause { font: .8rem var(--sans); padding: 0 10px; }
.control-divider { width: 1px; height: 17px; background: rgba(255,255,255,.4); margin: 0 9px; }

.overview-head { display: grid; grid-template-columns: .9fr 1.1fr; gap: 68px; align-items: start; margin-bottom: 64px; }
.lead { font: 400 clamp(1.35rem, 2.05vw, 1.95rem)/1.55 var(--serif); margin: 5px 0 0; max-width: 690px; }
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 64px; }
.stat { display: flex; flex-direction: column; padding: 28px 12px 26px; border-right: 1px solid var(--line); text-align: center; }
.stat:last-child { border-right: 0; }
.stat dd { order: -1; font: 500 clamp(2rem, 3vw, 2.9rem)/1.15 var(--serif); letter-spacing: -.025em; margin: 0 0 13px; }
.stat dt { font: .78rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #52605a; }
.stat-detail { display: block; font: .75rem/1.4 var(--sans); text-transform: none; letter-spacing: 0; margin-top: 4px; }
.measurement-link { font-size: 1.1rem; display: inline-block; vertical-align: top; padding: 0 5px; text-decoration: none; }
.story { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.story-aside { font: 500 1.8rem/1.4 var(--serif); margin-top: 21px; letter-spacing: -.02em; }
.story-copy > p, .description-content p { font-size: 1.06rem; line-height: 1.9; margin: 0 0 22px; }
.property-description { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 30px 0 25px; }
.property-description summary { list-style: none; cursor: pointer; padding: 17px 0; display: flex; justify-content: space-between; align-items: center; font-size: .9rem; font-weight: 600; }
.property-description summary::-webkit-details-marker { display: none; }
.property-description summary span { font-size: 1.5rem; font-weight: 400; transition: transform .25s; }
.property-description[open] summary span { transform: rotate(45deg); }
.description-content { padding: 5px 0 12px; }
.story-cta { margin-top: 3px; }
.open-house { border: 1px solid var(--line); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.open-house p { margin: 5px 0 0; }

.photos { background: var(--sand); padding: clamp(76px, 9vw, 130px) clamp(24px, 4vw, 68px) 64px; }
.photos-inner { max-width: 1414px; margin: auto; }
.photos-heading { display: flex; gap: 45px; align-items: end; justify-content: space-between; margin: 0 0 42px; }
.gallery-note { font: .8rem/1.9 var(--mono); letter-spacing: .04em; text-align: right; flex-shrink: 0; }
.gallery-note span { font: .8rem/1.7 var(--sans); color: #56605b; letter-spacing: 0; }
.tour-intro { max-width: 570px; margin: 0 0 30px; }
.tour-intro .section-label { margin-bottom: 12px; }
.tour-intro p:last-child { margin-bottom: 0; font-size: 1.05rem; line-height: 1.75; }
.photo-tour { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(285px, 31vw); gap: 16px; overflow-x: auto; padding: 2px 1px 24px; scroll-snap-type: x mandatory; scrollbar-color: var(--sea) transparent; overscroll-behavior-inline: contain; }
.tour-card { min-height: 500px; padding: 0; border: 0; position: relative; overflow: hidden; background: #a2afa8; text-align: left; color: white; scroll-snap-align: start; }
.tour-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,13,12,.08) 28%, rgba(7,13,12,.78) 100%); pointer-events: none; }
.tour-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.tour-card:hover img, .tour-card:focus-visible img { transform: scale(1.04); }
.tour-card-copy { position: absolute; z-index: 1; inset: auto 21px 20px; display: grid; gap: 6px; }
.tour-index { font: .72rem/1.5 var(--mono); letter-spacing: .13em; }
.tour-card-copy strong { font: 500 1.62rem/1.12 var(--serif); letter-spacing: -.025em; }
.tour-card-copy > span:last-child { font-size: .8rem; line-height: 1.5; color: #e1e5dc; }
.gallery-footer { text-align: center; padding: 20px 0 0; }
.gallery-footer .section-label { margin-bottom: 0; }
.view-all { display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 0; background: transparent; font-size: .9rem; min-height: 58px; }
.circle-arrow { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; font-size: 1.25rem; transition: background .25s, color .25s; }
.view-all:hover .circle-arrow { background: var(--ink); color: var(--paper); }
.gallery-footer p { margin: 12px 0 0; }

.floor-plans { padding-bottom: 85px; }
.plan-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.plan-tabs button { padding: 15px 2px 18px; background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: .9rem; color: #616b65; min-height: 52px; }
.plan-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.plan-panel { background: white; }
.plan-image-button { border: 0; background: white; display: block; width: 100%; padding: 20px; position: relative; }
.plan-image-button img { max-height: 710px; width: 100%; object-fit: contain; margin: auto; }
.plan-image-button > span { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px 0 0; font-size: .8rem; }
.plan-image-button > span span { font-size: 1.3rem; }
.plan-caption { border-top: 1px solid #ddd; display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 19px 24px; font-size: .8rem; }
.plan-caption p { margin: 0; color: #56605b; }
.plan-caption a { flex-shrink: 0; padding: 7px 0; }
.measurement-note { font-size: .8rem; color: #5c625e; line-height: 1.7; margin: 24px 0 0; max-width: 900px; scroll-margin-top: 120px; }
.measurement-note strong { font-weight: 600; }

.amenities { background: var(--sand); }
.signature-features { padding-bottom: 0; }
.signature-chapter { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding: 46px 0 60px; border-top: 1px solid var(--line); }
.signature-chapter figure { margin: 0; min-width: 0; }
.signature-main { align-self: center; }
.signature-photo { display: block; width: 100%; padding: 0; border: 0; background: transparent; transition: transform .45s ease, box-shadow .45s ease; }
.signature-photo img { width: 100%; height: auto; }
.signature-chapter figcaption { font-size: .875rem; color: #46544c; line-height: 1.6; margin-top: 12px; }
.signature-side { display: grid; gap: 30px; min-width: 0; }
.signature-copy h3, .amenities-summary-title { font: 500 clamp(2rem, 3vw, 3.1rem)/1.16 var(--serif); letter-spacing: -.035em; margin: 10px 0 22px; }
.signature-copy > p:last-child { margin: 0; font-size: 1rem; line-height: 1.85; }
.signature-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
.signature-reverse .signature-main { grid-column: 2; grid-row: 1; }
.signature-reverse .signature-side { grid-column: 1; grid-row: 1; }
.amenities-summary { padding-top: 30px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .signature-photo:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(22,33,31,.13); }
}
@media (max-width: 700px) {
  .signature-chapter, .signature-reverse { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 30px 0 46px; }
  .signature-reverse .signature-main, .signature-reverse .signature-side { grid-column: auto; grid-row: auto; }
  .signature-side { gap: 24px; }
  .signature-detail { width: 82%; justify-self: end; }
  .signature-copy h3 { font-size: 2.25rem; }
}
.amenities-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.amenities-intro > p { max-width: 300px; margin: 28px 0 25px; }
.amenity-groups { border-top: 1px solid var(--line); }
.amenity-groups > div { padding: 25px 0; border-bottom: 1px solid var(--line); }
.amenity-groups h3 { font: 500 1.55rem/1.3 var(--serif); letter-spacing: -.02em; margin: 0 0 13px; }
.amenity-groups ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; color: #404f47; font-size: .96rem; }
.amenity-image { margin: 0; position: relative; }
.amenity-image img { width: 100%; height: min(51vw, 650px); min-height: 330px; object-fit: cover; object-position: 50% 60%; }
.amenity-image::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.53)); pointer-events: none; }
.amenity-image figcaption { position: absolute; bottom: 40px; left: var(--gutter); right: var(--gutter); z-index: 1; color: white; font: 500 clamp(1.7rem, 3vw, 3rem)/1.3 var(--serif); letter-spacing: -.02em; }

.agent { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.agent-profile { display: grid; grid-template-columns: minmax(160px, .8fr) 1.2fr; gap: 30px; align-items: start; }
.agent-photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.agent-details h3 { font: 500 2.1rem/1.2 var(--serif); margin: 0 0 8px; letter-spacing: -.025em; }
.agent-role { font-size: .8rem; color: #626961; margin: 0 0 24px; }
.agent-details > p:not(.agent-role) { font-size: .9rem; line-height: 1.7; margin-bottom: 22px; }
.agent-details > a:not(.text-link) { display: block; font-size: 1rem; margin: 12px 0; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.agent-details > a.agent-email { font-size: .875rem; }
.agent-details .text-link { margin-top: 13px; font-size: .8rem; }

.contact { background: var(--ink); color: var(--paper); }
.contact-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 100px; }
.contact .section-label { color: #c3cabb; }
.contact h2 em { font-weight: 500; }
.contact-intro > p:not(.small-note) { margin: 30px 0 25px; max-width: 360px; color: #d8ddd4; line-height: 1.9; }
.contact-phone { display: block; font: 500 1.7rem var(--serif); margin: 20px 0 30px; text-decoration-thickness: 1px; }
.contact-intro .text-link { font-size: .8rem; }
.contact .small-note { color: #bbc4b9; margin-top: 15px; }
.contact-form { padding-top: 9px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 25px; }
.field label { display: block; font-size: .875rem; margin-bottom: 8px; }
.field label span { font-size: .75rem; color: #bac4b7; }
.field input, .field textarea { display: block; width: 100%; min-height: 48px; border: 1px solid #6a756b; border-radius: 0; padding: 12px 13px; background: #1c2a25; color: white; font-size: 1rem; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field textarea::placeholder { color: #aeb9ac; opacity: 1; }
.form-consent { margin-top: -2px; }
.form-consent label { display: flex; align-items: flex-start; gap: 10px; max-width: 430px; line-height: 1.55; color: #d8ddd4; }
.form-consent input { width: 20px; height: 20px; min-height: 20px; flex: 0 0 auto; margin: 2px 0 0; accent-color: #e0e2cc; }
.form-consent label > span { font-size: .875rem; color: #d8ddd4; }
.form-consent small { font-size: .8rem; color: #bac4b7; }
.contact-purpose { border: 0; padding: 0; margin: 0 0 27px; display: flex; flex-wrap: wrap; gap: 9px 25px; }
.contact-purpose legend { font-size: .875rem; margin-bottom: 12px; padding: 0; }
.contact-purpose label { font-size: .875rem; min-height: 32px; display: inline-flex; gap: 8px; align-items: center; }
.contact-purpose input { accent-color: #e0e2cc; width: 17px; height: 17px; margin: 0; }
.contact .button-dark { background: var(--paper); color: var(--ink); width: 100%; justify-content: space-between; }
.contact .button-dark:hover { background: white; }
.contact-form > .small-note { font-size: .875rem; }
.form-status { font-size: .875rem; padding-top: 18px; border-top: 1px solid #607364; margin: 18px 0 0; }
.contact-form { min-width: 0; }
.contact-form [aria-invalid="true"] { outline: 2px solid #e4b898; outline-offset: 2px; }
.email-fallback { margin-top: 22px; border-top: 1px solid #607364; font-size: .875rem; }
.email-fallback summary { cursor: pointer; padding: 15px 0; min-height: 44px; }
.email-fallback > p { color: #d8ddd4; margin-bottom: 16px; }
.email-fallback label { display: block; margin-bottom: 8px; }
.email-fallback textarea { width: 100%; padding: 13px; border: 1px solid #6a756b; border-radius: 0; background: #1c2a25; color: white; font-size: 1rem; line-height: 1.65; resize: vertical; }
.email-fallback .text-link { background: transparent; border: 0; border-bottom: 1px solid currentColor; margin-top: 10px; }
.email-fallback .small-note { font-size: .875rem; }
.location-copy { justify-self: end; max-width: 390px; }
.location-copy > p:first-child { font-weight: 600; }
.location-copy > p { font-size: .95rem; margin-bottom: 22px; }
.location-copy .text-link { font-size: .875rem; }
.map-frame { background: #e3e5dd; width: 100%; height: 470px; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.location > .small-note { margin-top: 15px; }
.footer { padding: 50px var(--gutter) 35px; background: var(--sand); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 38px; }
.footer-top > p { margin: 0; font-size: .875rem; line-height: 1.8; }
.footer-top .text-link { font-size: .8rem; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; gap: 70px; justify-content: space-between; font-size: .75rem; color: #5a625b; }
.footer-bottom p { max-width: 570px; margin: 0; }

/* Native dialogs retain focus management, Escape-to-close, and touch scrolling. */
dialog { border: 0; padding: 0; margin: auto; max-width: none; max-height: none; width: 100%; height: 100dvh; background: var(--ink); color: var(--paper); overflow: hidden; }
dialog::backdrop { background: rgba(10,17,14,.8); }
dialog[open] { display: flex; flex-direction: column; }
.viewer-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 32px; border-bottom: 1px solid #465049; flex-shrink: 0; }
.viewer-header .section-label { color: #b0bcb2; font-size: .75rem; }
.viewer-header h2 { font: 500 1.45rem/1.3 var(--serif); margin: 4px 0 0; letter-spacing: -.02em; }
.viewer-header-actions { display: flex; gap: 24px; align-items: center; }
.viewer-header button, .viewer-header a { padding: 10px 0; min-height: 44px; color: inherit; background: transparent; border: 0; font-size: .875rem; text-decoration: none; }
.close-button { display: inline-flex; gap: 15px; align-items: center; }
.close-button span { font-size: 1.8rem; font-weight: 400; line-height: 1; }
.viewer-grid { overflow-y: auto; overscroll-behavior: contain; padding: 28px 32px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; align-content: start; min-height: 0; }
.viewer-thumb { padding: 0; border: 0; background: transparent; color: var(--paper); text-align: left; }
.viewer-thumb img { aspect-ratio: 1.5; width: 100%; object-fit: cover; transition: opacity .2s; background: #344239; }
.viewer-thumb:hover img { opacity: .8; }
.viewer-thumb span { display: block; padding-top: 9px; color: #cbd2c8; font-size: .8rem; line-height: 1.4; }
.viewer-single { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.viewer-image-wrap { position: relative; flex: 1; min-height: 0; padding: 20px 72px 8px; display: flex; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; }
#viewer-image { width: 100%; height: 100%; object-fit: contain; }
.viewer-arrow { position: absolute; top: 50%; transform: translateY(-50%); border: 1px solid #66756b; background: var(--ink); color: white; border-radius: 50%; width: 46px; height: 46px; font-size: 1.3rem; }
.viewer-arrow:hover { background: var(--sea); }
.viewer-arrow.previous { left: 14px; }
.viewer-arrow.next { right: 14px; }
.viewer-caption { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding: 18px 72px 25px; flex-shrink: 0; }
.viewer-caption p { font-size: .9rem; margin: 0; }
.viewer-caption > span { flex-shrink: 0; font: .8rem var(--mono); color: #c1cabc; }
.viewer-load-status { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); padding: 8px 12px; background: var(--ink); font-size: .8rem; border: 1px solid #637263; }
.plan-viewer { background: var(--paper); color: var(--ink); }
.plan-viewer .viewer-header { border-color: var(--line); }
.plan-zoom-surface { flex: 1; min-height: 0; overflow: auto; padding: 18px; overscroll-behavior: contain; touch-action: pan-x pan-y pinch-zoom; background: white; }
.plan-zoom-surface img { width: 100%; height: 100%; object-fit: contain; max-width: none; }
.plan-zoom-surface.is-zoomed img { width: 1800px; height: auto; max-width: none; }
.plan-viewer > .small-note { margin: 0; padding: 12px 30px; flex-shrink: 0; }
.reveal-pending { opacity: 0; transform: translateY(19px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.6,.2,1); }
.reveal-pending.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1600px) {
  .hero h1 { max-width: 1080px; }
  .photo-tour { grid-auto-columns: minmax(340px, 27vw); }
}
@media (max-width: 1100px) {
  .hero-content { column-gap: 25px; }
  .hero-price { padding-left: 20px; }
  .hero h1 { font-size: 6.8vw; }
  .agent { grid-template-columns: .75fr 1.25fr; gap: 35px; }
  .agent-profile { grid-template-columns: 150px 1fr; gap: 22px; }
  .contact-inner { gap: 55px; }
}
@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .nav { padding: 16px 25px; }
  .nav-links { display: none; }
  .nav.menu-open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); padding: 15px 25px 25px; border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 6px 25px; }
  .nav.menu-open .nav-links a { min-width: 100px; }
  .overview-head, .story { gap: 35px; }
  .section-heading { gap: 40px; }
  .amenities-inner { gap: 48px; }
  .agent { grid-template-columns: 1fr; gap: 45px; }
  .agent-profile { grid-template-columns: 200px 1fr; gap: 35px; }
  .viewer-grid { grid-template-columns: repeat(3, 1fr); }
  .photo-tour { grid-auto-columns: minmax(310px, 43vw); }
}
@media (max-width: 700px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 98px; }
  h2 { font-size: clamp(2.5rem, 8vw, 3.3rem); }
  .hero { min-height: max(800px, 100svh); }
  .hero-content { display: block; padding: 140px 24px 128px; }
  .hero h1 { font-size: clamp(2.95rem, 9.4vw, 4.6rem); max-width: 560px; margin: 14px 0 20px; }
  .hero-title > p { max-width: 310px; line-height: 1.6; }
  .hero-price { padding: 0; border: 0; margin-top: 27px; }
  .hero-price strong { font-size: 2.1rem; display: inline-block; margin-right: 15px; }
  .hero-price .eyebrow { display: block; }
  .listing-status { display: inline-block; margin-top: 0; font-size: .75rem; }
  .hero-actions { gap: 10px 22px; margin-top: 25px; }
  .hero-actions .text-link { font-size: .8rem; }
  .hero-actions .button { padding: 13px 20px; }
  .hero-bottom { bottom: 20px; gap: 10px; left: 24px; right: 24px; padding-top: 12px; }
  .scroll-cue { font-size: .75rem; max-width: 110px; line-height: 1.5; gap: 10px; }
  .slideshow-controls { gap: 0; }
  .slideshow-controls button { min-width: 36px; }
  #hero-count { font-size: .75rem; padding: 0 2px; }
  .control-divider { margin: 0 5px; }
  #hero-pause { padding: 0 5px; }
  .hero-media { inset: -20px 0; }
  .hero-slide { object-position: 55% center; }
  .hero-slide:first-child { object-position: 38% center; }
  .overview-head, .story, .section-heading { grid-template-columns: 1fr; gap: 28px; }
  .overview-head { margin-bottom: 39px; }
  .lead { font-size: 1.4rem; line-height: 1.6; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-bottom: 42px; }
  .stat { padding: 24px 8px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat dd { font-size: 2.4rem; }
  .stat dt { font-size: .75rem; }
  .story-aside { font-size: 1.7rem; margin: 12px 0 0; }
  .story-copy > p, .description-content p { font-size: 1rem; line-height: 1.85; }
  .open-house { align-items: flex-start; flex-direction: column; padding: 20px; }
  .photos { padding: 76px 16px 50px; }
  .photos-heading { display: block; margin: 0 8px 30px; }
  .photos-heading h2 br { display: none; }
  .gallery-note { text-align: left; margin-top: 22px; }
  .gallery-note br { display: none; }
  .gallery-note span { margin-left: 10px; }
  .tour-intro { margin: 0 8px 24px; }
  .tour-intro p:last-child { font-size: 1rem; }
  .photo-tour { grid-auto-columns: minmax(258px, 78vw); gap: 12px; padding: 2px 8px 22px; }
  .tour-card { min-height: 455px; }
  .tour-card-copy { inset: auto 17px 17px; }
  .tour-card-copy strong { font-size: 1.48rem; }
  .section-heading { margin-bottom: 35px; }
  .section-heading > p { margin: 0; max-width: 100%; }
  .floor-plans { padding-bottom: 65px; }
  .plan-tabs { gap: 0; justify-content: space-between; }
  .plan-tabs button { font-size: .875rem; padding: 16px 4px; }
  .plan-image-button { padding: 10px 5px 16px; }
  .plan-caption { display: block; padding: 16px; }
  .plan-caption a { display: inline-block; margin-top: 7px; }
  .amenities-inner { grid-template-columns: 1fr; gap: 40px; }
  .amenities-intro > p { max-width: 380px; }
  .amenity-image img { height: 360px; object-position: 50% 60%; }
  .amenity-image figcaption { bottom: 25px; font-size: 1.7rem; }
  .agent-profile { grid-template-columns: 120px 1fr; gap: 22px; }
  .agent-details h3 { font-size: 1.7rem; }
  .agent-role { font-size: .75rem; }
  .agent-details > a.agent-email { font-size: .8rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 45px; }
  .contact h2 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .contact-intro > p:not(.small-note) { max-width: 450px; }
  .form-row { gap: 18px; }
  .field label span { display: block; }
  .location-copy { justify-self: start; }
  .map-frame { height: 370px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .viewer-header { padding: 13px 16px; }
  .viewer-header h2 { font-size: 1.2rem; }
  .viewer-header .section-label { font-size: .75rem; letter-spacing: 0; }
  .viewer-header-actions { gap: 13px; }
  .viewer-header button, .viewer-header a { font-size: .8rem; }
  #viewer-show-grid { max-width: 72px; text-align: left; }
  .close-button { gap: 6px; }
  .viewer-grid { grid-template-columns: 1fr 1fr; padding: 18px 16px 28px; gap: 20px 12px; }
  .viewer-thumb span { font-size: .75rem; }
  .viewer-image-wrap { padding: 12px 0 54px; }
  .viewer-arrow { top: auto; bottom: 0; transform: none; }
  .viewer-arrow.previous { left: 16px; }
  .viewer-arrow.next { right: 16px; }
  .viewer-caption { padding: 20px 16px 25px; align-items: flex-start; }
  .viewer-caption p { font-size: .8rem; }
  .plan-viewer .viewer-header { flex-wrap: wrap; }
  .plan-viewer .viewer-header-actions { width: 100%; justify-content: space-between; }
  .plan-zoom-surface { padding: 5px; }
  .plan-viewer > .small-note { padding: 12px 16px; }
}
@media (max-width: 370px) {
  .hero { min-height: 860px; }
  .hero h1 { font-size: 2.85rem; }
  .brand { font-size: 1.35rem; }
  .brand small { max-width: 200px; font-size: .75rem; }
  .hero-bottom .scroll-cue { display: none; }
  .hero-bottom { justify-content: flex-end; }
  .agent-profile { grid-template-columns: 1fr; }
  .agent-photo { width: 180px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero-media { transform: none !important; }
  .hero-slide, .tour-card:hover img { transform: none; }
  .reveal-pending { opacity: 1; transform: none; }
}
@media print {
  .nav, .hero-bottom, .hero-actions, .contact-form, dialog, .map-frame, .view-all, .image-expand { display: none !important; }
  .hero { min-height: 440px; height: 440px; }
  .hero-content { padding-bottom: 50px; }
  .section-shell { padding: 40px 24px; }
  .reveal-pending { opacity: 1; transform: none; }
  .property-description .description-content { display: block; }
}
