/* Redline Landscaping and Design
   Simplified: fewer boxes, harder type, one accent, more air.
   "Sharp" comes from tight tracking, high contrast and thin rules -
   not from borders and shadows on everything. */

:root {
  --bg: #0b0c0d;
  --ink: #f4f5f6;
  --muted: #8b949c;
  --dim: #c3cace;
  --red: #e02424;
  --rule: #1e2124;
  --lift: #121416;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ---------- type ---------- */
h1, h2, h3 { letter-spacing: -0.025em; font-weight: 650; margin: 0; }
h1 { font-size: clamp(2.1rem, 6vw, 3.9rem); line-height: 1.02; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.12; }
h3 { font-size: 1.02rem; letter-spacing: -0.01em; }
p { margin: 0; }

.eyebrow {
  font: 600 0.7rem/1 ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}
.lede { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--dim); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* ---------- shell ---------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

header.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.topin {
  max-width: var(--max); margin-inline: auto; padding: 0.9rem var(--pad);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: 0.6rem;
  white-space: nowrap; }
.brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 5px;
  background: #fff; padding: 2px; }
.brand > span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { color: var(--red); font-weight: 800; letter-spacing: 0.01em; font-size: 1.02rem; }
.brand em { font-style: normal; color: var(--muted); font-weight: 500;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
header nav { margin-left: auto; display: flex; gap: 1.4rem; align-items: center; }
header nav a { text-decoration: none; color: var(--muted); font-size: 0.93rem; }
header nav a:hover { color: var(--ink); }
header nav a.tel { color: var(--ink); font-weight: 650; }

section { padding-block: clamp(2.5rem, 5vw, 4rem); }
section + section { border-top: 1px solid var(--rule); }

/* ---------- hero ---------- */
.hero h1 { margin: 0.5rem 0 1rem; max-width: 18ch; }
.hero .lede { margin-bottom: 2rem; }

/* ---------- buttons ---------- */
.row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.97rem;
  padding: 0.85rem 1.5rem; border-radius: 4px; border: 1px solid transparent;
  background: var(--red); color: #fff; cursor: pointer;
}
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; border-color: var(--rule); color: var(--ink); }
.btn.ghost:hover { border-color: var(--red); filter: none; }

/* ---------- numbered list: services ---------- */
.list { margin-top: 2rem; border-top: 1px solid var(--rule); }
.list a, .list .item {
  display: grid; grid-template-columns: 3.2rem 1fr auto; gap: 1.25rem;
  align-items: baseline; padding: 1.15rem 0; border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.list a:hover { background: var(--lift); }
.list .n { color: var(--red); font-variant-numeric: tabular-nums; font-weight: 650; font-size: 0.85rem; }
.list .d { color: var(--muted); font-size: 0.92rem; grid-column: 2; }
.list .go { color: var(--muted); font-size: 1.1rem; }
.list a:hover .go { color: var(--red); }

/* ---------- pills ---------- */
.pills { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.pills a {
  text-decoration: none; font-size: 0.9rem; color: var(--dim);
  border: 1px solid var(--rule); border-radius: 999px; padding: 0.4rem 0.95rem;
}
.pills a:hover { border-color: var(--red); color: var(--ink); }

/* ---------- facts ---------- */
.facts { display: flex; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; margin-top: 2.25rem; }
.fact b { display: block; font-size: 1.6rem; letter-spacing: -0.03em; }
.fact span { color: var(--muted); font-size: 0.82rem; }

/* ---------- links list ---------- */
ul.links { list-style: none; padding: 0; margin: 1rem 0 0; }
ul.links li { padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
ul.links a { text-decoration: none; }
ul.links a:hover { color: var(--red); }

.prose h2 { margin-top: 2.5rem; }
.prose p { color: var(--dim); margin-top: 0.7rem; max-width: 66ch; }
.note { border-left: 2px solid var(--red); padding-left: 1.1rem; color: var(--muted); }

/* ================= ESTIMATE SCREENER ================= */
.screener { max-width: 720px; }
.step { display: none; }
.step.on { display: block; animation: fade 0.22s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.qnum { font: 600 0.7rem/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); }
.q { font-size: clamp(1.3rem, 2.6vw, 1.75rem); letter-spacing: -0.02em; margin: 0.6rem 0 1.4rem; }

.opts { display: grid; gap: 0.6rem; }
.opt {
  display: flex; align-items: center; gap: 0.9rem; width: 100%; text-align: left;
  background: var(--lift); border: 1px solid var(--rule); border-radius: 6px;
  padding: 1rem 1.15rem; color: var(--ink); font: inherit; font-size: 0.98rem; cursor: pointer;
}
.opt:hover { border-color: var(--red); }
.opt[aria-pressed="true"] { border-color: var(--red); background: color-mix(in srgb, var(--red) 12%, var(--lift)); }
.opt .k {
  flex: none; width: 1.55rem; height: 1.55rem; border-radius: 4px;
  border: 1px solid var(--rule); display: grid; place-items: center;
  font-size: 0.72rem; color: var(--muted); font-weight: 650;
}
.opt[aria-pressed="true"] .k { border-color: var(--red); color: var(--red); }
.opt small { display: block; color: var(--muted); font-size: 0.83rem; margin-top: 0.15rem; }

.nav { display: flex; gap: 0.7rem; margin-top: 1.6rem; align-items: center; }
.back { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.92rem; cursor: pointer; padding: 0; }
.back:hover { color: var(--ink); }

.bar { height: 2px; background: var(--rule); margin-bottom: 2.25rem; }
.bar i { display: block; height: 2px; background: var(--red); width: 0; transition: width 0.25s ease; }

/* result */
.result { border: 1px solid var(--rule); border-radius: 8px; padding: clamp(1.25rem, 3vw, 2rem); background: var(--lift); }
.band { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -0.035em; font-weight: 650; line-height: 1.05; }
.band.tbd { font-size: clamp(1.3rem, 3.5vw, 1.8rem); }
.summary { margin-top: 1.5rem; border-top: 1px solid var(--rule); padding-top: 1.25rem; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1.25rem; margin: 0; font-size: 0.93rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; }
.disclaimer { margin-top: 1.25rem; font-size: 0.85rem; color: var(--muted); }

/* ---------- footer ---------- */
footer.foot { border-top: 1px solid var(--rule); padding-block: 2.75rem; color: var(--muted); font-size: 0.9rem; }
footer.foot p { margin-bottom: 0.45rem; }
footer.foot a { color: var(--dim); }
footer.foot .fine { font-size: 0.8rem; opacity: 0.65; margin-top: 1rem; }

@media (max-width: 620px) {
  header nav { gap: 0.9rem; }
  header nav a:not(.tel) { display: none; }
  .list a, .list .item { grid-template-columns: 2.4rem 1fr; }
  .list .go { display: none; }
}

/* ---------- lead form (final screener step) ---------- */
.lead { display: grid; gap: 1.1rem; max-width: 520px; }
.lead label { display: block; font-size: 0.88rem; color: var(--muted); }
.lead .req { color: var(--red); }
.lead input, .lead textarea {
  display: block; width: 100%; margin-top: 0.4rem;
  background: var(--lift); border: 1px solid var(--rule); border-radius: 6px;
  color: var(--ink); font: inherit; font-size: 1rem; padding: 0.8rem 0.95rem;
}
.lead input:focus, .lead textarea:focus {
  outline: none; border-color: var(--red);
}
.lead input::placeholder, .lead textarea::placeholder { color: #5d666d; }
.lead textarea { resize: vertical; }
.lead .err {
  color: var(--red); font-size: 0.9rem; margin: 0;
  border-left: 2px solid var(--red); padding-left: 0.8rem;
}
.lead button[disabled] { opacity: 0.6; cursor: default; }


/* ================= IMAGERY ================= */
img { max-width: 100%; height: auto; display: block; }

/* hero: text left, photo right on desktop; stacked on phones */
.herogrid { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.heroimg img { width: 100%; border-radius: 10px; border: 1px solid var(--rule);
  aspect-ratio: 16 / 10; object-fit: cover; }

/* service rows gain a thumbnail column */
/* before / after */
.bagrid { display: grid; gap: 1.75rem; margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.ba { margin: 0; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
.ba-half { position: relative; }
.ba-half img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-tag { position: absolute; top: 8px; left: 8px; z-index: 2;
  font: 600 0.62rem/1 ui-sans-serif, system-ui, sans-serif; letter-spacing: 0.13em;
  text-transform: uppercase; padding: 0.32rem 0.55rem; border-radius: 3px;
  background: rgba(0,0,0,.72); color: #fff; backdrop-filter: blur(3px); }
.ba-tag.after { background: var(--red); }
.ba figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 0.7rem; }
.ba figcaption strong { color: var(--ink); font-weight: 600; }

@media (max-width: 860px) {
  .herogrid { grid-template-columns: 1fr; }
  .heroimg { order: -1; }
  .heroimg img { aspect-ratio: 16 / 9; }
}


/* gallery strip */
.ggrid { display: grid; gap: 1rem; margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gcell { margin: 0; }
.gcell img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--rule); }
.gcell figcaption { color: var(--muted); font-size: 0.82rem; margin-top: 0.5rem; }
