.home-hero {
  height: auto;
  padding-block: clamp(18px, 2.65vw, 39px);
  color: var(--ink);
  background: var(--paper);
}

.home-hero::after { content: none; }

.home-hero .hero-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.5vw, 24px);
}

.home-hero-picture {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: end;
  min-height: clamp(430px, 37vw, 570px);
  border-radius: 17px;
  background: #483a31;
  color: #fffdfa;
}

.home-hero-picture .hero-image {
  inset: -12px 0;
  height: calc(100% + 24px);
  object-position: 59% 50%;
  transform: translateY(var(--hero-drift, 0px));
}

.home-hero-picture::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(9deg, #191512e8, #211a14ad 34%, #251d185e 65%, transparent 92%);
}

.home-hero .hero-copy {
  width: 100%;
  padding: clamp(23px, 3.2vw, 51px);
  padding-bottom: clamp(36px, 3.3vw, 58px);
}

.home-hero .hero-location { margin-bottom: 13px; }
.home-hero :is(h1, .quiet-walls-title) {
  margin: 0;
  font-size: clamp(34px, 7vw, 70px);
  font-weight: 760;
  line-height: .92;
  letter-spacing: -.071em;
  text-wrap: balance;
}
.home-hero .hero-lead {
  max-width: 400px;
  margin-block: 17px 19px;
  font-size: clamp(15px, 1.36vw, 19px);
}
.home-hero .hero-actions { gap: 8px 19px; }
.home-hero .hero-actions .text-button {
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid #fffdfa73;
}
.home-hero .hero-actions .text-button:hover { border-color: currentColor; }
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 37px;
  color: #fffdfa;
  font-size: 14px;
  font-weight: 630;
}
.hero-rating > span { color: var(--cream); }

.quiet-walls {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: start;
  padding: clamp(23px, 3.2vw, 51px);
  background: #49392c;
  text-shadow: 0 1px 14px rgb(26 17 10 / 38%);
}

.quiet-walls-image {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 52%;
}

.quiet-walls::after {
  background: linear-gradient(112deg, rgb(28 21 16 / 26%), rgb(28 21 16 / 16%) 55%, transparent 87%);
}

.quiet-walls-copy {
  align-self: end;
  margin-bottom: clamp(23px, 3.15vw, 48px);
}

.quiet-walls-tagline {
  margin-top: 12px;
  font-size: 19px;
  line-height: 1.35;
}

.quiet-walls-status {
  justify-self: center;
  font-size: 40px;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.038em;
  text-align: center;
  text-wrap: balance;
}

.home-catalog {
  padding-block: clamp(16px, 2.4vw, 34px) clamp(45px, 5.5vw, 78px);
  background: var(--paper);
}

.home-catalog .section-head,
.home-projects .section-head {
  align-items: baseline;
  margin-bottom: clamp(17px, 2.25vw, 29px);
}

.home-catalog-group + .home-catalog-group {
  margin-top: clamp(28px, 3.8vw, 50px);
}

.home-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(9px, 1.35vw, 18px);
}

.home-catalog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  text-decoration: none;
  transition: border-color .2s ease;
}

.home-catalog-card:hover { border-color: var(--red); }
.home-catalog-card:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.home-catalog-card:disabled { cursor: default; }
.home-catalog-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.95;
  object-fit: cover;
  object-position: center 36%;
  background: var(--sand);
}

.home-catalog-card span {
  display: flex;
  align-items: center;
  flex: 1;
  min-height: 46px;
  padding: 9px clamp(9px, 1.35vw, 17px);
  font-size: clamp(13px, 1.23vw, 17px);
  font-weight: 690;
  line-height: 1.28;
}

.home-projects {
  padding-block: clamp(39px, 5vw, 72px);
  background: var(--white);
}

.home-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(11px, 1.5vw, 21px);
}

.home-project {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: clamp(15px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.home-project-plan {
  display: block;
  justify-self: end;
  width: 100%;
  height: clamp(111px, 15.15vw, 205px);
  object-fit: contain;
  object-position: center;
}

.home-project-body h3 {
  font-size: clamp(16px, 1.75vw, 26px);
  line-height: 1.13;
}

.home-project-area {
  margin-top: 6px;
  color: var(--muted);
  font-size: clamp(13px, 1.14vw, 16px);
}

.home-project-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  margin-block: 8px 14px;
  font-variant-numeric: tabular-nums;
}

.home-project-amount strong {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -.034em;
}
.home-project-amount span { color: var(--muted); font-size: 14px; }
.home-project-body .button {
  min-height: 43px;
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 14px;
}

.home-project-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.home-project-extras,
.home-review-extras {
  margin-top: 21px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.home-project-extras > summary,
.home-review-extras > summary {
  cursor: pointer;
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  padding-block: 8px;
  color: var(--red);
  font-weight: 650;
}
.home-project-extras .work-grid { margin-top: 9px; }
.home-project-extras > .under-link { margin-top: 16px; }

.home-reviews h2, .home-faq h2 { font-size: clamp(34px, 4.45vw, 67px); }

.home-reviews {
  background: var(--sand);
  padding-block: clamp(45px, 5.5vw, 85px);
}
.home-review-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.home-review-rating {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px 16px;
  border: 1px solid #cfc6b8;
  border-radius: 12px;
  padding: 12px 15px;
  background: var(--white);
}
.home-review-rating:hover { border-color: var(--red); }
.home-review-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--red);
  color: white;
  font-size: 20px;
  line-height: 1;
}
.home-review-rating > div { display: grid; }
.home-review-rating strong { font-size: 25px; line-height: 1.1; letter-spacing: -.04em; }
.home-review-rating small { font-size: 11px; color: var(--muted); }
.home-review-rating .under-link { grid-column: 1 / -1; margin-top: 2px; font-size: 12px; }
.home-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}
.home-review {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  min-height: 190px;
  border-radius: 12px;
  border: 1px solid #d8d0c4;
  background: var(--white);
  padding: clamp(15px, 1.95vw, 27px);
}
.home-review-stars { color: #8b5708; letter-spacing: 2px; font-size: 15px; line-height: 1.2; }
.home-review h3 { font-size: clamp(16px, 1.5vw, 23px); }
.home-review p { margin-bottom: 3px; color: var(--muted); font-size: 14px; line-height: 1.44; }
.home-review footer {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.home-review-extras .home-review-grid { margin-top: 9px; }
.home-review-links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 22px;
  margin-top: 15px;
}
.home-review-note { color: var(--muted); font-size: 12px; }
.home-review-links .under-link { font-size: 13px; }

.home-faq { background: var(--white); }

.home-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(22px, 5vw, 78px);
}

.home-faq-intro { max-width: 600px; }
.home-faq-intro > .under-link { margin-top: 15px; }

.home-faq-art {
  display: block;
  width: 100%;
  height: auto;
  margin-top: clamp(18px, 2.5vw, 34px);
  border-radius: 14px;
  background: var(--sand);
}

.home-faq-list { border-top: 1px solid var(--line); }
.home-faq-list details { border-bottom: 1px solid var(--line); }

.home-faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  align-items: center;
  gap: 14px;
  min-height: 49px;
  padding: 11px 3px;
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.3;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}

.home-faq-list summary::-webkit-details-marker { display: none; }

.home-faq-list summary::after {
  content: "";
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red);
  background:
    linear-gradient(currentColor, currentColor) center / 11px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 11px no-repeat;
}

.home-faq-list details[open] summary { color: var(--red); }
.home-faq-list details[open] summary::after { background-size: 11px 1.5px, 0 0; }
.home-faq-list summary:hover::after { border-color: currentColor; }

.home-faq-list summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
  border-radius: 6px;
}

.home-faq-list p {
  margin: 0 37px 15px 3px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.home-faq-list p a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 801px) and (max-height: 770px) {
  .home-hero { padding-block: 22px; }
  .home-hero-picture { min-height: 455px; }
}

@media (min-width: 801px) {
  body:has(.home-hero) {
    --callback-edge: 23px;
    --callback-bottom: 26px;
  }
}

@media (max-width: 800px) {
  .home-hero .hero-inner { grid-template-columns: 1fr; }
  .home-hero-picture { min-height: clamp(286px, 56vw, 415px); }
  .home-hero .hero-copy { padding: 19px 21px 33px; }
  .quiet-walls { padding: 21px; }
  .home-hero .hero-location { margin-bottom: 9px; }
  .home-hero .hero-lead { margin-block: 12px 7px; max-width: 340px; }
  .home-catalog .section-head, .home-projects .section-head { align-items: start; }
  .home-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-project-plan { height: clamp(112px, 25vw, 175px); }
  .home-faq-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .home-project-grid, .home-review-grid { grid-template-columns: 1fr; }
  .home-review-heading { grid-template-columns: 1fr; gap: 14px; }
  .home-review-rating { justify-self: start; }
  .home-review { min-height: 0; }
}

@media (max-width: 360px) {
  .home-hero .hero-copy, .quiet-walls { padding-inline: 15px; }
  .home-hero .hero-actions .text-button, .hero-rating { font-size: 12px; }
}


.home-price-breakdown {
  padding-block: clamp(52px, 6.5vw, 94px);
}

.price-breakdown-heading {
  margin-bottom: clamp(24px, 3.5vw, 42px);
}

.home-price-breakdown .price-breakdown-heading h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.06;
}

.price-breakdown-heading p {
  max-width: 64ch;
  margin-top: 12px;
  color: var(--muted);
}

.price-breakdown-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, .95fr);
  align-items: start;
  gap: clamp(26px, 4.15vw, 64px);
}

.price-factors {
  border-top: 1px solid var(--line);
}

.price-factors > div {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.64fr);
  gap: 15px;
  align-items: start;
  padding-block: 15px;
  border-bottom: 1px solid var(--line);
}

.price-factors dt {
  font-size: 16px;
  font-weight: 690;
  line-height: 1.3;
}

.price-factors small,
.price-example-items small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.price-factors dd {
  color: var(--muted);
  font-size: 14px;
}

.price-breakdown-example {
  min-width: 0;
  padding: clamp(18px, 2.65vw, 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--sand);
}

.price-breakdown-example h3 {
  font-size: clamp(24px, 2.35vw, 34px);
}

.price-example-size {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.price-example-items {
  margin-top: 17px;
}

.price-example-items > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 11px;
  padding-block: 9px;
  border-top: 1px solid var(--line);
}

.price-example-items dt {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.32;
}

.price-example-items dd,
.price-example-total strong {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price-example-items dd {
  text-align: right;
  font-size: 15px;
  font-weight: 690;
}

.price-example-total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 650;
}

.price-example-total strong {
  font-size: clamp(27px, 2.95vw, 40px);
  letter-spacing: -.045em;
  line-height: 1.15;
}

.price-example-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.price-example-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px 16px;
  margin-top: 17px;
}

.price-example-actions .under-link {
  font-size: 14px;
}

@media (max-width: 800px) {
  .price-breakdown-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 500px) {
  .price-factors > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding-block: 12px;
  }

  .price-factors dt small {
    display: inline-block;
    margin: 0 0 0 6px;
  }

  .price-example-actions .button {
    width: 100%;
  }
}

.request-with-interior {
  isolation: isolate;
  background: #871620;
}

.request-backdrop,
.request-with-interior::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.request-backdrop { z-index: -3; }

.request-backdrop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.request-with-interior::before {
  content: "";
  z-index: -2;
  background:
    linear-gradient(0deg, rgb(96 8 19 / 25%), transparent 53%),
    linear-gradient(104deg, rgb(126 15 26 / 82%), rgb(148 21 33 / 75%) 55%, rgb(151 21 31 / 68%));
}

.request-with-interior .request-emblem {
  position: absolute;
  z-index: -1;
  inset-inline-start: clamp(-115px, -6vw, -36px);
  bottom: clamp(-90px, -5vw, -30px);
  width: clamp(280px, 31vw, 535px);
  height: auto;
  opacity: .22;
  transform: rotate(-10deg);
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.request-with-interior .request-panel {
  border-radius: 14px;
  box-shadow: 0 16px 34px rgb(53 9 14 / 17%);
}

.request-with-interior .form-row label { display: block; }
.request-with-interior .form-row input { margin-top: 5px; }

@media (max-width: 800px) {
  .request-with-interior .request-emblem {
    top: 15px;
    bottom: auto;
    width: clamp(225px, 48vw, 350px);
    opacity: .16;
  }

  .request-backdrop img { object-position: 46% 25%; }

  .request-with-interior::before {
    background: linear-gradient(166deg, rgb(117 11 23 / 82%) 0%, rgb(141 18 31 / 75%) 53%, rgb(100 9 20 / 88%));
  }
}
