:root {
  --ink: #18312f;
  --ink-muted: #596c69;
  --paper: #f7f5ef;
  --sand: #ebe6da;
  --seafoam: #dce8df;
  --line: #d2d5cc;
  --accent: #b85b3f;
  --white: #fffefa;
  --shadow: 0 18px 50px rgb(22 45 41 / 12%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

button, a { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 30;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  position: sticky;
  z-index: 10;
  top: 0;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 1rem clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid rgb(24 49 47 / 9%);
  background: rgb(247 245 239 / 93%);
  backdrop-filter: blur(12px);
}

.brand {
  display: grid;
  gap: .05rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  letter-spacing: -.04em;
  line-height: 1;
  text-decoration: none;
}
.brand-address em { color: var(--accent); font-style: normal; }
.brand-community { color: var(--ink-muted); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .56rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }

.site-nav { display: flex; gap: clamp(1rem, 2.5vw, 2.5rem); }
.site-nav a { color: var(--ink-muted); font-size: .9rem; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible, .site-footer a:hover { color: var(--accent); }
.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(450px, 620px) minmax(480px, 650px);
  justify-content: center;
  height: clamp(680px, 48vw, 760px);
  background: var(--sand);
}

.hero-image-wrap { position: relative; height: 100%; overflow: hidden; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.photo-note { position: absolute; right: 1.5rem; bottom: 1.3rem; margin: 0; color: #fff; font-size: .75rem; letter-spacing: .09em; text-shadow: 0 1px 8px #000; text-transform: uppercase; }

.hero-content { display: flex; flex-direction: column; justify-content: center; max-width: 650px; padding: clamp(2.4rem, 5vw, 4.75rem); }
.eyebrow { margin: 0 0 1.05rem; color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; line-height: 1.04; }
h1 { max-width: 12ch; font-size: clamp(2.7rem, 4vw, 4.5rem); }
h2 { font-size: clamp(2.25rem, 3.2vw, 3.5rem); }
.hero-location { margin: .65rem 0 0; color: var(--ink); font-size: .98rem; font-weight: 650; }.hero-location span { padding-inline: .35rem; color: var(--accent); }
.hero-copy { max-width: 45ch; margin: 1rem 0 0; color: var(--ink-muted); font-size: 1.02rem; }
.hero-specs { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 1.3rem 0 0; padding: 0; color: var(--ink); font-size: .9rem; list-style: none; }.hero-specs li { white-space: nowrap; }.hero-specs strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.12rem; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1.15rem; align-items: center; margin-top: 1.6rem; }
.button { display: inline-block; padding: .87rem 1.25rem; text-decoration: none; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover, .button-primary:focus-visible { background: var(--accent); }
.text-link { color: var(--ink); font-size: .92rem; text-underline-offset: .3em; }
.availability-card { display: flex; gap: .8rem; align-items: center; margin-top: 1.7rem; padding-top: 1rem; border-top: 1px solid rgb(24 49 47 / 20%); color: var(--ink-muted); font-size: .88rem; }
.availability-card strong, .availability-card span:not(.status-dot) { display: block; }
.availability-card strong { color: var(--ink); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.status-dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); }

.section { padding: clamp(3.5rem, 6vw, 6rem) clamp(1.25rem, 5vw, 5rem); }
.residence { display: grid; grid-template-columns: minmax(250px, 400px) minmax(400px, 620px); justify-content: center; gap: clamp(3rem, 7vw, 8rem); background: var(--white); }
.section-intro h2 { max-width: 9ch; }
.residence-body > p { max-width: 48ch; margin: .45rem 0 2.1rem; color: var(--ink-muted); font-size: clamp(1.03rem, 1.5vw, 1.18rem); }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.spec-grid div { min-height: 115px; padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--line); }
.spec-grid div:nth-child(odd) { border-right: 1px solid var(--line); }
.spec-grid div:nth-child(even) { padding-left: 1.25rem; }
dt { color: var(--ink-muted); font-size: .7rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
dd { margin: .35rem 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; letter-spacing: -.03em; }
.residence-features { margin-top: 2rem; }.feature-title { margin: 0 0 .55rem; color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }.residence-features ul { display: grid; gap: .45rem; margin: 0; padding-left: 1.15rem; color: var(--ink-muted); font-size: .94rem; }.residence-features li::marker { color: var(--accent); }.porch-note { max-width: 54ch; margin: 1.65rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.14rem; line-height: 1.42; }

.gallery-section { background: var(--paper); }
.gallery-heading { display: flex; width: min(100%, 1520px); justify-content: space-between; gap: 2rem; align-items: end; margin: 0 auto 2.1rem; }
.gallery-heading h2 { max-width: 12ch; }
.gallery-heading > p { max-width: 24ch; margin: 0 0 .35rem; color: var(--ink-muted); font-size: .9rem; }
.photo-gallery { display: grid; width: min(100%, 1520px); grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; margin: 0 auto; }
.gallery-item { position: relative; min-height: 0; padding: 0; overflow: hidden; border: 0; background: var(--ink); color: var(--white); cursor: zoom-in; text-align: left; }
.gallery-item img { width: 100%; aspect-ratio: .78; object-fit: cover; transition: transform .4s ease, opacity .3s ease; }
.gallery-item span { position: absolute; right: 0; bottom: 0; left: 0; padding: .9rem 1rem; background: linear-gradient(transparent, rgb(0 0 0 / 72%)); font-size: .82rem; opacity: 0; transform: translateY(.4rem); transition: opacity .25s ease, transform .25s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { opacity: .82; transform: scale(1.04); }
.gallery-item:hover span, .gallery-item:focus-visible span { opacity: 1; transform: translateY(0); }
.gallery-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.community { display: grid; grid-template-columns: minmax(360px, 500px) minmax(380px, 540px); justify-content: center; gap: clamp(3rem, 7vw, 8rem); align-items: center; background: var(--seafoam); }
.community-image-wrap { height: clamp(470px, 34vw, 600px); overflow: hidden; box-shadow: var(--shadow); }
.community-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.community-copy { max-width: 520px; }
.community-copy h2 { max-width: 10ch; }
.community-copy > p:not(.eyebrow) { color: var(--ink-muted); font-size: 1.05rem; }
.map-link { display: inline-block; margin-top: 1.25rem; color: var(--ink); font-size: .92rem; font-weight: 700; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: .3em; }.map-link:hover, .map-link:focus-visible { color: var(--accent); }
.fine-print { margin-top: 1.5rem; font-size: .82rem !important; }

.leasing { display: grid; grid-template-columns: minmax(280px, 430px) minmax(380px, 560px); justify-content: center; gap: clamp(3rem, 7vw, 8rem); padding: clamp(3.5rem, 6vw, 6rem) clamp(1.25rem, 5vw, 5rem); background: var(--ink); color: var(--white); }
.leasing .eyebrow { color: #e4a38d; }
.leasing h2 { max-width: 11ch; }
.leasing-details { max-width: 540px; }
.leasing-details > p:first-child { margin-top: 0; color: rgb(255 255 255 / 76%); font-size: 1.06rem; }
.leasing-list { margin: 2rem 0; border-top: 1px solid rgb(255 255 255 / 26%); }
.leasing-list div { display: grid; grid-template-columns: minmax(125px, .55fr) 1fr; gap: 1.3rem; padding: 1rem 0; border-bottom: 1px solid rgb(255 255 255 / 26%); }
.leasing-list dt { color: rgb(255 255 255 / 60%); }
.leasing-list dd { font-family: inherit; font-size: .97rem; letter-spacing: 0; }
.leasing-list a { color: var(--white); text-underline-offset: .25em; }
.leasing .fine-print { color: rgb(255 255 255 / 58%); }

.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1.25rem, 5vw, 5rem); background: #112623; color: rgb(255 255 255 / 63%); font-size: .78rem; }
.site-footer p { margin: 0; }.site-footer a { color: var(--white); text-underline-offset: .25em; }

.photo-dialog { width: 100vw; max-width: none; height: 100vh; max-height: none; padding: 0; border: 0; background: rgb(7 16 15 / 98%); color: var(--white); }
.photo-dialog::backdrop { background: rgb(7 16 15 / 85%); }
.dialog-shell { display: grid; position: relative; place-items: center; width: 100%; height: 100%; padding: 4.5rem clamp(1rem, 7vw, 6rem) 3rem; }
.dialog-shell img { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; box-shadow: 0 10px 60px #000; }
.dialog-close, .dialog-arrow { position: absolute; border: 1px solid rgb(255 255 255 / 35%); background: rgb(9 24 22 / 72%); color: var(--white); cursor: pointer; }
.dialog-close { top: 1.25rem; right: 1.25rem; padding: .7rem .9rem; }.dialog-close span { margin-left: .45rem; font-size: 1.2rem; }
.dialog-arrow { top: 50%; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; transform: translateY(-50%); }.dialog-previous { left: 1.2rem; }.dialog-next { right: 1.2rem; }
.dialog-close:hover, .dialog-close:focus-visible, .dialog-arrow:hover, .dialog-arrow:focus-visible { border-color: var(--white); background: var(--accent); }
.dialog-shell p { position: absolute; bottom: .65rem; margin: 0; font-size: .85rem; }

@media (max-width: 850px) {
  .hero, .residence, .community, .leasing { grid-template-columns: 1fr; }
  .hero { height: auto; }.hero-image-wrap { height: min(520px, 70vw); min-height: 410px; }.hero-content { max-width: none; padding: 3rem clamp(1.25rem, 8vw, 5rem) 3.5rem; }
  .residence, .community, .leasing { gap: 2.75rem; }.section-intro h2 { max-width: 12ch; }
  .photo-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }.community-image-wrap { height: 500px; }
}

@media (max-width: 620px) {
  .site-header { min-height: 66px; }.menu-toggle { display: block; padding: .4rem 0; border: 0; background: transparent; color: var(--ink); font-size: .85rem; }
  .site-nav { display: none; position: absolute; top: 65px; right: 0; left: 0; flex-direction: column; gap: .15rem; padding: .8rem 1.25rem 1.1rem; border-bottom: 1px solid var(--line); background: var(--paper); }.site-nav.is-open { display: flex; }.site-nav a { padding: .65rem 0; }
  .hero { min-height: auto; }.hero-image-wrap { height: 340px; min-height: 0; }.hero-content { padding-top: 2.6rem; padding-bottom: 2.9rem; }h1 { font-size: clamp(2.6rem, 11vw, 3.25rem); }.hero-location { font-size: .92rem; }.hero-specs { gap: .35rem .75rem; margin-top: 1.1rem; font-size: .84rem; }.availability-card { margin-top: 1.5rem; }
  .section { padding: 4.3rem 1.25rem; }.spec-grid { grid-template-columns: 1fr; }.spec-grid div:nth-child(odd) { border-right: 0; }.spec-grid div:nth-child(even) { padding-left: 0; }.spec-grid div { min-height: auto; padding: 1rem 0; }.porch-note { font-size: 1.05rem; }
  .gallery-heading { display: block; margin-bottom: 2rem; }.gallery-heading > p { margin-top: 1.3rem; }.photo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }.gallery-item span { display: none; }
  .community-image-wrap { height: 390px; }.leasing { padding: 4.3rem 1.25rem; }.leasing-list div { grid-template-columns: 1fr; gap: .2rem; }.site-footer { align-items: start; flex-direction: column; }
  .dialog-shell { padding: 4rem 1rem 2.8rem; }.dialog-arrow { top: auto; bottom: .8rem; transform: none; }.dialog-previous { left: calc(50% - 58px); }.dialog-next { right: calc(50% - 58px); }.dialog-close { top: .8rem; right: .8rem; }.dialog-shell p { bottom: 1.65rem; left: 1rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.gallery-item img, .gallery-item span { transition: none; } }
