@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/figtree.woff2) format('woff2');
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon.woff2) format('woff2');
}
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/libre-caslon-italic.woff2) format('woff2');
}

:root {
  --paper: #F6F4EF;
  --sand: #EFEBE3;
  --white: #FFFFFF;
  --ink: #1E2731;
  --body: #3E4751;
  --muted: #59626B;
  --line: #E4DFD5;
  --line-soft: #ECE8E0;
  --photo: #D8D2C6;
  --eyebrow: #7A5C33;
  --accent: #2E4A5C;
  --serif: 'Libre Caslon Text', Georgia, serif;
  --sans: 'Figtree', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3, h4 { font-weight: 400; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--white); padding: 8px 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 96px 24px; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--eyebrow); }
.section-title { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(30px, 3vw, 42px); line-height: 1.15; }
.lede { margin: 0; color: var(--body); }

.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 14px 26px;
  border-radius: 2px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--white); border: 0; }
.btn-primary:hover { background: #24394A; }
.btn-ghost { color: var(--white); border: 1px solid rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline { gap: 10px; padding: 12px 22px; border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--white); }

/* Utility bar + header */
.utility {
  background: var(--ink); color: var(--paper); font-size: 14px; padding: 8px 24px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; text-align: center;
}
.utility a { color: var(--paper); font-weight: 600; text-decoration: none; }
.site-header {
  background: var(--white); border-bottom: 1px solid var(--line); padding: 28px 24px 0;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.site-header .logo img { width: 336px; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 32px; font-size: 15px; font-weight: 500; letter-spacing: 0.04em; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 12px 0 16px; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--accent); }

/* Hero */
.hero { position: relative; background: #3A4047; min-height: clamp(480px, 46vw, 680px); display: flex; align-items: flex-end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* Light scrim so the photo reads; legibility comes from the panel behind the text */
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 26, 33, 0.45), rgba(20, 26, 33, 0.1) 60%); }
.hero-panel {
  max-width: 760px; padding: clamp(24px, 3vw, 40px);
  background: rgba(20, 26, 33, 0.6); border-left: 3px solid #D9C7A3; border-radius: 15px;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}

/* Phones: the text would cover the whole photo, so stack it — photo band on top, text on solid ink below */
@media (max-width: 640px) {
  .hero, .hero-page { display: block; min-height: 0; background: var(--ink); }
  .hero > img { position: relative; height: auto; aspect-ratio: 4 / 3; }
  .hero::before { display: none; }
  .hero-inner { padding: 0; }
  .hero-panel {
    max-width: none; padding: 28px 20px 36px; border-radius: 0; border-left: 0; border-top: 3px solid #D9C7A3;
    background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .hero h1, .hero-page h1 { font-size: clamp(32px, 9vw, 40px); }
  .hero p.intro { font-size: 17px; }
  .hero .actions { margin-top: 28px; }
}
.hero-inner { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 48px 24px; color: var(--white); }
.hero .eyebrow { font-size: 14px; color: #F1E6CF; margin-bottom: 16px; }
.hero h1 { margin: 0; max-width: 820px; font-family: var(--serif); font-size: clamp(40px, 5.6vw, 80px); line-height: 1.08; letter-spacing: -0.01em; }
.hero p.intro { margin: 20px 0 0; max-width: 600px; font-size: clamp(17px, 1.5vw, 20px); color: #FFFFFF; }
.hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .credit { position: absolute; top: 16px; right: 20px; padding: 4px 10px; background: rgba(20, 26, 33, 0.75); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #F6F4EF; }

/* About */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px 80px; align-items: start; }
.about .lede + .lede { margin-top: 16px; }
.walk { background: var(--white); border: 1px solid var(--line); padding: 32px; }
.walk h3 { margin: 0 0 20px; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.walk ul { margin: 0; padding: 0; list-style: none; }
.walk li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.walk li:last-child { border-bottom: 0; }
.walk p { margin: 20px 0 0; font-size: 15px; color: var(--muted); }

/* Apartments */
.band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.apartments-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.apartments-head > div { max-width: 640px; }
.apartments-head .section-title { margin-bottom: 16px; }
.town { margin: 0 0 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-family: var(--serif); font-size: 26px; }
.town span { font-family: var(--sans); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 24px; margin-bottom: 64px; }
.card { border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; }
.card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--photo); }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card h4 { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.card .units { margin: 0; font-weight: 600; font-size: 15px; }
.card .desc { margin: 0; font-size: 15px; color: var(--body); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 13px; padding: 4px 10px; background: var(--white); border: 1px solid var(--line); }
.card .plan { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 15px; }
.card-wide { flex-direction: row; flex-wrap: wrap; }
.card-wide > img { flex: 1 1 380px; width: auto; min-width: 0; aspect-ratio: auto; min-height: 280px; max-height: 460px; }
.card-wide .card-body { flex: 1 1 380px; padding: 36px; gap: 14px; }
.card-wide h4 { font-size: 26px; }

/* Neighborhoods */
.dark { background: var(--ink); color: var(--paper); }
.dark .eyebrow { color: #D9C7A3; }
.dark .section-title { max-width: 700px; margin-bottom: 56px; }
.towns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px 80px; }
.towns > div { border-top: 1px solid rgba(246, 244, 239, 0.25); padding-top: 28px; }
.towns h3 { margin: 0 0 6px; font-family: var(--serif); font-size: 30px; }
.towns .facts { margin: 0 0 16px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #C4CBD2; }
.towns p:last-child { margin: 0; color: #DCE0E4; }

/* Commercial */
.commercial { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px 80px; align-items: start; }
.commercial .section-title { margin-bottom: 20px; }
.commercial .lede { margin-bottom: 24px; }
.commercial .call { margin: 0; font-size: 15px; color: var(--body); }
.tenants { margin: 0; padding: 0; list-style: none; border-top: 1px solid #D9D3C8; }
.tenants li { padding: 16px 0; border-bottom: 1px solid #D9D3C8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; }
.tenants li span:first-child { font-weight: 600; }
.tenants li span:last-child { color: var(--muted); }

/* Gallery */
.gallery-band { background: var(--white); border-top: 1px solid var(--line); }
.gallery-band .section-title { margin-bottom: 40px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.gallery figure { margin: 0; position: relative; }
.gallery figure a { display: block; }
.gallery img { width: 100%; height: auto; background: var(--photo); transition: opacity 0.2s; }
.gallery figure a:hover img { opacity: 0.9; }
.gallery-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white);
  background: linear-gradient(to top, rgba(20, 26, 33, 0.7), transparent);
}

/* Contact */
.contact-band { background: var(--sand); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px 80px; align-items: start; }
.contact dl { margin: 0 0 32px; display: grid; gap: 20px; }
.contact dt { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact dd { margin: 4px 0 0; }
.contact .phone { color: var(--ink); font-family: var(--serif); font-size: 28px; text-decoration: none; }
.contact .email { font-weight: 600; }
.contact-form { background: var(--white); border: 1px solid var(--line); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; padding: 12px; border: 1px solid #C9C2B6; border-radius: 2px; min-height: 48px; background: var(--white); color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; padding: 14px 32px; }
.contact-form .note { margin: 0; font-size: 13px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #C4CBD2; padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; font-size: 14px; }
.site-footer .logo-plate { background: var(--white); padding: 10px 14px; border-radius: 2px; }
.site-footer .logo-plate img { width: 150px; height: auto; }
.site-footer .tagline { margin: 0; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--paper); }
.site-footer p { margin: 0; }

.site-footer a { color: #E4E8EC; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; font-size: 15px; }
.footer-nav a { text-decoration: none; padding: 6px 0; }
.footer-nav a:hover { text-decoration: underline; }

/* "More" links */
.more { font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.dark .more { color: #E9DFCB; }
.more-row { margin: 40px 0 0; }
.commercial .more-row { margin-top: 24px; }
.town-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 24px; }
.town-head .town { margin: 0; }
.gallery-band .town-head { align-items: flex-end; margin-bottom: 40px; }
.gallery-band .town-head .section-title { margin: 0; }
.card h4 a { color: inherit; text-decoration: none; }
.card h4 a:hover { text-decoration: underline; }
.card .plan { text-decoration: none; }
.card .plan:hover { text-decoration: underline; }

/* Inner pages */
.hero-page { min-height: clamp(340px, 30vw, 460px); }
.hero-page h1 { font-size: clamp(36px, 4.4vw, 60px); }
.hero .eyebrow a { color: inherit; }
.page-head { background: var(--paper); }
.page-head .wrap { padding-bottom: 48px; }
.page-head .section-title { font-size: clamp(36px, 4.4vw, 60px); }
.page-head .lede { max-width: 760px; }
.avail { background: var(--sand); border-bottom: 1px solid var(--line); padding: 16px 24px; text-align: center; font-size: 15px; }
.avail p { margin: 0; }
.avail a { font-weight: 600; }
.jump { display: flex; flex-wrap: wrap; gap: 8px 12px; padding-top: 40px; padding-bottom: 0; }
.jump a { padding: 8px 16px; border: 1px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.jump a:hover { border-color: var(--accent); }

.property {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 64px; align-items: start;
  padding-top: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px;
}
.property:last-of-type { border-bottom: 0; }
.property-photo figure { margin: 0; }
.property-photo a { display: block; }
.property-photo img { width: 100%; height: auto; }
.property-body .section-title { margin-bottom: 12px; }
.property-body p { margin: 0 0 16px; color: var(--body); }
.property-body .units { font-weight: 600; color: var(--ink); }
.property .tags { margin: 8px 0 0; }
.plans-title { margin: 32px 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.plans { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.plans a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.plans a:hover { text-decoration: underline; }
.plans span { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.gallery-sm { grid-column: 1 / -1; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }

.address-list { margin: 0 0 64px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.address-list > li { display: flex; flex-wrap: wrap; gap: 16px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.address-photo { flex: 0 0 240px; max-width: 100%; }
.address-photo img { width: 100%; height: auto; }
.address-list > li > div { flex: 1 1 280px; }
.address-list h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 24px; }
.address-list h3 a { color: inherit; text-decoration: none; }
.address-list h3 a:hover { text-decoration: underline; }
.address-list ul { margin: 0; padding-left: 20px; color: var(--body); }

.cta-band { background: var(--sand); border-top: 1px solid var(--line); text-align: center; }
.cta-band .wrap { padding-top: 72px; padding-bottom: 72px; }
.cta-band .section-title { margin-bottom: 12px; }
.cta-band .actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.dark .towns p { color: #DCE0E4; }
.dark .towns .facts { color: #C4CBD2; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 26, 33, 0.88); }
.lightbox img { max-width: 100%; max-height: 84vh; width: auto; height: auto; margin: 0 auto; background: var(--white); }
.lightbox-caption { margin: 10px 0 0; color: var(--paper); text-align: center; font-size: 14px; }
.lightbox-close {
  position: absolute; top: -44px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.15); color: var(--white); font-size: 26px; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .utility :focus-visible { outline-color: #E9DFCB; }
