/* Home to Home KC — senior-friendly palette
   Warm cream + forest + rust/gold (reds and yellows stay clearer as the lens yellows).
   Cream paper and ivory cards, not pure white, to limit glare.
   Text contrast aimed at WCAG AAA (7:1) where practical; UI edges at least 3:1. */
:root {
  --ink: #141c18;
  --ink-soft: #3f3a33;
  --paper: #fff8ee;
  --paper-deep: #f3e6d4;
  --card: #fffaf3;
  --rule: #947e64;
  --forest: #16382b;
  --forest-dark: #1a2c24;
  --terra: #7a3921;
  --gold: #e8c56b;
  --gold-text-on-dark: #f3d9a4;
  --flag-bg: #ffe8a8;
  --flag-ink: #3d2a00;
  --warn-bg: #f8ebe6;
  --focus: #16382b;
  --shadow: 0 8px 28px rgba(20, 28, 24, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --max: 1140px;
  --radius: 16px;
  --tap: 3.2rem; /* 64px at 20px root — large tap target */
}

* { box-sizing: border-box; }
html { font-size: 20px; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration-thickness: 0.1em; text-underline-offset: 0.15em; }
a:hover { color: var(--terra); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--gold);
  color: var(--forest-dark);
  padding: 0.6rem 0.9rem;
  z-index: 40;
  font-weight: 700;
}
.skip:focus { top: 0.75rem; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  background: var(--forest-dark);
  color: var(--paper);
  padding: 0.7rem 0;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 4px solid var(--gold);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--paper);
  text-decoration: none;
  line-height: 1.2;
  padding: 0.4rem 0;
}
.logo span { color: var(--gold-text-on-dark); font-weight: 400; }

.nav-toggle {
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  min-height: var(--tap);
  min-width: 7.5rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--forest-dark);
  cursor: pointer;
}
#site-nav {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.4rem 0 0.6rem;
}
#site-nav.is-open { display: flex; }
#site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 650;
  min-height: var(--tap);
  display: flex;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 2px solid transparent;
}
#site-nav a:hover, #site-nav a[aria-current="page"] {
  background: rgba(255, 248, 238, 0.12);
  border-color: var(--gold);
  color: var(--paper);
}

.hero, .page-hero {
  background: var(--paper-deep);
  padding: 2.2rem 0 2rem;
  border-bottom: 1px solid var(--rule);
}
.hero-split-grid {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}
.hero h1, .page-hero h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.7rem;
  color: var(--forest-dark);
  max-width: 16ch;
}
.lede {
  font-size: 1.15rem;
  max-width: 32rem;
  color: var(--ink);
  margin: 0 0 1.3rem;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  font-weight: 700;
  color: var(--terra);
  margin: 0 0 0.55rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--forest);
  color: var(--paper);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  min-height: var(--tap);
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 3px solid var(--forest);
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { background: var(--forest-dark); color: var(--paper); }
.btn.secondary {
  background: transparent;
  color: var(--forest-dark);
  border-color: var(--forest);
}
.btn.gold {
  background: var(--gold);
  border-color: #c9a84a;
  color: var(--forest-dark);
}
.btn.gold:hover { background: #f1d78a; color: var(--forest-dark); }
.btn.call {
  width: 100%;
  max-width: 26rem;
  font-size: 1.2rem;
}
.btn[disabled], .btn.is-disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.section { padding: 2.4rem 0; }
h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 0.7rem;
  color: var(--forest-dark);
}
h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.25;
  margin: 1.4rem 0 0.45rem;
  color: var(--forest);
}
p { margin: 0 0 0.9rem; }
.grid-3, .grid-2 {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.2rem;
}
.grid-3 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: 1fr; }

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }

.hero-figure, .media-figure {
  margin: 0;
  background: var(--paper-deep);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-figure img, .media-figure img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}
.hero-figure figcaption, .media-figure figcaption, .photo-credit, .credit {
  font-size: 1rem;
  color: var(--ink-soft);
  padding: 0.55rem 0.8rem 0.7rem;
  background: var(--card);
  line-height: 1.45;
}
.hero-figure figcaption a, .media-figure figcaption a { color: var(--ink-soft); }

.jackson-band, .sell-band {
  padding: 2.3rem 0;
}
.jackson-band {
  background: var(--forest-dark);
  color: var(--paper);
}
.jackson-band h2, .sell-band h2 { color: inherit; }
.jackson-band p { color: var(--paper); max-width: 38rem; }
.jackson-band a { color: var(--gold-text-on-dark); }
.jackson-band .kicker { color: var(--gold-text-on-dark); }
.sell-band .kicker { color: var(--terra); }
.jackson-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.3rem;
  padding: 0;
  list-style: none;
}
.jackson-cities li {
  background: rgba(255, 248, 238, 0.12);
  border: 2px solid rgba(243, 217, 164, 0.55);
  color: var(--paper);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.95rem;
}

.sell-band {
  background: #efe4cf;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.sell-band p { max-width: 38rem; }

/* Soft, small lead path — not a banner */
.sell-whisper {
  margin: 1.4rem 0 0;
  padding: 0.75rem 1rem;
  max-width: 36rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.sell-whisper p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink);
  max-width: none;
}
.sell-whisper a {
  color: var(--forest-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.sell-whisper a:hover, .sell-whisper a:focus { color: var(--terra); }

.license-fine {
  margin: 1.5rem 0 0;
  max-width: 42rem;
}
.license-fine p, p.license-fine {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 400;
}

.notice, .disclosure {
  background: var(--card);
  border-left: 6px solid var(--gold);
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
}
.warn-box {
  background: var(--warn-bg);
  border-left: 6px solid var(--terra);
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
}
.todo-flag {
  background: var(--flag-bg);
  color: var(--flag-ink);
  border: 3px solid #c9a84a;
  border-radius: 12px;
  padding: 0.9rem 1.05rem;
  margin: 1rem 0 1.3rem;
  font-weight: 650;
}
.fine { font-size: 1rem; color: var(--ink-soft); }

.site-footer {
  background: var(--forest-dark);
  color: #f0e6d6;
  padding: 2.2rem 0 2.6rem;
  margin-top: 1.5rem;
  font-size: 1rem;
}
.site-footer a { color: var(--gold-text-on-dark); }
.site-footer .wrap { display: grid; gap: 0.8rem; }

.filters {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 1.3rem;
}
.filters label {
  display: grid;
  gap: 0.3rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.filters input, .filters select,
.form-grid input, .form-grid select, .form-grid textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.8rem;
  min-height: var(--tap);
  border: 2px solid var(--rule);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  width: 100%;
}
.form-grid textarea { min-height: 8rem; resize: vertical; }
.count { color: var(--ink-soft); margin: 0 0 1rem; }

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}
.company-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 2px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  min-height: 8rem;
}
.company-card:hover {
  border-color: var(--forest);
  color: var(--ink);
}
.card-photo {
  background: #efe6d8;
  min-height: 13rem;
  display: grid;
  place-items: center;
}
.card-photo img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
}
.card-photo img.is-logo {
  object-fit: contain;
  background: var(--card);
  padding: 1.2rem;
}
.card-body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: 0.35rem; }
.card-body h2 {
  font-size: 1.35rem;
  margin: 0;
}
.card-type {
  font-weight: 700;
  color: var(--forest);
  margin: 0;
  font-size: 1rem;
}
.card-rating,
.detail-rating {
  margin: 0.25rem 0;
  font-weight: 650;
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}
.card-rating.none,
.detail-rating.none { color: var(--ink-soft); font-weight: 600; }
.stars {
  display: inline-block;
  letter-spacing: 0.08em;
  color: #6b3f00;
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 700;
}
.rating-num {
  font-weight: 750;
  font-size: 1.3rem;
  color: var(--ink);
}
.rating-count {
  font-weight: 650;
  font-size: 1.15rem;
  color: var(--ink);
}
.detail-rating {
  margin: 0.85rem 0 0;
  font-size: 1.3rem;
}
.detail-rating .stars { font-size: 2.2rem; }
.detail-rating .rating-num { font-size: 1.55rem; }
.detail-rating .rating-count { font-size: 1.3rem; }
.detail-rating a { color: inherit; text-decoration: none; }
.detail-rating a:hover, .detail-rating a:focus { text-decoration: underline; text-underline-offset: 0.12em; }
.card-blurb { margin: 0.15rem 0 0.4rem; }
.card-more {
  font-weight: 700;
  color: var(--forest);
  margin-top: 0.2rem;
}

.badge {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  background: var(--paper-deep);
  color: var(--forest-dark);
}
.badge.jackson { background: var(--gold); color: var(--forest-dark); }
.badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.4rem 0 0.8rem; }

.gallery {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
}
.gallery-main {
  background: #efe6d8;
  border-radius: 16px;
  overflow: hidden;
  min-height: 14rem;
}
.gallery-main img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}
.gallery-main img.is-logo {
  object-fit: contain;
  background: var(--card);
  padding: 1.5rem;
  height: 14rem;
}
.thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.thumbs button {
  border: 3px solid transparent;
  padding: 0;
  background: #efe6d8;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  width: 4.4rem;
  height: 4.4rem;
}
.thumbs button.is-active { border-color: var(--forest); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}
.detail-block { margin: 0 0 1.3rem; }
.detail-block p, .detail-block li { max-width: 40rem; }
.prose { max-width: 40rem; }
.prose ul { padding-left: 1.25rem; }
.source-list { font-size: 1rem; }
.timeline { border-top: 1px solid var(--rule); margin-top: 1rem; }
.timeline dt { font-weight: 700; margin-top: 1rem; color: var(--forest); }
.timeline dd { margin: 0.2rem 0 0; }

.form-grid {
  display: grid;
  gap: 0.9rem;
  margin: 1.1rem 0;
  max-width: 36rem;
}
.form-grid label {
  display: grid;
  gap: 0.3rem;
  font-weight: 700;
}
.form-note {
  background: var(--card);
  border: 2px solid var(--rule);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-top: 0.6rem;
}
.form-success {
  display: none;
  background: var(--paper-deep);
  border: 3px solid var(--forest);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-top: 0.8rem;
}
.form-success.is-visible { display: block; }

.crumb {
  font-size: 1rem;
  margin: 0 0 0.8rem;
}
.crumb a { font-weight: 650; }

@media (min-width: 720px) {
  .hero-split-grid,
  .media-row {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
    align-items: center;
  }
  .media-row { margin-top: 1.2rem; }
  .grid-3, .grid-2, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1.4fr 1fr 1fr; align-items: end; }
  .hero-figure img, .media-figure img { height: 20rem; }
  .gallery-main img { height: 24rem; }
  .nav-toggle { display: none; }
  #site-nav, #site-nav.is-open {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    padding: 0;
    gap: 0.15rem;
  }
  #site-nav a {
    min-height: 3rem;
    padding: 0.45rem 0.65rem;
    font-size: 1rem;
  }
}

@media (min-width: 1000px) {
  .card-grid, .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero h1, .page-hero h1 { max-width: 16ch; }
}

@media (max-width: 719px) {
  .site-header .wrap { flex-direction: row; }
}
