/* ─────────────────────────────────────────────────────────────
   Resident Handbook — Editorial Residential
   Type: Fraunces (display, variable) + DM Sans (body)
   ───────────────────────────────────────────────────────────── */

:root {
  /* Type stacks — Montserrat (header) + Roboto (body): clean, digital-friendly */
  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Core palette — warm paper and ink */
  --ink: #14182E;
  --ink-soft: #2B3052;
  --paper: #FCFBF6;
  --paper-2: #F5EFE0;
  --cream: #F8F2DF;
  --sand: #E3D6B5;
  --line: #DDD3B7;
  --muted: #6A6E7D;
  --muted-2: #91929E;

  /* Brand */
  --brand-navy: #1F2D5E;
  --brand-blue: #4677BD;
  --brand-blue-soft: #E6EEF8;

  /* Warm accent — adds energy without leaving the brand */
  --accent-warm: #C97B33;
  --accent-warm-soft: #FBEAD0;
  --accent-warm-ink: #6B3F18;

  /* Alternating section background */
  --alt-bg: #F2EBD6;

  /* Priority (emergency / important numbers) */
  --priority-bg: #F8EBD2;
  --priority-border: #E2BD7A;
  --priority-ink: #5C3814;

  /* Spacing scale */
  --space-3xs: 4px;
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 36px;
  --space-xl: 56px;
  --space-2xl: 88px;
  --space-3xl: 128px;

  /* Layout */
  --content-width: 760px;
  --reading-width: 640px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ─────────────────────────────────────────────────────────────
   Reset & base
   ───────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
}

/* ─────────────────────────────────────────────────────────────
   Fixed Cleveland skyline backdrop + warm veil
   The photo is the page background; cards float above it.
   ───────────────────────────────────────────────────────────── */

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("/css/skyline-photo.jpg");
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* Keep the image lively but tilted toward our warm/navy palette */
  filter: saturate(0.92) contrast(0.96);
}

.page-bg-veil {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Subtle warm-paper wash so the photo reads as background, not foreground.
     Lighter at the top so the hero photo dominates, denser as you scroll past. */
  background:
    linear-gradient(
      180deg,
      rgba(252, 251, 246, 0.05) 0%,
      rgba(252, 251, 246, 0.18) 28%,
      rgba(252, 251, 246, 0.42) 52%,
      rgba(252, 251, 246, 0.58) 100%
    );
}

::selection {
  background: var(--brand-navy);
  color: var(--paper);
}

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

a {
  color: var(--brand-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--brand-blue);
  transition: color 160ms var(--ease), text-decoration-color 160ms var(--ease);
}

a:hover {
  color: var(--brand-blue);
  text-decoration-color: currentColor;
}

p, li {
  margin: 0 0 var(--space-xs);
  max-width: var(--reading-width);
}

ul {
  padding-left: 20px;
  margin: 0 0 var(--space-sm);
}

/* ─────────────────────────────────────────────────────────────
   Site header — sticky, minimal
   ───────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 251, 246, 0.62);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(20, 24, 46, 0.08);
}

.logo-slot {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 14px var(--space-sm);
  display: flex;
  align-items: center;
  min-height: 48px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 6px;
  padding: 2px;
  transition: opacity 160ms var(--ease);
}

.logo-link:hover {
  opacity: 0.78;
  text-decoration: none;
}

.logo-link:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

.logo {
  height: 36px;
  width: auto;
  display: block;
}

@media (min-width: 760px) {
  .logo { height: 42px; }
}

/* ─────────────────────────────────────────────────────────────
   Hero — confident welcome
   ───────────────────────────────────────────────────────────── */

.hero-banner {
  position: relative;
  width: 100%;
  background: rgba(252, 251, 246, 0.94);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(20, 24, 46, 0.08);
  box-shadow: 0 -2px 0 var(--accent-warm) inset, 0 8px 24px -16px rgba(20, 24, 46, 0.12);
}

.hero-banner-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(20px, 3vh, 32px) var(--space-sm);
  text-align: center;
}

/* Breathing room between the banner and first content card so the photo
   gets its own visible moment — kept modest so it doesn't read as dead space. */
.hero-skyline-spacer {
  height: clamp(60px, 10vh, 120px);
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin: 0 0 14px;
  display: block;
}

.hero-property {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7.5vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: pretty;
  text-transform: uppercase;
}

.hero-address {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: none;
  text-transform: uppercase;
  text-align: center;
}


/* ─────────────────────────────────────────────────────────────
   Sticky chip navigation
   ───────────────────────────────────────────────────────────── */

.chip-nav {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: rgba(252, 251, 246, 0.58);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(20, 24, 46, 0.08);
}

@media (min-width: 760px) {
  .chip-nav { top: 76px; }
}

.chip-nav-inner {
  max-width: none;
  margin: 0 auto;
  padding: 10px var(--space-md);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: flex-start;
}

@media (min-width: 1100px) {
  /* Plenty of room for all chips on desktop — center them for balance */
  .chip-nav-inner { justify-content: center; }
}

.chip-nav-inner::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 7px 14px;
  border: 1px solid rgba(20, 24, 46, 0.12);
  border-radius: 999px;
  background: rgba(252, 251, 246, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 160ms var(--ease);
  white-space: nowrap;
}

.chip:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  text-decoration: none;
}

.chip.active {
  background: var(--brand-navy);
  color: var(--paper);
  border-color: var(--brand-navy);
  font-weight: 600;
}

.chip.active:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ─────────────────────────────────────────────────────────────
   Article + sections
   ───────────────────────────────────────────────────────────── */

main {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-sm) var(--space-2xl);
  position: relative;
  z-index: 1;
}

section {
  scroll-margin-top: 130px;
}

/* Every section is a frosted-glass card sitting above the fixed photo */
main > .section {
  background: rgba(252, 251, 246, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: var(--space-lg) var(--space-md);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 36px -16px rgba(20, 24, 46, 0.22),
    0 2px 8px rgba(20, 24, 46, 0.08);
}

.section + .section {
  margin-top: var(--space-lg);
}

/* Warm-tinted alt panels for rhythm */
main .section.alt-bg {
  background: rgba(242, 235, 214, 0.78);
  border-color: rgba(227, 214, 181, 0.55);
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.6vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0 0 var(--space-md);
}

h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: var(--space-md) 0 var(--space-2xs);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin: 0 0 var(--space-2xs);
  display: inline-block;
}

/* ─────────────────────────────────────────────────────────────
   Important Numbers — priority card, heaviest treatment
   ───────────────────────────────────────────────────────────── */

/* Priority overrides the default frosted card: stronger warm tint */
main > .section.priority {
  background: rgba(248, 235, 210, 0.86);
  border: 1px solid rgba(226, 189, 122, 0.55);
  border-radius: 14px;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 14px 40px -16px rgba(107, 63, 24, 0.28),
    0 2px 8px rgba(107, 63, 24, 0.08);
}

.priority {
  position: relative;
  overflow: hidden;
}

.priority::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--priority-accent, #B8741F);
}

.priority h2 {
  color: var(--priority-ink);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.contact-list {
  margin: 0;
  display: grid;
  gap: var(--space-sm);
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: var(--space-sm);
  border-bottom: 1px dashed var(--priority-border);
}

.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-row dt {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--priority-ink);
  opacity: 0.7;
}

.contact-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 5.5vw, 38px);
  letter-spacing: -0.025em;
  color: var(--priority-ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}

.contact-row dd a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--priority-border);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact-row dd a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.priority .hint {
  margin-top: var(--space-md);
  font-size: 13px;
  color: var(--priority-ink);
  opacity: 0.75;
  max-width: 56ch;
}

/* ─────────────────────────────────────────────────────────────
   App download section
   ───────────────────────────────────────────────────────────── */

.app-section {
  margin-bottom: var(--space-md);
}

.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: var(--space-sm) 0 var(--space-sm);
  max-width: 520px;
}

.app-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
  box-shadow: 0 1px 0 rgba(20, 24, 46, 0.08);
}

.app-button:hover {
  background: var(--accent-warm);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 123, 51, 0.28);
}

.app-button .icon {
  width: 18px;
  height: 18px;
}

@media (min-width: 600px) {
  .app-buttons {
    flex-direction: row;
  }
  .app-button { flex: 1; }
}

/* ─────────────────────────────────────────────────────────────
   Your Property — iconified rows
   ───────────────────────────────────────────────────────────── */

.property-list {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.property-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--space-sm);
  align-items: start;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line);
}

.property-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.property-item .item-icon {
  width: 26px;
  height: 26px;
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.property-item h3 {
  margin-top: 0;
  margin-bottom: 6px;
  color: var(--ink);
  letter-spacing: 0.1em;
}

.property-item p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 16.5px;
}

.property-item p:last-child {
  margin-bottom: 0;
}

.property-item .filter-note {
  margin-top: 8px;
  padding: 10px 12px;
  background: rgba(248, 242, 223, 0.65);
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 6px 6px 0;
  font-size: 14.5px;
}

/* ─────────────────────────────────────────────────────────────
   General prose sections (rent, maintenance, rules, etc.)
   ───────────────────────────────────────────────────────────── */

.prose p, .prose li {
  color: var(--ink-soft);
  font-size: 17px;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose ul {
  margin: 8px 0 var(--space-sm);
}

.callout {
  background: rgba(248, 242, 223, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-left: 3px solid var(--brand-navy);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 8px 8px 0;
  margin: var(--space-sm) 0;
}

.callout .label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin: 0 0 6px;
}

.callout p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.gas-phone {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Rules + Emergencies use a more compact prose styling */
.rules h3, .emergencies h3 {
  margin-top: var(--space-lg);
  letter-spacing: 0.1em;
}

.fee-list {
  list-style: none;
  padding: 0;
  margin: var(--space-2xs) 0 var(--space-sm);
  display: grid;
  gap: 4px;
}

.fee-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15.5px;
  color: var(--ink-soft);
}

.fee-list li:last-child { border-bottom: 0; }

.fee-list .fee-label { flex: 1; }
.fee-list .fee-amount {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ─────────────────────────────────────────────────────────────
   Map embed
   ───────────────────────────────────────────────────────────── */

.map-embed {
  margin: var(--space-md) 0 var(--space-lg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(20, 24, 46, 0.06);
  background: var(--line);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  filter: saturate(0.85);
  transition: filter 200ms var(--ease);
}

.map-embed:hover iframe {
  filter: saturate(1.0);
}

@media (min-width: 760px) {
  .map-embed iframe { height: 300px; }
}

/* ─────────────────────────────────────────────────────────────
   Rent help (Flex Rent + local rental assistance)
   ───────────────────────────────────────────────────────────── */

.rent-help h3 {
  margin-top: var(--space-lg);
  letter-spacing: 0.1em;
}

.rent-help h3 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent-warm);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.rent-help h3 a:hover {
  color: var(--accent-warm);
  text-decoration-color: currentColor;
}

.flex-benefits {
  text-wrap: pretty;
}

.flex-benefits li {
  max-width: none;
}

.rental-assistance-list {
  list-style: none;
  padding: 0;
  margin: var(--space-sm) 0 var(--space-md);
  display: grid;
  gap: 0;
  max-width: none;
}

.rental-assistance-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
  padding: 8px 0;
  border-bottom: 1px dashed var(--sand);
  max-width: none;
  margin: 0;
}

.rental-assistance-list li:last-child { border-bottom: 0; }

.ra-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 3px;
  flex: 1;
  min-width: 0;
}

a.ra-name:hover {
  color: var(--brand-navy);
  text-decoration-color: currentColor;
}

.ra-phone {
  color: var(--brand-navy);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 3px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ra-phone:hover {
  color: var(--accent-warm);
  text-decoration-color: currentColor;
}

@media (max-width: 540px) {
  .rental-assistance-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 6px 0;
  }
}

/* ─────────────────────────────────────────────────────────────
   Neighborhood quick links
   ───────────────────────────────────────────────────────────── */

.neighborhood-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 var(--space-sm);
  display: grid;
  gap: var(--space-sm);
}

.neighborhood-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px dashed var(--sand);
  align-items: baseline;
}

.neighborhood-list li:last-child {
  border-bottom: 0;
}

.nb-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
  grid-column: 1 / 2;
}

.nb-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
  grid-column: 1 / 2;
}

.nb-phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--brand-navy);
  text-decoration: none;
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: center;
  font-variant-numeric: tabular-nums;
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 4px;
}

.nb-phone:hover {
  color: var(--accent-warm);
  text-decoration-color: currentColor;
}

/* ─────────────────────────────────────────────────────────────
   Quick Reference — closing card
   ───────────────────────────────────────────────────────────── */

.quickref {
  background: rgba(245, 239, 224, 0.84);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(227, 214, 181, 0.55);
  border-radius: 14px;
  padding: var(--space-md);
  margin-top: var(--space-xl);
  position: relative;
  z-index: 1;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 14px 40px -16px rgba(20, 24, 46, 0.22);
}

.quickref h2 {
  font-size: clamp(24px, 4vw, 30px);
  margin-bottom: var(--space-sm);
}

.quickref .contact-list {
  margin-bottom: var(--space-md);
}

.quickref .contact-row {
  border-bottom-color: var(--sand);
}

.quickref .contact-row dt {
  color: var(--ink-soft);
}

.quickref .contact-row dd {
  font-size: clamp(22px, 4vw, 28px);
  color: var(--ink);
}

.quickref .contact-row dd a {
  text-decoration-color: var(--sand);
}

.quickref h3 {
  margin-top: var(--space-md);
}

.quickref-hint {
  margin-top: var(--space-sm);
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-body);
  font-style: italic;
}

/* ─────────────────────────────────────────────────────────────
   Footer
   ───────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid rgba(20, 24, 46, 0.08);
  background: rgba(252, 251, 246, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
  position: relative;
  z-index: 1;
}

.site-footer-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.footer-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 auto 8px;
  max-width: none;
  text-align: center;
}

.footer-legal {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 auto;
  max-width: 56ch;
  line-height: 1.55;
  text-align: center;
  text-wrap: balance;
}

/* ─────────────────────────────────────────────────────────────
   Page load animation — subtle, single moment
   ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow, .hero-property, .hero-address {
    opacity: 0;
    animation: hero-in 800ms var(--ease) forwards;
  }
  .hero-property { animation-delay: 120ms; }
  .hero-address { animation-delay: 280ms; }
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────────────────────
   Index page (landing)
   ───────────────────────────────────────────────────────────── */

.index-hero {
  padding: clamp(80px, 14vh, 160px) var(--space-sm) clamp(48px, 8vh, 80px);
  max-width: var(--content-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Frosted-glass plate behind the landing hero text so it stays readable on
   the skyline photo while the photo still shows through. */
.index-hero-plate {
  background: rgba(252, 251, 246, 0.78);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 44px);
  text-align: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 18px 48px -18px rgba(20, 24, 46, 0.28),
    0 2px 10px rgba(20, 24, 46, 0.08);
}

.index-hero-plate .hero-eyebrow {
  color: var(--accent-warm);
  text-align: center;
  margin: 0 0 14px;
  letter-spacing: 0.32em;
  font-size: clamp(12px, 1.2vw, 14px);
}

.index-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--ink);
  text-transform: uppercase;
}

.index-hero .index-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 17px);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: none;
  text-align: center;
}

.portfolio-heading {
  text-align: center;
  margin: var(--space-xl) 0 var(--space-md);
  position: relative;
  z-index: 1;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

.portfolio-heading-pill {
  display: inline-block;
  background: rgba(252, 251, 246, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 10px 24px;
  color: var(--accent-warm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(12px, 1.3vw, 14px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 8px 24px -14px rgba(20, 24, 46, 0.18);
}

.property-index {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: var(--content-width);
  padding-inline: var(--space-sm);
  margin-block-end: var(--space-lg);
  position: relative;
  z-index: 1;
}

.property-index:last-of-type {
  margin-block-end: var(--space-2xl);
}

.property-index li {
  background: rgba(252, 251, 246, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  margin-bottom: 14px;
  max-width: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 32px -16px rgba(20, 24, 46, 0.24);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.property-index li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.55); }

.property-index li:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 18px 40px -16px rgba(20, 24, 46, 0.32);
}

.property-index a {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3.5vw, 32px) clamp(22px, 4vw, 36px);
  color: var(--ink);
  text-decoration: none;
  transition: color 160ms var(--ease);
}

.property-index a:hover {
  color: var(--brand-navy);
  text-decoration: none;
}

.property-index a > span:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.0;
  text-transform: uppercase;
}

.property-index .muted {
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────────
   Mobile refinements
   ───────────────────────────────────────────────────────────── */

@media (max-width: 480px) {
  body { font-size: 16px; }
  main { padding-top: var(--space-md); }
  .section + .section { margin-top: var(--space-lg); padding-top: var(--space-lg); }
  .hero-skyline-spacer { height: clamp(48px, 8vh, 80px); }
}
