/* ============================================================
   RenovationExperts.in — Engineering Drawing Aesthetic
   Paper + blueprint ink + safety orange. Big Shoulders / IBM Plex.
   ============================================================ */

:root {
  --paper: #f3efe6;
  --paper-2: #eae5d7;
  --paper-3: #e2dcc9;
  --ink: #15263f;
  --ink-soft: #3d4d66;
  --blue: #1c43a6;
  --orange: #e0490f;
  --orange-deep: #b93a0a;
  --green: #1e6e4a;
  --line: rgba(21, 38, 63, 0.16);
  --line-strong: rgba(21, 38, 63, 0.34);
  --dark: #101d31;
  --dark-2: #16263e;
  --paper-on-dark: #ecebe2;
  --line-on-dark: rgba(236, 235, 226, 0.16);

  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(rgba(21,38,63,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,38,63,0.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--orange); color: var(--paper); }

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}

h2 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 800; }
h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: 0.02em; }

a { color: inherit; }

/* ---------- shared bits ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow--orange { color: var(--orange); }
.eyebrow--light { color: var(--paper-on-dark); opacity: 0.75; }

.section {
  padding: clamp(72px, 9vw, 130px) var(--pad);
  max-width: none;
  border-top: 1px solid var(--line-strong);
}
.section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section__head { margin-bottom: clamp(40px, 5vw, 72px); }
.section__lede {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(16px, 1.35vw, 18px);
  color: var(--ink-soft);
}

.section--tint { background: var(--paper-2); }

.section--dark {
  background-color: var(--dark);
  background-image:
    linear-gradient(var(--line-on-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px);
  background-size: 120px 120px;
  color: var(--paper-on-dark);
}
.section--dark .section__lede { color: rgba(236, 235, 226, 0.72); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 26px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  background: transparent;
  color: var(--ink);
}
.btn--solid {
  background: var(--orange);
  border-color: var(--orange-deep);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--solid:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn--solid:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
}
.btn--orange:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(0,0,0,0.5); }
.btn--block { width: 100%; justify-content: center; }
.btn__arrow { font-size: 16px; }

/* reveal on scroll — hidden state only applies once JS has loaded,
   so the page is never blank if scripts fail or are slow */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.25, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px solid var(--ink);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
/* Logo mark — the R monogram with the site engineer reading drawings.
   Single <symbol> per page, recoloured per context via `fill`. */
.brand__mark {
  height: 42px;
  width: auto;
  display: block;
  flex: 0 0 auto;
  fill: var(--ink);
}
.brand__mark--invert { fill: var(--paper-on-dark); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}
.nav__links a:hover { border-color: var(--orange); }

.nav__cta { padding: 12px 20px; font-size: 12.5px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1.5px solid var(--ink);
  padding: 10px 9px;
  cursor: pointer;
}
.nav__burger span { width: 20px; height: 2px; background: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */

.hero { border-top: none; overflow: hidden; }

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 110px) var(--pad) clamp(48px, 5vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__title {
  /* 11vw floor keeps the longest word ("renovation,") inside the column on
     small phones — a fixed 58px minimum overflowed and got clipped. */
  font-size: clamp(40px, 11vw, 118px);
  font-weight: 800;
  display: flex;
  flex-direction: column;
}
.hero__title span { display: block; }
.hero__title-accent {
  color: var(--orange);
  position: relative;
  width: fit-content;
}
.hero__title-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: -10px;
  bottom: -6px;
  height: 3px;
  background: var(--ink);
}

.hero__sub {
  margin-top: 28px;
  max-width: 520px;
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--ink-soft);
}
.hero__sub strong { color: var(--ink); }

.hero__ctas {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stamp {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1.5px dashed var(--blue);
  padding: 10px 18px;
}
.hero__stamp i { font-style: normal; color: var(--orange); }

/* drawing */
.hero__drawing {
  position: relative;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 rgba(21, 38, 63, 0.12);
  padding: 18px 12px 0;
}
.drawing { width: 100%; height: auto; display: block; }

.d-line { stroke: var(--blue); stroke-width: 2; fill: none; }
.d-line-thin { stroke: var(--blue); stroke-width: 1; fill: none; opacity: 0.75; }
.d-hatch line { stroke: var(--ink); stroke-width: 1; opacity: 0.5; }
.d-fill-slab { fill: rgba(28, 67, 166, 0.14); stroke: var(--blue); stroke-width: 1.5; }

.d-dim line { stroke: var(--orange); stroke-width: 1.25; }
.d-dim text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  fill: var(--orange);
}

.d-callout line { stroke: var(--ink); stroke-width: 1; }
.d-callout circle { fill: var(--orange); }
.d-callout text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: var(--ink);
}
.d-callout .d-callout-sub { font-size: 9px; fill: var(--ink-soft); font-weight: 400; }

/* animated line draw */
.d-house .d-line,
.d-house .d-line-thin {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 2.4s ease forwards 0.4s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .d-house .d-line, .d-house .d-line-thin { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
}

.drawing__titleblock {
  display: flex;
  justify-content: space-between;
  border-top: 1.5px solid var(--ink);
  margin-top: 10px;
  padding: 10px 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.hero__seal {
  position: absolute;
  top: -22px;
  right: -18px;
  width: 96px;
  height: 96px;
  border: 2.5px solid var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--green);
  background: var(--paper);
  transform: rotate(9deg);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4.5px var(--green);
  animation: seal-in 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both 2.2s;
}
@keyframes seal-in {
  from { transform: rotate(9deg) scale(1.8); opacity: 0; }
  to { transform: rotate(9deg) scale(1); opacity: 1; }
}

/* ticker */
.ticker {
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: 12px 0;
}
.ticker__track {
  display: flex;
  gap: 34px;
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: ticker 28s linear infinite;
}
.ticker__track i { font-style: normal; color: var(--orange); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ============================================================
   SPEC STRIP
   ============================================================ */

.specs { border-bottom: 1.5px solid var(--ink); background: var(--paper-2); }
.specs__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.spec {
  padding: clamp(24px, 3vw, 40px) var(--pad);
  border-left: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.spec:first-child { border-left: none; }
.spec b {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 58px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.spec span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   PROBLEM
   ============================================================ */

.problem__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.problem__card {
  padding: clamp(26px, 3vw, 44px);
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  position: relative;
  transition: background 0.2s;
}
.problem__card:nth-child(2n) { border-right: none; }
.problem__card:nth-child(n+3) { border-bottom: none; }
.problem__card:hover { background: var(--paper-2); }

.problem__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--orange);
  display: block;
  margin-bottom: 16px;
}
.problem__card h3 { margin-bottom: 12px; }
.problem__card p { color: var(--ink-soft); font-size: 15.5px; }
.problem__fix {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px !important;
  line-height: 1.55;
  color: var(--blue) !important;
  font-weight: 500;
}

/* ============================================================
   HEALTH CHECK
   ============================================================ */

.hc {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.hc__list {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}
.hc__list li {
  padding: 16px 0 16px 34px;
  border-top: 1px dashed var(--line-strong);
  position: relative;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.hc__list li:last-child { border-bottom: 1px dashed var(--line-strong); }
.hc__list li::before {
  content: "▣";
  position: absolute;
  left: 0;
  top: 15px;
  color: var(--orange);
}
.hc__list b { color: var(--ink); }
.hc__note {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
  font-weight: 500;
}

.hc__pricecard {
  background: var(--dark);
  color: var(--paper-on-dark);
  border: 1.5px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(21, 38, 63, 0.18);
  padding: clamp(26px, 2.6vw, 38px);
  position: sticky;
  top: 96px;
}
.hc__pricecard-head {
  border-bottom: 1px solid var(--line-on-dark);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.hc__pricecard-head .eyebrow { margin-bottom: 0; }
.hc__price {
  font-family: var(--font-display);
  font-size: clamp(56px, 5vw, 72px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.hc__price small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(236, 235, 226, 0.6);
  margin: 6px 0;
}
.hc__ticks {
  list-style: none;
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
}
.hc__ticks li { padding-left: 26px; position: relative; }
.hc__ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}
.hc__coverage {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(236, 235, 226, 0.55);
}

/* ============================================================
   COST CALCULATOR
   ============================================================ */

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.calc__group { margin-bottom: 34px; }
.calc__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line-strong);
}

.calc__rooms { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 12px 18px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.chip i {
  font-style: normal;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange);
}
.chip:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 rgba(21,38,63,0.25); }
.chip.active {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 3px 3px 0 var(--orange);
}
.chip.active i { color: var(--orange); }

.calc__dims { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.calc__dim label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.calc__diminput {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line-strong);
  background: var(--paper-2);
  transition: border-color 0.15s;
}
.calc__diminput:focus-within { border-color: var(--blue); background: #fff; }
.calc__diminput input {
  width: 92px;
  border: none;
  background: transparent;
  padding: 13px 4px 13px 14px;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}
.calc__diminput span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  padding-right: 14px;
}
.calc__x {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--orange);
  padding-bottom: 12px;
}
.calc__area {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
  border: 1.5px dashed var(--blue);
  padding: 12px 16px;
}
.calc__area span { font-size: 19px; }

.calc__scopes { display: flex; flex-direction: column; gap: 10px; }
.scope { display: block; cursor: pointer; }
.scope input { position: absolute; opacity: 0; pointer-events: none; }
.scope__body {
  display: block;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  padding: 14px 18px;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.scope:hover .scope__body { border-color: var(--ink); }
.scope input:checked + .scope__body {
  border-color: var(--ink);
  background: var(--paper-2);
  box-shadow: 4px 4px 0 var(--orange);
}
.scope__body b {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.scope__body b em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange);
  vertical-align: middle;
}
.scope__body small { display: block; font-size: 13.5px; color: var(--ink-soft); margin-top: 3px; }

/* output card */
.calc__out {
  background: var(--dark);
  color: var(--paper-on-dark);
  border: 1.5px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(21, 38, 63, 0.18);
  padding: clamp(24px, 2.6vw, 36px);
  position: sticky;
  top: 96px;
}
.calc__out-head {
  border-bottom: 1px solid var(--line-on-dark);
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.calc__out-head .eyebrow { margin-bottom: 0; }
.calc__out-title {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 235, 226, 0.65);
}
.calc__total {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  margin: 8px 0 4px;
}
.calc__rate {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}

.calc__break { border-top: 1px solid var(--line-on-dark); margin-bottom: 20px; }
.calc__row { padding: 10px 0 12px; border-bottom: 1px solid var(--line-on-dark); }
.calc__row-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  margin-bottom: 7px;
}
.calc__row-top b { font-weight: 500; color: rgba(236, 235, 226, 0.9); }
.calc__row-top span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(236, 235, 226, 0.7);
  white-space: nowrap;
}
.calc__bar { height: 5px; background: rgba(236, 235, 226, 0.12); position: relative; }
.calc__bar i {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--orange);
  width: 0;
  transition: width 0.5s cubic-bezier(0.2, 0.65, 0.25, 1);
}

.calc__note {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(236, 235, 226, 0.55);
  margin-bottom: 20px;
}

/* ============================================================
   THE SYSTEM (GATES)
   ============================================================ */

.gates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  border: 1px solid var(--line-on-dark);
  counter-reset: gate;
}
.gate {
  padding: 26px 20px 30px;
  border-right: 1px solid var(--line-on-dark);
  position: relative;
  transition: background 0.2s;
}
.gate:last-child { border-right: none; }
.gate:hover { background: rgba(236, 235, 226, 0.05); }
.gate::after {
  content: "QC GATE ▸";
  position: absolute;
  left: 20px;
  bottom: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--orange);
  opacity: 0.9;
}
.gate:last-child::after { content: "HANDOVER ■"; color: #4caf7d; }

.gate__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(236, 235, 226, 0.5);
  display: block;
  margin-bottom: 18px;
}
.gate--flag .gate__num { color: var(--orange); -webkit-text-stroke: 0; }
.gate h3 { font-size: 17px; margin-bottom: 10px; letter-spacing: 0.03em; }
.gate p { font-size: 13px; line-height: 1.55; color: rgba(236, 235, 226, 0.65); margin-bottom: 26px; }
.gate--flag { background: rgba(224, 73, 15, 0.1); }

/* escrow */
.escrow {
  margin-top: clamp(40px, 5vw, 64px);
  border: 1.5px dashed rgba(236, 235, 226, 0.35);
  padding: clamp(24px, 3vw, 40px);
}
.escrow__label { margin-bottom: 22px; }
.escrow__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 22px;
  align-items: center;
}
.escrow__step b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 8px;
  color: #fff;
}
.escrow__step p { font-size: 14px; color: rgba(236, 235, 226, 0.68); }
.escrow__arrow {
  font-size: 26px;
  color: var(--orange);
  font-family: var(--font-mono);
}

/* ============================================================
   PROMISES
   ============================================================ */

.promises {
  list-style: none;
  columns: 2;
  column-gap: clamp(28px, 4vw, 64px);
}
.promises li {
  break-inside: avoid;
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-strong);
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
}
.promises li span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--orange);
  min-width: 38px;
}

/* ============================================================
   RECP
   ============================================================ */

.section--recp { background-color: var(--dark-2); }
.recp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.recp .btn { margin-top: 30px; }

.recp__ladder {
  list-style: none;
  counter-reset: tier;
  display: flex;
  flex-direction: column;
}
.recp__ladder li {
  counter-increment: tier;
  padding: 20px 20px 20px 64px;
  border: 1px solid var(--line-on-dark);
  border-bottom: none;
  position: relative;
  background: rgba(236, 235, 226, 0.03);
  transition: background 0.2s, transform 0.2s;
}
.recp__ladder li:last-child { border-bottom: 1px solid var(--line-on-dark); }
.recp__ladder li:hover { background: rgba(224, 73, 15, 0.12); transform: translateX(6px); }
.recp__ladder li::before {
  content: "0" counter(tier);
  position: absolute;
  left: 18px;
  top: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}
.recp__ladder b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}
.recp__ladder p { font-size: 14px; color: rgba(236, 235, 226, 0.65); margin-top: 4px; }

/* ============================================================
   FAQ
   ============================================================ */

.faq { max-width: 820px !important; }
.faq details {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  margin-bottom: -1.5px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  position: relative;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--orange);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] summary { border-bottom: 1px dashed var(--line-strong); }
.faq details p {
  padding: 18px 24px 22px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ============================================================
   BOOKING
   ============================================================ */

.section--book { background: var(--paper); }
.book {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.book__assure {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
}

.book__form {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  box-shadow: 10px 10px 0 rgba(21, 38, 63, 0.12);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
}

.field { margin-bottom: 18px; }
.field__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink-soft);
}
.field label em { text-transform: none; letter-spacing: 0; font-style: normal; opacity: 0.7; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1.5px solid var(--line-strong);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  border-radius: 0;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2315263f' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  background: #fff;
}
.field input.invalid, .field select.invalid { border-color: var(--orange); background: #fdf0e9; }
.field textarea { resize: vertical; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.book__fine {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}
.book__fine a { color: var(--blue); }
.book__fine a:hover { color: var(--orange); }

/* success overlay */
.book__success[hidden] { display: none; }
.book__success {
  position: absolute;
  inset: 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  gap: 14px;
}
.book__success h3 { font-size: 30px; }
.book__success p { color: var(--ink-soft); font-size: 15px; }
.book__success #successRef {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--blue);
  font-weight: 600;
}
.book__stamp {
  width: 118px;
  height: 118px;
  border: 3px solid var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--green);
  transform: rotate(-8deg);
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 6px var(--green);
  animation: seal-in 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both 0.15s;
  margin-bottom: 10px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--ink);
  color: var(--paper-on-dark);
  border-top: 1.5px solid var(--ink);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr);
  gap: clamp(32px, 4vw, 56px);
}
.footer__tag {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 22px;
}
.footer__cols h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 235, 226, 0.5);
  margin-bottom: 16px;
}
.footer__cols a {
  display: block;
  text-decoration: none;
  font-size: 14.5px;
  padding: 5px 0;
  color: rgba(236, 235, 226, 0.85);
}
.footer__cols a:hover { color: var(--orange); }

.footer__titleblock {
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  max-width: var(--maxw);
  margin: 0 auto;
  /* extra bottom room so the floating WhatsApp button never sits on this line */
  padding: 18px var(--pad) 84px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 235, 226, 0.5);
}

/* ============================================================
   LEGAL PAGES (spec-sheet layout)
   ============================================================ */

.legalhero {
  border-bottom: 1.5px solid var(--ink);
  padding: clamp(48px, 6vw, 88px) var(--pad) clamp(32px, 4vw, 52px);
}
.legalhero__inner { max-width: var(--maxw); margin: 0 auto; }
.legalhero h1 {
  font-size: clamp(46px, 6.5vw, 86px);
  font-weight: 800;
  max-width: 15ch;
}
.legalhero__lede {
  margin-top: 22px;
  max-width: 640px;
  font-size: clamp(16px, 1.35vw, 18px);
  color: var(--ink-soft);
}
.legalhero__meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  border: 1.5px solid var(--ink);
  background: var(--paper-2);
}
.legalhero__meta div {
  padding: 14px 22px;
  border-right: 1px solid var(--line-strong);
  flex: 1 1 auto;
}
.legalhero__meta div:last-child { border-right: none; }
.legalhero__meta b {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 5px;
}
.legalhero__meta span {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(44px, 5vw, 76px) var(--pad) clamp(64px, 7vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.legal__toc {
  position: sticky;
  top: 96px;
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.legal__toc h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.legal__toc a {
  display: block;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 7px 0;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  transition: color 0.15s, padding-left 0.15s;
}
.legal__toc a:hover { color: var(--orange); padding-left: 6px; }
.legal__toc a b { color: var(--orange); margin-right: 8px; font-weight: 600; }

.legal__body { max-width: 760px; }
.legal__body section { margin-bottom: 44px; scroll-margin-top: 96px; }
.legal__body h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1.5px solid var(--ink);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.legal__body h2 i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}
.legal__body h3 {
  font-size: 17px;
  margin: 26px 0 10px;
  letter-spacing: 0.03em;
}
.legal__body p { margin-bottom: 14px; color: var(--ink-soft); font-size: 15.5px; }
.legal__body strong { color: var(--ink); }
.legal__body ul { list-style: none; margin: 0 0 16px; }
.legal__body ul li {
  position: relative;
  padding: 7px 0 7px 26px;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.legal__body ul li::before {
  content: "▪";
  position: absolute;
  left: 4px;
  color: var(--orange);
}
.legal__body a { color: var(--blue); text-decoration-color: var(--line-strong); }
.legal__body a:hover { color: var(--orange); }

/* callout used for the important disclaimers */
.legal__note {
  border: 1.5px solid var(--ink);
  border-left: 6px solid var(--orange);
  background: var(--paper-2);
  padding: 18px 22px;
  margin: 20px 0;
}
.legal__note b {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.legal__note p:last-child { margin-bottom: 0; }

/* obvious placeholder for details the business must supply */
.todo {
  background: #ffe9c9;
  border-bottom: 2px solid var(--orange);
  padding: 1px 6px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  font-weight: 600;
  color: var(--orange-deep);
  white-space: nowrap;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue);
}
.legal__back:hover { color: var(--orange); }

/* ============================================================
   CONTACT — nav tel, footer block, WhatsApp widget
   ============================================================ */


.footer__contact {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer__contact a {
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
  color: var(--paper-on-dark);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
}
.footer__contact a:hover { color: var(--orange); }
.footer__contact svg { width: 15px; height: 15px; fill: var(--orange); flex: 0 0 auto; }

.book__talk {
  margin-top: 26px;
  border-top: 1px dashed var(--line-strong);
  padding-top: 20px;
}
.book__talk b {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.book__talk-links { display: flex; flex-wrap: wrap; gap: 10px; }
.book__talk-links a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  padding: 11px 15px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.book__talk-links a:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.book__talk-links svg { width: 16px; height: 16px; flex: 0 0 auto; }
.talk--wa { background: #25d366; color: #0b2e18; border-color: var(--ink) !important; }
.talk--wa svg { fill: #0b2e18; }

/* floating WhatsApp button */
.wa {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #0b2e18;
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 13px 18px 13px 15px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: transform 0.15s, box-shadow 0.15s;
}
.wa:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.wa:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.wa svg { width: 23px; height: 23px; fill: #0b2e18; flex: 0 0 auto; }

@media (max-width: 640px) {
  .wa { right: 14px; bottom: 14px; padding: 14px; }
  .wa span { display: none; }
}
@media print { .wa { display: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .gates { grid-template-columns: repeat(4, 1fr); }
  .gate:nth-child(4) { border-right: none; }
  .gate:nth-child(-n+4) { border-bottom: 1px solid var(--line-on-dark); }
}

@media (max-width: 900px) {
  /* minmax(0,…) lets the column shrink below its content's min-content width */
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { min-width: 0; }
  .hero__drawing { max-width: 560px; }
  .hc, .recp, .book, .calc { grid-template-columns: 1fr; }
  .hc__pricecard, .calc__out { position: static; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .specs__inner { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(3) { border-left: none; }
  .spec:nth-child(-n+2) { border-bottom: 1px solid var(--line-strong); }
  .escrow__steps { grid-template-columns: 1fr; gap: 14px; }
  .escrow__arrow { transform: rotate(90deg); width: fit-content; }
  .promises { columns: 1; }
  .footer__inner { grid-template-columns: 1fr; }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1.5px solid var(--ink);
    padding: 8px var(--pad) 16px;
  }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: flex; }
}

@media (max-width: 640px) {
  /* the trust stamp is wider than a phone at full tracking */
  .hero__stamp {
    flex-wrap: wrap;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    gap: 8px;
    padding: 9px 13px;
  }
  .gates { grid-template-columns: 1fr 1fr; }
  .gate { border-bottom: 1px solid var(--line-on-dark); }
  .gate:nth-child(2n) { border-right: none; }
  .gate:nth-child(odd) { border-right: 1px solid var(--line-on-dark); }
  .gate:nth-child(7) { border-bottom: none; }
  .problem__grid { grid-template-columns: 1fr; }
  .problem__card { border-right: none !important; border-bottom: 1px solid var(--line-strong) !important; }
  .problem__card:last-child { border-bottom: none !important; }
  .field__row { grid-template-columns: 1fr; gap: 0; }
  .nav__cta { display: none; }
  .hero__seal { width: 80px; height: 80px; font-size: 10px; right: -8px; }
}
