
:root {
  --bg: #f3eee4;
  --bg-elev: #fffdf8;
  --ink: #122033;
  --ink-dim: #4d5a66;
  --line: #d7cebf;
  --accent: #1b5f58;
  --accent-2: #c4a35a;
  --navy: #0e2438;
  --navy-2: #16324a;
  --paper: #faf7f1;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 7rem;
  --radius: 2px;
  --max: 1120px;
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--navy); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(3rem, 8vw, 6.2rem); margin: 0 0 0.15em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 0.6em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 0.9rem;
  z-index: 80;
}
.skip:focus { top: 1rem; color: #fff; }

.wrap {
  width: min(var(--max), calc(100% - clamp(1.25rem, 4vw, 3rem) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--space-3);
}
.brand img { height: 44px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--accent); }
.site-nav .btn { color: #fff; }
.site-nav .btn:hover { color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
  content: "";
}
.nav-toggle-bars::before { top: -6px; position: absolute; }
.nav-toggle-bars::after { top: 6px; position: absolute; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { background: #154c47; color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: color-mix(in srgb, #fff 55%, transparent);
}
.btn-ghost:hover { background: #fff; color: var(--navy); }

.hero {
  position: relative;
  background: var(--navy);
  color: #f3eee4;
  overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 36, 56, 0.94) 0%, rgba(14, 36, 56, 0.82) 48%, rgba(14, 36, 56, 0.55) 100%),
    url("assets/slc.jpg") center / cover no-repeat;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-6) 0;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 650;
  margin-bottom: 0.7rem;
}
.hero-role {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--accent-2);
  margin: 0 0 1.1rem;
  font-weight: 550;
}
.lede {
  max-width: 38rem;
  color: #d9d3c7;
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}
.hero-portrait {
  margin: 0;
  justify-self: end;
  width: min(100%, 360px);
}
.hero-portrait img {
  width: 100%;
  aspect-ratio: 375 / 459;
  object-fit: cover;
  object-position: center top;
  border: 1px solid color-mix(in srgb, #fff 18%, transparent);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.section { padding: var(--space-7) 0; }
.section-ink { background: var(--navy); color: #f3eee4; }
.section-panel {
  background: var(--bg-elev);
  border-block: 1px solid var(--line);
}
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.7rem;
}
.section-label.light { color: var(--accent-2); }
.narrow { max-width: 42rem; }

.value-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.value-grid li {
  background: var(--bg-elev);
  border-top: 3px solid var(--accent);
  padding: 1.4rem 1.3rem 1.5rem;
}
.value-num {
  display: block;
  font-family: var(--font-display);
  color: var(--accent-2);
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}
.value-grid p { color: var(--ink-dim); }

.auditor-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-6);
  align-items: start;
}
.auditor-grid p { color: #d4cdc0; }
.compare {
  background: var(--navy-2);
  padding: 1.5rem 1.4rem;
  border-left: 3px solid var(--accent-2);
}
.compare h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.compare dl { margin: 0; }
.compare dl > div {
  padding: 0.85rem 0;
  border-top: 1px solid color-mix(in srgb, #fff 12%, transparent);
}
.compare dl > div:first-child { border-top: 0; padding-top: 0; }
.compare dt {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.25rem;
}
.compare dd { margin: 0; color: #d9d3c7; }
.compare-cia {
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  margin: 0.6rem -1.4rem -1.5rem;
  padding: 1rem 1.4rem 1.3rem;
}

.pull {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  color: var(--ink);
}

.quals-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-6);
  align-items: start;
}
.qual-list { list-style: none; margin: 0; padding: 0; }
.qual-list li {
  padding: 1rem 0 1rem 1.6rem;
  border-top: 1px solid var(--line);
  position: relative;
}
.qual-list li:last-child { border-bottom: 1px solid var(--line); }
.qual-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.7rem;
  height: 0.35rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: var(--space-6);
  align-items: start;
}
.about-portrait { margin: 0; }
.about-portrait img {
  width: 100%;
  aspect-ratio: 375 / 459;
  object-fit: cover;
  border: 1px solid var(--line);
}
.about-grid p { color: var(--ink-dim); }

.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: stretch;
}
.donate-grid .btn { margin-top: 1.2rem; }
.contact-card {
  background: var(--bg-elev);
  color: var(--ink);
  padding: 2rem 1.6rem;
}
.contact-card a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 650;
  font-size: 1.15rem;
}
.contact-card a:hover { color: var(--accent); }

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 2.4rem 0;
  text-align: center;
}
.footer-logo {
  height: 56px;
  width: auto;
  margin: 0 auto 1rem;
}
.disclaimer, .colophon {
  color: var(--ink-dim);
  font-size: 0.875rem;
}
.colophon a { color: var(--ink-dim); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
::selection {
  background: color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--ink);
}


.header-tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.lang-switch button {
  min-height: 36px;
  min-width: 40px;
  padding: 0 0.55rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--navy);
  color: #f3eee4;
}
.election-date {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid color-mix(in srgb, #fff 28%, transparent);
  color: #f3eee4;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .header-inner { gap: 1.25rem; }
  .header-tools { order: 3; margin-left: 0; }
  .site-nav { margin-left: auto; }
}

@media (max-width: 900px) {
  .hero-grid,
  .auditor-grid,
  .quals-grid,
  .about-grid,
  .donate-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: start; width: min(280px, 70%); }
  .hero { min-height: auto; }
}

@media (max-width: 767px) {
  .header-tools { margin-left: auto; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.1rem;
    gap: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .btn {
    margin-top: 0.75rem;
    justify-content: center;
    color: #fff;
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
