.project-preview-picture { display: block; }

.home-page > .section {
  padding-block: clamp(36px, 5vw, 74px);
}

.home-page .hero {
  min-height: 0;
  padding-block: clamp(28px, 4vw, 64px);
}

.home-page .showcase-caption { padding-bottom: 0; }
.home-page .showcase-top span:last-child { white-space: nowrap; }
.home-page .home-services { margin-top: 27px; }
.home-page .service { padding-block: 20px; }
.home-page .service p { margin-top: 10px; }

.demo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.35vw, 30px);
}

.demo-card-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo-card { min-width: 0; }
.demo-card-link {
  height: 100%;
  display: block;
  border: 1px solid #ded2c7;
  border-radius: 11px;
  background: #fcf9f4;
}

.demo-card-link:hover { border-color: #98614d; }
.demo-card-link:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.demo-card-image {
  padding: clamp(9px, 1.6vw, 20px);
  background: #e8ddcf;
  border-radius: 10px 10px 0 0;
}

.demo-card-link img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-position: top;
  border: 1px solid #d3c5b7;
  border-radius: 5px;
}

.demo-card-body { padding: clamp(14px, 2vw, 24px); }
.demo-card-body h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 5px 0 9px;
  font: 700 clamp(20px, 2.25vw, 28px) / 1.18 Manrope, Arial, sans-serif;
  letter-spacing: -.035em;
}

.demo-card-body h3 span { color: #9b422f; font-size: 17px; }
.demo-card-body p { font-size: 15px; line-height: 1.5; }
.demo-card-body .demo-card-sector {
  color: #8f3d2c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .075em;
}

.demo-card-features,
.demo-card-label { display: block; color: #625449; font-size: 13px; }
.demo-card-features { margin-top: 12px; }
.demo-card-label { margin-top: 8px; }
.project-contact {
  margin-top: clamp(24px, 4vw, 44px);
  padding: clamp(18px, 3vw, 30px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 26px;
  background: #e9ded1;
  border-radius: 10px;
}

.project-contact strong { font: 700 clamp(18px, 2vw, 24px) / 1.25 Manrope, Arial, sans-serif; }
.project-contact p { margin-top: 6px; }
.project-collection { padding-block: clamp(28px, 5vw, 75px); }
.collection-back { display: inline-block; margin-bottom: 22px; text-decoration: underline; text-underline-offset: 4px; }
.project-collection h1 { font-size: clamp(2.2rem, 5.6vw, 5rem); }
.collection-lead { font-size: clamp(16px, 2vw, 20px); margin: 14px 0 22px; }
.collection-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.collection-filter button {
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid #baa997;
  border-radius: 6px;
  background: #fcf9f4;
  color: #554335;
  font-size: 14px;
  text-align: left;
}

.collection-filter button:hover { border-color: #963b27; }
.collection-filter button[aria-pressed="true"] {
  border-color: #913a28;
  background: #913a28;
  color: #fff;
}

.collection-count { margin: 15px 0 18px; font-size: 14px; }
.home-inline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(18px, 4vw, 54px); }
.home-inline h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.value-brief > div p { margin-top: 15px; max-width: 54ch; }
.value-brief .value-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(14px, 2.35vw, 24px);
}

.value-brief .stat-ring {
  flex: 0 0 auto;
  width: clamp(72px, 10vw, 120px);
  padding: 7px;
  margin: 0;
}

.value-brief .stat-ring strong { font-size: clamp(19px, 3vw, 35px); }
.value-brief .stat-ring strong span { font-size: .58em; }
.value-brief .value-stat p { margin: 0 0 7px; }
.value-brief .value-stat figcaption { min-width: 0; }
.value-brief .value-stat figcaption > small { margin: 0 0 7px; font-size: 12px; }
.value-brief .value-stat a { font-size: 13px; }
.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.home-steps li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 5px 10px;
  align-content: start;
  padding-top: 16px;
  border-top: 1px solid #d8cabd;
}

.home-steps li::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #e9ded1;
  color: #833e2d;
  font-weight: 700;
}

.home-steps h3 { align-self: center; }
.home-steps p { grid-column: 2; }
.home-page #faq .split { gap: clamp(16px, 4vw, 56px); }
.home-page #faq details { padding-block: 12px; }
.home-more-questions > div { padding-left: 14px; border-left: 1px solid #d8cabd; margin-top: 10px; }
.home-more-questions > div > details:last-child { border-bottom: 0; }
.guide-compact [id] { scroll-margin-top: 5px; }

@media (max-width: 950px) {
  .demo-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .home-inline, .home-steps { grid-template-columns: minmax(0, 1fr); }
  .home-steps { gap: 12px; }
  .home-page .section-head { gap: 14px; margin-bottom: 22px; }
  .home-page .section-head .btn { justify-self: start; align-self: flex-start; }
  .home-page .hero .actions { margin-top: 20px; }
  .home-page .showcase-caption { padding-top: 13px; }
}

@media (max-width: 480px) {
  .demo-card-grid { grid-template-columns: minmax(0, 1fr); }
}
