/* ================================================================
   MURL 4 JEFFCO — Shared Stylesheet
   All pages link to this file.
   ================================================================ */

/* ─── TOKENS ─── */
:root {
  --teal:        #0F3D4A;
  --teal-mid:    #1E6478;
  --teal-light:  #2A7F98;
  --sand:        #C9913A;
  --sand-light:  #E0A84A;
  --sand-pale:   #F5DFB8;
  --cream:       #F3F6F7;
  --white:       #FFFFFF;
  --slate:       #445566;
  --border:      #CDD8DC;
  --light:       #E8EFF2;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--teal);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── NAV ─── */
.site-nav {
  background: var(--teal);
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  color: #fff;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-brand span { color: var(--sand-light); }

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--sand-light); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.72);
}

/* ─── HERO (index.html only) ─── */
.hero {
  background: var(--teal);
  color: #fff;
  padding: 5rem 2rem 4.5rem;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-photo { justify-self: center; }

.hero-photo img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  border: 4px solid var(--sand-light);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

.party-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.28rem 0.78rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.52);
  margin-bottom: 1.75rem;
}

.party-dot {
  width: 7px;
  height: 7px;
  background: var(--sand-light);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand-light);
  border-left: 3px solid var(--sand);
  padding-left: 0.7rem;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.4rem;
  max-width: 700px;
}

.hero h1 em { font-style: italic; color: var(--sand-light); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin-bottom: 2.25rem;
  line-height: 1.78;
}

/* ─── PAGE HEADER (subpages) ─── */
.page-header {
  background: var(--teal);
  color: #fff;
  padding: 3rem 2rem 2.75rem;
}

.page-header-inner { max-width: 860px; margin: 0 auto; }

.page-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.48);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}

.page-header .back-link:hover { color: var(--sand-light); }

.page-header .page-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand-light);
  border-left: 3px solid var(--sand);
  padding-left: 0.68rem;
  margin-bottom: 0.9rem;
}

.page-header h1 {
  font-family: 'Lora', serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 660px;
}

.page-header h1 em { font-style: italic; color: var(--sand-light); }

.page-header p {
  margin-top: 0.85rem;
  color: rgba(255,255,255,0.62);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.72;
}

/* ─── RACE BAND ─── */
.race-band {
  background: var(--light);
  border-top: 3px solid var(--sand);
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.86rem;
  color: var(--slate);
  letter-spacing: 0.02em;
}

.race-band strong { color: var(--teal); font-weight: 700; }

/* ─── SECTIONS ─── */
.section { padding: 5rem 2rem; }
.section-inner { max-width: 860px; margin: 0 auto; }

.section-label {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  border-left: 3px solid var(--sand);
  padding-left: 0.68rem;
  margin-bottom: 0.7rem;
}

.section-heading {
  font-family: 'Lora', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1.85rem;
  line-height: 1.2;
  max-width: 660px;
}

.section-subheading {
  font-family: 'Lora', serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.9rem;
  margin-top: 2.5rem;
  line-height: 1.25;
}

.prose p {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.15rem;
  max-width: 680px;
}

.prose p strong { color: var(--teal); }

.prose p:last-child { margin-bottom: 0; }

/* ─── BACKGROUNDS ─── */
.bg-white  { background: var(--white); }
.bg-cream  { background: var(--cream); }
.bg-light  { background: var(--light); }
.bg-teal   { background: var(--teal); }
.bg-teal-mid { background: var(--teal-mid); }
.bg-sand   { background: var(--sand); }

/* ─── ABOUT GRID ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: start;
}

/* ─── BIO PHOTO ─── */
.bio-photo { margin-bottom: 1.5rem; }

.bio-photo img {
  width: 100%;
  border-top: 4px solid var(--sand);
}

.bio-photo-caption {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--slate);
  line-height: 1.5;
  padding: 0.6rem 0.1rem 0;
}

/* ─── CREDENTIAL LIST ─── */
.cred-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }

.cred-item {
  background: var(--cream);
  border-left: 3px solid var(--sand);
  padding: 0.78rem 0.9rem;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 0.65rem;
  align-items: start;
}

.cred-label {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sand);
  padding-top: 0.1rem;
}

.cred-value {
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 600;
  line-height: 1.4;
}

/* ─── ENDORSEMENTS ─── */
.endorse-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.endorse-card {
  background: var(--white);
  border-left: 4px solid var(--sand);
  padding: 1.6rem 1.8rem;
}

.endorse-name {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.endorse-title {
  font-size: 0.85rem;
  color: var(--slate);
  letter-spacing: 0.02em;
}

/* ─── ISSUE CARDS ─── */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.issue-card {
  background: var(--white);
  border-top: 4px solid var(--teal);
  padding: 1.6rem;
}

.issue-card.sand-top { border-top-color: var(--sand); }

.issue-stat {
  font-family: 'Lora', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.issue-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.issue-card p {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.72;
}

/* ─── PILLAR BLOCKS (platform page) ─── */
.pillar {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.pillar:first-of-type { border-top: none; padding-top: 0; }

.pillar-label {
  font-family: 'Lora', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.3;
}

.pillar-label .number {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.35rem;
}

.pillar-body p {
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 580px;
}

.pillar-body p:last-child { margin-bottom: 0; }

.pillar-body p strong { color: var(--teal); }

/* ─── SCOPE BOX (platform page) ─── */
.scope-box {
  background: var(--white);
  border-left: 3px solid var(--teal-mid);
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
}

.scope-box h3 {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1rem;
}

.scope-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.scope-col-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.6rem;
}

.scope-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.scope-col ul li {
  font-size: 0.92rem;
  color: var(--slate);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.scope-col ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--sand);
}

.scope-col.no-col ul li::before { color: var(--teal-mid); }

/* ─── VOLUNTEER WAYS ─── */
.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.way-card {
  background: var(--white);
  border-top: 3px solid var(--teal);
  padding: 1.35rem;
}

.way-card h3 {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.way-card p {
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ─── VOLUNTEER GRID ─── */
.vol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.vol-text p {
  color: var(--slate);
  margin-bottom: 1.15rem;
  font-size: 1rem;
  line-height: 1.78;
}

/* ─── FORM ─── */
.form-field { margin-bottom: 1rem; }

.form-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.32rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.68rem 0.88rem;
  border: 1.5px solid var(--border);
  background: var(--cream);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  color: var(--teal);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--teal); }

.form-note {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--slate);
  opacity: 0.65;
}

/* ─── BUTTONS ─── */
.btn-sand {
  background: var(--sand);
  color: var(--teal);
  padding: 0.8rem 1.9rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-sand:hover { background: var(--sand-light); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.82);
  padding: 0.8rem 1.9rem;
  border: 1px solid rgba(255,255,255,0.28);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: rgba(255,255,255,0.65); color: #fff; }

.btn-teal {
  background: var(--teal);
  color: #fff;
  padding: 0.8rem 1.9rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  letter-spacing: 0.03em;
  transition: background 0.2s;
  border-radius: 0;
}

.btn-teal:hover { background: var(--teal-mid); }

.btn-teal.inline {
  width: auto;
  display: inline-block;
  text-decoration: none;
}

.btn-donate {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 0.9rem 2.4rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-donate:hover { background: var(--teal-mid); }

.cta-row { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* ─── CONTRAST / STATUTE BAND ─── */
.contrast-bg { background: var(--teal-mid); padding: 4rem 2rem; }
.contrast-inner { max-width: 860px; margin: 0 auto; }

.contrast-inner h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.95rem;
  max-width: 640px;
}

.contrast-inner p {
  color: rgba(255,255,255,0.68);
  font-size: 1rem;
  max-width: 630px;
  line-height: 1.78;
}

.contrast-inner p strong { color: var(--sand-pale); }

.statute-cite {
  margin-top: 1.4rem;
  border-left: 3px solid var(--sand);
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  font-style: italic;
  max-width: 590px;
}

/* ─── CTA BAND ─── */
.cta-band {
  background: var(--light);
  border-top: 3px solid var(--sand);
  padding: 3rem 2rem;
}

.cta-band-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band p {
  font-size: 1.05rem;
  color: var(--teal);
  font-weight: 600;
  max-width: 500px;
}

/* ─── DONATE SECTION ─── */
.donate-section { background: var(--sand); padding: 5rem 2rem; }
.donate-inner { max-width: 860px; margin: 0 auto; }

.donate-inner .section-label { color: var(--teal); border-color: var(--teal); }

.donate-inner h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.9rem;
  max-width: 600px;
}

.donate-inner > p {
  font-size: 1rem;
  color: var(--teal);
  opacity: 0.78;
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.donate-amounts {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.amount-btn {
  background: rgba(15,61,74,0.12);
  border: 1.5px solid rgba(15,61,74,0.25);
  color: var(--teal);
  padding: 0.55rem 1.2rem;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  border-radius: 0;
}

.amount-btn:hover,
.amount-btn.selected {
  background: rgba(15,61,74,0.22);
  border-color: rgba(15,61,74,0.55);
}

.legal-note {
  margin-top: 1.6rem;
  font-size: 0.76rem;
  color: var(--teal);
  opacity: 0.5;
  font-style: italic;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--teal);
  padding: 1.75rem 2rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.36);
}

.site-footer a { color: var(--sand-light); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { margin-top: 0.45rem; font-style: italic; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fu   { animation: fadeUp 0.55s ease both; }
.d1   { animation-delay: 0.10s; }
.d2   { animation-delay: 0.22s; }
.d3   { animation-delay: 0.35s; }
.d4   { animation-delay: 0.48s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 720px) {
  .about-grid,
  .vol-grid          { grid-template-columns: 1fr; gap: 2rem; }
  .hero-inner        { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-photo        { order: -1; }
  .hero-photo img    { width: 190px; height: 190px; }
  .hero-eyebrow      { display: inline-block; }
  .hero-sub          { margin-left: auto; margin-right: auto; }
  .cta-row           { justify-content: center; }
  .issue-grid        { grid-template-columns: 1fr; }
  .endorse-grid      { grid-template-columns: 1fr; }
  .ways-grid         { grid-template-columns: 1fr 1fr; }
  .pillar            { grid-template-columns: 1fr; gap: 0.75rem; }
  .scope-cols        { grid-template-columns: 1fr; gap: 1rem; }
  .cta-band-inner    { flex-direction: column; align-items: flex-start; }
  .nav-links         { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: var(--teal);
    padding: 1rem 2rem 1.5rem;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-toggle        { display: flex; }
  .site-nav          { position: relative; }
}

@media (max-width: 480px) {
  .ways-grid { grid-template-columns: 1fr; }
  .donate-amounts { gap: 0.5rem; }
}
