/* NYC Exclusive Apartments — Investor-first showcase
   Manual-update friendly static site */

:root {
  --ink: #0f1419;
  --ink-soft: #1c242e;
  --slate: #2a3441;
  --muted: #6b7685;
  --line: #e4e8ee;
  --paper: #f7f5f1;
  --white: #ffffff;
  --copper: #b87333;
  --copper-deep: #8f5a28;
  --sky: #c5d4e3;
  --success: #1f6b4a;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(15, 20, 25, 0.12);
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--copper-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--ink) 0%, var(--slate) 55%, var(--copper) 100%);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* Use your real logo image — put file at assets/logo.png */
.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: white;
  flex-shrink: 0;
  display: block;
}

.site-footer .logo-img {
  background: rgba(255, 255, 255, 0.95);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.logo-text span {
  font-size: 0.72rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-cta {
  background: var(--ink) !important;
  color: white !important;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem !important;
}

.nav-cta:hover {
  background: var(--copper-deep) !important;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(184, 115, 51, 0.18), transparent 55%),
    linear-gradient(165deg, #101820 0%, #1a2430 45%, #243041 100%);
  color: white;
  padding: 4.5rem 0 4rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(to top, var(--paper), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 2.5rem;
  align-items: end;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--copper);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38ch;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--copper);
  color: white;
}

.btn-primary:hover {
  background: #c98442;
  color: white;
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.btn-dark {
  background: var(--ink);
  color: white;
}

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

.btn-outline {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-stats div {
  min-width: 100px;
}

.hero-stats strong {
  display: block;
  font-size: 1.35rem;
  font-family: var(--display);
}

.hero-stats span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.35rem;
  backdrop-filter: blur(8px);
}

.hero-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-card p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.hero-form {
  display: grid;
  gap: 0.65rem;
}

.hero-form input,
.hero-form select,
.hero-form textarea,
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  color: white;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.hero-form input::placeholder,
.hero-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.hero-form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

.form-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0.5rem 0 0;
}

/* —— Sections —— */
section {
  padding: 3.5rem 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 0.35rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper-deep);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* —— Borough chips —— */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  color: var(--slate);
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.chip:hover,
.chip.is-active {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
}

/* —— Cards —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 20, 25, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-media {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(15, 20, 25, 0.55), rgba(184, 115, 51, 0.25)),
    linear-gradient(120deg, #2c3a4a, #5a6d80);
  position: relative;
}

.card-media.manhattan { background: linear-gradient(135deg, #1a2330, #4a5d73 50%, #b87333); }
.card-media.brooklyn { background: linear-gradient(135deg, #162029, #3d5a4c 55%, #8f5a28); }
.card-media.queens { background: linear-gradient(135deg, #1c2430, #3a5570 50%, #c5a46a); }
.card-media.bronx { background: linear-gradient(135deg, #141c24, #4a3f35 55%, #b87333); }
.card-media.si { background: linear-gradient(135deg, #182028, #3d4f45 50%, #8fa3b5); }
.card-media.nys { background: linear-gradient(135deg, #121a22, #2f4a3a 50%, #6b8f71); }

.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.card-body h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.card-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.card-price {
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* —— Split / features —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.65rem;
  align-items: start;
}

.feature-list .num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.feature-list strong {
  display: block;
  margin-bottom: 0.15rem;
}

.feature-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* —— Blog list —— */
.blog-list {
  display: grid;
  gap: 0.85rem;
}

.blog-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1rem;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
}

.blog-item:hover {
  border-color: #c9d0da;
  box-shadow: 0 8px 20px rgba(15, 20, 25, 0.05);
}

.blog-date {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 600;
}

.blog-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.blog-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.blog-arrow {
  color: var(--copper);
  font-size: 1.2rem;
}

/* —— CTA band —— */
.cta-band {
  background: var(--ink);
  color: white;
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--display);
  font-weight: 500;
  margin: 0 0 0.35rem;
  font-size: 1.65rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 42ch;
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.6rem;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 55ch;
  font-size: 1.05rem;
}

/* —— Forms —— */
.form-grid {
  display: grid;
  gap: 0.75rem;
}

.form-grid.two {
  grid-template-columns: 1fr 1fr;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
}

.form-grid .full {
  grid-column: 1 / -1;
}

/* —— Article / content —— */
.prose {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 720px;
}

.prose h2 {
  font-family: var(--display);
  font-weight: 500;
  margin-top: 1.75rem;
}

.prose p,
.prose li {
  color: #333b45;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.5rem 0 1.25rem;
}

/* —— Resources —— */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.resource-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
}

.resource-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.resource-card p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.resource-card a {
  font-weight: 600;
  text-decoration: none;
}

/* —— Footer —— */
.site-footer {
  margin-top: 2rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: white;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: white;
}

.footer-brand p {
  margin: 0.5rem 0 0;
  max-width: 32ch;
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* —— Filters bar —— */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

/* —— Empty / note —— */
.muted {
  color: var(--muted);
}

.tag {
  display: inline-block;
  background: #efe7dc;
  color: var(--copper-deep);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .card-grid,
  .footer-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-item {
    grid-template-columns: 1fr;
  }

  .blog-arrow {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .form-grid.two {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }
}
