/* Cincinnati Urban Promise — shared styles */
:root {
  --navy: #1b3a4b;
  --navy-dark: #12293a;
  --gold: #e9a13b;
  --gold-dark: #d18a1f;
  --cream: #faf6ef;
  --white: #ffffff;
  --ink: #2b2b2b;
  --muted: #5f6b73;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Fraunces', serif; line-height: 1.15; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.nav { display: flex; align-items: center; gap: 26px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 42px; width: auto; max-width: 230px; object-fit: contain; }
.brand span { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); letter-spacing: .02em; }
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a { white-space: nowrap; text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); }

/* dropdown */
.dropdown > a::after { content: "\00a0▾"; font-size: .7em; }
.dropdown-menu {
  visibility: hidden; opacity: 0;
  position: absolute; top: 100%; left: -12px; margin-top: 10px;
  background: var(--white); border: 1px solid #eee; border-radius: 10px;
  box-shadow: 0 12px 30px rgba(27,58,75,.14); list-style: none;
  min-width: 230px; padding: 8px 0;
  transition: opacity .15s ease .35s, visibility 0s linear .5s;
}
/* invisible bridge so the mouse can cross the gap between button and menu */
.dropdown-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  visibility: visible; opacity: 1; transition: opacity .15s ease;
}
.dropdown-menu a { display: block; padding: 9px 18px; font-size: .9rem; }
.dropdown-menu a:hover { background: var(--cream); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 12px 26px; border-radius: 999px; transition: transform .15s, box-shadow .15s;
  border: none; cursor: pointer; font-family: 'Inter', sans-serif; font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.nav .btn { padding: 10px 22px; font-size: .9rem; white-space: nowrap; }

/* mobile nav */
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* ---------- Heroes ---------- */
.hero {
  position: relative; color: var(--white);
  padding: 120px 0 130px; background-size: cover; background-position: center;
}
.hero .kicker, .page-hero .kicker { text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; font-weight: 600; color: var(--gold); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 700; max-width: 720px; }
.hero p { max-width: 560px; margin: 22px 0 34px; font-size: 1.1rem; color: #e8eef2; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  color: var(--white); padding: 70px 0;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { color: #c8d4dc; max-width: 640px; margin-top: 14px; font-size: 1.05rem; }

/* ---------- Stats band ---------- */
.stats { background: var(--navy); color: var(--white); padding: 44px 0; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-family: 'Fraunces', serif; font-size: 2.4rem; color: var(--gold); }
.stat span { font-size: .9rem; color: #c8d4dc; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.kicker2 { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 700; color: var(--gold-dark); margin-bottom: 12px; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--navy); margin-bottom: 18px; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 680px; }

.alt { background: var(--cream); }

/* two-column feature */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.feature.rev { grid-template-columns: .95fr 1.05fr; }
.feature img { border-radius: 16px; box-shadow: 0 20px 50px rgba(27,58,75,.18); width: 100%; object-fit: cover; }
.feature p { color: var(--muted); margin-bottom: 14px; }
.feature .meta { font-weight: 600; color: var(--navy); margin-bottom: 14px; }

/* ---------- Cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.card {
  background: var(--white); border: 1px solid #eee; border-radius: 14px;
  padding: 30px 24px; text-decoration: none; transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
a.card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(27,58,75,.12); }
.card .age { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-dark); margin-bottom: 10px; }
.card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .92rem; flex: 1; }
.card .more { margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.card img { border-radius: 10px; margin-bottom: 18px; height: 180px; width: 100%; object-fit: cover; }

/* ---------- Values ---------- */
.values { background: var(--navy-dark); color: var(--white); }
.values .section-title { color: var(--white); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 40px; }
.value { background: rgba(255,255,255,.06); border-radius: 14px; padding: 30px; border-left: 4px solid var(--gold); }
.value h3 { color: var(--gold); font-size: 1.15rem; margin-bottom: 10px; letter-spacing: .04em; }
.value p { color: #cdd8df; font-size: .95rem; }

/* ---------- Checklist ---------- */
.checks { list-style: none; margin: 20px 0 30px; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 14px; color: var(--muted); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }

/* ---------- Team ---------- */
.person { text-align: left; }
.person img { height: 260px; object-fit: cover; object-position: top; }
.person .role { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-dark); margin-bottom: 6px; }
.person .contact { margin-top: 12px; font-size: .88rem; }
.person .contact a { color: var(--navy); font-weight: 600; text-decoration: none; display: block; }
.person .contact a:hover { color: var(--gold-dark); }

.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.board-member { background: var(--white); border: 1px solid #eee; border-radius: 12px; padding: 22px; }
.board-member h4 { color: var(--navy); font-size: 1.02rem; margin-bottom: 4px; }
.board-member span { color: var(--muted); font-size: .88rem; }

/* ---------- Donor lists ---------- */
.donor-cols { columns: 3; column-gap: 40px; list-style: none; margin-top: 30px; }
.donor-cols li { padding: 7px 0; border-bottom: 1px solid #eee; break-inside: avoid; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .donor-cols { columns: 2; } }
@media (max-width: 540px) { .donor-cols { columns: 1; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--white); text-align: center; padding: 70px 0; }
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 14px; }
.cta-band p { color: #c8d4dc; max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .9rem; color: var(--navy); display: block; margin-bottom: 6px; }
input, textarea {
  width: 100%; padding: 13px 16px; border: 1px solid #ddd; border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: .95rem; background: var(--white);
}
input:focus, textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }

/* ---------- Footer ---------- */
footer { background: var(--navy-dark); color: #b9c6cf; padding: 60px 0 30px; font-size: .92rem; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot h4 { color: var(--white); font-family: 'Fraunces', serif; margin-bottom: 14px; }
.foot a { display: block; text-decoration: none; margin-bottom: 8px; }
.foot a:hover { color: var(--gold); }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; text-align: center; font-size: .82rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 18px 24px; gap: 14px; border-bottom: 1px solid #eee;
    box-shadow: 0 14px 30px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .dropdown-menu { position: static; visibility: visible; opacity: 1; transition: none; margin-top: 0; box-shadow: none; border: none; padding: 6px 0 0 14px; }
  .dropdown-menu::before { display: none; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.rev { grid-template-columns: 1fr; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .grid-4, .grid-3, .board-grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .brand img { height: 34px; max-width: 170px; }
}
