/* Clabber Creek Phase I POA — site styles (v2 "street sign" refresh).
   Plain CSS, no build step, no external fonts. Colors are set once here. */

:root {
  --green: #1f6b45;        /* street-sign green: nav links, buttons, accents */
  --green-dark: #14503a;
  --green-soft: #e4efe8;
  --brown: #4a2c0a;        /* wordmark + headings (from the original logo) */
  --cream: #faf7f1;        /* soft section background */
  --sky: #e9f1f8;          /* light accent from the photos */
  --ink: #1f2622;
  --muted: #5d665f;
  --line: #e4dfd5;
  --bg: #ffffff;
  --max: 1080px;
  --serif: "Charter", "Bitstream Charter", "Iowan Old Style", "Source Serif Pro", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(31, 38, 34, .06), 0 8px 24px -12px rgba(31, 38, 34, .18);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--green); overflow-wrap: anywhere; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid #f4b400; outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); color: var(--brown); line-height: 1.15; margin: 0 0 .5rem; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.6rem; margin-top: 2.25rem; }
h3 { font-size: 1.15rem; margin-top: 1.25rem; }
p { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 6px 10px; z-index: 10; }
.eyebrow { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin: 0 0 .35rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 64ch; }

/* Header: sign-plate wordmark + inline nav */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--brown); }
.brand .plate {
  display: inline-block; background: var(--green); color: #fff; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; font-size: 1.05rem; line-height: 1; padding: 11px 14px 10px;
  border-radius: 6px; border: 2px solid #fff; box-shadow: 0 0 0 2px var(--green), 0 4px 10px -4px rgba(0,0,0,.35);
  white-space: nowrap;
}
.brand .plate small { font-size: .62em; font-weight: 700; margin-left: .35em; opacity: .9; }
.brand .tag { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--brown); line-height: 1.2; }
.brand .tag small { display: block; font-family: var(--sans); font-weight: 500; font-size: .8rem; color: var(--muted); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nav a { display: block; padding: 8px 12px; color: var(--green-dark); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 8px; }
.nav a:hover { background: var(--green-soft); }
.nav a[aria-current="page"] { background: var(--green); color: #fff; }

/* Hero */
.hero { position: relative; background: #2a4a3a; color: #fff; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,42,30,.82) 0%, rgba(18,42,30,.55) 45%, rgba(18,42,30,.05) 75%), linear-gradient(180deg, rgba(18,42,30,0) 40%, rgba(18,42,30,.6) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 44px; width: 100%; }
.hero .eyebrow { color: #cfe6d8; }
.hero h1 { color: #fff; font-size: 2.8rem; margin-bottom: .4rem; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero p { color: #f2f5f2; font-size: 1.15rem; max-width: 58ch; margin-bottom: 1.2rem; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.hero.compact { min-height: 260px; }
.hero.compact h1 { font-size: 2.3rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: .95rem; border: 2px solid var(--green); }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn.ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.75); color: #fff; backdrop-filter: blur(2px); }
.btn.ghost:hover { background: rgba(255,255,255,.26); }
.btn.light { background: #fff; color: var(--green-dark); border-color: #fff; }

/* Sections */
main .wrap { padding-top: 36px; padding-bottom: 56px; }
.section-soft { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-soft .wrap { padding-top: 40px; padding-bottom: 44px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 1.25rem 0 0; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; background: #fff; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(31,38,34,.06), 0 16px 32px -14px rgba(31,38,34,.25); }
.card h2, .docgroup h2 { margin-top: 0; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.icon { width: 36px; height: 36px; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); display: inline-grid; place-items: center; flex: none; }
.icon svg { width: 20px; height: 20px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .amount { font-family: var(--serif); font-size: 1.35rem; color: var(--brown); }
.note { background: var(--sky); border-left: 4px solid var(--green); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 1rem 0; }
.news { list-style: none; padding: 0; margin: .5rem 0 0; }
.news li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.news time { color: var(--muted); font-size: .9rem; font-weight: 600; padding-top: 2px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: .5rem 0 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .92rem; margin: 0; }
.chips li b { color: var(--green-dark); font-weight: 700; }

/* Photo gallery (the neighborhood street signs) */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin: 1rem 0 0; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; display: block; }

/* Board table */
table { border-collapse: collapse; width: 100%; margin: .5rem 0 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { background: var(--cream); font-weight: 700; color: var(--muted); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* Documents */
.docgroup { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 8px; margin: 1.25rem 0; box-shadow: var(--shadow); }

.doclist { list-style: none; padding: 0; margin: 0; }
.doclist li { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin: 0; }
.doclist li:last-child { border-bottom: 0; }
.doclist a:first-child { font-weight: 600; }
.doclist .meta { color: var(--muted); font-size: .88rem; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--green-soft); color: var(--green-dark); padding: 2px 7px; border-radius: 6px; margin-right: 6px; vertical-align: 1px; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: 10px; padding: 0; margin-bottom: 10px; background: #fff; }
summary { cursor: pointer; font-weight: 700; color: var(--brown); font-family: var(--serif); font-size: 1.1rem; padding: 14px 44px 14px 16px; position: relative; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 1.5rem; color: var(--green); font-family: var(--sans); font-weight: 400; }
details[open] summary::after { content: "–"; }
details > *:not(summary) { margin-left: 16px; margin-right: 16px; }
details > p:last-child, details > ul:last-child, details > ol:last-child { margin-bottom: 16px; }

/* Footer */
.site-footer { background: var(--green-dark); color: #d9e7de; font-size: .93rem; }
.site-footer a { color: #fff; }
.site-footer .wrap { padding-top: 34px; padding-bottom: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px 40px; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .6rem; }
.site-footer p { margin: 0 0 .4rem; }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 14px; color: #a9c2b3; font-size: .85rem; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand .tag { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(18,42,30,.45) 0%, rgba(18,42,30,.82) 100%); }
  .hero img { object-position: 60% 30%; }
  h1 { font-size: 1.9rem; }
  .hero { min-height: 320px; }
  .hero h1 { font-size: 2.1rem; }
  .hero.compact { min-height: 220px; }
  .hero.compact h1 { font-size: 1.8rem; }
  .brand .plate { font-size: .95rem; padding: 9px 11px 8px; }
  .nav a { padding: 7px 10px; font-size: .9rem; }
  .news li { grid-template-columns: 1fr; gap: 2px; }
}
