:root {
  --ink: #122220;
  --muted: #63716e;
  --paper: #f6f7f5;
  --white: #ffffff;
  --line: rgba(18, 34, 32, 0.14);
  --navy: #073763;
  --navy-soft: #0f496f;
  --forest: #2f5d50;
  --mist: #e9eeee;
  --gold: #c7a55a;
  --shadow: 0 24px 70px rgba(16, 38, 43, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(246, 247, 245, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(7, 55, 99, 0.12);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

nav a {
  padding: 8px 10px;
  border-radius: var(--radius);
}

nav a:hover,
nav a:focus-visible {
  color: var(--navy);
  background: rgba(7, 55, 99, 0.09);
  outline: none;
}

.header-call,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 850;
}

.header-call,
.button.primary {
  background: var(--navy);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.44);
}

.button.light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.hero {
  min-height: calc(100vh - 75px);
  display: grid;
  align-items: end;
  padding: clamp(90px, 12vw, 150px) clamp(18px, 5vw, 72px) clamp(34px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 28, 37, 0.88), rgba(7, 28, 37, 0.46) 48%, rgba(7, 28, 37, 0.06)),
    linear-gradient(0deg, rgba(7, 28, 37, 0.78), rgba(7, 28, 37, 0) 55%),
    url("assets/listing-photos/photo-09.jpg") center / cover no-repeat;
}

.hero-card {
  max-width: 780px;
}

.eyebrow,
.facts span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.3vw, 4.2rem);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.hero-address {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 1.9vw, 1.32rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.facts div {
  min-height: 122px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 20px clamp(18px, 3.5vw, 42px);
  border-right: 1px solid var(--line);
}

.facts span {
  color: var(--muted);
}

.facts strong {
  color: var(--navy);
  font-size: clamp(1.25rem, 2.2vw, 2.2rem);
}

.feature-section,
.buyer-read,
.gallery-section,
.contact-section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 104px) 0;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
}

.copy-block p,
.section-heading p,
.read-grid p,
.contact-copy p,
.agent-card p,
.site-footer p {
  color: var(--muted);
}

.feature-section figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-section img {
  width: 100%;
  aspect-ratio: 4 / 5;
  filter: saturate(1.08) contrast(1.05) brightness(1.02);
  object-fit: cover;
}

.feature-section figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 750;
}

.buyer-read {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.read-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.read-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.read-grid h3 {
  color: var(--navy);
}

.neighbourhood-note {
  max-width: 880px;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.neighbourhood-note h3 {
  color: var(--navy);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
}

.neighbourhood-note p:last-child {
  margin-bottom: 0;
}

.image-break {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 clamp(32px, 5vw, 56px);
  background: transparent;
}

.image-break img {
  width: 100%;
  height: clamp(320px, 45vw, 560px);
  border-radius: var(--radius);
  filter: saturate(1.08) contrast(1.05) brightness(1.02);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: stretch;
  gap: 12px;
}

.gallery-item {
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  filter: saturate(1.08) contrast(1.05) brightness(1.02);
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-more {
  min-height: 440px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
}

.gallery-more:hover,
.gallery-more:focus-visible {
  border-color: rgba(7, 55, 99, 0.32);
  box-shadow: 0 18px 42px rgba(7, 55, 99, 0.12);
  outline: none;
}

.gallery-more span:not(.pine-mark) {
  font-size: 1.2rem;
  font-weight: 900;
}

.gallery-more strong {
  max-width: 24ch;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.pine-mark {
  position: relative;
  width: 44px;
  height: 46px;
  display: inline-grid;
  place-items: center;
}

.pine-mark::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 26px;
  border-radius: 999px;
  background: var(--gold);
}

.pine-mark i {
  position: absolute;
  width: 30px;
  height: 2px;
  border-radius: 999px;
  background: var(--forest);
  transform-origin: center;
}

.pine-mark i:nth-child(1) {
  top: 12px;
  width: 20px;
  transform: rotate(-33deg);
}

.pine-mark i:nth-child(2) {
  top: 21px;
  transform: rotate(-25deg);
}

.pine-mark i:nth-child(3) {
  top: 30px;
  width: 38px;
  transform: rotate(-18deg);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.contact-copy {
  max-width: 690px;
}

.agent-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.agent-card img {
  width: 150px;
  height: 100%;
  min-height: 220px;
  border-radius: var(--radius);
  object-fit: cover;
}

.agent-details {
  display: grid;
  align-content: center;
}

.agent-details .eyebrow {
  margin-bottom: 8px;
}

.agent-card h3 {
  color: var(--white);
  margin-bottom: 4px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.agent-card p {
  color: rgba(255, 255, 255, 0.76);
}

.agent-note {
  margin-top: 8px;
}

.agent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.agent-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
  color: var(--white);
  font-weight: 900;
}

.lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 76px clamp(16px, 4vw, 48px) 34px;
  background: rgba(7, 19, 25, 0.9);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 78vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox button {
  position: fixed;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  padding: 10px 14px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  width: 46px;
  height: 56px;
  font-size: 2rem;
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.mobile-call-bar {
  position: fixed;
  z-index: 60;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: none;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mobile-call-bar a {
  flex: 1;
  padding: 14px 12px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-weight: 900;
}

.mobile-call-bar a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.site-footer {
  display: grid;
  gap: 4px;
  padding: 32px clamp(18px, 5vw, 72px) 92px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 940px) {
  .site-header {
    position: relative;
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .feature-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .facts,
  .read-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 620px) {
  .header-call {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .facts,
  .read-grid,
  .image-break,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .facts div {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gallery-item,
  .gallery-more {
    min-height: 300px;
  }

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

  .agent-card img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 360px;
  }

  .mobile-call-bar {
    display: flex;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }
}
