/* ============================================================
   Rafanelli & Nahas — Site Stylesheet
   Palette: a shade darker than the midpoint, close to the site's
   prior deep forest green (#23422F) but a touch lighter, charcoal/black.
   Type: EB Garamond headings (matches the logo wordmark) + Inter body.
   ============================================================ */

:root {
  --charcoal: #1C1F1D;
  --charcoal-2: #262A27;
  --charcoal-3: #333733;
  --green: #2F6844;
  --green-dark: #234F34;
  --green-light: #697E70;
  --offwhite: #E7DFCB;
  --cream: #EFE8D9;
  --alt-bg: #6B5F4E;
  --border: #DEDAD0;
  --text: #1E211F;
  --text-muted: #3A3F38;
  --white: #FFFFFF;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-heading: 'EB Garamond', 'Georgia', 'Times New Roman', serif;

  --container: 1200px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(28, 31, 29, 0.08);
  --shadow-md: 0 4px 16px rgba(28, 31, 29, 0.10);
  --shadow-lg: 0 12px 40px rgba(28, 31, 29, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keep anchor targets clear of the sticky header + quick-jump nav */
#office, #flex, #retail, #hotel, #suites, #apartments { scroll-margin-top: 148px; }
#avail-11th-idaho, #avail-boise-plaza, #avail-capitol-idaho, #avail-river-quarry, #avail-river-run-center, #property-management, #our-team {
  scroll-margin-top: 100px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.6;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin-bottom: 16px; }
h3 { font-size: 1.25rem; line-height: 1.3; }

p { color: var(--text-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.section {
  padding: 88px 0;
}

.section--tight { padding: 56px 0; }

.section--alt {
  background: var(--alt-bg);
  color: #EFEAE2;
}
/* Light-on-dark text for anything sitting directly on the alt background,
   including copy nested inside a .split or .grid wrapper div (not just
   direct children of .container) — the value-card/card/form-card exceptions
   below win the cascade tie by matching a more specific ancestor. */
.section--alt .container h2,
.section--alt .container h3,
.section--alt .section-head h4 { color: var(--white); }
.section--alt .container p { color: #E6E0D4; }
.section--alt .container .eyebrow { color: var(--cream); }

/* Cards, tables, and other white/light surfaces inside an alt section keep
   their normal dark text — only the surrounding section copy goes light. */
.section--alt .value-card,
.section--alt .card,
.section--alt .form-card,
.section--alt .avail-table-wrap,
.section--alt .avail-cards,
.section--alt .team-card--no-photo { color: var(--text); }
.section--alt .value-card h3,
.section--alt .card h3,
.section--alt .form-card h3,
.section--alt .team-card--no-photo h3 { color: var(--charcoal); }

/* Team cards that sit directly on the alt background (no white card behind
   them) need their accent and meta text lightened. The default dark green
   role and muted grey buildings line come in at 1.06:1 and 1.73:1 against
   the brown, which is unreadable. These land at 4.6:1 and 4.7:1. */
.section--alt .team-card .role { color: #CFE3D3; }
.section--alt .team-card .buildings { color: #E6E0D4; }
.section--alt .value-card p,
.section--alt .card p,
.section--alt .form-card p { color: var(--text-muted); }
.section--alt .leasing-contact__name { color: var(--charcoal); }

/* The checklist has no card behind it in the leasing-page alt section, so it
   needs the light treatment too (its default colors assume a light bg). */
.section--alt .checklist li { color: #E6E0D4; }
.section--alt .checklist li::before { color: var(--white); }

.section--dark {
  background: var(--charcoal);
  color: var(--offwhite);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #C7CBC5; }

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
}
.btn--primary:hover { background: var(--green-dark); }

.btn--outline {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn--outline:hover { background: var(--charcoal); color: var(--white); }

.btn--outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--outline-light:hover { background: var(--white); color: var(--charcoal); }

.btn--sm { padding: 10px 20px; font-size: 0.88rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(231, 223, 203, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* ---------- Quick-jump nav (Properties page) ---------- */
.quicknav {
  position: sticky;
  top: 84px;
  z-index: 90;
  background: rgba(231, 223, 203, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.quicknav__inner {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 14px 0;
}
.quicknav a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal-3);
  white-space: nowrap;
}
.quicknav a:hover { color: var(--green); }

.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { height: 52px; width: auto; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-primary a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal-3);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-primary a:hover,
.nav-primary a.active {
  color: var(--green);
}

.nav-primary a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
}

/* ---------- Nav dropdown (About Us -> Our Story / Our Team) ---------- */
.nav-item--dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 10px;
  min-width: 170px;
  z-index: 50;
}
.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  display: block;
}
.nav-dropdown a {
  display: block;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal-3);
  white-space: nowrap;
}
.nav-dropdown a + a { border-top: none; margin-top: -1px; }
.nav-dropdown a:hover { color: var(--green); background: var(--cream); }
.nav-dropdown a:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.nav-dropdown a:last-child { border-radius: 0 0 var(--radius) var(--radius); }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.nav-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 110px 0 100px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Homepage hero only: real building photo behind the headline instead of
   just the gradient. A dark scrim sits between the photo and the text so
   the existing light-on-dark copy stays just as readable as before. */
.hero--photo {
  background-image: linear-gradient(120deg, rgba(20,23,20,0.86) 0%, rgba(20,23,20,0.55) 55%, rgba(20,23,20,0.82) 100%), url("../images/11th-idaho-street.jpg");
  background-size: cover;
  background-position: center 35%;
}

/* Contact page hero: same treatment, different building photo so it doesn't
   feel identical to the homepage. */
.hero--photo-contact {
  background-image: linear-gradient(120deg, rgba(20,23,20,0.86) 0%, rgba(20,23,20,0.55) 55%, rgba(20,23,20,0.82) 100%), url("../images/boise-plaza-entrance-flags.jpg");
  background-size: cover;
  background-position: center 55%;
}

/* Commercial hub hero. */
.hero--photo-commercial {
  background-image: linear-gradient(120deg, rgba(20,23,20,0.86) 0%, rgba(20,23,20,0.55) 55%, rgba(20,23,20,0.82) 100%), url("../images/boise-plaza-aerial.jpg");
  background-size: cover;
  background-position: center 45%;
}

/* Residential hub hero and any page hero that wants the apartment-side photo
   treatment (Residential Properties, Contact).

   This deliberately uses its own file rather than pointing at one of the
   property card photos. A hero gets cropped to a wide band, so it needs an
   image with open composition and room for the headline to sit; a card photo
   framed on a single building crops into a wall of windows at this size.
   Keeping it separate also means swapping a community's card photo later
   can't silently change the hero. */
.hero--photo-residential {
  background-image: linear-gradient(120deg, rgba(20,23,20,0.86) 0%, rgba(20,23,20,0.55) 55%, rgba(20,23,20,0.82) 100%), url("../images/apt-residential-hero.jpg");
  background-size: cover;
  background-position: center 55%;
}

/* Full-width aerial photo band, used on the Properties page above the
   card grids to establish scale before the individual listings start. */
.photo-band {
  position: relative;
  height: 340px;
  overflow: hidden;
}
.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,31,29,0.05) 0%, rgba(28,31,29,0.35) 100%);
}

.hero-inner { max-width: 720px; position: relative; z-index: 1; }

.hero p.lead {
  font-size: 1.15rem;
  color: #D8DCD4;
  margin: 22px 0 34px;
  max-width: 560px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero--page {
  padding: 72px 0 64px;
}
.hero--page .lead { max-width: 640px; }

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--charcoal);
  padding: 40px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stat-grid .num {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--white);
}
.stat-grid .label {
  font-size: 0.82rem;
  color: #B7BDB2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Quick-link tile: a whole card that's just an <a>, used on the Commercial
   and Residential hub pages to route into their sub-pages. Same card shell
   as the photo cards, just no media and centered text since there's no
   image to anchor the layout. */
.card--link {
  display: block;
  text-align: center;
  color: inherit;
  text-decoration: none;
}
.card--link .card-body { padding: 28px 22px; }
.card--link h3 { margin-bottom: 6px; }
.card--link p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.card--link:hover h3 { color: var(--green); }

/* ---------- Timeline (About page milestones) ---------- */
.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 16px;
  margin-top: 48px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.timeline-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
  position: relative;
  padding-top: 26px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--offwhite);
  z-index: 1;
}
.timeline-item .year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.timeline-item p { font-size: 0.9rem; margin: 0; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card:hover .card-media img { transform: scale(1.04); }

.card-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--cream) 0%, #E3E0D6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

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

.card-body { padding: 22px 24px 26px; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(40, 70, 50, 0.08);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.card-meta {
  display: flex;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.card-meta strong { color: var(--charcoal); }

/* Availability / Amenities button pair under a property card. Availability
   is styled solid (it's the action most tenants want first), Amenities
   outline, per the requested order: Availability first, Amenities second. */
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.card-actions .btn { flex: 1; justify-content: center; text-align: center; }

.value-card { padding: 32px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-card .icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(40,70,50,0.1);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
}
.value-card .icon svg { width: 22px; height: 22px; stroke: currentColor; }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  aspect-ratio: 5/4;
  background: linear-gradient(135deg, var(--cream), #E0DDD2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--text);
}
.checklist li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Table (availability) ---------- */
.avail-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
}
.avail-table th, .avail-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.avail-table th {
  background: var(--charcoal);
  color: var(--white);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.avail-table tr:last-child td { border-bottom: none; }
.avail-table tr:hover td { background: var(--cream); }

.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.status-pill.available { background: rgba(40,70,50,0.12); color: var(--green); }
.status-pill.pending { background: rgba(180,130,30,0.14); color: #5C3F10; }

/* Brief highlight when a visitor arrives via an availability deep-link, so it's
   obvious which row they were sent to. */
.avail-highlight {
  animation: availPulse 2.4s ease;
}
@keyframes availPulse {
  0%, 100% { background-color: transparent; }
  15%, 55% { background-color: rgba(143, 183, 156, 0.28); }
}
@media (prefers-reduced-motion: reduce) {
  .avail-highlight { animation: none; }
}

/* Vintage stamp above the availability listings. The figures are maintained by
   hand against LoopNet, so telling visitors when they were last reviewed is
   more honest than implying a live feed. */
.avail-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: -8px 0 22px;
}

/* Inquire + LoopNet button pair. Kept side by side on desktop, stacked and
   full-width inside the mobile cards so both stay comfortable tap targets. */
.avail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.avail-card .avail-actions {
  margin-top: 14px;
}
.avail-card .avail-actions .btn {
  flex: 1 1 auto;
  text-align: center;
}

/* Mobile-friendly stand-in for the availability table: cards instead of
   a horizontally-scrolling table, since sideways scroll on a data table
   is a poor experience on a phone. */
.avail-cards { display: none; }
.avail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.avail-card h4 { font-size: 1.02rem; margin-bottom: 4px; }
.avail-card .avail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-top: 1px solid var(--border);
}
.avail-card .avail-row span:first-child { color: var(--text); font-weight: 600; }
.avail-card .btn { width: 100%; justify-content: center; margin-top: 12px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--offwhite);
  color: var(--text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

#form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}
#form-status.show { display: block; }
#form-status.success { background: rgba(40,70,50,0.1); color: var(--green-dark); }

/* ---------- Team ---------- */
.team-card {
  text-align: center;
}
.team-photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--cream), #E0DDD2);
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.team-card h3 { margin-bottom: 2px; }
.team-card .role { font-size: 0.85rem; color: var(--green); font-weight: 600; margin-bottom: 10px; }

/* Name/title only, no headshot yet — drop a .team-photo div back in above
   the <h3> whenever real photos are ready and this padding takes care of itself. */
.team-card--no-photo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.team-card--no-photo .role { margin-bottom: 0; }

.team-card .buildings {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Hover-swap photo: hovering the photo itself reveals a second photo (e.g. a
   professional headshot) in place of the default one. */
.team-card--hover-swap .team-photo {
  cursor: pointer;
}
.team-card--hover-swap .photo-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.team-card--hover-swap .team-photo:hover .photo-hover {
  opacity: 1;
}
/* Touch devices can't hover, so main.js toggles .photo-swapped on tap instead.
   Keep this as its own rule rather than grouping it with the :hover selector —
   older browsers drop an entire selector list if any one selector is unknown. */
.team-card--hover-swap .team-photo.photo-swapped .photo-hover {
  opacity: 1;
}
.team-card--hover-swap .team-photo:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 3px;
}

.team-group-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--green);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #D7E0D9; max-width: 560px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: #C7CBC5;
  padding: 64px 0 28px;
}
/* The global `p { color: var(--text-muted) }` rule beats the inherited footer
   color, which left the footer blurb as near-black text on the near-black
   footer (contrast 1.54:1 — effectively invisible). Restate it here. */
.site-footer p { color: #C7CBC5; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo img { height: 42px; filter: brightness(0) invert(1); margin-bottom: 16px; }
/* Footer column headings. These are <h2> rather than <h4> so screen-reader
   heading navigation doesn't hit a skipped level on every page; the small-caps
   look is purely visual and set here. */
.footer-grid h4,
.footer-grid .footer-heading {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--white); }

.footer-badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.footer-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #B7BDB2;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 4px 12px;
  cursor: default;
}

.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-item svg { width: 15px; height: 15px; margin-top: 3px; flex-shrink: 0; stroke: #8A9188; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.data-flag {
  font-size: 0.75rem;
  color: #544B3D;
  border-left: 2px solid var(--border);
  padding-left: 10px;
  margin-top: 6px;
  font-style: italic;
}

/* The verification note in the stat strip needs to stay out of the way of
   the actual stats — smaller, tighter, and set apart with its own rule
   instead of a left border so it reads as a footnote, not a fifth stat. */
.stat-strip .data-flag {
  /* Base .data-flag color (#544B3D) is a dark brown meant for a light
     background — on this section's near-black bg it's nearly invisible.
     Set explicitly here so this holds even without a per-instance inline
     color override. */
  color: #B7BDB2;
  font-size: 0.66rem;
  line-height: 1.6;
  max-width: 560px;
  border-left: none;
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-left: 0;
  padding-top: 14px;
  margin-top: 28px;
  opacity: 0.8;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* Tighten the nav before it drops to the mobile menu, so six links + phone
   number + button don't wrap mid-label on medium desktop widths. */
@media (max-width: 1300px) and (min-width: 881px) {
  .nav-primary { gap: 12px; }
  .nav-primary a { font-size: 0.78rem; }
  .nav-phone { display: none; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn--sm { padding: 9px 14px; font-size: 0.82rem; }
}

/* ---------- Leasing contact card ---------- */
.leasing-contact {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.leasing-contact:last-of-type { border-bottom: none; padding-bottom: 0; }
.leasing-contact__name { font-weight: 700; font-size: 1.05rem; }
.leasing-contact__role { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 8px; }
.leasing-contact__details { display: flex; flex-direction: column; gap: 2px; }
.leasing-contact__details a { color: var(--green); font-weight: 600; }
.leasing-contact__details a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .nav-primary { display: none; }
  .nav-toggle { display: flex; }
  .nav-phone { display: none; }
  .logo-link img { height: 40px; }

  .site-header.open .nav-primary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--offwhite);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
  }

  /* On mobile there's no hover, so the About Us dropdown is always
     expanded inline (indented under the top-level link) instead of
     appearing as a hover overlay. */
  .nav-item--dropdown { flex-direction: column; align-items: flex-start; gap: 12px; position: static; }
  .nav-dropdown {
    display: flex !important;
    flex-direction: column;
    position: static;
    padding-top: 0;
    padding-left: 16px;
    gap: 10px;
    min-width: 0;
  }
  .nav-dropdown a {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    font-weight: 500;
    color: var(--charcoal-3);
  }
}

@media (max-width: 760px) {
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { padding: 72px 0 64px; }
  .timeline { flex-direction: column; gap: 24px; }
  .timeline::before { display: none; }
  .timeline-item { padding-top: 0; padding-left: 26px; text-align: left; }
  .timeline-item::before { top: 6px; left: 0; transform: none; }
  .section { padding: 56px 0; }
  .form-card { padding: 24px; }

  .avail-table-wrap { display: none; }
  .avail-cards { display: block; }

  .photo-band { height: 220px; }
}

/* ---------- Scroll-in reveal ---------- */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal--fade { opacity: 0; }
.reveal--rise { opacity: 0; transform: translateY(18px); }
.reveal.in-view { opacity: 1; }
.reveal--rise.in-view { transform: translateY(0); }

/* ---------- Lightbox ---------- */
.lightbox-trigger { cursor: zoom-in; }
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 31, 29, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 1000;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
}
