/* ========================================================================
   STONECREST — SHARED STYLES
   Order: tokens · reset · base · nav · footer · buttons · hero · sections
          · property card · amenities · forms · faq · gallery · responsive
   ======================================================================== */

:root {
  /* Color */
  --cream:        #f7f4ec;
  --cream-warm:   #efe9db;
  --sage:         #8a9a75;
  --sage-deep:    #5f6f4f;
  --bronze:       #b08968;
  --bronze-soft:  #c9a384;
  --ink:          #3a3a35;
  --ink-soft:     #6b6860;
  --line:         rgba(58, 58, 53, 0.12);
  --highlight:    #ffd78a;

  /* Spacing */
  --gutter:       clamp(20px, 5vw, 56px);
  --section-y:    clamp(72px, 10vw, 120px);
  --maxw:         1200px;

  /* Type */
  --font-serif:   'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.1; letter-spacing: -0.005em; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Eyebrows / small labels */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 20px;
}

/* Generic section container */
.section {
  padding: var(--section-y) var(--gutter);
}
.section-inner { max-width: var(--maxw); margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--ink);
}
.section-head h2 em { color: var(--sage-deep); }
.section-head .divider {
  margin: 28px auto 0;
  width: 60px; height: 1px;
  background: var(--bronze);
  position: relative;
}
.section-head .divider::before,
.section-head .divider::after {
  content: ''; position: absolute; top: 50%;
  width: 6px; height: 6px;
  background: var(--bronze);
  border-radius: 50%;
  transform: translateY(-50%);
}
.section-head .divider::before { left: -14px; }
.section-head .divider::after  { right: -14px; }

/* ========== SITE NAV ========== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 20px var(--gutter);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-nav .logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-nav .logo-mark {
  color: var(--bronze);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-right: 6px;
}
.site-nav .primary-nav ul {
  display: flex;
  gap: 36px;
  justify-content: center;
}
.site-nav .primary-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  position: relative;
  transition: color 0.2s;
}
.site-nav .primary-nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}
.site-nav .primary-nav a:hover,
.site-nav .primary-nav a[aria-current="page"] { color: var(--sage-deep); }
.site-nav .primary-nav a:hover::after,
.site-nav .primary-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.site-nav .nav-phone {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--sage-deep);
  white-space: nowrap;
}
.site-nav .nav-phone::before {
  content: '☎';
  font-style: normal;
  margin-right: 8px;
  color: var(--bronze);
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  justify-self: end;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== BUTTONS ========== */
.btn-bronze, .btn-transparent, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.btn-bronze {
  background: var(--bronze);
  color: var(--cream);
}
.btn-bronze:hover { background: #9a7557; transform: translateY(-2px); }

.btn-transparent {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(247, 244, 236, 0.5);
}
.btn-transparent:hover { background: rgba(247, 244, 236, 0.12); }

.btn-ghost {
  background: transparent;
  color: var(--sage-deep);
  border: 1px solid var(--sage-deep);
}
.btn-ghost:hover { background: var(--sage-deep); color: var(--cream); }

/* Nav action buttons (persistent Apply / Pay Rent) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: end;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.nav-cta--apply { background: var(--bronze); color: var(--cream); }
.nav-cta--apply:hover { background: #9a7557; transform: translateY(-2px); }
.nav-cta--pay { border: 1px solid var(--sage-deep); color: var(--sage-deep); }
.nav-cta--pay:hover { background: var(--sage-deep); color: var(--cream); }

/* Apply / Pay Rent dropdown menus */
.nav-menu { position: relative; display: inline-flex; }
.nav-menu > button { display: inline-flex; align-items: center; }
.nav-menu > button::after {
  content: '▾';
  margin-left: 8px;
  font-size: 0.85em;
  line-height: 1;
  transition: transform 0.2s;
}
.nav-menu > button[aria-expanded="true"]::after { transform: rotate(180deg); }
.nav-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 230px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 24px 60px -24px rgba(58, 58, 53, 0.4);
  padding: 8px;
  z-index: 60;
  display: flex;
  flex-direction: column;
}
.nav-menu-panel[hidden] { display: none; }
.nav-menu-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
}
.nav-menu-panel a::after { content: '↗'; color: var(--bronze); opacity: 0.7; }
.nav-menu-panel a:hover,
.nav-menu-panel a:focus-visible { background: var(--cream-warm); color: var(--sage-deep); }
/* Hero apply dropdown opens left-aligned under the big button */
.hero-menu .nav-menu-panel { left: 0; right: auto; }

/* Inline "View on Google Maps" link */
.map-link { color: var(--bronze); font-weight: 600; white-space: nowrap; }
.map-link:hover { color: var(--sage-deep); text-decoration: underline; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--cream-warm);
  padding: 64px var(--gutter) 40px;
  border-top: 1px solid var(--line);
}
.site-footer .footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: start;
}
.site-footer .logo {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.site-footer .logo-mark {
  color: var(--bronze);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-right: 6px;
}
.site-footer .footer-nav ul {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 12px 36px;
}
.site-footer .footer-nav a {
  font-size: 13px;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.site-footer .footer-nav a:hover { color: var(--sage-deep); }
.site-footer .footer-meta {
  text-align: right;
  font-size: 13px;
  color: var(--ink-soft);
}
.site-footer .footer-meta a { color: var(--ink); }
.site-footer .footer-meta a:hover { color: var(--sage-deep); }
.site-footer .copyright { margin-top: 18px; font-size: 12px; color: var(--ink-soft); }

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 85vh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero.is-small {
  height: 50vh;
  min-height: 360px;
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.8);
}
.hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(58,58,53,0) 40%, rgba(58,58,53,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) 80px;
  color: var(--cream);
}
.hero.is-small .hero-content { padding-bottom: 48px; }
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.92;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 30px; height: 1px;
  background: var(--highlight);
}
.hero h1 {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 18ch;
}
.hero.is-small h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 0;
}
.hero h1 em { font-style: italic; color: var(--highlight); }
.hero p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 36px;
  opacity: 0.92;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== WELCOME STRIP ========== */
.welcome {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.welcome-text h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  margin-bottom: 24px;
}
.welcome-text h2 em { color: var(--sage-deep); }
.welcome-text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.welcome-text .signature {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--sage-deep);
}
.welcome-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 280px;
  gap: 14px;
}
.welcome-gallery > * {
  background-size: cover;
  background-position: center;
  border-radius: 3px;
}
.welcome-gallery > *:nth-child(1) { grid-row: span 2; }

/* ========== PROPERTY GRID ========== */
.communities { background: var(--cream-warm); }
.property-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.property-card {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 20px 50px -30px rgba(58, 58, 53, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  color: inherit;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -30px rgba(58, 58, 53, 0.3);
}
.property-img {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
}
.property-img .img-badge {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--cream);
  color: var(--sage-deep);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
}
.property-body { padding: 32px; }
.property-body h3 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 8px;
}
.property-body h3 em { color: var(--bronze); }
.property-body .prop-addr {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.property-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.property-body .prop-specs {
  display: flex;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin-bottom: 22px;
}
.property-body .prop-specs > div {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.property-body .prop-specs strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--sage-deep);
  margin-bottom: 2px;
}
.property-body .prop-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.property-body .prop-link::after { content: '→'; transition: transform 0.2s; }
.property-card:hover .prop-link::after { transform: translateX(6px); }

/* ========== AREA MAP ========== */
.area-map {
  max-width: var(--maxw);
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
/* The Google My Maps embed renders a fixed title bar above the map canvas, and
   no documented parameter removes it. Overshoot the iframe by the bar's height
   and pull it up by the same amount — .area-map's overflow:hidden clips it,
   leaving the full 420px of map canvas. Only --map-header-h needs adjusting if
   Google changes the bar's height. */
.area-map iframe {
  --map-header-h: 64px;
  display: block;
  width: 100%;
  height: calc(420px + var(--map-header-h));
  margin-top: calc(-1 * var(--map-header-h));
  border: 0;
}
.area-map-key {
  max-width: var(--maxw);
  margin: 0 auto 48px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.area-map-key a {
  display: block;
  background: var(--cream);
  padding: 16px 18px;
  height: 100%;
  font-size: 15px;
  font-weight: 600;
  color: var(--sage-deep);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.area-map-key a:hover { background: var(--cream-warm); color: var(--bronze); }
.area-map-key .pin {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--bronze);
  vertical-align: middle;
}
.area-map-key small {
  display: block;
  margin-top: 5px;
  padding-left: 18px;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
}

/* ========== CLOSE-TO TILES ========== */
.close-to {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.close-tile {
  text-align: center;
  padding: 24px 12px;
}
.close-tile h3 {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--sage-deep);
}
.close-tile p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ========== AMENITY GRID ========== */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: var(--maxw);
  margin: 0 auto;
}
.amenity-grid--three { grid-template-columns: repeat(3, 1fr); }
.amenity-tile {
  background: var(--cream);
  padding: 36px 24px;
  text-align: center;
  transition: background 0.25s;
}
.amenity-tile:hover { background: var(--cream-warm); }
.amenity-icon {
  font-size: 32px;
  color: var(--sage-deep);
  margin-bottom: 14px;
  line-height: 1;
}
.amenity-tile h4 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
}
.amenity-tile p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ========== FIND-HOME CTA ========== */
.find-home {
  background: var(--sage-deep);
  color: var(--cream);
  padding: 120px var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.find-home::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('/assets/img/amenities/exterior-1.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.find-home .inner {
  position: relative; z-index: 1;
  max-width: 800px; margin: 0 auto;
}
.find-home .eyebrow { color: var(--highlight); margin-bottom: 22px; }
.find-home h2 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300;
  margin-bottom: 28px;
}
.find-home h2 em { color: var(--highlight); }
.find-home p {
  font-size: 17px;
  line-height: 1.65;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 32px;
}
.find-home .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.find-home .phone-line {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  opacity: 0.92;
}
.find-home .phone-line strong {
  color: var(--highlight);
  font-style: normal;
  font-weight: 400;
  margin-left: 8px;
}

/* ========== FAQ / DETAILS ========== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 26px;
  color: var(--bronze);
  font-weight: 300;
  transition: transform 0.25s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .answer {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.faq-item .answer p + p { margin-top: 12px; }
.faq-item .answer a { color: var(--sage-deep); text-decoration: underline; }

/* ========== FORM ========== */
.form-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.contact-form { display: grid; gap: 18px; }
.contact-form label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  font: inherit;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--bronze);
  background: #fff;
  outline: none;
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form .honeypot { position: absolute; left: -9999px; }
.contact-form button[type="submit"] {
  justify-self: start;
}

.contact-info {
  background: var(--cream-warm);
  padding: 36px;
  border-radius: 4px;
}
.contact-info h3 {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 18px;
  color: var(--sage-deep);
}
.contact-info dl {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-info dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze);
}
.contact-info dd {
  font-size: 16px;
  color: var(--ink);
}
.contact-info dd a { color: var(--ink); border-bottom: 1px solid var(--line); }
.contact-info dd a:hover { color: var(--sage-deep); border-bottom-color: var(--sage-deep); }
.contact-info iframe { width: 100%; height: 220px; border: 0; border-radius: 2px; }

/* ========== RESIDENT PAY BUTTONS ========== */
.pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
.pay-btn {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  padding: 24px 28px;
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.pay-btn:hover {
  border-color: var(--bronze);
  background: var(--cream);
  transform: translateY(-2px);
}
.pay-btn .pay-label {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ink);
}
.pay-btn .pay-arrow {
  font-size: 18px;
  color: var(--bronze);
}

.helpful-links {
  max-width: 820px;
  margin: 56px auto 0;
}
.helpful-links h3 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 18px;
  text-align: center;
  color: var(--sage-deep);
}
.helpful-links ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.helpful-links a {
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.helpful-links a:hover {
  color: var(--sage-deep);
  border-bottom-color: var(--sage-deep);
}

/* ========== PHOTO GALLERY ========== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.photo-grid a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: var(--cream-warm);
}
.photo-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.photo-grid a:hover img { transform: scale(1.04); }

/* ========== FLOORPLAN CARDS ========== */
.floorplan-group { max-width: var(--maxw); margin: 0 auto; }
.floorplan-group + .floorplan-group { margin-top: 80px; }
.floorplan-group h3.group-title {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 28px;
  text-align: center;
  color: var(--ink);
}
.floorplan-group h3.group-title em { color: var(--sage-deep); }
.floorplan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.floorplan-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.floorplan-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--cream-warm);
  padding: 12px;
  margin-bottom: 16px;
}
.floorplan-card h4 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 4px;
}
.floorplan-card .price {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--bronze);
  margin-bottom: 12px;
}
.floorplan-card .specs {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.floorplan-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.floorplan-card .apply-link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ========== ALL-PROPERTIES PANELS ========== */
.property-panel {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.property-panel:last-of-type { border-bottom: none; }
.property-panel:nth-child(even) .panel-img { order: 2; }
.panel-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}
.panel-body h3 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  margin-bottom: 8px;
}
.panel-body h3 em { color: var(--bronze); }
.panel-body .addr {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.panel-map {
  display: block;
  width: 100%;
  max-width: 340px;
  height: 170px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 8px;
}
.panel-map-cap {
  display: block;
  font-size: 13px;
  margin-bottom: 20px;
}
.panel-map-cap a { color: var(--bronze); font-weight: 600; }
.panel-map-cap a:hover { color: var(--sage-deep); text-decoration: underline; }
.panel-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.feature-list {
  margin-bottom: 24px;
  display: grid;
  gap: 6px;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: '◆';
  position: absolute;
  left: 0; top: 6px;
  font-size: 8px;
  color: var(--bronze);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .site-nav {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    padding: 10px var(--gutter);
  }
  .site-nav .logo { font-size: 19px; }
  .site-nav .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }
  .site-nav .primary-nav.is-open { max-height: 70vh; }
  .site-nav .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }
  .site-nav .primary-nav a {
    display: block;
    padding: 16px var(--gutter);
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .primary-nav a::after { display: none; }
  .site-nav .nav-phone { display: none; }
  .nav-toggle { display: block; }

  /* Keep a compact Apply Now in the top bar; Pay Rent lives in the menu */
  .nav-actions { grid-row: 1; grid-column: 2; gap: 8px; }
  .nav-toggle { grid-row: 1; grid-column: 3; margin-right: -10px; }
  .nav-menu--pay { display: none; }
  .nav-cta { min-height: 36px; padding: 8px 12px; font-size: 11px; letter-spacing: 0.08em; }
  .nav-menu > button::after { margin-left: 5px; }

  .welcome { grid-template-columns: 1fr; gap: 40px; }
  .welcome-gallery { grid-template-rows: 180px 180px; }

  .property-grid { grid-template-columns: 1fr; gap: 24px; }
  .area-map iframe { height: 320px; }
  .area-map-key { grid-template-columns: repeat(2, 1fr); }
  .close-to { grid-template-columns: 1fr; gap: 32px; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; gap: 36px; }
  .pay-grid { grid-template-columns: 1fr; }
  .floorplan-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .property-panel { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .property-panel:nth-child(even) .panel-img { order: 0; }

  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer .footer-nav ul { grid-template-columns: repeat(2, max-content); }
  .site-footer .footer-meta { text-align: left; }
}

@media (max-width: 600px) {
  .welcome-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 200px);
  }
  .welcome-gallery > *:nth-child(1) { grid-row: span 1; }

  .amenity-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .helpful-links ul { grid-template-columns: 1fr; }
  .area-map iframe { height: 260px; }
  .area-map-key { grid-template-columns: 1fr; }

  /* Let the hero grow to fit its content so nothing slides under the sticky nav */
  .hero { height: auto; min-height: 88vh; }
  .hero.is-small { height: auto; min-height: 46vh; }
  .hero-content { padding-top: 40px; }

  .hero-ctas, .find-home .cta-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-ctas .hero-menu { width: 100%; }
  .hero-ctas .btn-bronze, .hero-ctas .btn-transparent,
  .find-home .cta-row .btn-bronze, .find-home .cta-row .btn-transparent {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .site-nav .logo { font-size: 17px; }
  .property-body { padding: 24px; }
}
