/* Cameron Park Ward — site styles (Warm Foothills) */
:root {
  --green: #36584a;
  --green-2: #557466;
  --green-soft: #eaf0ec;
  --sage: #7e9068;
  --clay: #b5703b;          /* terracotta accent */
  --clay-soft: #f6e7d6;
  --gold-soft: #f7eedf;
  --blue-soft: #e4eff7;
  --sky: #cfe4f2;          /* soft sky blue */
  --sky-2: #e9f2f8;
  --sky-ink: #3d6784;
  --cream: #f8f6f0;
  --white: #fff;
  --ink: #24312b;
  --muted: #5f6d66;
  --line: #dfe6e1;
  --shadow: 0 10px 30px rgba(40, 62, 52, .08);
  --radius: 18px;
  --max: 1160px;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink); background: var(--cream); line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: auto; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.1; margin-top: 0; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin: 4px 0 6px; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.015em; }
h3 { font-size: 1.2rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 250, 252, .96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; position: relative; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 11px; }
.logo { width: 46px; height: 46px; flex: none; }
.footer-logo { width: 72px; height: 72px; margin-bottom: 10px; }
.brand strong { font-family: var(--serif); font-size: 1.14rem; display: block; line-height: 1.1; }
.brand small { display: block; font-size: .66rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { text-decoration: none; color: #47564f; padding: 9px 13px; border-radius: 999px; font-weight: 700; }
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--green-soft); color: var(--green); }
.new-here { text-decoration: none; background: var(--clay); color: #fff; padding: 9px 15px; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.new-here:hover { background: var(--green); }
.menu-btn { display: none; border: 0; background: var(--green-soft); color: var(--green); padding: 9px 13px; border-radius: 10px; font-weight: 800; cursor: pointer; }

/* ---------- Home masthead (compact) ---------- */
.masthead {
  padding: 26px 0 58px;
  background: url(../img/hills.svg) center bottom / 100% 48px no-repeat,
              linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 60%, var(--cream) 100%);
}
.masthead-row { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.masthead.no-photo .masthead-row { grid-template-columns: 1fr; }
.kicker, .eyebrow { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--clay); }
.eyebrow { margin-bottom: 7px; }
.masthead p { margin: 0 0 16px; color: var(--muted); max-width: 52ch; }
.meet-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 1rem; margin: 6px 0 0; }
.meet-line strong { color: var(--green); }
.masthead-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.masthead figure { margin: 0; }
.masthead figure img {
  width: 210px; height: 250px; object-fit: cover; object-position: center 18%;
  border-radius: 16px; border: 5px solid #fff; box-shadow: 0 10px 26px rgba(40, 62, 52, .18);
}

.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid transparent; border-radius: 999px; padding: 10px 16px; font-weight: 800; cursor: pointer; }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: #2a4639; }
.btn.secondary { background: #fff; color: var(--green); border-color: #ccd9d1; }
.btn.secondary:hover { background: var(--green-soft); }
.btn.small { padding: 5px 12px; font-size: .82rem; }

/* ---------- Quick links ---------- */
.utility { padding: 18px 0 0; }
.utility-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.utility a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; box-shadow: 0 4px 14px rgba(40, 62, 52, .04); }
.utility a:hover { border-color: var(--sky); }
.utility strong { display: block; font-size: .92rem; }
.utility span { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }

section { padding: 44px 0; }
section.tight { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0; max-width: 600px; color: var(--muted); }

/* ---------- Featured + next events ---------- */
.next-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }
.next-card {
  background: var(--green) url(../img/hills.svg) center bottom / 100% 40px no-repeat;
  color: #fff; border-radius: 22px; padding: 26px 26px 58px;
  min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--shadow);
}
.next-card .meta { font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; color: #d7e4dc; }
.next-card h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 8px 0 10px; }
.next-card p { color: #dfe9e3; margin: 0; max-width: 620px; }
.next-card a { color: #fff; font-weight: 800; text-decoration: none; margin-top: 16px; }
.next-card a:hover { text-decoration: underline; }
.mini-stack { display: grid; gap: 12px; align-content: start; }
.mini-event { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 15px; display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; }
.date { width: 58px; height: 58px; border-radius: 14px; background: var(--blue-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--sky-ink); text-align: center; }
.date .m { font-size: .62rem; font-weight: 900; letter-spacing: .08em; }
.date .d { font-family: var(--serif); font-size: 1.35rem; line-height: 1; }
.mini-event h3 { font-size: 1.04rem; margin: 0 0 3px; }
.mini-event p { margin: 0; color: var(--muted); font-size: .84rem; }

/* ---------- Bulletin ---------- */
.bulletin { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--sky); border-radius: 20px; padding: 22px; box-shadow: 0 5px 18px rgba(40, 62, 52, .04); }
.announcement { padding: 15px 0; border-bottom: 1px solid var(--line); }
.announcement:last-child { border-bottom: 0; padding-bottom: 0; }
.announcement:first-of-type { padding-top: 2px; }
.tag { display: inline-flex; padding: 4px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; background: var(--green-soft); color: var(--green); margin-bottom: 6px; }
.tag.gold { background: var(--gold-soft); color: #76591f; }
.tag.clay { background: var(--clay-soft); color: #8a4f22; }
.tag.blue { background: var(--blue-soft); color: #466678; }
.announcement h3 { font-size: 1.08rem; margin: 0 0 4px; }
.announcement p { margin: 0; color: var(--muted); font-size: .92rem; }
.link { display: inline-block; margin-top: 8px; color: var(--green); font-weight: 800; text-decoration: none; font-size: .88rem; }
.link:hover { text-decoration: underline; }
.resource-list { display: grid; gap: 9px; }
.resource-list a { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 13px; padding: 12px; }
.resource-list a:hover { background: var(--sky-2); border-color: var(--sky); }
.resource-list strong { display: block; font-size: .9rem; }
.resource-list span { display: block; color: var(--muted); font-size: .77rem; margin-top: 2px; }
.send-update { margin-top: 16px; padding: 14px; border-radius: 13px; background: var(--clay-soft); font-size: .86rem; }
.send-update a { color: #8a4f22; font-weight: 800; }

/* ---------- Groups ---------- */
.group-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.group-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; }
.group-card:hover { background: var(--sky-2); border-color: var(--sky); }
.group-card h3 { font-size: 1.12rem; margin: 0 0 4px; }
.group-card p { font-size: .84rem; color: var(--muted); margin: 0; }
.groups-full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.group-full { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; scroll-margin-top: 90px; }
.group-full h3 { font-size: 1.5rem; margin: 0 0 3px; }
.group-full p { color: var(--muted); margin-bottom: 0; }

/* ---------- Inner page header ---------- */
.page-hero {
  padding: 30px 0 58px;
  background: url(../img/hills.svg) center bottom / 100% 40px no-repeat, linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 60%, var(--cream) 100%);
}
.page-hero h1 { margin-bottom: 6px; }
.page-hero p { max-width: 720px; color: var(--muted); margin: 0; }

/* ---------- Upcoming ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter { border: 1px solid var(--line); background: #fff; color: #47564f; padding: 8px 13px; border-radius: 999px; font-weight: 700; cursor: pointer; }
.filter.active { background: var(--green); color: #fff; border-color: var(--green); }
.event-list { display: grid; gap: 10px; }
.month-label { font-family: var(--serif); font-size: 1.3rem; color: var(--green); margin: 18px 0 2px; }
.month-label:first-child { margin-top: 0; }
.event { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 15px 17px; display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; }
.event .date { width: 64px; height: 64px; }
.event h3 { font-size: 1.1rem; margin: 0 0 3px; }
.event p { margin: 0; color: var(--muted); font-size: .9rem; }
.event p + p { margin-top: 4px; }
.event-type { font-size: .7rem; font-weight: 800; color: var(--green); background: var(--green-soft); padding: 5px 9px; border-radius: 999px; text-transform: capitalize; white-space: nowrap; }
.empty { color: var(--muted); font-style: italic; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.info-row { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row:last-of-type { border-bottom: 0; }
.map { border: 0; width: 100%; height: 260px; border-radius: 14px; margin-top: 14px; }
.contact { background: var(--green); color: #fff; border-radius: 22px; padding: 25px; }
.contact h2 { color: #fff; }
.contact p { color: #dce7e1; }
.contact .eyebrow { color: #f2d3b2; }
.contact label { display: block; font-size: .8rem; font-weight: 800; margin: 12px 0 5px; }
.contact input, .contact select, .contact textarea { width: 100%; border: 0; border-radius: 10px; padding: 11px 12px; color: var(--ink); }
.contact textarea { min-height: 105px; resize: vertical; }
.contact button { width: 100%; margin-top: 14px; border: 0; border-radius: 999px; padding: 12px; font-weight: 900; background: #f2d3b2; color: #4c3320; cursor: pointer; }
.contact button:hover { background: #fff; }
.form-note { font-size: .78rem !important; color: #cbd9d1 !important; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #24312b; color: #e6ede8; padding: 38px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: #fff; margin-bottom: 8px; }
.site-footer p, .site-footer a { color: #bdc8c2; font-size: .88rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { display: grid; gap: 6px; }
.fineprint { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: #94a199; font-size: .76rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .next-grid, .bulletin, .about-grid { grid-template-columns: 1fr; }
  .group-grid, .utility-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .brand small { display: none; }
  .menu-btn { display: block; }
  .new-here { display: none; }
  .primary-nav {
    display: none; position: absolute; left: 0; right: 0; top: 62px; background: #fff;
    border: 1px solid var(--line); border-radius: 15px; padding: 8px; box-shadow: var(--shadow);
    flex-direction: column; align-items: stretch;
  }
  .primary-nav.open { display: flex; }
  .masthead { padding: 20px 0 52px; }
  .masthead-row { grid-template-columns: 1fr 96px; gap: 14px; align-items: start; }
  .masthead figure img { width: 96px; height: 120px; border-width: 3px; border-radius: 12px; }
  .masthead-actions .btn { flex: 1; }
  .group-grid, .groups-full, .footer-grid { grid-template-columns: 1fr; }
  .utility-grid { grid-template-columns: 1fr 1fr; }
  .event { grid-template-columns: 58px 1fr; }
  .event .date { width: 58px; height: 58px; }
  .event-type { grid-column: 2; justify-self: start; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 10px; }
  .info-row { grid-template-columns: 1fr; gap: 2px; }
  section { padding: 34px 0; }
}
@media print {
  .site-header, .site-footer, .map, .contact { display: none; }
  body { background: #fff; }
}

.fineprint a.quiet { color: inherit; text-decoration: none; }
.fineprint a.quiet:hover { color: inherit; text-decoration: underline; }
