/* ============================================
   Daniel Shetley for Asheville City School Board
   Navy / white / gold — no external dependencies
   ============================================ */

:root {
  --navy: #16294d;
  --navy-dark: #0e1c38;
  --navy-light: #24407a;
  --gold: #d9a441;
  --gold-dark: #b98a2e;
  --cream: #faf7f0;
  --white: #ffffff;
  --text: #24303f;
  --text-light: #5a6675;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

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

a { color: var(--navy-light); }

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .85rem 1.25rem;
  max-width: 1060px;
  margin: 0 auto;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: .02em;
}

.brand span { color: var(--gold); }

.site-nav {
  display: flex;
  gap: .25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: #dbe2ef;
  text-decoration: none;
  padding: .45rem .85rem;
  border-radius: 4px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: background .15s, color .15s;
}

.site-nav a:hover { background: var(--navy-light); color: var(--white); }

.site-nav a.active {
  color: var(--navy-dark);
  background: var(--gold);
}

/* ---------- Hero (landing) ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero h1 .office {
  display: block;
  font-size: .55em;
  color: var(--gold);
  margin-top: .4rem;
  letter-spacing: .04em;
}

.tagline {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-family: var(--serif);
  font-style: italic;
  color: #e8ecf5;
  margin-bottom: 1.4rem;
}

.hero p.lede {
  color: #c9d2e3;
  max-width: 34em;
  margin-bottom: 1.75rem;
}

.hero-photo img,
.photo-frame img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  text-decoration: none;
  padding: .8rem 1.6rem;
  border-radius: 5px;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-size: .95rem;
  transition: background .15s, transform .1s;
}

.btn:hover { background: var(--gold-dark); transform: translateY(-1px); }

.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
  margin-left: .75rem;
}

.btn.ghost:hover { background: rgba(217,164,65,.15); }

/* ---------- Sections ---------- */
section { padding: 3.25rem 0; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--navy);
  margin-bottom: .5rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: var(--gold);
  margin-top: .6rem;
  border-radius: 2px;
}

.section-intro {
  color: var(--text-light);
  max-width: 44em;
  margin: 1rem 0 2rem;
}

/* ---------- Priority cards (landing teasers) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--cream);
  border-top: 4px solid var(--gold);
  border-radius: 6px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 2px 10px rgba(22,41,77,.08);
}

.card h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: .6rem;
}

.card p { font-size: .97rem; color: var(--text); }

.card a.more {
  display: inline-block;
  margin-top: .8rem;
  font-weight: 700;
  color: var(--navy-light);
  text-decoration: none;
  font-size: .92rem;
}

.card a.more:hover { text-decoration: underline; }

/* ---------- Vote strip ---------- */
.vote-strip {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
}

.vote-strip h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: .75rem;
}

.vote-strip p { color: #d5dcea; max-width: 46em; }

.vote-strip a { color: var(--gold); font-weight: 600; }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-grid .photo-frame { position: sticky; top: 5rem; }

.photo-caption {
  font-size: .85rem;
  color: var(--text-light);
  text-align: center;
  margin-top: .5rem;
  font-style: italic;
}

.prose p { margin-bottom: 1.15rem; }

.pullquote {
  border-left: 4px solid var(--gold);
  background: var(--cream);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  border-radius: 0 6px 6px 0;
}

.pullquote cite {
  display: block;
  font-size: .85rem;
  font-style: normal;
  font-family: var(--sans);
  color: var(--text-light);
  margin-top: .5rem;
}

/* ---------- Platform page ---------- */
.plank {
  background: var(--white);
  border: 1px solid #e4e7ee;
  border-left: 5px solid var(--gold);
  border-radius: 6px;
  padding: 1.75rem 1.9rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(22,41,77,.06);
}

.plank h3 {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: .65rem;
}

.plank p { margin-bottom: .9rem; }
.plank p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #aab6cc;
  padding: 2.25rem 0 2rem;
  font-size: .92rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.social-links { display: flex; gap: .9rem; }

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-light);
  transition: background .15s;
}

.social-links a:hover { background: var(--gold); }

.social-links svg { width: 20px; height: 20px; fill: var(--white); }

.disclaimer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #2a3d63;
  font-size: .82rem;
  color: #7f8dab;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { order: -1; max-width: 420px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .photo-frame { position: static; max-width: 420px; margin: 0 auto 1rem; }
  .btn.ghost { margin-left: 0; margin-top: .75rem; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav-wrap { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; }
  .footer-grid { flex-direction: column; text-align: center; }
}
