/* We Buy Houses KC — seller site.
   Hand-written, no framework, no build step.

   Look: a working trade. Condensed signage type, warm newsprint paper, heavy
   rules, gold on near-black. Deliberately not the airy serif-and-whitespace
   thing every generated landing page arrives as. Sections are allowed to have
   different weights and different edges — the rhythm is uneven on purpose. */

:root {
  --paper: #f4f1ea;          /* warm newsprint */
  --paper-2: #ebe6da;        /* banded paper */
  --ink: #16150f;            /* warm near-black */
  --ink-2: #3c3a30;
  --muted: #6d6a5c;
  --rule: #d5cfbe;           /* warm hairline */
  --rule-hard: #16150f;
  --gold: #f5c518;
  --gold-deep: #b98d05;      /* passes contrast on paper */
  --steel: #1c1b16;          /* dark bands + hero scrim */
  --white: #fff;

  --measure: 60ch;
  --display: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
  --text: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --z-head: 30;
  --z-callbar: 40;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .96;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.8rem, 7.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.2rem; letter-spacing: .01em; }
p { max-width: var(--measure); }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 700px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- eyebrow: the small stamped label above section heads ---- */
.eyebrow {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; font-size: .8rem; color: var(--gold-deep);
  display: flex; align-items: center; gap: 12px; margin: 0 0 14px;
}
.eyebrow::after { content: ""; flex: 1; height: 2px; background: var(--rule); }

/* ---- top phone bar ---- */
.phonebar {
  background: var(--steel); color: var(--paper);
  font-family: var(--display); text-transform: uppercase; letter-spacing: .13em;
  font-size: .82rem;
}
.phonebar__inner { display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 38px; text-align: center; }
.phonebar a { color: var(--gold); text-decoration: none; font-weight: 600; letter-spacing: .06em; }
.phonebar a:hover { text-decoration: underline; }

/* ---- header ---- */
.site-head {
  position: sticky; top: 0; z-index: var(--z-head);
  background: var(--paper); border-bottom: 3px solid var(--rule-hard);
  transition: box-shadow .2s ease, padding .2s ease;
}
.site-head.is-stuck { box-shadow: 0 6px 20px rgba(22,21,15,.16); }
.site-head__inner { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.wordmark {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.5rem; letter-spacing: .01em; text-decoration: none; line-height: 1;
}
.wordmark__accent { color: var(--gold-deep); }
.site-nav { margin-left: auto; display: flex; gap: 24px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .09em;
  font-size: .95rem; font-weight: 600; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.call-link {
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
  background: var(--gold); color: var(--ink); padding: 9px 16px;
  border: 2px solid var(--rule-hard); box-shadow: 3px 3px 0 var(--rule-hard);
}
.call-link:hover { background: var(--gold-deep); color: var(--white); }

/* ---- hero: real photo, hard scrim, signage type ---- */
.hero { position: relative; background: var(--steel); color: var(--paper); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .42; filter: grayscale(.35) contrast(1.05);
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(22,21,15,.92) 0%, rgba(22,21,15,.72) 48%, rgba(22,21,15,.5) 100%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 54px; align-items: center; padding: 82px 0 88px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold); display: block; }
.hero__lede { font-size: 1.14rem; color: #ddd8c8; max-width: 48ch; }
.hero__stamps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.hero__stamps li {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .1em;
  font-size: .82rem; font-weight: 600; color: var(--paper);
  border: 2px solid rgba(244,241,234,.34); padding: 6px 12px;
}

/* ---- ticker ---- */
.ticker { background: var(--gold); border-block: 3px solid var(--rule-hard); overflow: hidden; }
.ticker__track {
  display: flex; gap: 0; width: max-content;
  animation: ticker 42s linear infinite;
  font-family: var(--display); text-transform: uppercase; font-weight: 600;
  letter-spacing: .14em; font-size: .95rem; color: var(--ink);
}
.ticker__track span { padding: 11px 0; white-space: nowrap; }
.ticker__track span::after { content: "◆"; padding: 0 20px; color: rgba(22,21,15,.42); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; width: 100%; overflow-x: auto; }
}

/* ---- bands ---- */
.band { padding: 78px 0; }
.band--paper2 { background: var(--paper-2); border-block: 3px solid var(--rule-hard); }
.band--dark { background: var(--steel); color: var(--paper); border-block: 3px solid var(--rule-hard); }
.band--dark h2 { color: var(--white); }
.band--dark p { color: #ddd8c8; }
.band__lede { color: var(--ink-2); font-size: 1.05rem; }
.band--tight { padding: 54px 0; }

.link-arrow {
  font-family: var(--display); text-transform: uppercase; font-weight: 700;
  letter-spacing: .09em; font-size: 1.05rem;
  text-decoration: none; border-bottom: 3px solid var(--gold); padding-bottom: 2px;
}
.link-arrow:hover { border-bottom-color: var(--ink); }

/* ---- situations: a stacked ledger, not a uniform card grid ---- */
.sit-list { list-style: none; margin: 34px 0 0; padding: 0;
  border-top: 3px solid var(--rule-hard); }
.sit { border-bottom: 1px solid var(--rule); }
.sit a {
  display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: baseline;
  padding: 20px 8px; text-decoration: none; cursor: pointer;
  transition: background .18s ease, padding-left .18s ease;
}
.sit a:hover, .sit a:focus-visible { background: rgba(245,197,24,.16); padding-left: 16px; }
.sit__n {
  font-family: var(--display); font-weight: 700; font-size: 1.5rem;
  color: var(--gold-deep); line-height: 1;
}
.sit__body { display: block; }
.sit__label { display: block; margin: 0 0 .2em; font-size: 1.32rem;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .01em; line-height: 1.05; }
.sit__blurb { display: block; font-size: .97rem; color: var(--muted); max-width: 62ch; }

/* ---- steps: photo-beside-text rows ---- */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 2px;
  background: var(--rule); border: 3px solid var(--rule-hard); }
.step { background: var(--paper); display: grid; grid-template-columns: 118px 1fr;
  gap: 26px; align-items: start; padding: 30px 26px; }
.step__n {
  font-family: var(--display); font-weight: 700; font-size: 4.6rem; line-height: .8;
  color: var(--ink); -webkit-text-stroke: 0; opacity: .16;
}
.step__title { margin: 0 0 .3em; font-size: 1.45rem; }
.step__body { font-size: 1rem; color: var(--ink-2); margin: 0; }

/* ---- houses strip ---- */
.houses { display: flex; gap: 18px; overflow-x: auto; padding: 34px 0 12px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.house { flex: 0 0 300px; scroll-snap-align: start;
  border: 3px solid var(--rule-hard); background: var(--paper); }
.house img { width: 100%; height: 208px; object-fit: cover; filter: contrast(1.03); }
.house__meta { padding: 13px 15px; border-top: 3px solid var(--rule-hard); }
.house__addr { font-family: var(--display); text-transform: uppercase; font-weight: 700;
  font-size: 1.12rem; letter-spacing: .01em; }
.house__city { font-size: .87rem; color: var(--muted); }
.house--empty { display: grid; place-items: center; min-height: 260px; color: var(--muted);
  border-style: dashed; text-align: center; padding: 22px; font-size: .92rem; }

/* ---- receipt: the offer math, styled like a work order ---- */
.receipt { border: 3px solid var(--rule-hard); background: var(--paper);
  max-width: 480px; box-shadow: 8px 8px 0 rgba(22,21,15,.16); }
.receipt__head { background: var(--rule-hard); color: var(--paper); padding: 12px 18px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: .84rem; }
.receipt__row { display: flex; justify-content: space-between; gap: 18px;
  padding: 12px 18px; border-bottom: 1px solid var(--rule); font-size: 1rem; }
.receipt__row span:last-child { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.receipt__row--total { background: var(--gold); border-bottom: 0; }
.receipt__row--total span { font-weight: 700; }
.receipt__row--total span:last-child { font-size: 1.5rem; }
.receipt__note { padding: 12px 18px; font-size: .84rem; color: var(--muted); }

/* ---- comparison ---- */
.table-scroll { overflow-x: auto; margin-top: 32px; border: 3px solid var(--rule-hard); }
.compare { width: 100%; border-collapse: collapse; font-size: .96rem; min-width: 660px; }
.compare th, .compare td { text-align: left; padding: 15px 17px;
  border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { background: var(--rule-hard); color: var(--paper);
  font-family: var(--display); text-transform: uppercase; letter-spacing: .12em;
  font-size: .8rem; font-weight: 600; }
.compare tbody th { font-weight: 600; width: 21%; background: var(--paper-2); }
.compare__us { background: rgba(245,197,24,.3); font-weight: 600; }

/* ---- review ---- */
.review { margin: 30px 0 0; padding: 26px 28px; max-width: var(--measure);
  background: var(--paper); border: 3px solid var(--rule-hard);
  box-shadow: 8px 8px 0 var(--gold); }
.review__quote { font-size: 1.16rem; line-height: 1.5; margin: 0 0 .7em; }
.review__by { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em;
  font-size: .86rem; color: var(--muted); }

/* ---- team ---- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }

/* ---- faq ---- */
.faq { margin-top: 30px; border-top: 3px solid var(--rule-hard); max-width: 74ch; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q { padding: 19px 0; cursor: pointer; list-style: none;
  font-family: var(--display); text-transform: uppercase; font-weight: 600;
  font-size: 1.14rem; letter-spacing: .02em; display: flex; gap: 16px; align-items: baseline; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; margin-left: auto; color: var(--gold-deep); font-size: 1.5rem; line-height: 1; }
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__a { margin: 0 0 22px; color: var(--ink-2); }

/* ---- offer form ---- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.offer-form { background: var(--paper); border: 3px solid var(--rule-hard);
  padding: 24px; box-shadow: 9px 9px 0 var(--gold); }
.band--dark .offer-form, .hero .offer-form { box-shadow: 9px 9px 0 rgba(245,197,24,.85); }
.offer-form__label {
  display: block; font-family: var(--display); font-size: .85rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 16px 0 7px;
}
.offer-form__step > .offer-form__label:first-child { margin-top: 0; }
.offer-form input[type=text], .offer-form input[type=tel],
.offer-form input[type=email], .offer-form select {
  width: 100%; padding: 14px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 2px solid var(--ink-2); border-radius: 0;
}
.offer-form input:focus, .offer-form select:focus {
  outline: 3px solid var(--gold-deep); outline-offset: 1px; border-color: var(--ink);
}
.offer-form__row { display: flex; gap: 10px; }
.offer-form__row input { flex: 1 1 auto; min-width: 0; }
.offer-form__note { margin: 13px 0 0; font-size: .87rem; color: var(--muted); max-width: none; }
.offer-form__consent { display: flex; gap: 11px; align-items: flex-start;
  margin: 18px 0 4px; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.offer-form__consent input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.offer-form__error { margin: 12px 0 0; color: #9b2016; font-size: .95rem; font-weight: 500; }
.offer-form noscript p { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }

.btn {
  display: inline-block; padding: 14px 24px; font-family: var(--display);
  font-size: 1.16rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  border: 2px solid var(--rule-hard); border-radius: 0; cursor: pointer;
  text-decoration: none; background: var(--gold); color: var(--ink);
  box-shadow: 4px 4px 0 var(--rule-hard);
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  min-height: 48px;
}
.btn:hover { background: #ffd227; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--rule-hard); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--wide { width: 100%; margin-top: 18px; }

/* ---- footer ---- */
.site-foot { background: var(--steel); color: #b9b4a3; margin-top: 0;
  padding: 46px 0 104px; font-size: .93rem; border-top: 3px solid var(--gold); }
.site-foot__brand { font-family: var(--display); text-transform: uppercase;
  letter-spacing: .1em; color: var(--paper); font-size: 1rem; max-width: none; }
.site-foot__links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 12px; max-width: none; }
.site-foot a { color: var(--gold); }

/* ---- sticky mobile call bar ---- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
  display: none; padding: 15px; text-align: center; min-height: 52px;
  background: var(--gold); color: var(--ink); text-decoration: none;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; font-size: 1.1rem; border-top: 3px solid var(--rule-hard);
}

/* ---- scroll reveal ----
   Content is visible by default. The hidden state applies ONLY under
   .js-motion, which motion.js adds to <html> after it has confirmed it can
   observe and un-hide again. No JS, a thrown error, or an unsupported browser
   therefore renders the page fully readable rather than blank. A decorative
   animation must never be capable of hiding content. */
.js-motion .reveal { opacity: 0; transform: translateY(22px); }
.js-motion .reveal.is-in { opacity: 1; transform: none;
  transition: opacity .5s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1); }
@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal, .js-motion .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* ---- responsive ---- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 34px; padding: 56px 0 62px; }
  .team { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .call-link { padding: 8px 12px; font-size: 1rem; }
  .call-bar { display: block; }
  .band { padding: 54px 0; }
  .site-foot { padding-bottom: 104px; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 24px 20px; }
  .step__n { font-size: 3rem; }
  .sit a { grid-template-columns: 44px 1fr; gap: 14px; }
  .offer-form__row { flex-direction: column; }
  .house { flex-basis: 82%; }
  .receipt { box-shadow: 5px 5px 0 rgba(22,21,15,.16); }
  .offer-form { box-shadow: 5px 5px 0 var(--gold); }
}
