:root {
  --navy: #0b1f3a;
  --navy-deep: #061428;
  --navy-mid: #163458;
  --red: #c62828;
  --red-deep: #9e1c1c;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --ink: #0b1f3a;
  --muted: #5a6b7d;
  --line: rgba(11, 31, 58, 0.12);
  --shadow: 0 18px 40px rgba(6, 20, 40, 0.12);
  --radius: 4px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --header-h: 5.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.15;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.15rem;
}

p {
  margin: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(6, 20, 40, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.nav-realty-logo {
  height: 5.0rem;
  width: auto;
  max-width: 9.75rem;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-icon {
  width: 1.575rem;
  height: 1.575rem;
  max-width: 1.575rem;
  max-height: 1.575rem;
  object-fit: contain;
  flex-shrink: 0;
}

.logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

.logo span {
  color: var(--red);
}

.site-nav {
  display: flex;
  gap: 1.75rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.35rem auto;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Hero — golf course photo with navy overlay for readable type */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.55) 0%, rgba(6, 20, 40, 0.35) 40%, rgba(6, 20, 40, 0.72) 100%),
    radial-gradient(ellipse 70% 55% at 78% 22%, rgba(198, 40, 40, 0.22), transparent 58%),
    url("images/golfcourse.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.15) 0%, transparent 35%, rgba(6, 20, 40, 0.25) 100%);
  pointer-events: none;
  animation: glow-pulse 8s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min(42rem, 100%);
  padding: calc(var(--header-h) + 2.5rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 8vh, 5rem);
  animation: rise-in 0.9s ease-out both;
}

.hero-media-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.25rem;
  flex-wrap: wrap;
}

.hero-portrait {
  display: block;
  flex: 0 0 auto;
  width: 8.75rem;
  max-width: 8.75rem;
  height: 11rem;
  max-height: 11rem;
  object-fit: cover;
  object-position: center 10%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin: 0;
  box-shadow: 0 10px 22px rgba(6, 20, 40, 0.3);
}

.hero-realty-logo {
  display: block;
  flex: 0 0 auto;
  height: 11rem;
  max-height: 11rem;
  width: auto;
  max-width: 13.5rem;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 22px rgba(6, 20, 40, 0.3);
}

.brand-mark {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.brand-mark::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.75rem;
  background: var(--red);
}

.hero-lead {
  margin-top: 1.15rem;
  max-width: 28rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-intro p {
  margin-top: 0.85rem;
  color: var(--muted);
}

/* About */
.about {
  background: var(--off-white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 20rem) 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 58rem;
  margin: 0 auto;
}

.about-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 12%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-copy h2 {
  max-width: 16ch;
}

.about-badge {
  width: 250px;
  max-width: 100%;
  height: auto;
  margin: 0 0 1rem;
  object-fit: contain;
}

.about-role {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

.about-copy > p:last-child {
  margin-top: 1.15rem;
  max-width: 36rem;
  font-size: 1.08rem;
  color: var(--muted);
}

/* Listings */
.listings {
  background: var(--white);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.listing-card {
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.listing-visual {
  position: relative;
  min-height: 12rem;
  background-size: cover;
  background-position: center;
}

.listing-visual--1 {
  background-image:
    linear-gradient(160deg, rgba(11, 31, 58, 0.35), rgba(198, 40, 40, 0.25)),
    linear-gradient(45deg, #1e3a5f, #4a6fa5 50%, #c9d6e8);
}

.listing-visual--2 {
  background-image:
    linear-gradient(160deg, rgba(11, 31, 58, 0.4), transparent),
    linear-gradient(135deg, #2c4a6e, #7a93b0 45%, #e8eef5);
}

.listing-visual--3 {
  background-image:
    linear-gradient(160deg, rgba(198, 40, 40, 0.2), rgba(11, 31, 58, 0.35)),
    linear-gradient(200deg, #163458, #5c7a9a 40%, #d6cfc4);
}

.listing-visual--4 {
  background-image:
    linear-gradient(160deg, rgba(11, 31, 58, 0.45), transparent),
    linear-gradient(90deg, #0f2744, #3d5f82 55%, #a8c0a0);
}

.listing-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.listing-meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

.listing-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.listing-status {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.listing-status--pending {
  background: rgba(11, 31, 58, 0.9);
  color: var(--white);
}

.listing-status--sold {
  background: var(--red);
  color: var(--white);
}

.listing-card .listing-status--pending {
  background: var(--navy);
}

.listing-card .listing-status--sold {
  background: var(--red);
}

.listing-hero .listing-status {
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.listing-status-note {
  margin: 0 0 1.15rem !important;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--navy);
  background: var(--off-white);
  color: var(--ink) !important;
  font-size: 0.98rem !important;
}

.listing-visual .listing-status {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
}

.listing-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
}

.listing-detail {
  font-size: 0.9rem;
  color: var(--muted);
}

.listing-copy {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--ink);
  opacity: 0.88;
}

.listing-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.listing-card-link .listing-body {
  flex: 1;
}

.listing-card-cta {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
}

.listing-visual--photo {
  background-image: none;
  background-color: #d7dde6;
}

.listing-visual--photo img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

/* Listing detail page */
.listing-hero {
  position: relative;
  min-height: min(88vh, 44rem);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-deep);
}

.listing-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: rise-in 1s ease-out both;
}

.listing-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.35) 0%, rgba(6, 20, 40, 0.2) 40%, rgba(6, 20, 40, 0.82) 100%);
  pointer-events: none;
}

.listing-hero-content {
  position: relative;
  z-index: 1;
  width: min(48rem, 100%);
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 7vh, 4rem);
  animation: rise-in 0.9s ease-out 0.1s both;
}

.listing-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.85rem;
}

.listing-kicker::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.75rem;
  background: var(--red);
}

.listing-hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
}

.listing-hero-sub {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.listing-hero-price {
  margin-top: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
}

.listing-hero-stats {
  margin-top: 0.35rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.84);
}

.listing-overview {
  background: var(--white);
}

.listing-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  max-width: 68rem;
  margin: 0 auto;
  align-items: start;
}

.listing-overview-copy h2 {
  margin-bottom: 1rem;
}

.listing-overview-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
}

.listing-overview-copy p + p {
  margin-top: 1rem;
}

.listing-facts {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.55rem;
}

.listing-facts h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
}

.listing-facts dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.listing-facts dl > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.listing-facts dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.listing-facts dt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.listing-facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
}

.listing-highlights {
  background: var(--off-white);
}

.highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 48rem;
}

.highlight-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-size: 1.02rem;
}

.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--red);
  border-radius: 1px;
}

.listing-gallery {
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.gallery-item {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: #d7dde6;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.listing-cta {
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
}

.listing-cta-inner {
  max-width: 36rem;
}

.listing-cta-inner p {
  margin: 0.9rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.78);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 20, 40, 0.92);
  padding: 3.5rem 3rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-image {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Contact */
.contact {
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: 68rem;
  margin: 0 auto;
}

.contact-intro h2 {
  max-width: 16ch;
}

.contact-intro > p {
  margin-top: 1rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.78);
}

.agent-card {
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.agent-card img {
  width: 7.5rem;
  height: 9.5rem;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.agent-card figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding-top: 0.15rem;
}

.agent-card strong {
  font-size: 1rem;
}

.agent-card span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.agent-address {
  margin-top: 0.35rem;
  max-width: 16rem;
  line-height: 1.35;
}

.agent-social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  color: var(--white);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font: inherit;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.25);
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form .btn-primary {
  justify-self: start;
  margin-top: 0.25rem;
}

.form-note {
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

.site-footer strong {
  color: var(--white);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.realtor-mark {
  font-size: 0.65em;
  line-height: 0;
  vertical-align: super;
}

.footer-fair-housing {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-fine {
  opacity: 0.75;
}

/* Motion */
@keyframes hero-drift {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}

@keyframes glow-pulse {
  from { opacity: 0.75; }
  to { opacity: 1; }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before,
  .hero-content,
  .listing-hero-image,
  .listing-hero-content,
  .listing-card,
  .gallery-item img {
    animation: none;
    transition: none;
  }
  .btn:hover,
  .listing-card:hover,
  .gallery-item:hover img { transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-content {
    width: 100%;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }

  .listing-overview-layout {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }

  .about-portrait {
    max-width: 18rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-0.5rem);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }

  .site-nav a {
    padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
  }

  .hero-portrait {
    width: 7rem;
    max-width: 7rem;
    height: 8.75rem;
    max-height: 8.75rem;
  }

  .hero-realty-logo {
    height: 8.75rem;
    max-height: 8.75rem;
    max-width: 11rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-facts dl > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .lightbox {
    padding: 3.5rem 1rem 1.5rem;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 1rem;
    transform: none;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }

  .agent-card {
    grid-template-columns: 6rem 1fr;
  }

  .agent-card img {
    width: 6rem;
    height: 7.5rem;
  }
}
