:root {
  --coal: #191713;
  --ink: #2a2925;
  --paper: #f7f1e6;
  --paper-strong: #fffaf0;
  --line: #d7c9b2;
  --muted: #6f675b;
  --red: #a73328;
  --red-dark: #78231d;
  --green: #2f6b4f;
  --gold: #d7a84d;
  --blue: #426f8f;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(25, 23, 19, 0.16);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  background: var(--coal);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.site-alert {
  background: var(--coal);
  color: var(--paper-strong);
  padding: 9px 18px;
  text-align: center;
  font-size: 0.92rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 241, 230, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  color: var(--coal);
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--red);
  color: var(--paper-strong);
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--paper-strong);
  outline: 1px solid var(--line);
}

.nav-links a.button {
  color: var(--white);
}

.nav-links a.button:hover,
.nav-links a.button:focus {
  background: var(--red-dark);
  outline: 0;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(167, 51, 40, 0.18);
}

.button:hover,
.button:focus {
  background: var(--red-dark);
}

.button.secondary {
  background: var(--paper-strong);
  color: var(--coal);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus {
  background: var(--white);
}

.hero {
  background:
    linear-gradient(90deg, rgba(25, 23, 19, 0.86), rgba(25, 23, 19, 0.68)),
    url("jerry-hogue-reference.png") center 31% / cover;
  color: var(--paper-strong);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 104px);
  padding: 48px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: inherit;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.85rem, 8vw, 6.8rem);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.55rem);
}

h3 {
  margin: 0;
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 690px;
  margin: 18px 0 0;
  color: rgba(255, 250, 240, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-facts {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fact {
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 250, 240, 0.09);
}

.fact strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.fact span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.9rem;
}

.form-panel {
  background: var(--paper-strong);
  color: var(--ink);
  border: 1px solid rgba(255, 250, 240, 0.4);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.form-panel h2 {
  color: var(--coal);
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.form-panel p {
  margin: 0 0 16px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label,
legend {
  font-weight: 730;
  color: var(--coal);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(215, 168, 77, 0.34);
  border-color: var(--gold);
}

.fine-print {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.honeypot {
  display: none;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--paper-strong);
}

.section.dark {
  background: var(--coal);
  color: var(--paper-strong);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.dark .section-head p,
.dark .muted {
  color: rgba(255, 250, 240, 0.72);
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.idea-card,
.step,
.faq-item,
.policy-card,
.sighting-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  padding: 18px;
}

.idea-card {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.idea-card:hover,
.idea-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(25, 23, 19, 0.1);
}

.idea-card .tag,
.sighting-card .tag,
.policy-card .tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--coal);
  background: rgba(215, 168, 77, 0.22);
  font-size: 0.78rem;
  font-weight: 820;
}

.idea-card h3,
.step h3,
.faq-item h3,
.policy-card h3 {
  margin-top: 12px;
  color: var(--coal);
}

.idea-card p,
.step p,
.faq-item p,
.policy-card p {
  color: var(--muted);
  margin: 10px 0 0;
}

.wide-split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: 30px;
  align-items: start;
}

.portrait-strip {
  position: sticky;
  top: 96px;
}

.portrait-frame {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--coal);
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  filter: sepia(0.08) contrast(1.04);
}

.caption {
  padding: 12px 14px;
  background: var(--coal);
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.9rem;
}

.step {
  counter-increment: step;
}

.steps {
  counter-reset: step;
}

.step::before {
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 850;
  margin-bottom: 14px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-button {
  border: 1px solid var(--line);
  background: var(--paper-strong);
  color: var(--coal);
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  font-weight: 720;
}

.filter-button[aria-pressed="true"] {
  background: var(--coal);
  color: var(--paper-strong);
  border-color: var(--coal);
}

.sighting-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sighting-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.sighting-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sighting-body {
  padding: 14px;
}

.sighting-card h3 {
  color: var(--coal);
  margin: 10px 0 4px;
}

.sighting-card p {
  color: var(--muted);
  margin: 0;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.preview {
  display: none;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.preview img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.modal {
  border: 0;
  border-radius: 8px;
  width: min(760px, calc(100% - 24px));
  padding: 0;
  background: var(--paper-strong);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(25, 23, 19, 0.72);
}

.modal img {
  width: 100%;
  max-height: 62vh;
  object-fit: cover;
}

.modal-body {
  padding: 18px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 240, 0.42);
  border-radius: 8px;
  background: rgba(25, 23, 19, 0.72);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.footer {
  background: #11100d;
  color: rgba(255, 250, 240, 0.76);
  padding: 34px 0;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--paper-strong);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero {
  background: var(--coal);
  color: var(--paper-strong);
  padding: 72px 0;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 250, 240, 0.78);
  font-size: 1.14rem;
}

.content {
  max-width: 850px;
}

.content h2 {
  margin-top: 34px;
  font-size: 1.85rem;
  color: var(--coal);
}

.content p,
.content li {
  color: var(--muted);
}

.content a {
  color: var(--red-dark);
  font-weight: 730;
}

@media (max-width: 900px) {
  .hero-inner,
  .wide-split,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .portrait-strip {
    position: static;
  }

  .grid-3,
  .grid-4,
  .sighting-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 680px) {
  .site-alert {
    font-size: 0.84rem;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .nav-links a:not(.button) {
    padding-left: 0;
  }

  .hero {
    background-position: 56% 24%;
  }

  .hero-inner {
    padding-top: 38px;
  }

  .hero-facts,
  .form-grid,
  .grid-3,
  .grid-4,
  .sighting-wall {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    display: none;
  }

  .section {
    padding: 54px 0;
  }

  .button {
    width: 100%;
  }
}
