/* =========================================================
   Holmes Decorating
   Palette: ink / paper / rust. Two colours and a neutral.
   ========================================================= */

:root {
  --ink:      #141414;
  --ink-2:    #24231f;
  --paper:    #f4f1ea;
  --paper-2:  #eae5da;
  --rust:     #c8471f;
  --rust-dk:  #a83916;
  --line:     rgba(20, 20, 20, .14);
  --line-lt:  rgba(244, 241, 234, .16);
  --muted:    rgba(20, 20, 20, .62);
  --muted-lt: rgba(244, 241, 234, .66);

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 9vw, 8rem);
  --r: 2px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .18vw, 1.075rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.35rem + 4.6vw, 4.6rem); }
h2 { font-size: clamp(1.95rem, 1.25rem + 2.9vw, 3.3rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
p  { margin: 0 0 1rem; text-wrap: pretty; }

.wrap { width: min(1240px, 100% - (var(--gut) * 2)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--paper); padding: .8rem 1.2rem;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

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

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rust);
  margin: 0 0 1.1rem;
}
.eyebrow--light { color: #e8703f; }

.sec-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head__sub { font-size: 1.1rem; color: var(--muted); margin-top: 1.25rem; max-width: 56ch; }
.sec-head--left .sec-head__sub { margin-bottom: 1.75rem; }

.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bd); border-radius: var(--r);
  padding: .78rem 1.4rem;
  font: 600 .95rem/1 var(--sans);
  letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 -2px rgba(20,20,20,.18); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn--solid { --bg: var(--rust); --bd: var(--rust); --fg: #fff; }
.btn--solid:hover { --bg: var(--rust-dk); --bd: var(--rust-dk); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); }
.btn--line  { --bg: transparent; --fg: var(--paper); --bd: rgba(244,241,234,.5); }
.btn--line:hover { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn--full { width: 100%; }

.ticks { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.75rem; font-size: .95rem; color: var(--muted); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: .78rem; height: .44rem;
  border-left: 2.5px solid var(--rust); border-bottom: 2.5px solid var(--rust);
  transform: rotate(-45deg);
}
.ticks--light li { color: var(--muted-lt); }

/* ---------- header ---------- */

.head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 241, 234, .88);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.head.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(20,20,20,.05); }
.head__in { display: flex; align-items: center; gap: 2rem; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; flex: none; }
.logo__mark { display: flex; gap: 2px; }
.logo__mark i { display: block; width: 7px; height: 26px; background: var(--rust); }
.logo__mark i:last-child { background: var(--ink); }
.logo__txt { font-weight: 700; letter-spacing: -.035em; font-size: 1.15rem; }
.logo__txt em { font-style: normal; color: var(--muted); }
.logo--light .logo__mark i:last-child { background: var(--paper); }
.logo--light .logo__txt em { color: var(--muted-lt); }

.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a {
  position: relative; text-decoration: none; font-size: .95rem; font-weight: 500;
  color: var(--muted); padding: .35rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--rust); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.head__cta { display: flex; align-items: center; gap: 1.25rem; }
.head__tel {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
}
.head__tel svg { width: 17px; height: 17px; fill: var(--rust); }
.head__tel:hover { color: var(--rust); }

.burger {
  display: none; width: 44px; height: 44px; margin-left: auto;
  background: none; border: 1px solid var(--line); border-radius: var(--r);
  cursor: pointer; padding: 0; place-items: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero { position: relative; padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: 0; overflow: hidden; }
.hero__in {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero h1 { margin-bottom: 1.5rem; }
.hero .lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.hero__btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero .ticks { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }

.hero__shot { position: relative; margin: 0; }
.hero__shot img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--line);
}
.chip-card {
  position: absolute; left: -1.25rem; bottom: -1.5rem;
  background: var(--ink); color: var(--paper);
  padding: 1.1rem 1.35rem; border-radius: var(--r);
  display: grid; gap: .15rem; min-width: 200px;
  box-shadow: 0 18px 40px -18px rgba(20,20,20,.5);
}
.chip-card__label { font-family: var(--mono); font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; color: #e8703f; }
.chip-card__big { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.chip-card__note { font-size: .8rem; color: var(--muted-lt); }

/* paint fan deck divider */
.swatches { display: flex; height: 10px; }
.swatches i { flex: 1; }
.swatches i:nth-child(1) { background: #c8471f; }
.swatches i:nth-child(2) { background: #d9713f; }
.swatches i:nth-child(3) { background: #e0a76b; }
.swatches i:nth-child(4) { background: #b9b39c; }
.swatches i:nth-child(5) { background: #6f7f74; }
.swatches i:nth-child(6) { background: #3f5a52; }
.swatches i:nth-child(7) { background: #2b3a3f; }
.swatches i:nth-child(8) { background: #141414; }

/* ---------- stats ---------- */

.stats { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.stats__in { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: clamp(1.75rem, 3.5vw, 2.75rem) 1.5rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stat__l { display: block; margin-top: .55rem; font-size: .85rem; color: var(--muted); max-width: 20ch; }

/* ---------- services (ink) ---------- */

.services { background: var(--ink); color: var(--paper); padding-block: var(--sec); }
.services h2 { color: var(--paper); }
.services .sec-head__sub { color: var(--muted-lt); }

.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-lt); }
.svc__item {
  display: grid; grid-template-columns: 5rem 1fr auto;
  gap: clamp(1rem, 3vw, 2.5rem); align-items: start;
  padding: clamp(1.75rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line-lt);
  transition: background .2s ease, padding .2s ease;
}
.svc__item:hover { background: rgba(244,241,234,.035); }
.svc__n { font-family: var(--mono); font-size: .85rem; color: #e8703f; padding-top: .35rem; letter-spacing: .05em; }
.svc__body h3 { margin-bottom: .55rem; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); }
.svc__body p { margin: 0; color: var(--muted-lt); max-width: 62ch; font-size: .98rem; }
.svc__link {
  align-self: center; white-space: nowrap; text-decoration: none;
  font-size: .85rem; font-weight: 600; color: var(--paper);
  border: 1.5px solid var(--line-lt); border-radius: var(--r);
  padding: .55rem 1rem; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.svc__link:hover { background: var(--rust); border-color: var(--rust); color: #fff; }

/* ---------- work ---------- */

.work { padding-block: var(--sec); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.tile { margin: 0; }
/* the photos are square before/after collages, so show them whole rather than cropping the label off */
.tile img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--r); border: 1px solid var(--line);
  transition: filter .3s ease, transform .3s ease;
}
.tile:hover img { transform: translateY(-4px); filter: saturate(1.08); }
.tile figcaption { display: grid; gap: .1rem; padding-top: .85rem; }
.tile figcaption strong { font-size: .98rem; font-weight: 600; letter-spacing: -.01em; }
.tile figcaption span { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- process (ink) ---------- */

.process { background: var(--ink-2); color: var(--paper); padding-block: var(--sec); }
.process h2 { color: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-lt); border-block: 1px solid var(--line-lt); }
.step { background: var(--ink-2); padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2vw, 1.75rem); }
.step__n {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem;
  border: 1.5px solid #e8703f; color: #e8703f; border-radius: 50%;
  font-family: var(--mono); font-size: .9rem; margin-bottom: 1.4rem;
}
.step h3 { margin-bottom: .6rem; }
.step p { margin: 0; color: var(--muted-lt); font-size: .95rem; }

/* ---------- about ---------- */

.about { padding-block: var(--sec); }
.about__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__shot { margin: 0; }
.about__shot img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r); border: 1px solid var(--line);
}
.about__copy p { color: var(--muted); max-width: 58ch; }
.about__copy h2 { margin-bottom: 1.5rem; }

.creds { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.creds li { display: grid; gap: .2rem; padding-top: 1rem; border-top: 2px solid var(--ink); }
.creds strong { font-size: .98rem; }
.creds span { font-size: .87rem; color: var(--muted); }

/* ---------- testimonials ---------- */

.says { padding-bottom: var(--sec); }
.says__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.say {
  margin: 0; background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.say p { margin: 0; font-size: 1.02rem; }
.say p::before { content: "\201C"; }
.say p::after  { content: "\201D"; }
.say cite { display: grid; gap: .1rem; font-style: normal; margin-top: auto; }
.say cite strong { font-size: .92rem; }
.say cite span { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- quote form (ink) ---------- */

.quote { background: var(--ink); color: var(--paper); padding-block: var(--sec); }
.quote h2 { color: var(--paper); }
.quote__in { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.quote__sub { color: var(--muted-lt); font-size: 1.08rem; max-width: 44ch; margin-top: 1.25rem; }
.quote__pitch { position: sticky; top: 110px; }

.quote__or {
  margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line-lt);
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.25rem;
}
.quote__or span { font-size: .9rem; color: var(--muted-lt); }
.quote__or a { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--rust); padding-bottom: 2px; }
.quote__or a:hover { color: #e8703f; }

.form {
  position: relative;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: .82rem; font-weight: 600; letter-spacing: .01em; padding: 0; }

.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r);
  padding: .72rem .85rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200,71,31,.16);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(20,20,20,.35); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141414' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 11px; padding-right: 2.2rem; }
.field input[aria-invalid="true"] { border-color: var(--rust); }
.err { color: var(--rust); font-size: .78rem; min-height: 0; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .2rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.pill span {
  display: block; border: 1.5px solid var(--line); border-radius: 100px;
  padding: .5rem 1rem; font-size: .875rem; font-weight: 500; cursor: pointer;
  transition: all .15s ease; user-select: none;
}
.pill span:hover { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill input:focus-visible + span { outline: 3px solid var(--rust); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; }
.form__fine { margin: .9rem 0 0; font-size: .78rem; color: var(--muted); text-align: center; }

.form__done[hidden] { display: none; }
.form__done {
  position: absolute; inset: 0; background: var(--paper);
  display: grid; align-content: center; justify-items: center; text-align: center;
  padding: 2rem; border-radius: var(--r); gap: .5rem;
}
.form__done h3 { font-size: 1.9rem; }
.form__done p { color: var(--muted); max-width: 34ch; margin: 0; }
.form__done::before {
  content: ""; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 50%;
  background: var(--rust) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l5 5L20 6' stroke='%23fff' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 60% no-repeat;
}

/* ---------- faq ---------- */

.faq { padding-block: var(--sec); }
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq .sec-head { margin-bottom: 0; position: sticky; top: 110px; }

.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-weight: 600; font-size: 1.08rem; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after,
.faq summary::before {
  content: ""; position: absolute; right: .25rem; top: 50%; background: var(--rust);
  transition: transform .22s ease, opacity .22s ease;
}
.faq summary::before { width: 14px; height: 2px; margin-top: -1px; }
.faq summary::after  { width: 2px; height: 14px; margin-top: -7px; right: .6rem; }
.faq details[open] summary::after { transform: rotate(90deg); opacity: 0; }
.faq summary:hover { color: var(--rust); }
.faq details p { margin: 0 0 1.5rem; color: var(--muted); max-width: 62ch; }

/* ---------- final cta ---------- */

.cta { background: var(--rust); color: #fff; padding-block: clamp(3.5rem, 7vw, 6rem); }
.cta__in { text-align: center; display: grid; justify-items: center; }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { margin-top: 1.1rem; color: rgba(255,255,255,.86); max-width: 48ch; font-size: 1.1rem; }
.cta__btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }
.cta .btn--solid { --bg: var(--ink); --bd: var(--ink); --fg: var(--paper); }
.cta .btn--solid:hover { --bg: #000; --bd: #000; }
.cta .btn--line { --fg: #fff; --bd: rgba(255,255,255,.55); }
.cta .btn--line:hover { --bg: #fff; --fg: var(--rust); --bd: #fff; }

/* ---------- footer ---------- */

.foot { background: var(--ink); color: var(--paper); padding-top: clamp(3rem, 6vw, 4.5rem); }
.foot__in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.foot__brand p { color: var(--muted-lt); font-size: .92rem; max-width: 34ch; margin-top: 1.1rem; }
.foot__col h3 { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #e8703f; font-weight: 400; margin-bottom: 1.1rem; }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot__col li, .foot__col a { font-size: .92rem; color: var(--muted-lt); text-decoration: none; }
.foot__col a:hover { color: var(--paper); }
.foot__areas { grid-template-columns: 1fr 1fr; }

.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  border-top: 1px solid var(--line-lt); padding-block: 1.5rem;
}
.foot__base p { margin: 0; font-size: .8rem; color: rgba(244,241,234,.45); }

/* ---------- mobile call bar ---------- */

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 1px; background: var(--line-lt);
  transform: translateY(100%); transition: transform .28s ease;
  box-shadow: 0 -8px 30px -12px rgba(20,20,20,.35);
}
.callbar.is-up { transform: translateY(0); }
.callbar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1.05rem .5rem; text-decoration: none; font-weight: 600; font-size: .98rem;
}
.callbar__tel { background: var(--ink); color: var(--paper); }
.callbar__tel svg { width: 17px; height: 17px; fill: #e8703f; }
.callbar__quote { background: var(--rust); color: #fff; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .tile:hover img { transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  /* copy first: the headline and the CTAs earn their place above the fold, the photo does not */
  .hero__in { grid-template-columns: 1fr; align-items: start; }
  .hero__shot { margin-top: 1rem; }
  .hero__shot img { aspect-ratio: 16 / 10; }
  .chip-card { left: auto; right: 1rem; bottom: 1rem; }
  .about__in, .faq__in, .quote__in { grid-template-columns: 1fr; }
  .quote__pitch, .faq .sec-head { position: static; }
  .faq .sec-head { margin-bottom: 2rem; }
  .grid, .says__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav, .head__cta { display: none; }
  .burger { display: grid; }

  .head.is-open .nav {
    display: grid; gap: .25rem;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gut) 1.5rem; margin: 0;
    box-shadow: 0 20px 40px -24px rgba(20,20,20,.4);
  }
  .head.is-open .nav a { padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .head.is-open .nav a::after { display: none; }
  .head.is-open .head__cta { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; position: absolute; top: calc(76px + 17rem); left: 0; right: 0; background: var(--paper); padding: 0 var(--gut) 1.5rem; }
  .head.is-open .head__tel { justify-content: center; padding: .5rem 0; }

  .callbar { display: flex; }
  body { padding-bottom: 0; }
  main { padding-bottom: 3.5rem; }

  .stats__in { grid-template-columns: 1fr 1fr; }
  .stat { border-top: 1px solid var(--line); padding-inline: 0 1rem; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(even) { padding-left: 1.5rem; }
  .stat:first-child, .stat:nth-child(2) { border-top: 0; }
}

@media (max-width: 700px) {
  .hero .ticks { grid-template-columns: 1fr; }
  .hero__btns { flex-direction: column; align-items: stretch; }
  .cta__btns { flex-direction: column; align-self: stretch; }
  .svc__item { grid-template-columns: 3rem 1fr; }
  .svc__link { grid-column: 2; justify-self: start; margin-top: .9rem; }
  .grid, .says__grid, .steps, .creds { grid-template-columns: 1fr; }
  .steps { border: 0; }
  .step { border-bottom: 1px solid var(--line-lt); }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .foot__in { grid-template-columns: 1fr; gap: 2rem; }
  .chip-card { left: 1rem; right: auto; }
}
