/* ============================================================
   MATT CARR FOR SHERIFF — Teton County, Wyoming
   Design system: "Teton Rugged Authority"
   Brand: near-black #1A1919 · amber #ECBA36 · warm white
   Type:  Anton (display) · Oswald (headings/nav) · Source Sans 3 (body)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --ink:        #141312;
  --ink-2:      #1a1919;   /* official brand black */
  --char:       #232120;   /* charcoal panel */
  --char-2:     #2b2825;
  --char-3:     #34302b;
  --gold:       #ecba36;   /* official brand amber */
  --gold-deep:  #c99a2b;
  --gold-bright:#f6cf57;
  --cream:      #f6f2e9;   /* warm white text */
  --muted:      #b9b1a3;   /* muted warm gray */
  --muted-dim:  #8c857a;
  --line:       rgba(246,242,233,0.12);
  --line-soft:  rgba(246,242,233,0.07);

  /* Type */
  --display: "Anton", "Oswald", Impact, sans-serif;
  --head:    "Oswald", "Arial Narrow", sans-serif;
  --body:    "Source Sans 3", system-ui, -apple-system, Segoe UI, sans-serif;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --shadow-lg: 0 30px 70px -25px rgba(0,0,0,0.75);
  --shadow-md: 0 18px 40px -18px rgba(0,0,0,0.6);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--ink-2);
  color: var(--cream);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: var(--ink); }

/* Topographic / paper grain layered onto the base */
body::before{
  content:"";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("../assets/img/topo.svg");
  background-size: 760px;
  opacity: 0.5;
  mix-blend-mode: screen;
}
body > * { position: relative; z-index: 1; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem,6vw,5rem); }
.bg-char  { background: var(--char); }
.bg-ink   { background: var(--ink); }
.center { text-align: center; }
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }

/* ---------- Type utilities ---------- */
.kicker {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.kicker::before {
  content:""; width: 34px; height: 2px; background: var(--gold); display: inline-block;
}
.kicker--center { justify-content: center; }

h1,h2,h3,h4 { font-family: var(--head); font-weight: 600; line-height: 1.02; letter-spacing: 0.01em; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: 0.012em; line-height: 0.94; text-transform: uppercase; }

.h-section {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem); line-height: 0.96; letter-spacing: 0.01em;
}
.lead { font-size: clamp(1.12rem, 1.7vw, 1.4rem); color: var(--cream); line-height: 1.6; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.measure { max-width: 64ch; }
.measure-sm { max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.13em; font-size: 0.86rem;
  padding: 0.95rem 1.6rem;
  background: var(--bg); color: var(--fg);
  border: 2px solid var(--bg); border-radius: var(--radius);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(236,186,54,0.5); }
.btn:active { transform: translateY(-1px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--cream); border-color: rgba(246,242,233,0.45); }
.btn--ghost:hover { --fg: var(--ink); background: var(--cream); border-color: var(--cream); box-shadow: 0 14px 30px -12px rgba(0,0,0,0.6); }
.btn--lg { padding: 1.1rem 2rem; font-size: 0.95rem; }
.btn--block { display: flex; justify-content: center; width: 100%; }

.textlink {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.84rem; font-weight: 600; color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid transparent;
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.textlink:hover { gap: 0.85rem; border-color: var(--gold); }

/* =====================================================
   HEADER / NAV
   ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(20,19,18,0.86);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.7rem; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; border-radius: 3px; box-shadow: 0 0 0 1px var(--line); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-size: 1.18rem; letter-spacing: 0.03em; color: var(--cream); text-transform: uppercase; }
.brand__name b { color: var(--gold); font-weight: 400; }
.brand__sub { font-family: var(--head); font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav__links { display: flex; align-items: center; gap: 0.35rem; }
.nav__links a {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.82rem; font-weight: 500; color: var(--cream);
  padding: 0.55rem 0.85rem; border-radius: var(--radius);
  position: relative; transition: color .2s var(--ease);
}
.nav__links a::after {
  content:""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.3rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav__links a:hover { color: var(--gold); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--gold); }

.nav__cta { display: flex; align-items: center; gap: 0.6rem; }
.nav__toggle {
  display: none; background: transparent; border: 0; padding: 0.4rem; color: var(--cream);
  width: 44px; height: 44px;
}
.nav__toggle span { display:block; width: 26px; height: 2px; background: currentColor; margin: 5px auto; transition: .3s var(--ease); }
.nav.open .nav__toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2){ opacity: 0; }
.nav.open .nav__toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
.nav__links .btn--mobile { display: none; }
.nav__links a.btn { color: var(--fg); }

@media (max-width: 940px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-120%); transition: transform .4s var(--ease), visibility .4s;
    box-shadow: none; visibility: hidden;
  }
  .nav.open .nav__links { transform: translateY(0); visibility: visible; box-shadow: var(--shadow-lg); }
  .nav__links a { padding: 1rem 0.5rem; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav__links a::after { display: none; }
  .nav__cta .btn { display: none; }
  .nav__links .btn--mobile { display: flex; margin-top: 1.2rem; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative; min-height: clamp(560px, 92vh, 920px);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero__bg::after {
  content:""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,19,18,0.55) 0%, rgba(20,19,18,0.05) 32%, rgba(20,19,18,0.55) 70%, rgba(20,19,18,0.97) 100%),
    linear-gradient(90deg, rgba(20,19,18,0.8) 0%, rgba(20,19,18,0.15) 55%, transparent 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(3rem, 7vw, 6rem); padding-top: 5rem; }
.hero__eyebrow {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 0.3em; font-weight: 600;
  font-size: 0.8rem; color: var(--gold); margin-bottom: 1.4rem;
}
.hero h1 { font-family: var(--display); text-transform: uppercase; color: var(--cream); }
.hero h1 .l1 { display:block; font-size: clamp(2.6rem, 6.6vw, 5.9rem); line-height: 0.92; }
.hero h1 .l1 em { font-style: normal; color: var(--gold); }
.hero__pillars {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-top: 1.4rem;
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(0.95rem, 1.85vw, 1.55rem); color: var(--cream); letter-spacing: 0.02em;
}
.hero__pillars span { display: inline-flex; align-items: center; gap: 1.4rem; }
.hero__pillars span::after { content:"·"; color: var(--gold); }
.hero__pillars span:last-child::after { display: none; }
.hero__sub { margin-top: 1.6rem; max-width: 52ch; color: var(--cream); font-size: clamp(1.05rem,1.5vw,1.25rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__scroll {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--head); text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.66rem; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero__scroll i { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: scrolldrop 1.8s var(--ease) infinite; }
@keyframes scrolldrop { 0%{transform:scaleY(0);transform-origin:top} 40%{transform:scaleY(1);transform-origin:top} 60%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* =====================================================
   MARQUEE STRIP (FAIR · FRIENDLY · HONEST)
   ===================================================== */
.strip { background: var(--gold); color: var(--ink); overflow: hidden; border-block: 2px solid var(--gold-deep); }
.strip__track { display: flex; gap: 0; white-space: nowrap; animation: marquee 32s linear infinite; will-change: transform; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__track span {
  font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.08em;
  padding: 0.7rem 1.6rem; display: inline-flex; align-items: center; gap: 1.6rem;
}
.strip__track span::after { content: "★"; font-size: 0.7rem; transform: translateY(-2px); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* =====================================================
   PILLARS (numbered)
   ===================================================== */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.5rem,2.5vw,2.2rem); }
.pillar {
  background: linear-gradient(160deg, var(--char) 0%, var(--char-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.8rem,2.5vw,2.6rem); position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.pillar::before {
  content:""; position:absolute; inset: 0 0 auto 0; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(236,186,54,0.4); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__num { font-family: var(--display); font-size: 3.2rem; color: rgba(236,186,54,0.22); line-height: 1; }
.pillar h3 { font-size: 1.7rem; text-transform: uppercase; margin: 0.4rem 0 0.9rem; letter-spacing: 0.02em; }
.pillar p { color: var(--muted); font-size: 0.99rem; }

/* =====================================================
   SPLIT (image + text)
   ===================================================== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.split--rev { grid-template-columns: 1fr 1.05fr; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split__media .frame {
  position: absolute; inset: 14px -14px -14px 14px; border: 2px solid var(--gold);
  border-radius: var(--radius); z-index: -1;
}
.split--rev .split__media .frame { inset: 14px 14px -14px -14px; }
.split__body p + p { margin-top: 1.1rem; }
.split__body p { color: var(--muted); }
.split__body .lead { color: var(--cream); margin-bottom: 1rem; }

/* =====================================================
   HOME LAYOUT (content + sidebar)
   ===================================================== */
.home-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
.sidebar { position: sticky; top: 96px; display: grid; gap: 1.4rem; }
.card {
  background: linear-gradient(165deg, var(--char) 0%, var(--char-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
}
.card--gold { background: linear-gradient(150deg, var(--gold) 0%, var(--gold-deep) 100%); color: var(--ink); border: none; }
.card__title { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.82rem; color: var(--gold); margin-bottom: 1rem; display:flex; align-items:center; gap:.6rem; }
.card--gold .card__title { color: var(--ink); }
.card--gold .card__title::before, .card__title::before { content:""; width: 18px; height: 2px; background: currentColor; }

/* Events list */
.event { display: flex; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); }
.event:last-child { border-bottom: 0; padding-bottom: 0; }
.event__date {
  flex-shrink: 0; width: 54px; text-align: center; background: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.4rem 0; line-height: 1;
}
.event__date b { font-family: var(--display); font-size: 1.5rem; color: var(--gold); display:block; }
.event__date span { font-family: var(--head); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
.event__body h4 { font-family: var(--head); font-size: 1.02rem; text-transform: none; font-weight: 600; letter-spacing: 0; }
.event__body p { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

/* Newsletter mini form */
.nl-form { display: grid; gap: 0.7rem; margin-top: 0.4rem; }
.input {
  width: 100%; padding: 0.85rem 1rem; background: var(--ink-2); color: var(--cream);
  border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--body); font-size: 0.98rem;
}
.input::placeholder { color: var(--muted-dim); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(236,186,54,0.18); }
.card--gold .input { background: rgba(20,19,18,0.12); border-color: rgba(20,19,18,0.25); color: var(--ink); }
.card--gold .input::placeholder { color: rgba(20,19,18,0.55); }
.card--gold .btn { --bg: var(--ink); --fg: var(--gold); border-color: var(--ink); }
.card--gold .btn:hover { --bg: #000; }
.nl-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.6rem; line-height: 1.5; }
.card--gold .nl-note { color: rgba(20,19,18,0.7); }

/* =====================================================
   DUAL CTA (donate / endorse banner)
   ===================================================== */
.dualcta { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: var(--radius); overflow: hidden; }
.dualcta__panel { padding: clamp(2.2rem,4vw,3.4rem); display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.dualcta__panel--a { background: linear-gradient(150deg, var(--gold) 0%, var(--gold-deep) 100%); color: var(--ink); }
.dualcta__panel--b { background: linear-gradient(150deg, var(--char-2) 0%, var(--char) 100%); }
.dualcta__panel h3 { font-family: var(--display); font-size: clamp(1.8rem,3vw,2.6rem); text-transform: uppercase; }
.dualcta__panel p { max-width: 38ch; }
.dualcta__panel--a p { color: rgba(20,19,18,0.8); }
.dualcta__panel--b p { color: var(--muted); }
.dualcta__panel--a .btn { --bg: var(--ink); --fg: var(--gold); border-color: var(--ink); margin-top: 0.6rem; }
.dualcta__panel--b .btn { margin-top: 0.6rem; }

/* =====================================================
   ISSUES / Q&A (accordion-style cards)
   ===================================================== */
.qa-list { display: grid; gap: 1.1rem; }
.qa {
  background: linear-gradient(165deg, var(--char) 0%, var(--char-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .3s var(--ease);
}
.qa[open] { border-color: rgba(236,186,54,0.4); }
.qa summary {
  list-style: none; cursor: pointer; padding: 1.4rem clamp(1.2rem,2vw,2rem);
  display: flex; align-items: center; gap: 1.2rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__q { font-family: var(--head); font-size: clamp(1.1rem,1.8vw,1.4rem); font-weight: 600; color: var(--cream); flex: 1; line-height: 1.25; }
.qa__icon { flex-shrink: 0; width: 38px; height: 38px; border: 2px solid var(--gold); border-radius: 50%; position: relative; transition: background .3s var(--ease); }
.qa__icon::before, .qa__icon::after { content:""; position:absolute; background: var(--gold); transition: .3s var(--ease); }
.qa__icon::before { width: 14px; height: 2px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.qa__icon::after  { width: 2px; height: 14px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.qa[open] .qa__icon { background: var(--gold); }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: var(--ink); }
.qa[open] .qa__icon::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.qa__a { padding: 0 clamp(1.2rem,2vw,2rem) 1.6rem; }
.qa__a .tag { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.68rem; color: var(--gold); display:inline-block; margin-bottom: 0.7rem; }
.qa__a p { color: var(--muted); }
.qa__a p + p { margin-top: 0.9rem; }
.qa__video {
  margin-top: 1.2rem; aspect-ratio: 16/9; background: var(--ink-2);
  border: 1px dashed rgba(236,186,54,0.4); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; color: var(--muted);
}
.qa__video .play { width: 56px; height: 56px; border-radius: 50%; background: rgba(236,186,54,0.15); display:flex; align-items:center; justify-content:center; }
.qa__video .play::before { content:""; border-left: 16px solid var(--gold); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 4px; }
.qa__video small { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; }

/* =====================================================
   GET INVOLVED cards
   ===================================================== */
.action-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(1.2rem,2vw,1.8rem); }
@media (max-width: 1100px) { .action-grid { grid-template-columns: repeat(2,1fr); } }
.action {
  background: linear-gradient(165deg, var(--char) 0%, var(--char-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem,2.4vw,2.2rem);
  display: flex; flex-direction: column; gap: 0.8rem; transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.action:hover { transform: translateY(-6px); border-color: rgba(236,186,54,0.4); }
.action__ico { width: 52px; height: 52px; border-radius: var(--radius); background: rgba(236,186,54,0.12); display:flex; align-items:center; justify-content:center; color: var(--gold); }
.action__ico svg { width: 26px; height: 26px; }
.action h3 { font-family: var(--head); text-transform: uppercase; font-size: 1.25rem; letter-spacing: 0.02em; }
.action p { color: var(--muted); font-size: 0.96rem; flex: 1; }

/* Steps (volunteer detail) */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; counter-reset: step; }
.step { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--char); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-size: 2rem; color: var(--gold); display:block; margin-bottom: 0.5rem; }
.step h4 { font-family: var(--head); text-transform: uppercase; font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* =====================================================
   PAGE HERO (sub pages)
   ===================================================== */
.pagehero { position: relative; padding-block: clamp(5rem,11vw,8rem) clamp(3rem,6vw,5rem); overflow: hidden; border-bottom: 1px solid var(--line); }
.pagehero::before {
  content:""; position:absolute; inset:0; z-index:0;
  background: radial-gradient(120% 120% at 80% -10%, rgba(236,186,54,0.16), transparent 55%);
}
.pagehero__inner { position: relative; z-index: 1; }
.pagehero h1 { font-family: var(--display); text-transform: uppercase; font-size: clamp(2.8rem,7vw,6rem); line-height: 0.92; margin-top: 1rem; }
.pagehero p { margin-top: 1.2rem; max-width: 60ch; color: var(--muted); font-size: clamp(1.05rem,1.5vw,1.25rem); }
.breadcrumb { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }

/* Values chips */
.values { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem; font-weight: 500;
  padding: 0.5rem 1.1rem; border: 1px solid var(--line); border-radius: 100px; color: var(--cream);
  transition: .3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.chip--solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* Fact list (bio quick facts) */
.facts { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line-soft); }
.fact:last-child { border-bottom: 0; }
.fact dt { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.74rem; color: var(--gold); padding-top: 2px; }
.fact dd { color: var(--cream); }

/* Pull quote */
.pullquote { border-left: 3px solid var(--gold); padding: 0.4rem 0 0.4rem 1.6rem; }
.pullquote p { font-family: var(--head); font-weight: 300; font-size: clamp(1.3rem,2.6vw,2rem); line-height: 1.3; color: var(--cream); }
.pullquote cite { display:block; margin-top: 1rem; font-family: var(--head); font-style: normal; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; color: var(--gold); }

/* Media gallery placeholders */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.gallery figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .ph { display:flex; align-items:center; justify-content:center; background: var(--char); border: 1px dashed var(--line); color: var(--muted-dim); font-family: var(--head); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; }

/* Notice / placeholder callout for the user */
.notice {
  border: 1px dashed rgba(236,186,54,0.5); border-radius: var(--radius);
  background: rgba(236,186,54,0.06); padding: 1rem 1.2rem; font-size: 0.9rem; color: var(--muted);
}
.notice b { color: var(--gold); font-family: var(--head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; }

/* =====================================================
   MAIL DONATIONS BLOCK
   ===================================================== */
.maildonate {
  margin-top: 1.5rem; padding: 1.1rem 1.3rem;
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius); background: rgba(246,242,233,0.03);
  max-width: 360px;
}
.maildonate__label {
  display: block; font-family: var(--head); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.72rem; color: var(--gold); margin-bottom: 0.5rem;
}
.maildonate address {
  font-style: normal; color: var(--cream); line-height: 1.6; font-size: 1rem;
}

/* =====================================================
   PAYMENT BUTTONS  (Venmo / PayPal)
   ===================================================== */
.paybtns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 1.6rem; max-width: 560px; }
.paybtn {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--gold); color: var(--ink);
  border: 2px solid var(--gold); border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.paybtn:hover { transform: translateY(-3px); background: var(--gold-bright); box-shadow: 0 14px 30px -12px rgba(236,186,54,0.55); }
.paybtn__mark {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 1.3rem; line-height: 1;
}
.paybtn__txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.paybtn__txt b {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.95rem; font-weight: 600;
}
.paybtn__txt small {
  font-size: 0.76rem; color: rgba(20,19,18,0.72);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@media (max-width: 620px) { .paybtns { grid-template-columns: 1fr; } }

/* Balanced split: caps very tall photos so they sit level with short copy */
.split--balance .split__media img { max-height: 560px; object-fit: cover; object-position: center top; }

/* =====================================================
   HEADLINE TRIO  (Experience Matters. / Leadership Matters. / Community Matters.)
   ===================================================== */
.trio { display: grid; gap: 0.1rem; }
.trio span {
  display: block;
  font-family: var(--display); text-transform: uppercase; font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 3.9rem); line-height: 1.02; letter-spacing: 0.01em;
  color: var(--cream);
}
.trio span:nth-child(2) { color: var(--gold); }

/* =====================================================
   STATEMENT BLOCK  ("Being Sheriff isn't about…")
   ===================================================== */
.statement { max-width: 62ch; }
.statement .big {
  font-family: var(--head); font-weight: 300;
  font-size: clamp(1.35rem, 2.9vw, 2.25rem); line-height: 1.28; color: var(--cream);
}
.statement .big b { font-weight: 600; color: var(--gold); }
.statement p + p { margin-top: 1.2rem; }
.statement .sub { color: var(--muted); font-size: 1.02rem; }

/* =====================================================
   TRIPLET BAND  (closing three lines)
   ===================================================== */
.triplet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.triplet div {
  background: linear-gradient(165deg, var(--char) 0%, var(--char-2) 100%);
  padding: clamp(1.6rem, 3vw, 2.4rem); text-align: center;
  border-top: 3px solid var(--gold);
}
.triplet b {
  display: block; font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.15rem, 2vw, 1.65rem); color: var(--gold); line-height: 1.05; margin-bottom: 0.45rem;
}
.triplet span { color: var(--muted); font-size: 0.98rem; }

/* =====================================================
   VALUE CARDS  (Fair. / Friendly. / Honest.)
   ===================================================== */
.valuecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.2vw, 1.9rem); }
.valuecard {
  background: linear-gradient(165deg, var(--char) 0%, var(--char-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 2.4vw, 2.2rem); position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.valuecard:hover { transform: translateY(-6px); border-color: rgba(236,186,54,0.4); }
.valuecard h3 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--gold); margin-bottom: 0.7rem; line-height: 1;
}
.valuecard p { color: var(--muted); font-size: 1rem; }

/* =====================================================
   DIVISION LIST  (Patrol. Investigations. Detention. …)
   ===================================================== */
.divisions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.5rem 0; }
.divisions li {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.02em;
  font-size: clamp(1rem, 1.7vw, 1.35rem); color: var(--cream);
  padding: 0.55rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(246,242,233,0.03); transition: .3s var(--ease);
}
.divisions li:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* =====================================================
   ISSUE CARDS  (Where Matt Stands — final answers)
   ===================================================== */
.issues-list { display: grid; gap: clamp(1.2rem, 2vw, 1.8rem); }
.issue {
  background: linear-gradient(165deg, var(--char) 0%, var(--char-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  display: grid; grid-template-columns: 62px 1fr; gap: clamp(1.2rem, 2.4vw, 2.2rem);
  position: relative; overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.issue::before {
  content:""; position:absolute; inset: 0 auto 0 0; width: 3px; background: var(--gold);
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease);
}
.issue:hover { border-color: rgba(236,186,54,0.4); transform: translateY(-4px); }
.issue:hover::before { transform: scaleY(1); }
.issue__ico {
  width: 62px; height: 62px; border-radius: var(--radius);
  background: rgba(236,186,54,0.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.issue__ico svg { width: 30px; height: 30px; }
.issue h2 {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); color: var(--cream); margin-bottom: 0.9rem; line-height: 1.02;
}
.issue p { color: var(--muted); }
.issue p + p { margin-top: 0.85rem; }
.issue p.lead-in { color: var(--cream); font-size: 1.08rem; }

/* =====================================================
   MOUNTAIN DIVIDER
   ===================================================== */
.ridge { display: block; width: 100%; height: auto; color: var(--ink); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding-block: clamp(3.5rem,6vw,5rem) 2rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); }
.footer__brand .brand { margin-bottom: 1.2rem; }
.footer__brand p { color: var(--muted); max-width: 38ch; font-size: 0.95rem; }
.footer__col h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; color: var(--gold); margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: 0.65rem; }
.footer__col a, .footer__col span { color: var(--muted); font-size: 0.95rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--gold); }
.socials { display: flex; gap: 0.7rem; margin-top: 0.4rem; }
.socials a {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius);
  display:flex; align-items:center; justify-content:center; color: var(--cream); transition: .3s var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.footer__bottom {
  margin-top: clamp(2.5rem,4vw,3.5rem); padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--muted-dim);
}
.footer__bottom .disclaimer { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; }

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"]{ transition-delay: .08s; }
[data-reveal][data-delay="2"]{ transition-delay: .16s; }
[data-reveal][data-delay="3"]{ transition-delay: .24s; }
[data-reveal][data-delay="4"]{ transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .home-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media .frame { display: none; }
  .dualcta { grid-template-columns: 1fr; }
  .action-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .triplet { grid-template-columns: 1fr; }
  .valuecards { grid-template-columns: 1fr; }
  .issue { grid-template-columns: 1fr; gap: 1.1rem; }
  .issue__ico { width: 54px; height: 54px; }
}
/* Mobile hero: photo up top, text overlays lower third on a black gradient fade */
@media (max-width: 700px) {
  .hero { min-height: 0; display: block; }
  .hero__bg { position: relative; width: 100%; aspect-ratio: 3 / 4; }
  .hero__bg img { transform: none; object-position: center; }
  .hero__bg::after {
    background: linear-gradient(180deg,
      rgba(20,19,18,0) 32%,
      rgba(20,19,18,0.40) 56%,
      rgba(20,19,18,0.88) 80%,
      var(--ink-2) 100%);
  }
  .hero__inner {
    position: relative; z-index: 2;
    margin-top: -42%;
    padding: 0 0 2.4rem;
    background: linear-gradient(180deg, transparent 0%, var(--ink-2) 34%);
  }
  .hero__eyebrow { margin-bottom: 0.9rem; }
}
@media (max-width: 620px) {
  .sidebar { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 1fr; gap: 0.2rem; }
  .hero__pillars span::after { content: ""; }
  .hero__scroll { display: none; }
  .hero__cta .btn { flex: 1; justify-content: center; }
}

/* =====================================================
   PRINT / PDF  (for sharing pages as PDFs to review)
   ===================================================== */
@page { size: Letter; margin: 0; }   /* full-bleed; removes browser URL/date stamps */
@media print {
  html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { background: var(--ink-2) !important; }
  body::before { display: none !important; }              /* remove fixed topo overlay */
  .site-header { position: static !important; backdrop-filter: none !important; }
  .sidebar { position: static !important; }
  .nav__toggle, .hero__scroll { display: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }  /* reveal everything */
  .strip__track { animation: none !important; }           /* freeze marquee */
  .section, .section--tight { padding-block: 2.4rem !important; }
  .hero { min-height: 60vh !important; }
  /* keep photos a sensible size in print so pages read tight */
  .split__media { text-align: center; }
  .split__media img { max-height: 3.9in; width: auto; display: inline-block; }
  .split__media .frame { display: none !important; }
  .gallery img, .qa__video { max-height: 2.6in; }
  .pagehero { padding-block: 2.2rem 1.4rem !important; }
  /* keep small blocks from splitting across pages */
  .pillar, .action, .qa, .card, .event, figure, .step, .fact,
  .dualcta__panel, .pullquote, .notice, .facts { break-inside: avoid; page-break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
  a { text-decoration: none !important; }
}
