/* ==========================================================================
   Luxury Residential Estates — shared styles
   To match the 1331castaway.com palette, change the colour values below.
   ========================================================================== */
:root {
  --ink: #18242E;        /* harbor navy: text, dark bands */
  --ink-soft: #24343F;   /* footer */
  --paper: #F4F5F3;      /* cool limestone background */
  --white: #FFFFFF;
  --sea: #7EA49E;        /* sea glass: quiet accents */
  --brass: #A6865A;      /* brushed brass: links, focus, sold mark */
  --mist: #DADFE0;       /* hairlines, placeholders */
  --muted: #5B6871;      /* secondary text */

  --display: "Marcellus", "Times New Roman", Georgia, serif;
  --body: "Mulish", "Helvetica Neue", Arial, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.06; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mist);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 58px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--brass); }
.site-nav .nav-cta { border: 1px solid var(--ink); padding: 9px 18px; }
.site-nav .nav-cta:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 760px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .brand img { height: 44px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  padding: 14px 26px; font: 600 15px/1 var(--body); letter-spacing: .02em;
}
.btn:hover { background: var(--brass); border-color: var(--brass); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.text-link:hover { color: var(--brass); }

/* ---------- photo placeholders ---------- */
.ph { position: relative; display: block; overflow: hidden; background: linear-gradient(160deg, #cfd8d7 0%, #b9c7c5 55%, #a9b9b6 100%); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.noimg::after {
  content: "Photography coming soon"; position: absolute; inset: auto 0 18px 0; text-align: center;
  font-size: 13px; color: rgba(24,36,46,.55); letter-spacing: .04em;
}

/* ---------- home: hero ---------- */
.hero { padding: clamp(48px, 9vw, 120px) 0 0; }
.hero h1 {
  font-size: clamp(42px, 7.2vw, 116px); letter-spacing: -.01em; line-height: 1;
}
.hero h1 span { display: block; }
.hero h1 span + span { padding-left: clamp(24px, 9vw, 150px); }
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-top: clamp(28px, 4vw, 48px); }
.hero-row p { max-width: 46ch; color: var(--muted); margin: 0; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image { margin-top: clamp(40px, 6vw, 72px); aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .hero-image { aspect-ratio: 4 / 3; } }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 span { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1 span + span { animation-delay: .18s; }
  @keyframes rise { from { opacity: 0; transform: translateY(.25em); } to { opacity: 1; transform: none; } }
}

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); max-width: 40ch; margin: 0; }

/* about */
.about { border-top: 1px solid var(--mist); }
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about h2 { font-size: clamp(34px, 4.4vw, 56px); }
.about .lead { font-family: var(--display); font-size: clamp(22px, 2.3vw, 29px); line-height: 1.38; margin-bottom: 1.2em; }
.about-body p { max-width: 60ch; line-height: 1.8; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--ink); }
.pillars div { padding: 26px 28px 0 0; }
.pillars div + div { padding-left: 28px; border-left: 1px solid var(--mist); }
.pillars h3 { font-size: 24px; margin-bottom: 10px; }
.pillars p { color: var(--muted); font-size: 16px; margin: 0; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillars div, .pillars div + div { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--mist); }
}

/* available listings: large alternating rows */
.listing { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.listing + .listing { margin-top: clamp(64px, 9vw, 120px); }
.listing.flip { grid-template-columns: 5fr 7fr; }
.listing.flip .listing-img { order: 2; }
.listing-img { aspect-ratio: 4 / 3; }
.listing .place { color: var(--muted); margin-bottom: 10px; font-size: 15px; }
.listing .address { font-size: clamp(40px, 5.6vw, 76px); margin-bottom: 18px; }
.listing .address a { text-decoration: none; }
.listing .address a:hover { color: var(--brass); }
.price { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.specs { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.specs span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--sea); margin: 0 10px 3px; }
.listing .summary { max-width: 42ch; }
.actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 860px) {
  .listing, .listing.flip { grid-template-columns: 1fr; }
  .listing.flip .listing-img { order: 0; }
}

/* sold */
.sold-section { background: var(--white); }
.sold-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 48px); }
.sold-card .ph { aspect-ratio: 3 / 2; }
.sold-card .ph img { filter: saturate(.8); transition: filter .4s; }
.sold-card:hover .ph img { filter: none; }
.sold-mark { position: absolute; top: 18px; left: 18px; z-index: 2; background: var(--brass); color: #fff; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.sold-card h3 { font-size: clamp(28px, 3vw, 40px); margin: 22px 0 6px; }
.sold-card h3 a { text-decoration: none; }
.sold-card h3 a:hover { color: var(--brass); }
.sold-card .meta { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 760px) { .sold-grid { grid-template-columns: 1fr; } }

/* closing statement */
.statement { background: var(--ink); color: var(--paper); padding: clamp(80px, 11vw, 150px) 0; }
.statement p { font-family: var(--display); font-size: clamp(30px, 4.6vw, 62px); line-height: 1.15; margin: 0; max-width: 22ch; }
.statement p + p { margin-top: .5em; margin-left: auto; text-align: right; color: var(--sea); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.contact-grid h2 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 20px; }
.contact-grid .intro { color: var(--muted); max-width: 40ch; }
.contact-lines { margin-top: 28px; font-size: 16px; }
.contact-lines a { text-decoration: none; border-bottom: 1px solid var(--brass); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.inquiry-form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--body); color: var(--ink);
  background: var(--white); border: 1px solid #c3cbcd; border-radius: 0; padding: 12px 14px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.about-home {
  grid-column: 1 / -1; background: var(--white); border-left: 3px solid var(--brass);
  padding: 12px 16px; font-size: 14px; color: var(--muted); line-height: 1.4;
}
.about-home strong { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--ink); margin-top: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 15px; }
.form-status.ok { color: #2f6b55; }
.form-status.err { color: #9b3a2e; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
@media (max-width: 560px) { .inquiry-form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-soft); color: #cfd6d8; padding: 64px 0 40px; font-size: 15px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand img { height: 72px; width: auto; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.site-footer h4 { font: 600 14px/1.4 var(--body); color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: 13px; color: #9aa6ab; }

/* ==========================================================================
   Property pages
   ========================================================================== */
.p-hero { position: relative; height: min(78vh, 760px); min-height: 380px; }
.p-hero .status {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  background: var(--paper); color: var(--ink); padding: 8px 16px; font-size: 14px; font-weight: 600;
}
.p-hero .status.sold { background: var(--brass); color: #fff; }
.p-head { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--mist); }
.p-head .place { color: var(--muted); margin-bottom: 12px; }
.p-head h1 { font-size: clamp(48px, 8.4vw, 120px); letter-spacing: -.01em; }
.p-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: clamp(28px, 4vw, 44px); }
.p-facts div { padding: 4px 36px 4px 0; margin-right: 36px; border-right: 1px solid var(--mist); }
.p-facts div:last-child { border-right: 0; }
.p-facts dt { font-size: 13px; color: var(--muted); }
.p-facts dd { margin: 2px 0 0; font-family: var(--display); font-size: 28px; }
@media (max-width: 600px) { .p-facts div { padding-right: 18px; margin-right: 18px; } .p-facts dd { font-size: 22px; } }

.p-body { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 6vw, 96px); padding: clamp(56px, 8vw, 104px) 0; align-items: start; }
.p-body .desc p { font-size: 18px; line-height: 1.85; max-width: 62ch; }
.p-body .desc p:first-child { font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; }
.highlights { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--ink); }
.highlights li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--mist); position: relative; }
.highlights li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 10px; height: 1px; background: var(--brass); }
.warranty { margin-top: 32px; padding: 22px 24px; background: var(--white); font-size: 16px; }
.warranty strong { font-family: var(--display); font-weight: 400; font-size: 21px; display: block; margin-bottom: 4px; }
.p-side { position: sticky; top: 110px; background: var(--white); padding: clamp(24px, 3vw, 36px); }
.p-side h2 { font-size: 32px; margin-bottom: 8px; }
.p-side .intro { color: var(--muted); font-size: 16px; }
.p-side .inquiry-form { grid-template-columns: 1fr; gap: 14px; }
.p-side .about-home { background: var(--paper); }
@media (max-width: 960px) { .p-body { grid-template-columns: 1fr; } .p-side { position: static; } }

.gallery-section { padding-bottom: clamp(64px, 9vw, 120px); }
.gallery-section h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 28px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.03); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery button:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4/3; } }

.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(15,22,28,.96); color: #fff; }
.lightbox::backdrop { background: rgba(15,22,28,.9); }
.lightbox img { max-width: 92vw; max-height: 84vh; margin: 6vh auto 0; object-fit: contain; }
.lightbox .lb-btn { position: absolute; background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; font: 600 15px var(--body); padding: 10px 16px; cursor: pointer; }
.lightbox .lb-btn:hover { background: rgba(255,255,255,.12); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; }
.lb-next { right: 18px; top: 50%; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 14px; color: #c7cfd2; }

.others { border-top: 1px solid var(--mist); padding: clamp(56px, 8vw, 96px) 0; }
.others h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 28px; }
.others-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.others-grid a { text-decoration: none; }
.others-grid .ph { aspect-ratio: 3 / 2; margin-bottom: 14px; }
.others-grid h3 { font-size: 26px; }
.others-grid p { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
.others-grid a:hover h3 { color: var(--brass); }
@media (max-width: 860px) { .others-grid { grid-template-columns: 1fr; } }

/* rendering labels */
.render-tag {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; pointer-events: none;
  background: rgba(24, 36, 46, .72); color: #fff; padding: 4px 10px;
  font: 600 12px/1.3 var(--body); letter-spacing: .02em;
}
.p-hero .render-tag { right: 24px; bottom: 24px; font-size: 13px; padding: 6px 12px; }
.gallery button { position: relative; }
.render-note { color: var(--muted); font-size: 14px; margin: -14px 0 18px; }
.sold-card .sold-price { margin: 0 0 2px; }
.hero-image .render-tag { display: none; }
.hero-image.is-rendering .render-tag { display: block; }

/* ---------- scrolling photo strip (Rela-style) ---------- */
.strip-section { padding: clamp(48px, 7vw, 96px) 0; overflow: hidden; }
.strip-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.strip-head h2 { font-size: clamp(32px, 4vw, 48px); }
.strip-head .render-note { margin: 0; }
.home-strip-section { padding: 0 0 clamp(56px, 8vw, 110px); }
.strip { overflow: hidden; }
.strip-track { display: flex; gap: 14px; width: max-content; animation: strip-move 120s linear infinite; }
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
@keyframes strip-move { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
.strip-item {
  position: relative; flex: 0 0 auto; display: block; padding: 0; border: 0; cursor: pointer;
  height: clamp(240px, 34vw, 440px); aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; color: inherit;
}
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.strip-item:hover img { transform: scale(1.03); }
.strip-label {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; background: var(--paper); color: var(--ink);
  padding: 6px 12px; font: 400 18px/1.2 var(--display);
}
@media (prefers-reduced-motion: reduce) {
  .strip { overflow-x: auto; }
  .strip-track { animation: none; }
  .strip-item[aria-hidden="true"] { display: none; }
}

/* ---------- listing pop-up (matches Rela's "Like what you see?") ---------- */
.listing-popup {
  border: 0; padding: 0; overflow: visible; background: #fff; color: #222;
  width: min(900px, 100% - 48px); max-height: calc(100% - 48px);
}
.listing-popup::backdrop { background: rgba(20, 20, 20, .62); }
.listing-popup:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .listing-popup[open] { animation: pp-in .4s ease-out; }
  @keyframes pp-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
}
.pp-grid { display: grid; grid-template-columns: 2fr 3fr; min-height: 500px; }
.pp-photo { min-height: 100%; }
.pp-photo img { position: absolute; inset: 0; }
.pp-body { padding: clamp(28px, 5vw, 56px) clamp(24px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.pp-body h2 { font: 400 clamp(26px, 2.6vw, 32px)/1.2 var(--body); color: #222; margin-bottom: 14px; }
.pp-intro { color: #555; font-size: 15px; line-height: 1.6; max-width: 40ch; margin: 0 auto 28px; }
.pp-form { gap: 14px 14px; text-align: left; }
.pp-form .field input { border: 1px solid #cfcfcf; padding: 12px 12px; font-size: 15px; background: #fff; }
.pp-form .field input::placeholder { color: #8a8a8a; }
.pp-foot { justify-content: center; flex-direction: column; gap: 10px; margin-top: 6px; }
.pp-continue {
  background: #000; color: #fff; border: 0; padding: 13px 26px; cursor: pointer;
  font: 600 16px/1 var(--body);
}
.pp-continue:hover { background: #333; }
.pp-continue:disabled { opacity: .6; cursor: default; }
.pp-thanks { grid-column: 1 / -1; text-align: center; font-size: 17px; color: #2f6b55; margin: 10px 0; }
.pp-close {
  position: absolute; top: -54px; right: -10px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  background: transparent; border: 2px solid #fff; color: #fff; cursor: pointer; display: grid; place-items: center;
}
.pp-close:hover { background: rgba(255,255,255,.15); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 720px) {
  .pp-grid { grid-template-columns: 1fr; min-height: 0; }
  .pp-photo { aspect-ratio: 16 / 9; min-height: 0; }
  .pp-close { top: 8px; right: 8px; background: rgba(0,0,0,.45); }
  .listing-popup { overflow: auto; }
}

/* ---------- property one-page menu (Rela-style) ---------- */
.prop-nav { gap: 26px; }
.prop-nav a[hidden] { display: none; }
.mnav { display: none; position: relative; }
.mnav summary {
  list-style: none; cursor: pointer; border: 1px solid var(--ink); padding: 9px 16px; font-size: 15px;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: ""; display: inline-block; width: 14px; height: 9px; margin-left: 10px;
  border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; vertical-align: 1px; }
.mnav nav {
  position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); min-width: 210px;
  box-shadow: 0 12px 30px rgba(24,36,46,.16); padding: 8px 0; display: flex; flex-direction: column;
}
.mnav nav a { padding: 10px 20px; text-decoration: none; }
.mnav nav a:hover { background: var(--paper); }
.mnav nav a[hidden] { display: none; }
@media (max-width: 980px) {
  .prop-nav { display: none; }
  .mnav { display: block; }
}

/* ---------- property sections ---------- */
.p-section { padding: clamp(56px, 8vw, 104px) 0; }
.p-section[hidden] { display: none; }
.p-title { font-size: clamp(32px, 4vw, 48px); margin-bottom: clamp(24px, 3vw, 36px); }
.p-overview .desc { max-width: 72ch; }
.p-overview .desc p { font-size: 18px; line-height: 1.85; }
.p-overview .desc > p:first-child { font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.45; }
.p-overview .desc h3 { font-size: clamp(24px, 2.4vw, 30px); margin: 1.6em 0 .6em; }
.p-overview .desc h3:first-child { margin-top: 0; }
.p-overview .desc h3 + p { font-family: var(--body); font-size: 18px; line-height: 1.85; }
.p-overview .warranty { max-width: 72ch; }

.p-features { background: var(--white); }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); border-top: 1px solid var(--ink); }
.feature-grid li { padding: 16px 16px 16px 26px; border-bottom: 1px solid var(--mist); position: relative; font-size: 16px; }
.feature-grid li::before { content: ""; position: absolute; left: 4px; top: 27px; width: 10px; height: 1px; background: var(--brass); }

.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.floor-plan { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--mist); background: var(--white); cursor: zoom-in; }
.floor-plan img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; }

.map-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--mist); padding: 22px 0; }
.map-address { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); margin: 0; }
.map-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.map-embed { margin-top: 24px; aspect-ratio: 16 / 9; max-height: 560px; width: 100%; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-embed[hidden], .map-actions [hidden] { display: none; }

.p-contact { background: var(--white); }
.p-contact .contact-grid h2 { margin-bottom: 16px; }

/* keep jump targets clear of the sticky header */
[id] { scroll-margin-top: 96px; }
