/* ==========================================================================
   MF Floors — homepage
   ========================================================================== */

:root {
  --bg: #F7F5F1;
  --text: #151515;
  --accent: #C8102E;
  --border: #E2DDD4;

  --accent-hover: #A30C24;
  --white: #fff;
  --dark: #0F0F0F;
  --dark-2: #1A1A1A;
  --placeholder: #D9D3C8;
  --muted: #5C5850;
  --muted-strong: #4A4741;
  --muted-soft: #6B665D;
  --input-line: #BDB6AA;

  --font: Manrope, system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --section-y: clamp(90px, 11vw, 170px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-wipe: cubic-bezier(.7, 0, .2, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
input, textarea, select, button { font-family: inherit; }
::selection { background: var(--accent); color: var(--white); }

.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Absolute cover image (replaces <image-slot>) */
.cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

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

/* ---------- Shared pieces ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.eyebrow--lg { margin-bottom: 28px; }
/* Hero H1 uses the eyebrow look: reset heading margins, keep the eyebrow spacing below */
h1.eyebrow { margin-top: 0; margin-inline: 0; text-transform: uppercase; }
.eyebrow--muted { color: #B8B2A8; }

.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  border-radius: 2px;
  white-space: nowrap;
  transition: all .25s;
}
.btn--arrow { display: inline-flex; align-items: center; gap: 14px; }
.btn--primary {
  background: var(--accent);
  color: var(--white);
  padding: 20px 28px;
  transition: background .25s;
}
.btn--primary:hover { background: var(--accent-hover); color: var(--white); }
.btn--outline {
  border: 1px solid var(--text);
  color: var(--text);
  padding: 19px 26px;
}
.btn--outline:hover { background: var(--text); color: var(--white); }
.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, .6);
  color: var(--white);
  padding: 19px 26px;
}
.btn--outline-light:hover { background: var(--white); color: var(--text); }
.btn--sm { font-size: 12px; padding: 16px 22px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(56px, 6vw, 96px);
}

.title-xl {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 84px);
  line-height: .95;
  font-weight: 700;
  letter-spacing: -.04em;
}
.title-lg {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.035em;
}

.photo-tag {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--white);
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  pointer-events: none;
}

.anchor-offset { scroll-margin-top: var(--header-h); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 241, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .4s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform-origin: 0 50%;
  scale: 0 1;
  pointer-events: none;
}

.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: block; flex: none; }
.logo img { width: 150px; height: 48px; object-fit: contain; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 36px);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
}
.header-actions { display: flex; align-items: center; gap: 28px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
}
.header-phone::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.header-mobile { display: none; align-items: center; gap: 10px; }
.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-btn--call, .icon-btn--call:hover { background: var(--accent); color: var(--white); }
.menu-toggle {
  border: 1px solid var(--text);
  background: transparent;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  background: var(--dark);
  color: var(--white);
  padding: 20px 24px calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 52px;
}
.mobile-menu__label { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: #9A958C; }
.mobile-menu__close {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #3A3A3A;
  background: transparent;
  color: var(--white);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.mobile-menu__nav { display: flex; flex-direction: column; margin-top: 28px; flex: 1; }
.mobile-menu__nav a, .mobile-menu__nav a:hover {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #262626;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--white);
}
.mobile-menu__nav span { font-size: 13px; color: #6F6A62; font-weight: 600; }
.mobile-menu__actions { display: grid; gap: 10px; }
.mobile-menu__actions a {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 20px;
  border-radius: 2px;
  color: var(--white);
}
.mobile-menu__actions .is-primary { background: var(--accent); }
.mobile-menu__actions .is-outline { border: 1px solid #3A3A3A; }

/* ---------- Hero (full-bleed) ---------- */
.hero {
  position: relative;
  min-height: clamp(620px, calc(100vh - 84px), 1000px);
  background: var(--dark-2);
  display: flex;
  align-items: flex-end;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 12, 12, .82) 0%, rgba(12, 12, 12, .5) 50%, rgba(12, 12, 12, .1) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(40px, 6vw, 80px);
  color: var(--white);
}
.hero__title {
  margin: 0;
  font-size: clamp(44px, 6vw, 92px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.035em;
}
.hero__lead {
  margin: 28px 0 0;
  max-width: 460px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
  color: #E4E0D8;
}
.service-area {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding: 14px 22px 14px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(15, 15, 15, .55);
  width: fit-content;
  max-width: 100%;
}
.service-area svg { flex: none; }
.service-area__label { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: #CFCAC0; }
.service-area__value {
  margin-top: 2px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--white);
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  font-size: 13px;
  font-weight: 600;
  color: #CFCAC0;
}
.hero__tags .dot { color: var(--accent); }

/* ---------- Trust ---------- */
.trust { padding: clamp(80px, 10vw, 150px) 0; }
.trust__head {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 96px);
  align-items: flex-end;
}
.trust__title {
  flex: 1 1 440px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.03em;
}
.trust__title span { color: var(--accent); }
.trust__lead {
  flex: 1 1 380px;
  margin: 0;
  max-width: 520px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--muted-strong);
  text-wrap: pretty;
}
.trust__features {
  margin-top: clamp(56px, 6vw, 88px);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  border-top: 1px solid var(--text);
}
.trust__item {
  padding: 32px 32px 0 0;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.trust__item svg { flex: none; }
.trust__item-title { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.trust__item-text { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- About ---------- */
.about { padding: 0 0 clamp(100px, 12vw, 180px); }
.about__inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(72px, 8vw, 128px);
  align-items: center;
}
.about__media {
  flex: 1.2 1 480px;
  position: relative;
  padding-bottom: clamp(48px, 6vw, 80px);
}
.about__img-large {
  position: relative;
  width: 80%;
  aspect-ratio: 4 / 5;
  background: var(--placeholder);
  overflow: hidden;
}
.about__img-large img { object-position: 50% 19%; }
.about__img-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1 / 1;
  background: #CFC8BB;
  outline: 10px solid var(--bg);
  overflow: hidden;
}
.about__img-small img { object-position: 50% 20%; }
.about__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #8A847A;
}
.about__copy { flex: 1 1 400px; max-width: 540px; }
.about__title {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.about__lead { margin: 32px 0 0; font-size: 18px; line-height: 1.65; text-wrap: pretty; }
.about__text { margin: 18px 0 0; font-size: 16px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.about__copy .btn { margin-top: 40px; gap: 16px; }

/* ---------- Services ---------- */
.services { background: var(--white); padding: var(--section-y) 0; }
.services__intro { margin: 0; max-width: 400px; font-size: 17px; line-height: 1.6; color: var(--muted); }

.services__group-a {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 5vw, 80px);
  align-items: stretch;
}
.services__feature {
  flex: 1.5 1 520px;
  position: relative;
  min-height: clamp(380px, 46vw, 680px);
  background: var(--placeholder);
  overflow: hidden;
}
.services__list {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.services__group-b {
  margin-top: clamp(56px, 6vw, 96px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  column-gap: clamp(32px, 4vw, 64px);
}

.svc-item, .svc-item:hover {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 30px 0;
  border-top: 1px solid var(--border);
  color: var(--text);
}
.svc-item > span { transition: transform .3s var(--ease); }
.svc-item:hover > span:not(.svc-item__arrow) { transform: translateX(8px); }
.svc-item__num { font-size: 13px; font-weight: 700; color: var(--accent); }
.svc-item__name { display: block; font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -.02em; }
.svc-item__desc { display: block; margin-top: 8px; max-width: 360px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.svc-item__arrow { font-size: 18px; color: var(--accent); }

.services__group-c { margin-top: clamp(80px, 10vw, 150px); }
.services__wide {
  position: relative;
  aspect-ratio: 21 / 8;
  min-height: 240px;
  width: 100%; /* definite width: min-height can't widen the box via aspect-ratio on small screens */
  background: var(--placeholder);
  overflow: hidden;
}
.services__wide img { object-position: 50% 52%; }
.services__wide-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-top: 28px;
}
.services__wide-name { display: flex; gap: 12px; align-items: baseline; }
.services__wide-name .svc-item__num { width: 44px; }
.services__wide-name .svc-item__name { display: inline; }
.services__wide-row p { margin: 0; max-width: 460px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Featured flooring ---------- */
.featured {
  background: var(--dark);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.featured__copy {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 9vw, 140px) clamp(20px, 4vw, 80px) clamp(80px, 9vw, 140px) max(var(--gutter), calc((100vw - 1440px) / 2 + 56px));
}
.featured__title {
  margin: 0;
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.featured__lead { margin: 28px 0 0; max-width: 420px; font-size: 17px; line-height: 1.65; color: #BDB8AF; }
.featured__copy .btn { margin-top: 40px; }
.featured__media {
  flex: 1.6 1 560px;
  position: relative;
  min-height: clamp(420px, 62vw, 820px);
  background: #232323;
}

/* ---------- Recent projects ---------- */
.work { background: var(--white); padding: var(--section-y) 0; }
.work .section-head { margin-bottom: clamp(40px, 4vw, 56px); }
.work__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(110px, 10.5vw, 160px);
  grid-auto-flow: dense;
  gap: clamp(10px, 1.2vw, 18px);
}
.work__item {
  position: relative;
  overflow: hidden;
  background: var(--placeholder);
  grid-column: span 3;
  grid-row: span 3;
}
.work__item:nth-child(1) { grid-column: span 6; grid-row: span 6; }
.work__item:nth-child(6) { grid-column: span 8; grid-row: span 4; }
.work__item:nth-child(7) { grid-column: span 4; grid-row: span 4; }
.work__item img { transition: transform .9s var(--ease); }
.work__item:nth-child(1) img, .work__item:nth-child(4) img { object-position: 50% 55%; }
.work__item:nth-child(3) img, .work__item:nth-child(6) img { object-position: 50% 45%; }
.work__item:nth-child(5) img { object-position: 50% 72%; }
.work__item:nth-child(2) img { object-position: 50% 22%; }
.work__item:hover img { transform: scale(1.035); }
.work__label {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  background: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  pointer-events: none;
}
.work__label span:first-child { color: var(--accent); }
.work__more { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }

/* ---------- Before / after (inactive until real photos are added) ---------- */
.ba { padding: 0 0 var(--section-y); background: var(--white); }
.ba__frame {
  --ba: 50%;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--placeholder);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.ba__before { clip-path: inset(0 calc(100% - var(--ba)) 0 0); }
.ba__frame .photo-tag--right { left: auto; right: 0; }
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba);
  width: 2px;
  margin-left: -1px;
  background: var(--white);
  border: 0;
  padding: 0;
  cursor: ew-resize;
}
.ba__handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.ba__handle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- Cleaning band ---------- */
.cleaning {
  background: var(--dark);
  color: var(--white);
  border-top: 4px solid var(--accent);
  padding: clamp(56px, 7vw, 96px) 0;
}
.cleaning__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
}
.cleaning__copy { flex: 1 1 420px; }
.cleaning__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.04em;
}
.cleaning__text { margin: 20px 0 0; max-width: 520px; font-size: 17px; line-height: 1.6; color: #BDB8AF; }

/* ---------- Editorial statement ---------- */
.statement {
  position: relative;
  min-height: clamp(520px, 80vh, 880px);
  background: var(--dark-2);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.statement::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .55);
  pointer-events: none;
}
.statement__content {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  color: var(--white);
}
.statement__bar { width: 48px; height: 2px; background: var(--accent); margin-bottom: 36px; }
.statement__title {
  margin: 0;
  font-size: clamp(40px, 7vw, 120px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.statement__sub { display: block; margin-top: .12em; color: #E9E5DE; font-weight: 500; }

/* ---------- Why ---------- */
.why { padding: var(--section-y) 0; }
.why__inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(48px, 6vw, 96px);
  align-items: flex-start;
}
.why__intro { flex: 1 1 360px; position: sticky; top: 120px; }
.why__title {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -.035em;
}
.why__intro .btn { margin-top: 40px; }
.why__list { flex: 1.4 1 480px; }
.why__item {
  display: grid;
  grid-template-columns: clamp(72px, 9vw, 128px) 1fr;
  gap: 20px;
  padding: clamp(28px, 3vw, 40px) 0;
  border-top: 1px solid #D6D0C5;
  align-items: baseline;
}
.why__num { font-size: clamp(40px, 5vw, 72px); font-weight: 300; letter-spacing: -.04em; line-height: .9; }
.why__item-title { margin: 0; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.02em; }
.why__item-text { margin-top: 8px; max-width: 440px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Process ---------- */
.process { background: var(--text); color: var(--white); padding: var(--section-y) 0; }
.process .section-head { margin-bottom: clamp(56px, 7vw, 104px); }
.process__call, .process__call:hover {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 6px;
}
.process__call:hover { border-color: var(--white); }
.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.process__line {
  position: absolute;
  background: #3A3A3A;
  left: 28px;
  right: 12%;
  top: 28px;
  height: 1px;
}
.process__step { position: relative; display: flex; flex-direction: column; gap: 32px; }
.process__dot {
  flex: none;
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--text);
  border: 1px solid #5A5A5A;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.process__step:last-child .process__dot { background: var(--accent); border-color: var(--accent); }
.process__body { padding-right: 24px; }
.process__title { margin: 0; font-size: clamp(20px, 1.7vw, 24px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.process__text { margin-top: 10px; max-width: 280px; font-size: 15px; line-height: 1.6; color: #AFA9A0; }

/* ---------- Reviews ---------- */
.reviews { background: #EEEAE3; padding: var(--section-y) 0; }
.reviews .section-head { margin-bottom: clamp(48px, 6vw, 88px); }
.reviews__note { font-size: 14px; font-weight: 600; color: var(--muted); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  border-top: 1px solid var(--text);
}
.review {
  margin: 0;
  padding: clamp(32px, 3vw, 44px) clamp(0px, 2.4vw, 40px) 8px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 320px;
}
.review__stars { color: var(--accent); font-size: 18px; letter-spacing: 4px; }
.review blockquote {
  margin: 0;
  flex: 1;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -.01em;
}
.review figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #D2CBBF;
}
.review__who { display: flex; flex-direction: column; gap: 2px; }
.review__name { font-size: 15px; font-weight: 700; }
.review__job { font-size: 13px; color: var(--muted-soft); }
.review__flag { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted-soft); }
.reviews__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 48px;
  padding-top: clamp(32px, 3vw, 44px);
  border-top: 1px solid var(--text);
}
.reviews__text {
  margin: 0;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -.01em;
}

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--dark); color: var(--white); overflow: hidden; }
.cta > img { object-position: 50% 32%; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 10, 10, .72);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(100px, 13vw, 200px) var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.cta__head { flex: 1 1 520px; }
.cta__title {
  margin: 0;
  font-size: clamp(40px, 6vw, 96px);
  line-height: .95;
  font-weight: 700;
  letter-spacing: -.04em;
}
.cta__title span { color: var(--accent); }
.cta__body { flex: 0 1 420px; }
.cta__body p { margin: 0; font-size: 18px; line-height: 1.6; color: #D9D4CB; }
.cta__body .btn-row { margin-top: 32px; }

/* ---------- Estimate + contact ---------- */
.estimate { padding: var(--section-y) 0; }
.estimate__inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(56px, 7vw, 120px);
  align-items: flex-start;
}
.estimate__main { flex: 1.6 1 520px; min-width: 0; }

.estimate-form {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  column-gap: 32px;
  row-gap: 36px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.field input, .field textarea {
  border: 0;
  border-bottom: 1px solid var(--input-line);
  border-radius: 0;
  background: transparent;
  padding: 12px 0;
  font-size: 18px;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}
.field textarea { line-height: 1.5; resize: vertical; }
.field input[type="file"] { font-size: 15px; color: var(--muted); cursor: pointer; }
.field-group { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field__hint { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted-soft); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--text); }

.chips { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.chips legend { padding: 0; margin-bottom: 14px; }
.chips__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--input-line);
  border-radius: 40px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.chip input:checked + span { background: var(--text); color: var(--white); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.estimate-form__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
}
.btn-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 24px 40px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  cursor: pointer;
  transition: background .25s;
}
.btn-submit:hover { background: var(--accent-hover); }
.estimate-form__alt { font-size: 14px; color: var(--muted-soft); }
.estimate-form__alt a, .estimate-form__alt a:hover { font-weight: 700; color: var(--text); }
.btn-submit:disabled { opacity: .6; cursor: wait; }
.estimate-form__status { grid-column: 1 / -1; margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; }
.estimate-form__status:empty { display: none; }
.estimate-form__status.is-success { color: var(--text); }
.estimate-form__status.is-error { color: var(--accent); }
.estimate-form__status a { text-decoration: underline; white-space: nowrap; }

.contact-card {
  flex: 1 1 320px;
  background: var(--text);
  color: var(--white);
  padding: clamp(32px, 3.4vw, 52px);
}
.contact-card__brand { font-size: 22px; font-weight: 800; letter-spacing: .02em; }
.contact-card__bar { width: 28px; height: 2px; background: var(--accent); margin: 20px 0 8px; }
.contact-card__row { padding: 22px 0; border-bottom: 1px solid #2C2C2C; }
.contact-card__row:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-card__label { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: #8E887E; }
.contact-card__value { display: block; margin-top: 8px; font-size: 18px; font-weight: 600; color: var(--white); }
a.contact-card__value:hover { color: var(--white); opacity: .8; }
.contact-card__value--phone { font-size: 22px; font-weight: 700; }
.contact-card__value--email { font-size: 16px; overflow-wrap: anywhere; }
.contact-card__value--muted { font-size: 16px; font-weight: 400; color: #CFCAC0; }

/* ---------- Footer ---------- */
.site-footer { background: #0A0A0A; color: var(--white); padding: clamp(72px, 8vw, 120px) 0 40px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 48px;
}
.site-footer__logo { width: 170px; height: 56px; object-fit: contain; }
.site-footer__about { margin: 24px 0 0; max-width: 260px; font-size: 15px; line-height: 1.6; color: #A39D93; }
.site-footer__heading { margin-bottom: 20px; font-size: 11px; font-weight: 700; letter-spacing: .2em; color: #7F796F; }
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #E6E2DA;
}
.site-footer__links a, .site-footer__links a:hover { color: #E6E2DA; }
.site-footer__links a.site-footer__phone, .site-footer__links a.site-footer__phone:hover { font-size: 20px; font-weight: 700; color: var(--white); }
.site-footer__email { overflow-wrap: anywhere; }
.site-footer .btn { margin-top: 28px; }
.site-footer__bottom {
  margin-top: clamp(64px, 7vw, 104px);
  padding-top: 28px;
  border-top: 1px solid #222;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: #7F796F;
}

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  grid-template-columns: 1fr auto 1.2fr;
  background: var(--dark);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .12);
}
.mobile-bar a, .mobile-bar a:hover {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  padding-inline: 12px;
  white-space: nowrap;
}
.mobile-bar a:nth-child(2) { border-left: 1px solid rgba(255, 255, 255, .14); padding-inline: 18px; }
.mobile-bar a:last-child { background: var(--accent); }

/* ---------- Hero scroll indicator ---------- */
.hero__scroll {
  position: absolute;
  z-index: 1;
  right: var(--gutter);
  bottom: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: #CFCAC0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  pointer-events: none;
}
.hero__scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, .25);
  overflow: hidden;
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(-100%);
}

/* ---------- Hover details (desktop pointers only) ---------- */
@media (hover: hover) and (min-width: 768px) {
  .services__feature img { transition: transform 1s var(--ease); }
  .services__feature:hover img { transform: scale(1.04); }
  .svc-item .svc-item__name { display: table; position: relative; }
  .svc-item .svc-item__name::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .5s var(--ease);
  }
  .svc-item:hover .svc-item__name::after { transform: scaleX(1); }
  .svc-item:hover .svc-item__arrow { transform: translateX(6px); }
}

/* ---------- Form focus line ---------- */
.field { position: relative; }
.field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
.field:focus-within::after { transform: scaleX(1); }

/* ---------- Lenis smooth scroll ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Scroll animations (js/animations.js) ----------
   Only active while <html> has .js-anim. Without JS, with reduced motion
   or if GSAP fails to load, none of this applies and everything is visible. */
.js-anim .hero { overflow: hidden; }
.js-anim .hero__title,
.js-anim .hero__content > *,
.js-anim .hero__scroll { opacity: 0; }
.js-anim .hero > img { transform: scale(1.15); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line__inner { display: block; }
.js-anim .hero__scroll i::after { animation: scroll-pulse 2.2s cubic-bezier(.7, 0, .2, 1) infinite; }
@keyframes scroll-pulse {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

.js-anim .work,
.js-anim .featured__media { overflow: hidden; }
.featured { position: relative; }
.featured__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg);
  pointer-events: none;
}
.featured__copy { position: relative; z-index: 1; }
.featured__media { z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
  .svc-item__arrow { transition: transform .4s var(--ease); }
  .field::after { transition: transform .45s var(--ease); }
}

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

/* Compact header: < 1100px */
@media (max-width: 1099.98px) {
  :root { --header-h: 72px; }
  .header-inner { height: 72px; }
  .logo img { width: 120px; height: 40px; }
  .main-nav, .header-actions { display: none; }
  .header-mobile { display: flex; }
}

/* Sticky "Why" intro only while it sits beside the list */
@media (max-width: 999.98px) {
  .why__intro { position: static; }
}

/* Vertical process: < 900px */
@media (max-width: 899.98px) {
  .process__steps { grid-template-columns: 1fr; gap: 40px; }
  .process__step { flex-direction: row; gap: 24px; }
  .process__line { left: 27px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; }
}

/* Mobile: < 760px */
@media (max-width: 759.98px) {
  /* Room for the fixed mobile bar goes inside the dark footer, not on <body> (which showed a light strip) */
  .site-footer { padding-bottom: calc(40px + 60px + env(safe-area-inset-bottom)); }
  .mobile-bar { display: grid; }

  .work__grid { grid-auto-rows: 96px; }
  .work__item { grid-column: span 6; grid-row: span 3; }
  .work__item:nth-child(1) { grid-column: span 12; grid-row: span 5; }
  .work__item:nth-child(6) { grid-column: span 12; grid-row: span 4; }
  .work__item:nth-child(7) { grid-column: span 12; grid-row: span 5; }

  .ba__frame { aspect-ratio: 4 / 5; }

  /* Buttons never wrap their text: in a row, a button that drops to its own line fills it */
  .btn-row .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
}

/* Small phones: standalone buttons take the full width instead of breaking the label */
@media (max-width: 479.98px) {
  .btn { display: flex; width: 100%; justify-content: center; text-align: center; }
  .mobile-bar a, .mobile-bar a:hover { letter-spacing: .08em; gap: 8px; }
}

/* Animations are skipped entirely by js/animations.js when reduced motion is requested */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
