/* ============================================================
   The Communities at Feathergrass HOA — shared stylesheet
   Warm prairie theme drawn from the Feathergrass banner artwork:
   cream fields, deep olive ink, feathergrass gold.
   Edit colors here once and every page updates.
   ============================================================ */

:root {
  --ink: #33402a;          /* deep olive — from the banner lettering */
  --ink-deep: #2a3422;     /* header / footer */
  --ink-soft: #3f4c33;
  --gold: #b8923e;         /* feathergrass gold */
  --gold-deep: #96762e;
  --gold-soft: #d9bf7f;
  --cream: #faf6ea;        /* page background */
  --cream-deep: #f2ead6;   /* alt sections */
  --card: #fffdf6;
  --text: #46503b;
  --muted: #7b8168;
  --line: #e8dfc6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(80, 70, 30, 0.09);
  --shadow-lift: 0 18px 44px rgba(80, 70, 30, 0.16);
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-ui: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
}

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

::selection { background: rgba(217, 191, 127, 0.55); }

.container { width: min(1120px, 92%); margin: 0 auto; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; font-weight: 600; }

a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(42, 52, 34, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 191, 127, 0.22);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.site-header .container { width: min(1320px, 95%); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand-mark {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: linear-gradient(135deg, #cfa851 0%, #8f6f2a 100%);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(184, 146, 62, 0.4);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); color: #f7f2df; font-size: 1.08rem; letter-spacing: 0.01em; }
.brand-text small { color: #cfc6a0; font-size: 0.66rem; letter-spacing: 0.05em; }

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: #ddd8bd; font-size: 0.88rem; font-weight: 500;
  padding: 8px 10px; border-radius: 10px; text-decoration: none !important;
  transition: background 0.18s, color 0.18s; white-space: nowrap;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.site-nav a.active { background: rgba(217, 191, 127, 0.2); color: #ecd9a4; }

.menu-toggle {
  display: none; background: none; border: 1px solid rgba(240, 232, 205, 0.35);
  color: #f0e8cd; border-radius: 10px; padding: 8px 12px; font-size: 1.1rem; cursor: pointer;
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(42, 52, 34, 0.97);
    padding: 12px 4%; border-bottom: 1px solid rgba(217, 191, 127, 0.25);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 1rem; }
}

/* ---------- Hero (banner-style: cream field + feathergrass) ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 75% -10%, rgba(217, 191, 127, 0.35), transparent 60%),
    linear-gradient(175deg, #fdfbf3 0%, #f8f1de 55%, #f1e7cd 100%);
  padding: 96px 0 150px;
}

.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("../images/grass-left.png?v=2"), url("../images/grass-right.png?v=2");
  background-repeat: no-repeat, no-repeat;
  background-position: left -30px bottom -8px, right -30px bottom -8px;
  background-size: auto 60%, auto 64%;
  mix-blend-mode: multiply;
  opacity: 0.95;
}

.hero .container { position: relative; z-index: 1; }

.hero .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 20px;
}
.hero .kicker::before { content: "◆"; font-size: 0.55rem; color: var(--gold); }

.hero h1 { color: var(--ink); font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 18ch; margin-bottom: 10px; }
.hero h1 .h1-intro {
  display: block; font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 500;
  color: #5b6247; letter-spacing: 0.04em; margin-bottom: 10px;
}
.hero h1::after {
  content: ""; display: block; width: 84px; height: 2px; margin: 24px 0 0;
  background: linear-gradient(90deg, var(--gold), rgba(184, 146, 62, 0));
}
.hero p.lede { color: #5b6247; font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 56ch; margin: 18px 0 34px; }

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

.stat-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 48px; }
.stat-chip {
  background: rgba(255, 253, 246, 0.78); border: 1px solid #e6d9b4;
  border-top: 3px solid var(--gold-soft);
  border-radius: 14px; padding: 14px 22px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(80, 70, 30, 0.07);
}
.stat-chip strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }
.stat-chip span { font-family: var(--font-ui); font-size: 0.76rem; color: var(--muted); letter-spacing: 0.09em; text-transform: uppercase; }

/* Page-level (non-home) hero */
.page-hero { padding: 68px 0 110px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.page-hero::before { background-size: auto 52%, auto 56%; }

@media (max-width: 820px) {
  .hero::before {
    background-image: url("../images/grass-right.png?v=2");
    background-position: right -40px bottom -6px;
    background-size: auto 34%;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.98rem;
  padding: 13px 26px; border-radius: 12px; cursor: pointer;
  text-decoration: none !important; transition: transform 0.16s, box-shadow 0.16s, background 0.16s;
}
.btn-primary {
  background: linear-gradient(135deg, #dcbe74 0%, #b8923e 100%);
  color: #2a3422; box-shadow: 0 8px 22px rgba(184, 146, 62, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(184, 146, 62, 0.5); }
.btn-ghost {
  background: rgba(255, 253, 246, 0.5); color: var(--ink-soft);
  border: 1px solid rgba(63, 76, 51, 0.35);
}
.btn-ghost:hover { background: rgba(255, 253, 246, 0.95); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-dark { background: var(--ink-soft); color: #f2ecd4; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }

/* ---------- Notice bar ---------- */

.notice-bar {
  background: linear-gradient(90deg, #2f3a26, #45543a);
  color: #f2ecd4; border-top: 2px solid var(--gold);
}
.notice-bar .container { display: flex; align-items: center; gap: 14px; padding: 12px 0; flex-wrap: wrap; font-size: 0.95rem; }
.notice-bar .tag {
  background: rgba(217, 191, 127, 0.25); color: #ecd9a4; border-radius: 8px; padding: 3px 10px;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.notice-bar a { color: #ecd9a4; font-weight: 600; text-decoration: underline; }

/* ---------- Sections ---------- */

.section { padding: 76px 0; }
.section.tight { padding: 52px 0; }
.section.alt { background: var(--cream-deep); }

.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 10px;
}
.section-head .eyebrow::before { content: "◆"; font-size: 0.5rem; color: var(--gold); }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* ---------- Cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
a.card { text-decoration: none !important; color: var(--text); display: block; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--gold-soft); }

.card .icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(184, 146, 62, 0.16), rgba(184, 146, 62, 0.05));
  border: 1px solid rgba(184, 146, 62, 0.2);
  color: var(--gold-deep); margin-bottom: 18px; font-size: 1.3rem;
}
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .go { display: inline-block; margin-top: 14px; font-family: var(--font-ui); font-weight: 600; color: var(--gold-deep); font-size: 0.92rem; }

/* ---------- Info / detail lists ---------- */

.info-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.detail-list { list-style: none; }
.detail-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.detail-list li:last-child { border-bottom: none; }
.detail-list .label { font-weight: 600; color: var(--ink); }
.detail-list .value { color: var(--muted); text-align: right; }

/* ---------- People (board) ---------- */

.person { display: flex; gap: 18px; align-items: flex-start; }
.person .avatar {
  width: 54px; height: 54px; flex: none; border-radius: 50%;
  background: linear-gradient(135deg, #45543a, #2a3422);
  border: 2px solid var(--gold-soft);
  color: #e5cf95; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.person h3 { font-size: 1.12rem; }
.person .role { font-family: var(--font-ui); color: var(--gold-deep); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.person p { font-size: 0.9rem; color: var(--muted); margin-top: 5px; }
.person a { font-size: 0.9rem; word-break: break-all; }

/* ---------- Rules ---------- */

.rule { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rule:last-child { border-bottom: none; }
.rule .num {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: var(--gold-soft);
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  display: grid; place-items: center;
}
.rule h3 { font-size: 1.1rem; margin-bottom: 4px; }
.rule p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.data th {
  background: var(--ink); color: #ecdfb8; font-family: var(--font-ui);
  text-align: left; padding: 14px 18px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
}
table.data td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
table.data tbody tr:hover td { background: #faf4e0; }
table.data tr:last-child td { border-bottom: none; }

/* ---------- Timeline (news/projects) ---------- */

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--line)); border-radius: 2px; }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -30px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(184, 146, 62, 0.18);
}
.timeline-item .when { font-family: var(--font-ui); font-weight: 600; color: var(--gold-deep); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.timeline-item h3 { font-size: 1.18rem; margin: 4px 0 6px; }
.timeline-item p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Callout ---------- */

.callout {
  border-left: 4px solid var(--gold); background: #fbf3dd;
  border-radius: 0 14px 14px 0; padding: 20px 24px; margin: 26px 0;
}
.callout.teal { border-left-color: #7d8f6a; background: #eef0e0; }
.callout strong { color: var(--ink); }

/* ---------- Map ---------- */

.map-frame {
  border: 1px solid var(--line); width: 100%; height: 440px; border-radius: var(--radius);
  box-shadow: var(--shadow); display: block;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(217, 191, 127, 0.3), transparent 60%),
    linear-gradient(150deg, #2a3422, #3d4a30);
  border: 1px solid rgba(217, 191, 127, 0.35);
  color: #f2ecd4; border-radius: 24px; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #f7f2df; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 8px; }
.cta-band p { color: #cfd4b6; max-width: 52ch; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink-deep); color: #b3b99b; margin-top: 76px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { font-family: var(--font-ui); color: #d9bf7f; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer p { font-size: 0.92rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b3b99b; font-size: 0.92rem; }
.site-footer a:hover { color: #ecd9a4; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 20px 0; font-size: 0.82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Utility ---------- */

.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 34px; }
.mb-2 { margin-bottom: 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.badge {
  display: inline-block; background: rgba(184, 146, 62, 0.14); color: var(--gold-deep);
  border: 1px solid rgba(184, 146, 62, 0.25);
  font-family: var(--font-ui); font-weight: 600; font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase; border-radius: 8px; padding: 4px 12px;
}
