/* Cash For Cars Buffalo — site styles */
:root {
  --paper: #f6f0e4;
  --paper-deep: #ece2cf;
  --card: #fffdf8;
  --ink: #1d1b17;
  --ink-soft: #4b463e;
  --pencil: #6d665b;
  --rule: #d9ccb4;
  --rust: #b23a12;
  --rust-deep: #8c2c0c;
  --rust-tint: #f6dfd2;
  --lake: #0e4c55;
  --lake-tint: #dcebea;
  --alert: #a3123f;
  --alert-tint: #fbe7ed;
  --ok: #2c6e3f;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --radius: 10px;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--display); font-optical-sizing: auto;
}
img, svg { max-width: 100%; }
a { color: var(--lake); text-underline-offset: 3px; }
a:hover { color: var(--rust-deep); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lake); outline-offset: 2px; }
.bw-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.bw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bw-skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 6px; z-index: 50; }
.bw-skip:focus { top: 12px; color: var(--paper); }
.bw-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- logo */
.bw-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.bw-logo:hover { color: var(--ink); }
.bw-logo__mark { width: 48px; height: 48px; flex: none; overflow: visible; }
.bw-logo__tag { fill: var(--rust); }
.bw-logo__hole { fill: var(--paper); }
.bw-logo__dollar { fill: var(--paper); font: 800 21px/1 var(--display); }
.bw-logo__string { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; filter: url(#bw-pencil); }
.bw-logo__words { display: flex; flex-direction: column; line-height: 1; }
.bw-logo__top { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.bw-logo__city { position: relative; font-size: 31px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.bw-logo__swash { position: absolute; left: 0; bottom: -9px; width: 100%; height: 10px; overflow: visible; }
.bw-logo__swash path { fill: none; stroke: var(--rust); stroke-width: 3; stroke-linecap: round; filter: url(#bw-pencil); }

/* ---------- header */
.bw-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: 5; }
.bw-header__bar { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.bw-nav { margin-left: auto; }
.bw-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.bw-nav a { display: block; padding: 10px 11px; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-radius: 6px; }
.bw-nav a:hover { background: var(--paper-deep); color: var(--ink); }
.bw-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.bw-call:hover { background: var(--ink); color: var(--paper); }
.bw-call svg { width: 18px; height: 18px; fill: currentColor; }
.bw-call__short { display: none; }
.bw-header--compact .bw-call { margin-left: auto; }
.bw-menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.bw-menu__bars, .bw-menu__bars::before, .bw-menu__bars::after { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 0 auto; position: relative; }
.bw-menu__bars::before, .bw-menu__bars::after { content: ""; position: absolute; left: 0; }
.bw-menu__bars::before { top: -7px; } .bw-menu__bars::after { top: 7px; }

/* ---------- buttons */
.bw-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  min-height: 58px; padding: 14px 24px; border: 0; border-radius: 12px;
  background: var(--rust); color: #fff; font: 700 19px/1.2 var(--display); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 var(--rust-deep), 0 10px 24px -12px rgba(140,44,12,.55);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.bw-cta:hover { background: #a2330f; color: #fff; }
.bw-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--rust-deep); }
.bw-cta[disabled] { cursor: progress; opacity: .85; }
.bw-cta__arrow { width: 22px; height: 22px; flex: none; }
.bw-cta--inline { width: auto; }
.bw-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 2px solid var(--ink); border-radius: 12px; background: transparent; color: var(--ink); font: 700 16px/1.2 var(--display); cursor: pointer; text-decoration: none; }
.bw-ghost:hover { background: var(--ink); color: var(--paper); }
.bw-textlink { background: none; border: 0; padding: 6px 0; color: var(--lake); font: 600 16px/1.4 var(--display); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bw-textlink:hover { color: var(--rust-deep); }
.bw-spin { width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: bw-spin .8s linear infinite; }
@keyframes bw-spin { to { transform: rotate(360deg); } }

/* ---------- hero */
.bw-hero { position: relative; overflow: hidden; padding: 56px 0 120px; }
.bw-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.bw-hero__kicker { display: inline-block; margin: 0 0 18px; padding: 6px 12px; background: var(--lake); color: #fff; font-weight: 600; font-size: 17px; border-radius: 6px; transform: rotate(-1.2deg); }
.bw-hero h1 { font-size: clamp(54px, 8.4vw, 112px); font-weight: 800; line-height: .9; letter-spacing: -.035em; margin: 0; text-transform: uppercase; }
.bw-hero__note { position: relative; margin-top: 34px; padding-left: 4px; max-width: 360px; font: 600 25px/1.15 var(--hand); color: var(--rust-deep); }
.bw-hero__arrow { position: absolute; right: -150px; top: -22px; width: 150px; height: 90px; overflow: visible; }
.bw-hero__arrow path, .bw-sketch path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: url(#bw-pencil); }
.bw-hero__skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; color: var(--pencil); opacity: .55; pointer-events: none; }
.bw-hero__skyline svg { width: 100%; height: 100%; }
.bw-hero__skyline path { stroke-width: 1.6; }
.bw-hero--plain { padding: 48px 0 110px; }
.bw-hero--plain .bw-hero__grid { grid-template-columns: 1fr auto; }
.bw-hero__aside { max-width: 360px; }
.bw-hero__aside p { color: var(--ink-soft); margin: 12px 0 0; font-size: 15px; }

/* ---------- entry card (homepage quote start) */
.bw-card { background: var(--card); border: 1.5px solid var(--ink); border-radius: 16px; padding: 30px 30px 26px; box-shadow: 8px 8px 0 var(--paper-deep); position: relative; }
.bw-card h2 { font-size: 25px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.bw-field { margin-bottom: 14px; position: relative; }
.bw-label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 15px; }
.bw-input {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 500 17px/1.3 var(--display); color: var(--ink);
  background: #fff; border: 1.5px solid #b9ad97; border-radius: 9px; appearance: none;
}
.bw-input::placeholder { color: #8d8475; }
.bw-input:focus { outline: none; border-color: var(--lake); box-shadow: 0 0 0 3px rgba(14,76,85,.22); }
.bw-input[disabled] { background: #f1ebe0; color: #8d8475; cursor: not-allowed; }
.bw-input[aria-invalid="true"] { border-color: var(--alert); box-shadow: 0 0 0 1px var(--alert); }
.bw-msg { margin: 6px 0 0; font-size: 15px; color: var(--alert); font-weight: 600; display: flex; gap: 6px; align-items: flex-start; }
.bw-msg::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--alert); color: #fff; font-size: 12px; font-weight: 800; }
.bw-msg:empty { display: none; }
.bw-card .bw-cta { margin-top: 8px; }
.bw-card__alt { display: flex; justify-content: center; margin-top: 12px; }
.bw-reassure { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--rule); list-style: none; font-size: 14.5px; color: var(--ink-soft); }
.bw-reassure li { display: flex; align-items: center; gap: 6px; }
.bw-reassure svg { width: 18px; height: 18px; color: var(--lake); }
.bw-reassure path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- combobox */
.bw-combo { position: relative; }
.bw-combo .bw-input { padding-right: 44px; }
.bw-combo__caret { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 40px; border: 0; background: transparent; cursor: pointer; color: var(--ink-soft); display: grid; place-items: center; }
.bw-combo__caret svg { width: 14px; height: 14px; }
.bw-combo__caret path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.bw-combo__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); max-height: 264px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; box-shadow: 0 16px 32px -14px rgba(29,27,23,.45); }
.bw-combo__list[hidden] { display: none; }
.bw-combo__opt { padding: 11px 12px; border-radius: 7px; cursor: pointer; font-size: 17px; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bw-combo__opt small { color: var(--pencil); font-size: 14px; }
.bw-combo__opt[aria-selected="true"], .bw-combo__opt.is-active { background: var(--lake-tint); }
.bw-combo__opt mark { background: none; color: inherit; font-weight: 800; }
.bw-combo__empty { padding: 11px 12px; color: var(--pencil); font-size: 15px; }

/* ---------- hours band */
.bw-band { background: var(--ink); color: var(--paper); }
.bw-band__grid { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; }
.bw-band__hours { padding: 34px 0; }
.bw-band__hours h3 { font-size: 15px; letter-spacing: .14em; color: #cfc4af; margin-bottom: 8px; font-weight: 700; }
.bw-band__hours p { margin: 0; font-size: 24px; font-weight: 700; }
.bw-circled { position: relative; display: inline-block; padding: 6px 18px; }
.bw-circled svg { max-width: none; position: absolute; left: -14px; top: -10px; width: calc(100% + 28px); height: calc(100% + 20px); overflow: visible; }
.bw-circled path { fill: none; stroke: #e98d63; stroke-width: 2.4; stroke-linecap: round; filter: url(#bw-pencil); }
.bw-band__call { background: var(--rust); align-self: stretch; display: flex; align-items: center; padding: 30px 36px; clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 100%); margin-right: calc((100vw - min(100vw, var(--wrap))) / -2 - 24px); }
.bw-band__call h2 { margin: 0; font-size: clamp(26px, 3.4vw, 44px); font-weight: 800; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.bw-band__call h2 span { font-weight: 400; font-size: .72em; letter-spacing: .06em; }
.bw-band__call a { color: #fff; text-decoration: none; }
.bw-band__call a:hover { text-decoration: underline; color: #fff; }

/* ---------- articles */
.bw-articles { padding: 84px 0 40px; }
.bw-article { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--rule); }
.bw-article:first-child { border-top: 0; padding-top: 0; }
.bw-article h3 { font-size: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; position: relative; display: inline-block; align-self: start; }
.bw-article h3::after { content: ""; display: block; height: 10px; margin-top: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'%3E%3Cpath d='M2 6c20-5 40-4 58-1s40 3 58-2' fill='none' stroke='%23b23a12' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") left center/100px 10px no-repeat; }
.bw-article__body { max-width: 70ch; color: var(--ink-soft); font-size: 17.5px; }
.bw-article__body strong { color: var(--ink); }

/* ---------- testimonial */
.bw-review { padding: 70px 0 84px; background: var(--paper-deep); position: relative; }
.bw-review h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.bw-review blockquote { position: relative; margin: 10px 0 0; max-width: 860px; }
.bw-review blockquote p { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.4; font-weight: 500; color: var(--ink); }
.bw-review__q { position: absolute; left: -64px; top: -6px; width: 50px; height: 44px; color: var(--rust); }
.bw-review cite { font-style: normal; font: 600 26px/1 var(--hand); color: var(--rust-deep); }

/* ---------- footer */
.bw-footer { background: var(--ink); color: #cfc4af; padding: 40px 0 46px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.bw-footer p { margin: 14px 0 0; }
.bw-wave { width: 120px; height: 16px; color: #e98d63; overflow: visible; }
.bw-wave path { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; filter: url(#bw-pencil); }

/* ---------- responsive */
@media (max-width: 1080px) {
  .bw-nav a { padding: 8px 7px; font-size: 12.5px; }
}
@media (max-width: 960px) {
  .bw-header__bar { min-height: 70px; gap: 10px; }
  .bw-menu { display: block; }
  .bw-call { margin-left: auto; padding: 8px 14px; }
  .bw-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); display: none; margin: 0; }
  .bw-nav-open .bw-nav { display: block; }
  .bw-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .bw-nav a { padding: 13px 8px; font-size: 15px; }
  .bw-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .bw-hero__arrow { display: none; }
  .bw-hero__note { display: none; }
  .bw-hero--plain .bw-hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .bw-wrap { padding: 0 16px; }
  .bw-logo__mark { width: 40px; height: 40px; }
  .bw-logo__city { font-size: 25px; }
  .bw-logo__top { font-size: 11.5px; letter-spacing: .12em; }
  .bw-call__num { display: none; }
  .bw-call__short { display: inline; }
  .bw-hero { padding: 22px 0 96px; }
  .bw-hero__kicker { font-size: 15px; margin-bottom: 12px; }
  .bw-hero h1 { font-size: 50px; }
  .bw-card { padding: 22px 18px 20px; box-shadow: 5px 5px 0 var(--paper-deep); }
  .bw-card h2 { font-size: 21px; margin-bottom: 14px; }
  .bw-hero__skyline { height: 90px; }
  .bw-band__grid { grid-template-columns: 1fr; }
  .bw-band__hours { padding: 26px 0 22px; }
  .bw-band__call { margin: 0 -16px; padding: 24px 16px; clip-path: none; }
  .bw-articles { padding: 52px 0 20px; }
  .bw-article { grid-template-columns: 1fr; gap: 6px; padding: 30px 0; }
  .bw-article h3 { font-size: 25px; }
  .bw-review__q { position: static; display: block; margin-bottom: 4px; width: 40px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
