/* Marlow & Sons — sample trades site.
   Built for the moment that matters: someone on a phone, often with wet hands,
   looking for a number to tap. Everything else is secondary to that. */

:root {
  --navy:   #10212e;
  --slate:  #2f4a5c;
  --copper: #ae4f1c;   /* 5.3:1 under white text, 4.7:1 as text on the peach rows */
  --copper-hi: #d06a2f;
  --paper:  #f5f3ee;
  --card:   #ffffff;
  --ink:    #10212e;
  --ink-2:  #4a5763;
  --line:   #e0dcd2;
  --sans: ui-sans-serif, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --pad: 22px;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px;          /* room for the call dock on phones */
}
a { color: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
:focus-visible { outline: 3px solid var(--copper-hi); outline-offset: 3px; border-radius: 4px; }

/* ── the honesty strip ── */
.concept {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px;
  padding: 8px var(--pad);
  background: #fff4d6; color: #5a4712;
  font-size: 12.5px; line-height: 1.4;
  border-bottom: 1px solid #ecd9a2;
}
.concept a { font-weight: 700; }
.concept-note { opacity: .8; }

/* ── header ── */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px var(--pad);
  background: var(--navy); color: #fff;
}
.mark { text-decoration: none; display: flex; flex-direction: column; line-height: 1.05; }
.mark-name { font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.mark-trade {
  font-size: 10.5px; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: #9fb6c6; margin-top: 3px;
}
.top-call {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--copper); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14.5px; white-space: nowrap;
}
.top-call:hover { background: var(--copper-hi); }

/* ── hero ── */
.hero {
  padding: 40px var(--pad) 44px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(174,79,28,.28) 0%, rgba(174,79,28,0) 55%),
    linear-gradient(170deg, var(--navy) 0%, #163247 100%);
  color: #fff;
}
.hero-kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #f0b48c;
}
.hero h1 {
  margin-top: 12px;
  font-size: clamp(40px, 11vw, 76px); font-weight: 850; line-height: .98;
  letter-spacing: -.035em; text-wrap: balance;
}
.hero-sub { margin-top: 16px; max-width: 34ch; color: #c6d4de; font-size: 17px; }

.hero-cta { display: grid; gap: 10px; margin-top: 26px; max-width: 420px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 22px; border-radius: 14px;
  font-weight: 800; font-size: 18px; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-call { background: var(--copper); color: #fff; box-shadow: 0 10px 24px -10px rgba(174,79,28,.9); }
.btn-call:hover { background: var(--copper-hi); }
.btn-call svg { font-size: 20px; }
.btn-text { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.22); font-weight: 700; font-size: 16px; min-height: 52px; }
.btn-text:hover { background: rgba(255,255,255,.16); }

.promises {
  list-style: none; padding: 0; margin-top: 26px;
  display: grid; gap: 8px; font-size: 15px; color: #dbe5ec;
}
.promises li { display: flex; align-items: center; gap: 10px; }
.promises li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--copper-hi)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L20.1 8.4 18.7 7z' fill='%23fff'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

/* ── content blocks ── */
.block { padding: 40px var(--pad) 8px; }
.block h2, .final h2 {
  font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  margin-bottom: 16px;
}

.services { list-style: none; padding: 0; display: grid; gap: 10px; }
.services li {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 16px 15px; display: grid; gap: 3px;
  border-left: 4px solid var(--slate);
}
.services b { font-size: 17px; }
.services span { color: var(--ink-2); font-size: 15px; }

.split { display: grid; gap: 34px; }
.towns { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li {
  padding: 8px 14px; border-radius: 999px;
  background: #e6ecf0; color: var(--slate); font-weight: 700; font-size: 15px;
}
.aside { margin-top: 14px; color: var(--ink-2); font-size: 15px; max-width: 40ch; }

.hours { display: grid; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; }
.hours div + div { border-top: 1px solid var(--line); }
.hours dt { color: var(--ink-2); }
.hours dd { font-weight: 800; font-variant-numeric: tabular-nums; }
.hours .urgent { background: #fbeee6; }
.hours .urgent dd { color: var(--copper); }

.how { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 14px; }
.how li {
  counter-increment: step; position: relative;
  padding-left: 52px; display: grid; gap: 2px;
}
.how li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 16px;
}
.how b { font-size: 17px; padding-top: 6px; }
.how span { color: var(--ink-2); font-size: 15px; }

/* ── closing call ── */
.final {
  margin: 44px var(--pad) 0; padding: 30px 22px 32px;
  border-radius: 22px; text-align: center;
  background: var(--navy); color: #fff;
}
.final p { color: #c6d4de; margin-top: -6px; }
.final-num {
  display: inline-block; margin-top: 18px;
  font-size: clamp(30px, 9vw, 46px); font-weight: 850; letter-spacing: -.02em;
  color: #fff; text-decoration: none; border-bottom: 3px solid var(--copper-hi);
  font-variant-numeric: tabular-nums;
}

.foot { padding: 30px var(--pad) 26px; font-size: 14px; color: var(--ink-2); display: grid; gap: 8px; }
.foot-concept { font-size: 12.5px; opacity: .85; }
.foot a { font-weight: 700; }

/* ── the call dock: always one tap away on a phone ── */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
}
.dock a {
  display: flex; align-items: center; justify-content: center;
  min-height: 50px; border-radius: 12px; text-decoration: none;
  font-weight: 800; font-size: 16px;
}
.dock-call { background: var(--copper); color: #fff; }
.dock-text { background: rgba(255,255,255,.1); color: #fff; }

/* ── bigger screens: same page, more room ── */
@media (min-width: 760px) {
  :root { --pad: max(40px, calc((100vw - 1040px) / 2)); }
  body { padding-bottom: 0; }
  .dock { display: none; }
  .hero { padding-top: 80px; padding-bottom: 86px; }
  .hero-cta { grid-template-columns: auto auto; justify-content: start; }
  .btn { padding: 0 30px; }
  .promises { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; }
  .block { padding-top: 64px; }
  .services { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .split { grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .how { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .final { margin-top: 72px; padding: 52px 40px 56px; }
  .foot { padding-top: 40px; padding-bottom: 40px; }
}

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