/* Black Rock Countertops site styles. Colors come from tokens.css only.
   Contrast (WCAG AAA, 7:1 body text): basalt on limestone/chalk, ash for muted text on
   light, limestone and fog on basalt. Deep brass on light is used only for large text. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--br-limestone);
  color: var(--br-basalt);
  font-family: var(--br-font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 600; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--br-basalt); outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible,
.cta-band :focus-visible, .sticky-cta :focus-visible { outline-color: var(--br-brass); }

.skip {
  position: absolute; left: 8px; top: -100px; z-index: 100;
  background: var(--br-brass); color: var(--br-basalt);
  padding: 12px 16px; font-weight: 600; border-radius: var(--br-radius);
}
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.edge { height: var(--br-edge); background: var(--br-brass); }

/* ---------- type ---------- */
.display {
  font-family: var(--br-font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .98;
  margin: 0 0 .5em;
}
.h2 { font-size: clamp(2.1rem, 8vw, 3.4rem); }
.h3 { font-family: var(--br-font-body); font-size: 1.15rem; font-weight: 600; line-height: 1.3; margin: 0 0 .6em; }
.kicker, .eyebrow {
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 .75em; color: var(--br-ash);
}
.small { font-size: .9375rem; color: var(--br-ash); }

/* ---------- lockup ---------- */
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--br-limestone); min-height: 44px; }
.lockup .mark { width: 36px; height: 36px; flex: none; }
.wordmark { display: flex; flex-direction: column; line-height: 1; font-family: var(--br-font-display); text-transform: uppercase; }
.wm-name { font-weight: 800; font-size: 1.45rem; letter-spacing: .04em; }
.wm-sub { font-weight: 700; font-size: .62rem; letter-spacing: .3em; margin-top: 3px; color: var(--br-fog); }

/* ---------- header ---------- */
.site-header { background: var(--br-basalt); color: var(--br-limestone); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.header-nav { display: flex; align-items: center; gap: 16px; }
.header-call { color: var(--br-limestone); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--br-radius);
  font: 600 1rem/1.2 var(--br-font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-brass { background: var(--br-brass); color: var(--br-basalt); border-color: var(--br-brass); }
.btn-brass:hover { background: #d1ab6a; border-color: #d1ab6a; }
.btn-dark { background: var(--br-basalt); color: var(--br-limestone); border-color: var(--br-basalt); }
.btn-dark:hover { background: var(--br-graphite); }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- hero ---------- */
.hero {
  color: var(--br-limestone);
  background-color: var(--br-basalt);
  background-image:
    radial-gradient(120% 80% at 85% 0%, rgba(195, 154, 85, .10), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(58, 62, 69, .55), transparent 70%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 9px);
  padding: 44px 0 52px;
}
.hero .eyebrow { color: var(--br-brass); }
.hero-title { font-size: clamp(2.6rem, 12vw, 5.2rem); max-width: 14ch; }
.price-block { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 28px; max-width: 40rem; }
.price {
  font-family: var(--br-font-display); font-weight: 800;
  font-size: clamp(4.5rem, 26vw, 10rem); line-height: .9; letter-spacing: .005em;
  color: var(--br-brass);
  border-bottom: var(--br-edge) solid var(--br-brass);
  padding-bottom: 10px; align-self: flex-start;
}
.price-for { font-size: 1.125rem; color: var(--br-limestone); max-width: 34rem; }
.hero-actions { margin-bottom: 24px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--br-fog); }
.hero-facts li { padding-left: 22px; position: relative; }
.hero-facts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: var(--br-edge); background: var(--br-brass); }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-wash { background: var(--br-brass-wash); }
.section-wash .kicker { color: var(--br-basalt); } /* ash drops under 7:1 on the wash */
.card {
  background: var(--br-chalk); border: 1px solid var(--br-line);
  border-radius: var(--br-radius); padding: 22px 20px;
}
.card-edge { border-top: var(--br-edge) solid var(--br-brass); }
.two-col { display: grid; gap: 16px; margin-bottom: 24px; }
.ticks, .crosses { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li, .crosses li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--br-line); }
.ticks li:last-child, .crosses li:last-child { border-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px;
  border-left: 3px solid var(--br-basalt); border-bottom: 3px solid var(--br-basalt); transform: rotate(-45deg);
}
.crosses li::before, .crosses li::after {
  content: ""; position: absolute; left: 2px; top: 19px; width: 16px; height: 2px; background: var(--br-ash);
}
.crosses li::before { transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }
.notes { display: grid; gap: 4px; max-width: 46rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.step { position: relative; padding-top: 18px; }
.step-n {
  display: block; font-family: var(--br-font-display); font-weight: 800; font-size: 3rem; line-height: 1;
  color: var(--br-brass-deep); margin-bottom: 8px;
}
.step p { margin: 0; }

.faq { border-top: var(--br-edge) solid var(--br-basalt); }
.faq-item { border-bottom: 1px solid var(--br-line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; min-height: 44px;
  font-weight: 600; font-size: 1.0625rem; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2px solid var(--br-basalt); border-bottom: 2px solid var(--br-basalt); transform: rotate(45deg);
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { padding: 0 0 16px; }
.faq-a p { margin: 0; }

.areas { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
.areas li {
  background: var(--br-chalk); border: 1px solid var(--br-line); border-left: var(--br-edge) solid var(--br-brass);
  border-radius: var(--br-radius); padding: 12px 14px; font-weight: 500;
}

.cta-band { background: var(--br-graphite); color: var(--br-limestone); padding: 56px 0; }
.cta-band p { color: var(--br-fog); max-width: 38rem; }

/* ---------- fabrication partner (home section; one line on quote and thank-you) ---------- */
.partner { border-top: 1px solid var(--br-line); }
.partner-grid { align-items: start; margin-bottom: 0; }
.partner-lead { font-size: 1.1875rem; line-height: 1.5; }
.partner-copy p:last-child { margin: 0; }
.partner-copy a, .partner-facts a { font-weight: 600; }
.partner-facts { margin: 0; }
.partner-src { display: block; margin-top: 2px; font-size: .875rem; font-weight: 500 !important; color: var(--br-ash); }
.partner-line { margin: -6px 0 0; }
.prose .partner-line { margin: 14px 0 0; }
.viz-carry { margin: 8px 0 0; padding: 8px 12px; background: var(--br-brass-wash); border-radius: var(--br-radius); color: var(--br-basalt); }

/* ---------- plain pages ---------- */
.page { padding: 44px 0 64px; }
.prose h2 { margin-top: 1.6em; }
.prose .card h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .4em; }
.plain-steps { margin: 0; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- quote form ---------- */
.quote-main { padding: 36px 0 64px; }
.quote-wrap { max-width: 640px; }
.quote-h1 { font-size: clamp(2rem, 9vw, 3rem); }
.quote-intro { color: var(--br-ash); }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 20px; }
.progress-seg { height: 6px; background: var(--br-line); border-radius: 1px; }
.progress-seg.is-on { background: var(--br-basalt); }
.progress-text { font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--br-ash); margin: 8px 0 18px; }
.step-screen { background: var(--br-chalk); border: 1px solid var(--br-line); border-top: var(--br-edge) solid var(--br-brass); border-radius: var(--br-radius); padding: 22px 18px; }
.q-title { font-family: var(--br-font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 7vw, 2.3rem); line-height: 1; margin: 0 0 18px; }
.q-title:focus { outline: none; }
.q-title:focus-visible { outline: 3px solid var(--br-basalt); outline-offset: 4px; }
.opts { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; width: 100%; min-height: 60px; padding: 14px 18px;
  text-align: left; font: 600 1.0625rem/1.3 var(--br-font-body); color: var(--br-basalt);
  background: var(--br-limestone); border: 2px solid var(--br-line); border-radius: var(--br-radius); cursor: pointer;
}
.opt:hover { border-color: var(--br-basalt); }
.opt[aria-pressed="true"] { border-color: var(--br-basalt); box-shadow: inset 6px 0 0 var(--br-brass); }
.back {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px 8px 0; margin: -6px 0 6px;
  background: none; border: 0; font: 600 .9375rem var(--br-font-body); color: var(--br-basalt);
  text-decoration: underline; text-underline-offset: .2em; cursor: pointer;
}
.back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 8px; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.opt-label { font-weight: 400; color: var(--br-ash); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"] {
  width: 100%; min-height: 52px; padding: 12px 14px; font: 400 1.0625rem var(--br-font-body); color: var(--br-basalt);
  background: #fff; border: 2px solid var(--br-ash); border-radius: var(--br-radius);
}
.field input:focus-visible { outline: 3px solid var(--br-basalt); outline-offset: 2px; border-color: var(--br-basalt); }
.field input[aria-invalid="true"] { border-color: var(--br-error); }
.reach-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio {
  display: flex !important; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; margin: 0 !important;
  background: var(--br-limestone); border: 2px solid var(--br-line); border-radius: var(--br-radius); cursor: pointer; font-weight: 600;
}
.radio:has(input:checked) { border-color: var(--br-basalt); box-shadow: inset 6px 0 0 var(--br-brass); }
.radio input, .check input { width: 22px; height: 22px; margin: 0; accent-color: var(--br-basalt); flex: none; }
.consent { margin: 0 0 18px; padding: 14px; background: var(--br-brass-wash); border-radius: var(--br-radius); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; line-height: 1.5; cursor: pointer; }
.check input { margin-top: 2px; }
.field-err { color: var(--br-error); font-weight: 600; font-size: .9375rem; margin: 6px 0 0; }
.form-status {
  margin: 0 0 16px; padding: 14px; border: 2px solid var(--br-error); border-radius: var(--br-radius);
  background: #fff; color: var(--br-error); font-weight: 600;
}
.form-status p { margin: 0 0 10px; }
.form-status p:last-child { margin: 0; }
.fine { margin: 12px 0 0; }

/* ---------- area pick (home page dialog) and area lines ---------- */
.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; }
.link-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 4px; margin: 0;
  background: none; border: 0; font: 600 1em var(--br-font-body); color: inherit;
  text-decoration: underline; text-underline-offset: .2em; cursor: pointer;
}
.link-btn:hover { text-decoration-thickness: 2px; }
.area-line { margin: -12px 0 20px; color: var(--br-limestone); font-weight: 500; }
.cta-band .area-line { margin: 14px 0 0; }
.area-note { margin: -8px 0 16px; padding: 4px 12px; background: var(--br-brass-wash); border-radius: var(--br-radius); }
.areas-detail li { font-weight: 400; }
.areas-detail .area-name { font-size: 1.0625rem; font-weight: 600; margin: 0 0 4px; }
.areas-detail p { margin: 0; color: var(--br-ash); font-size: .9375rem; }
.areas-else { margin: 18px 0 0; }

.area-pick {
  width: min(100% - 32px, 520px); max-height: calc(100dvh - 32px); overflow: auto;
  margin: auto; padding: 24px 20px 20px;
  background: var(--br-chalk); color: var(--br-basalt);
  border: 0; border-top: var(--br-edge) solid var(--br-brass); border-radius: var(--br-radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.area-pick::backdrop { background: rgba(18, 19, 21, .72); }
.area-pick-title { font-size: clamp(2rem, 9vw, 2.6rem); margin: 0 0 8px; }
.area-pick-help { color: var(--br-ash); margin: 0 0 16px; }
.area-pick-opts .opt { min-height: 52px; }
.area-pick-close { margin-top: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .area-pick[open] { animation: area-pick-in .18s ease-out; }
  @keyframes area-pick-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* ---------- AI kitchen preview (visualizer.html) ---------- */
.btn-outline { background: transparent; color: var(--br-basalt); border-color: var(--br-basalt); }
.btn-outline:hover { background: var(--br-chalk); }
.btn-ghost { background: transparent; color: var(--br-limestone); border-color: var(--br-fog); }
.btn-ghost:hover { border-color: var(--br-limestone); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.header-link { display: none; color: var(--br-limestone); font-weight: 600; min-height: 44px; align-items: center; text-decoration: none; }
.header-link:hover { text-decoration: underline; }
@media (min-width: 600px) { .header-link { display: inline-flex; } }

.viz-section { border-bottom: 1px solid var(--br-line); }
.viz-lead { max-width: 44rem; }
.viz-notice {
  margin: 0 0 20px; padding: 12px 14px; max-width: 44rem;
  background: var(--br-brass-wash); border-left: var(--br-edge) solid var(--br-brass); border-radius: var(--br-radius);
}
.viz-notice a { font-weight: 600; }
.viz-grid { display: grid; gap: 20px; align-items: start; }
.viz-controls {
  display: grid; gap: 22px; min-width: 0;
  background: var(--br-chalk); border: 1px solid var(--br-line); border-top: var(--br-edge) solid var(--br-brass);
  border-radius: var(--br-radius); padding: 20px 18px;
}
.viz-step .h3 { display: flex; align-items: center; gap: 10px; }
.viz-n {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none;
  background: var(--br-basalt); color: var(--br-limestone); border-radius: var(--br-radius);
  font: 800 1rem/1 var(--br-font-display);
}
.viz-photo-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.viz-photo-btns .btn { flex: 1 1 180px; }
@media (hover: hover) and (pointer: fine) { .viz-camera { display: none; } }
.viz-file { position: relative; }
.viz-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.viz-file:focus-within { outline: 3px solid var(--br-basalt); outline-offset: 3px; }
.viz-file.is-disabled { opacity: .45; cursor: not-allowed; }
.viz-help { margin: 10px 0 0; }
.viz-looks { display: grid; gap: 10px; margin-bottom: 16px; }
.viz-look { gap: 14px; min-height: 64px; }
.viz-look[disabled] { cursor: progress; opacity: .7; }
.viz-look-text { display: flex; flex-direction: column; min-width: 0; }
.viz-look-name { font-weight: 600; }
.viz-look-note { font-weight: 400; font-size: .9375rem; color: var(--br-ash); }
.viz-swatch { width: 44px; height: 44px; flex: none; border-radius: var(--br-radius); border: 1px solid var(--br-line); }
.viz-thumb { object-fit: cover; max-width: none; background: var(--br-chalk); }
.viz-pick-note { margin: -6px 0 12px; }
.viz-swatch-white { background: linear-gradient(135deg, #ffffff, #f3f2ee); }
.viz-swatch-veined {
  background:
    linear-gradient(115deg, transparent 38%, rgba(140, 132, 118, .55) 40%, transparent 43%),
    linear-gradient(150deg, transparent 62%, rgba(176, 150, 98, .5) 64%, transparent 66%),
    #fbfaf7;
}
.viz-swatch-sparkle {
  background:
    radial-gradient(circle at 20% 30%, #b9bbbf 1px, transparent 1.6px),
    radial-gradient(circle at 70% 60%, #c39a55 1px, transparent 1.6px),
    radial-gradient(circle at 45% 80%, #8f9196 1px, transparent 1.6px),
    #f7f6f2;
  background-size: 11px 11px, 13px 13px, 9px 9px, auto;
}
.viz-swatch-gray { background: linear-gradient(135deg, #b4b5b3, #9c9e9d 55%, #aeb0ae); }
.viz-go { margin-top: 4px; }
.viz-go[disabled] { cursor: not-allowed; opacity: 1; background: var(--br-line); border-color: var(--br-line); color: var(--br-ash); }

.viz-result { min-width: 0; }
.viz-stage {
  position: relative; overflow: hidden; aspect-ratio: 1195 / 699; width: 100%;
  background: var(--br-graphite); border-radius: var(--br-radius); border-top: var(--br-edge) solid var(--br-brass);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.viz-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; pointer-events: none; -webkit-user-drag: none; }
.viz-after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.viz-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--br-limestone); pointer-events: none; }
.viz-knob {
  position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  background: var(--br-basalt); border: 3px solid var(--br-limestone); border-radius: 50%;
}
.viz-knob::before, .viz-knob::after {
  content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-left: 2px solid var(--br-brass); border-bottom: 2px solid var(--br-brass);
}
.viz-knob::before { left: 7px; transform: rotate(45deg); }
.viz-knob::after { right: 7px; transform: rotate(-135deg); }
.viz-tag {
  position: absolute; top: 10px; padding: 4px 10px; border-radius: var(--br-radius);
  background: rgba(18, 19, 21, .78); color: var(--br-limestone);
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; pointer-events: none;
}
.viz-tag-before { left: 10px; }
.viz-tag-after { right: 10px; color: var(--br-brass); }
.viz-busy {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(18, 19, 21, .72); color: var(--br-limestone); font-weight: 600;
}
.viz-spin { width: 34px; height: 34px; border: 3px solid var(--br-slate); border-top-color: var(--br-brass); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .viz-spin { animation: viz-spin 1s linear infinite; }
  @keyframes viz-spin { to { transform: rotate(360deg); } }
}
.viz-compare { margin-top: 12px; }
.viz-range-label { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: 4px; }
.viz-range { width: 100%; min-height: 44px; margin: 0; accent-color: var(--br-basalt); cursor: ew-resize; }
.viz-range:focus-visible { outline: 3px solid var(--br-basalt); outline-offset: 2px; }
.viz-status { min-height: 1.6em; margin: 10px 0 0; color: var(--br-ash); font-size: .9375rem; }
.viz-error {
  margin: 10px 0 0; padding: 12px 14px; border: 2px solid var(--br-error); border-radius: var(--br-radius);
  background: #fff; color: var(--br-error); font-weight: 600;
}
.viz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.viz-actions .btn { flex: 1 1 220px; }
.viz-about { margin-top: 20px; max-width: 46rem; border-top: 1px solid var(--br-line); }
.viz-about summary {
  cursor: pointer; min-height: 44px; display: flex; align-items: center; padding: 10px 0;
  font-weight: 600; text-decoration: underline; text-underline-offset: .2em;
}
.viz-about .ticks { margin-top: 4px; }
.viz-about .ticks li { padding-top: 10px; padding-bottom: 10px; }
@media (min-width: 960px) {
  .viz-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--br-basalt); color: var(--br-limestone); }
.footer-grid { display: grid; gap: 24px; padding-top: 36px; padding-bottom: 20px; }
.footer-note { color: var(--br-fog); margin-top: 14px; max-width: 32rem; }
.footer-nav { display: grid; gap: 2px; align-content: start; }
.footer-nav a { color: var(--br-limestone); min-height: 44px; display: inline-flex; align-items: center; }
.footer-legal { border-top: 1px solid var(--br-slate); padding-top: 14px; padding-bottom: 28px; }
.footer-legal p { color: var(--br-fog); font-size: .875rem; margin: 0; }

/* ---------- sticky mobile CTA (home page) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--br-basalt); color: var(--br-limestone);
  border-top: var(--br-edge) solid var(--br-brass);
}
.sticky-price { display: flex; flex-direction: column; line-height: 1.2; font-size: .875rem; color: var(--br-fog); }
.sticky-price strong { color: var(--br-limestone); font-size: 1.25rem; font-family: var(--br-font-display); font-weight: 800; letter-spacing: .02em; }
.sticky-cta .btn { min-height: 48px; padding: 10px 16px; white-space: nowrap; }
body:has(.sticky-cta) .site-footer { padding-bottom: 76px; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .card { padding: 26px 24px; }
  .step-screen { padding: 28px 28px; }
}
@media (min-width: 900px) {
  .hero { padding: 72px 0 84px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr; }
  .sticky-cta { display: none; }
  body:has(.sticky-cta) .site-footer { padding-bottom: 0; }
  .section { padding: 80px 0; }
}
@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  .header-nav .btn-sm { padding: 8px 10px; font-size: .875rem; }
  .wm-name { font-size: 1.25rem; }
  .sticky-price { font-size: .8125rem; }
  .sticky-cta .btn { padding: 10px 12px; font-size: .9375rem; }
}

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