/* ============================================================
   Bryan Feemster for Greene County Circuit Clerk
   Brand: red / blue / white — patriotic, clean, trustworthy
   ============================================================ */

:root {
  --red: #b5292e;
  --red-dark: #8f1f24;
  --blue: #1c6cb0;
  --blue-dark: #155488;
  --ink: #1a2233;
  --slate: #4a5568;
  --paper: #ffffff;
  --cream: #f6f7f9;
  --line: #e4e7ec;
  --shadow: 0 10px 30px rgba(26, 34, 51, 0.08);
  --shadow-lg: 0 20px 50px rgba(26, 34, 51, 0.14);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: "Oswald", sans-serif; font-weight: 700; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }

a { color: inherit; text-decoration: none; }

.section { padding: 84px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(181, 41, 46, 0.32); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { color: var(--blue); border-color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--blue-dark); box-shadow: var(--shadow); }
.btn-white:hover { background: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--blue);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand img { height: 46px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 0.95rem; letter-spacing: 0.03em; color: var(--ink);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--red); }
.nav-cta { background: var(--red); color: #fff !important; padding: 9px 18px; border-radius: 4px; }
.nav-cta:hover { background: var(--red-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
  overflow: hidden;
  padding: 72px 0 80px;
}
.hero::before {
  /* subtle star field accent */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(28,108,176,0.06) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow {
  font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--blue); font-size: 1.05rem; margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  color: var(--red);
  line-height: 0.95;
}
.tagline {
  font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.3rem, 3vw, 2rem); margin: 14px 0 22px; color: var(--ink);
}
.tagline span { display: inline-block; }
.tagline span:not(:last-child)::after { content: "★"; color: var(--blue); margin: 0 12px; font-size: 0.8em; vertical-align: 0.06em; }
.lede { font-size: 1.18rem; color: var(--slate); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-photo { position: relative; }
.hero-photo img {
  display: block; width: 100%; max-width: 500px; height: auto;
  margin: 0 auto;
}

/* ---------- Pillars ---------- */
.pillars { background: var(--blue); padding: 56px 0; }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pillar { color: #fff; text-align: center; }
.pillar .star { color: #ffffff; font-size: 1.6rem; display: block; margin-bottom: 10px; opacity: 0.9; }
.pillar h3 { font-size: 1.18rem; margin-bottom: 8px; color: #fff; }
.pillar p { color: rgba(255,255,255,0.85); font-size: 0.98rem; line-height: 1.5; }

/* ---------- Section heads ---------- */
.kicker {
  font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--red); font-size: 1rem; margin-bottom: 10px;
}
.kicker.light { color: var(--blue); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--ink); }
.section-sub { color: var(--slate); font-size: 1.15rem; margin-top: 14px; }

/* ---------- About ---------- */
.about { background: var(--paper); }
.about-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.about-copy .kicker { text-align: center; }
.about-copy h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--red); margin-bottom: 18px; }
.about-copy p { color: var(--slate); margin-bottom: 16px; font-size: 1.08rem; }

/* ---------- Record ---------- */
.record { background: var(--cream); }
.record-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.record-card {
  background: #fff; border-radius: 10px; padding: 32px 28px;
  box-shadow: var(--shadow); border-top: 4px solid var(--red);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.record-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.record-card .stat {
  font-family: "Oswald", sans-serif; font-weight: 700; font-size: 2.8rem;
  color: var(--blue); line-height: 1; margin-bottom: 12px;
}
.record-card h3 { font-size: 1.22rem; color: var(--ink); margin-bottom: 8px; }
.record-card p { color: var(--slate); font-size: 1rem; }

/* ---------- Priorities ---------- */
.priorities { background: var(--paper); }
.priority-list { list-style: none; max-width: 820px; margin: 0 auto; display: grid; gap: 16px; }
.priority-list li {
  background: var(--cream); border-radius: 8px; padding: 20px 24px;
  font-size: 1.12rem; color: var(--ink); display: flex; gap: 14px; align-items: flex-start;
  border-left: 4px solid var(--blue);
}
.priority-list .star { color: var(--red); font-size: 1.2rem; flex-shrink: 0; line-height: 1.5; }

/* ---------- Vote / CTA ---------- */
.vote {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.vote::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
}
.vote-inner { position: relative; max-width: 760px; margin: 0 auto; }
.vote .kicker.light { color: rgba(255,255,255,0.9); }
.vote h2 { font-size: clamp(2.4rem, 6vw, 4rem); color: #fff; }
.vote-sub { font-size: 1.2rem; color: rgba(255,255,255,0.9); margin: 18px auto 8px; max-width: 600px; }
.vote-tagline { font-size: 1.3rem; margin-bottom: 28px; }
.vote-tagline strong { font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.02em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-logo { height: 64px; width: auto; }
.disclaimer { color: rgba(255,255,255,0.65); font-size: 0.92rem; letter-spacing: 0.01em; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 36px; }
  .hero-copy { order: 2; }
  .hero-photo { order: 1; }
  .hero-photo img { max-width: 280px; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .tagline span:not(:last-child)::after { margin: 0 8px; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .record-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .section { padding: 60px 0; }
}

@media (max-width: 540px) {
  .record-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .brand img { height: 38px; }
  .btn { width: 100%; text-align: center; }
  .hero-actions { flex-direction: column; }
}
