/* LockedIn Construction – Bathroom renovations, Manawatu
   Tokens and rules follow the design handoff (README.md). Breakpoint: 640px. */

:root {
  --bg: #121110;
  --surface: #1b1916;
  --surface-band: #161412;
  --surface-deep: #191714;
  --surface-panel: #141211;
  --surface-warm: #1a1613;

  --ink: #f5f2ed;
  --ink-review: #eae6df;
  --ink-muted: #c8c1b7;
  --ink-3: #bdb5ab;
  --ink-4: #ada49a;
  --ink-trust: #a39b91;
  --ink-5: #938b82;
  --ink-6: #88817a;
  --ink-7: #78716a;
  --ink-8: #6e675f;

  --brass: #c69e60;
  --brass-light: #e0be86;
  --brass-dark: #8a6a32;
  --orange: #f4642a;
  --orange-hover: #ff7c45;
  --on-orange: #160b04;
  --star: #ffc24b;

  --cream: #f5f2ed;
  --cream-ink: #171513;
  --cream-alt: #eae5dd;

  --line: rgba(245, 242, 237, 0.09);
  --line-strong: rgba(245, 242, 237, 0.12);

  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --section-pt: clamp(76px, 13vw, 130px);
  --max: 1240px;
  --ease-reveal: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* clip, not hidden: hidden creates a scroll container and breaks the sticky header */
.page { overflow-x: clip; }

img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
a { color: var(--brass); text-decoration: none; }
a:hover { color: var(--brass-light); }
input, select, textarea, button { font-family: inherit; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--orange);
  color: var(--on-orange);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
}
.skip-link:focus { top: 12px; color: var(--on-orange); }

/* ---------- Shared type ---------- */

.serif { font-family: var(--serif); }

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(33px, 3.9vw, 48px);
  line-height: 1.16;
  margin-top: 16px;
}

.accent { font-style: italic; color: var(--brass); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn--primary,
.btn--primary:hover { color: var(--on-orange); }
.btn--primary { background: var(--orange); }
.btn--primary:hover { background: var(--orange-hover); }

.btn--sm { font-size: 14px; padding: 12px 20px; }
.btn--md { font-size: 15.5px; padding: 15px 24px; }
.btn--lg { font-size: 16px; padding: 17px 30px; }

.btn--outline {
  border: 1px solid rgba(245, 242, 237, 0.3);
  color: var(--ink);
  font-weight: 600;
  padding: 17px 26px;
}
.btn--outline:hover { border-color: var(--brass); color: var(--brass); }

/* Label swaps for the call buttons */
.only-narrow { display: none; }

/* ---------- Header ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 17, 16, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr__in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.hdr__brand {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 22px);
  min-width: 0;
}
.hdr__lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 0;
}
.hdr__logo { height: clamp(62px, 15vw, 101px); width: auto; margin-left: -7px; }
.hdr__powered {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-8);
}
.hdr__lbp { height: clamp(35px, 8vw, 73px); width: auto; flex-shrink: 0; }
.hdr__right { display: flex; align-items: center; gap: 22px; }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { color: var(--ink-4); }
.nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 0 20px clamp(40px, 5vw, 64px);
  overflow: hidden;
  background: var(--bg);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* poster shows until the first video frame paints (or if the video never loads) */
  background: var(--bg) url("/assets/img/hero-poster.webp") center / cover no-repeat;
}
.hero__scrim-x {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 17, 16, 0.78) 0%, rgba(18, 17, 16, 0.6) 48%, rgba(18, 17, 16, 0.3) 100%);
}
.hero__scrim-y {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18, 17, 16, 0.45) 0%, rgba(18, 17, 16, 0) 25%, rgba(18, 17, 16, 0.55) 100%);
}
.hero__in {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding-top: clamp(80px, 17vw, 210px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 26px;
}
.rating svg { flex-shrink: 0; }
.rating__stars { color: var(--star); font-size: 16px; letter-spacing: 2px; }
.rating__score { font-size: 15px; font-weight: 700; color: var(--ink); }
.rating__label { font-size: 14px; color: var(--ink-3); }

.h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(50px, 6.6vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 900px;
}
.hero__lede {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-3);
  margin-top: 22px;
  max-width: 620px;
  text-wrap: pretty;
}

/* ---------- Quote form ---------- */

.quote {
  width: 100%;
  max-width: 620px;
  margin: 44px auto 0;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: clamp(20px, 5vw, 30px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
@keyframes quotepulse {
  0% { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(244, 100, 42, 0); border-color: rgba(245, 242, 237, 0.12); }
  18% { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(244, 100, 42, 0.28), 0 0 46px 6px rgba(244, 100, 42, 0.45); border-color: rgba(244, 100, 42, 0.9); }
  55% { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 3px rgba(244, 100, 42, 0.16), 0 0 34px 3px rgba(244, 100, 42, 0.28); border-color: rgba(244, 100, 42, 0.55); }
  100% { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(244, 100, 42, 0); border-color: rgba(245, 242, 237, 0.12); }
}
.quote-glow { animation: quotepulse 2.1s cubic-bezier(0.3, 0.7, 0.3, 1) both; }

.quote__head {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.quote__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
}
.quote__count {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-5);
  white-space: nowrap;
}
.quote__bar {
  height: 3px;
  background: rgba(245, 242, 237, 0.1);
  border-radius: 99px;
  margin: 18px 0 22px;
  overflow: hidden;
}
.quote__fill {
  height: 100%;
  width: 25%;
  background: var(--orange);
  border-radius: 99px;
  transition: width 0.35s ease;
}

.quote-slot { display: flow-root; width: 100%; max-width: 620px; } /* min-height is set from JS: the tallest step */

.step { display: flex; flex-direction: column; gap: 10px; }
.step[hidden] { display: none; }
.step.is-entering { animation: stepin 0.2s ease both; }
@keyframes stepin { from { opacity: 0; } to { opacity: 1; } }
/* headings take programmatic focus on step change (for screen readers); no visible ring needed */
.step:focus,
.step [tabindex="-1"]:focus { outline: none; }
.step__q { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.step__q:focus { outline: none; }

.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: rgba(245, 242, 237, 0.045);
  border: 1px solid rgba(198, 158, 96, 0.26);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}
.opt--lg { padding: 15px 16px; }
.opt:focus-visible,
.opt:active {
  border-color: var(--orange);
  background: rgba(244, 100, 42, 0.11);
}
@media (hover: hover) {
  .opt:hover {
    border-color: var(--orange);
    background: rgba(244, 100, 42, 0.11);
    transform: translateY(-2px);
  }
}
.opt__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(198, 158, 96, 0.14);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -1px;
}
.opt--lg .opt__icon { width: 40px; height: 40px; }
.opt__icon--q { font-size: 17px; letter-spacing: 0; }
.opt__text { flex: 1; min-width: 0; }
.opt__sub {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #9c948a;
  margin-top: 3px;
}
.opt__arrow { color: var(--brass); font-size: 17px; }

.back {
  align-self: flex-start;
  margin-top: 4px;
  background: transparent;
  border: 0;
  color: var(--ink-5);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}
.back:hover { color: var(--ink); }

.details { gap: 14px; }
.details__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #ccc5bb;
}
.field input {
  background: #fff;
  border: 1px solid rgba(18, 17, 16, 0.18);
  border-radius: 10px;
  padding: 14px 15px;
  color: var(--cream-ink);
  font-size: 16px; /* 16px stops iOS zooming the page on focus */
  outline: none;
}
.field input::placeholder { color: var(--ink-5); }
.field input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244, 100, 42, 0.2);
}
.field input[aria-invalid="true"] { border-color: #e5484d; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.details__actions { display: flex; gap: 10px; margin-top: 2px; }
.details__back {
  background: transparent;
  color: var(--ink-4);
  border: 1px solid rgba(245, 242, 237, 0.2);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 18px;
  border-radius: 10px;
  cursor: pointer;
}
.details__back:hover { color: var(--ink); }
.details__submit { flex: 1; font-size: 16px; padding: 16px; }
.details__submit[disabled] { opacity: 0.7; cursor: progress; }

.form-error {
  font-size: 13.5px;
  line-height: 1.5;
  color: #ff9a9d;
  margin: 0;
}
.form-error[hidden] { display: none; }
.form-error a { color: inherit; text-decoration: underline; }
.form-note { font-size: 12px; color: var(--ink-6); text-align: center; margin: 2px 0 0; }
.form-consent {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-5);
  margin: 6px 0 0;
  text-wrap: pretty;
}

.success { padding: 34px 8px; text-align: center; }
.success[hidden] { display: none; }
.success__tick {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(198, 158, 96, 0.15);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 18px;
}
.success__title { font-family: var(--serif); font-weight: 700; font-size: 28px; margin-bottom: 10px; }
.success p { color: var(--ink-3); font-size: 15px; line-height: 1.6; }

/* ---------- Trust bar ---------- */

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-band);
}
.trust__in {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 56px) 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 34px 44px;
}
.trust__item { display: flex; flex-direction: column; gap: 6px; }
.trust__icon { height: 62px; display: flex; align-items: flex-end; margin-bottom: 12px; }
.trust__icon img { height: 62px; width: auto; }
.trust__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--brass);
  line-height: 1.15;
}
.trust__text { font-size: 14px; color: var(--ink-trust); line-height: 1.5; }

/* ---------- Sections ---------- */

.section { padding: var(--section-pt) 20px 0; }
.section__in { max-width: var(--max); margin: 0 auto; }
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.link-arrow {
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid rgba(198, 158, 96, 0.5);
  padding-bottom: 3px;
}

/* Reveal on scroll. Only hidden once main.js has confirmed it can reveal. */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-reveal), transform 0.7s var(--ease-reveal);
  will-change: opacity, transform;
}
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Gallery ---------- */

#work, #testimonials, #quote { scroll-margin-top: 150px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: clamp(300px, 26vw, 420px);
  gap: 18px;
  margin-top: 38px;
}
.tile {
  position: relative;
  min-width: 0;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-deep);
}
.tile--feature { grid-column: span 2; }

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 9, 8, 0.82) 0%, rgba(10, 9, 8, 0.25) 42%, rgba(10, 9, 8, 0) 68%);
}
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.tile__title { display: block; font-family: var(--serif); font-size: 23px; line-height: 1.25; color: var(--ink); }
.tile__text { display: block; font-size: 13.5px; color: var(--ink-muted); margin-top: 4px; line-height: 1.5; }

/* ---------- Testimonials ---------- */

.reviews { padding: var(--section-pt) 0 0; overflow: hidden; }
.reviews__in { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.reviews__score { display: flex; align-items: center; gap: 11px; }
.reviews__score .rating__stars { font-size: 16px; }
.reviews__score-text { font-size: 14px; color: var(--ink-4); }

.marquee {
  margin: 36px -24px 0;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee__track { display: flex; gap: 18px; width: max-content; padding: 0 9px; }
.marquee--run { overflow: hidden; }
.marquee--run .marquee__track { animation: marquee var(--marquee-duration, 90s) linear infinite; }
.marquee--run:hover .marquee__track,
.marquee--run:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(var(--marquee-shift, -50%)); } }

.review {
  flex: 0 0 auto;
  width: min(425px, 86vw);
  background: var(--surface);
  border: 1px solid rgba(245, 242, 237, 0.1);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review__stars { color: var(--star); font-size: 14px; letter-spacing: 2px; }
.review__quote {
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-review);
  margin-top: 16px;
  flex: 1;
}
.review__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.review__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(198, 158, 96, 0.14);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.review__meta { font-size: 13.5px; line-height: 1.4; }
.review__name { font-weight: 600; }
.review__src { color: var(--ink-5); }

/* ---------- Process ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 46px;
}
.steps__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-deep);
}
.steps__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steps__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  margin: 20px 0 10px;
}
.steps__text { font-size: 14.5px; line-height: 1.65; color: var(--ink-4); }

/* ---------- Why us ---------- */

.why__intro { max-width: 760px; }
.why__intro p { font-size: 17px; line-height: 1.7; color: var(--ink-3); margin-top: 16px; text-wrap: pretty; }
.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 46px;
  align-items: start;
}
.panel {
  border: 1px solid rgba(245, 242, 237, 0.1);
  border-radius: 18px;
  padding: 8px 8px 10px;
  background: var(--surface-panel);
  list-style: none;
  margin: 0;
}
.panel--us {
  border-color: rgba(198, 158, 96, 0.35);
  background: rgba(198, 158, 96, 0.07);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.panel__head {
  padding: 16px 20px 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-6);
}
.panel__head--logo { display: flex; align-items: center; padding: 16px 20px 14px; }
.panel__head--logo img { height: 42px; width: auto; margin: -4px 0; }
.panel__row {
  display: flex;
  gap: 13px;
  padding: 15px 20px;
  border-top: 1px solid rgba(245, 242, 237, 0.07);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-5);
}
.panel__mark { flex-shrink: 0; font-size: 15px; line-height: 1.5; color: var(--ink-7); }
.panel--us .panel__row { border-top-color: rgba(198, 158, 96, 0.16); color: #efebe4; }
.panel--us .panel__mark { color: var(--brass); }

.why__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 20px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
}
.why__bar span { font-size: 16px; color: var(--ink-muted); }

/* ---------- About ---------- */

.about {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--cream);
  color: var(--cream-ink);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 44px;
  align-items: center;
}
.about__photo {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream-alt);
}
.about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.about__body { min-width: 0; }
.about .eyebrow { color: var(--brass-dark); }
.about__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(31px, 3.5vw, 44px);
  line-height: 1.16;
  margin: 16px 0 18px;
}
.about__body p { font-size: 16.5px; line-height: 1.7; color: #534c46; margin: 0 0 16px; text-wrap: pretty; }
.about__body p:last-of-type { margin-bottom: 0; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(19, 24, 27, 0.14);
}
.stats dt {
  font-family: var(--serif);
  font-size: 34px;
  color: var(--brass-dark);
  line-height: 1;
}
.stats dd { font-size: 13px; color: #746d66; margin: 6px 0 0; }
.stats div { margin: 0; }

/* ---------- Final CTA ---------- */

.cta {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(198, 158, 96, 0.25);
  background: var(--surface-warm);
}
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 17, 16, 0.86) 0%, rgba(18, 17, 16, 0.8) 55%, rgba(18, 17, 16, 0.9) 100%);
}
.cta__in {
  position: relative;
  padding: clamp(40px, 6vw, 76px) clamp(28px, 5vw, 68px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cta__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(33px, 4vw, 50px);
  line-height: 1.14;
  max-width: 780px;
}
.cta__lede { font-size: 17px; line-height: 1.7; color: var(--ink-muted); margin-top: 18px; max-width: 520px; text-wrap: pretty; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.cta__hours { font-size: 13.5px; color: #9c948a; margin-top: 22px; }

/* ---------- Footer ---------- */

.ftr {
  margin-top: var(--section-pt);
  border-top: 1px solid var(--line);
  padding: 34px 20px 110px;
}
.ftr__in { max-width: var(--max); margin: 0 auto; }
.ftr__row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.ftr__logo { height: 85px; width: auto; opacity: 0.85; }
.ftr__text { font-size: 13px; color: var(--ink-6); max-width: 420px; text-align: right; }
.ftr__text a { color: var(--ink-6); text-decoration: underline; text-decoration-color: rgba(136, 129, 122, 0.4); }
.ftr__text a:hover { color: var(--ink); }
.ftr__legal { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(245, 242, 237, 0.07); }
.ftr__legal p { font-size: 12px; line-height: 1.65; color: var(--ink-5); max-width: 820px; text-wrap: pretty; }
.ftr__legal a { color: var(--ink-5); text-decoration: underline; text-decoration-color: rgba(147, 139, 130, 0.4); }
.ftr__legal a:hover { color: var(--ink); }

/* ---------- Sticky CTA bar ---------- */

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 60;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.sticky.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}
.sticky a {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
.sticky__call {
  background: rgba(18, 17, 16, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 242, 237, 0.28);
  color: var(--ink);
  font-weight: 600;
}
.sticky__call:hover { color: var(--ink); border-color: var(--brass); }

/* ---------- Legal pages ---------- */

.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 20px 0; }
.doc h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 48px); line-height: 1.12; margin-bottom: 8px; }
.doc .doc__meta { color: var(--ink-5); font-size: 14px; margin-bottom: 36px; }
.doc h2 { font-family: var(--serif); font-size: 24px; margin: 34px 0 10px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; color: var(--ink-3); }
.doc ul { padding-left: 20px; margin: 10px 0; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc li + li { margin-top: 8px; }
.doc p + p { margin-top: 12px; }

/* ---------- Narrow (< 640px) ---------- */

@media (max-width: 639.98px) {
  .hdr { position: static; }
  .hdr__lbp,
  .nav,
  .rating__label { display: none; }
  .hdr__powered { font-size: 7.5px; }

  .only-narrow { display: inline; }
  .only-wide { display: none; }

  .quote__head { flex-direction: column-reverse; align-items: center; gap: 8px; text-align: center; }
  .quote__title { font-size: 26px; }

  .ftr__text { text-align: left; }
  .marquee { --marquee-duration: 180s; }
  .hero__video { background-image: url("/assets/img/hero-poster-mobile.webp"); }
  .gallery { grid-template-columns: 1fr; }
  .tile--feature { grid-column: auto; }
}

@media (max-width: 370px) {
  .step__q { min-height: 2.6em; }
}

/* Anchor offset only matters where the header is sticky */
@media (max-width: 639.98px) {
  #work, #testimonials { scroll-margin-top: 16px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; transition: none; }
  .quote-glow { animation: none; }
  .marquee--run { overflow-x: auto; }
  .marquee--run .marquee__track { animation: none; }
  .step.is-entering { animation: none; }
  .opt:hover, .opt:focus-visible { transform: none; }
}
