/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cedar-dark:  #1e1009;
  --cedar:       #4a2c17;
  --rust:        #a8774b;
  --rust-dark:   #8a5e35;
  --stone:       #8b7355;
  --stone-light: #b09a80;
  --sage:        #6e7d62;
  --sand:        #e2d0b8;
  --cream:       #f7f3ec;
  --cream-dark:  #ece4d6;
  --white:       #ffffff;
  --text:        #1c1008;
  --text-muted:  #7a6b59;
  --border:      #ddd3c3;
  --shadow:      0 4px 24px rgba(30, 16, 9, 0.08);
  --shadow-lg:   0 12px 48px rgba(30, 16, 9, 0.14);
  --radius:      10px;
  --nav-h:       76px;
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-transform: uppercase;
}

.btn-cedar {
  background: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}

.btn-cedar:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 119, 75, 0.35);
}

.btn-stone {
  background: transparent;
  color: var(--cedar);
  border-color: var(--stone-light);
}

.btn-stone:hover {
  border-color: var(--cedar);
  background: rgba(74, 44, 23, 0.04);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
  font-size: 0.82rem;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--stone);
}

/* ── Navigation ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(18, 10, 4, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow 0.3s;
}

.nav.scrolled { box-shadow: 0 4px 28px rgba(0, 0, 0, 0.4); }

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.nav-logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1;
}

.nav-back {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  transition: all 0.2s;
}

.nav-back:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ── HOA Container ─────────────────────────────────────────────── */
.hoa-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hoa-hero {
  background: var(--cedar-dark);
  padding: calc(var(--nav-h) + 64px) 0 64px;
}

.hoa-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 16px;
}

.hoa-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hoa-page-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Legal Documents Section ───────────────────────────────────── */
.hoa-docs-section {
  background: var(--cream-dark);
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.hoa-section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 12px;
}

.hoa-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.hoa-docs-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.65;
}

.hoa-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hoa-doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hoa-doc-icon {
  width: 44px;
  height: 44px;
  background: rgba(168, 119, 75, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rust);
  flex-shrink: 0;
}

.hoa-doc-info {
  flex: 1;
  min-width: 0;
}

.hoa-doc-title {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.3;
}

.hoa-doc-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ── Content Section ───────────────────────────────────────────── */
.hoa-content-section {
  background: var(--cream);
  padding: 0 0 80px;
}

.hoa-disclaimer {
  padding: 20px 24px;
  background: var(--cream-dark);
  border-left: 3px solid var(--stone-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 48px 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.hoa-rule-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.hoa-rule-section:first-of-type {
  border-top: none;
}

.hoa-rule-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

/* ── Bullet List ───────────────────────────────────────────────── */
.hoa-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hoa-bullet-list li {
  padding-left: 20px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.hoa-bullet-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--rust);
}

/* ── Callout Bars ──────────────────────────────────────────────── */
.hoa-callout-bars {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hoa-callout-bar {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 28px;
  background: var(--cedar-dark);
  border-radius: var(--radius);
}

.hoa-callout-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 6px;
}

.hoa-callout-val {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--sand);
  line-height: 1.1;
}

.hoa-callout-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Permitted / Prohibited Grid ───────────────────────────────── */
.hoa-permitted-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.hoa-col-header {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid;
}

.hoa-col-allowed { color: var(--sage); border-color: var(--sage); }
.hoa-col-prohibited { color: var(--rust-dark); border-color: var(--rust-dark); }

.hoa-check-list,
.hoa-x-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hoa-check-list li,
.hoa-x-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hoa-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
  font-size: 0.85rem;
}

.hoa-x-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--rust-dark);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ── Important Note ────────────────────────────────────────────── */
.hoa-important-note {
  padding: 28px 32px;
  background: var(--cream-dark);
  border-left: 4px solid var(--rust);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 48px 0 0;
}

.hoa-important-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 10px;
}

.hoa-important-note p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Contact CTA ───────────────────────────────────────────────── */
.hoa-contact-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.hoa-contact-cta p {
  font-size: 0.95rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 200px;
}

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  background: #100805;
  text-align: center;
  padding: 48px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.footer-sub {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.18);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hoa-container { padding: 0 20px; }
  .hoa-docs-grid { grid-template-columns: 1fr; }
  .hoa-permitted-grid { grid-template-columns: 1fr; gap: 32px; }
  .hoa-hero { padding-bottom: 48px; }
  .hoa-docs-section { padding: 48px 0; }
  .hoa-doc-card { flex-wrap: wrap; }
  .hoa-callout-bars { flex-direction: column; }
  .hoa-contact-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 20px; }
}
