/* V92 — Home featured case studies use the same visual language as the case-studies gallery. */
body[data-page="index.html"] #featured-work .tt92-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
body[data-page="index.html"] #featured-work .tt92-featured-grid>.tt85-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:16px;background:#171d1a;color:#fff;border:1px solid rgba(23,28,26,.08);box-shadow:none;transition:transform .2s,box-shadow .2s}
body[data-page="index.html"] #featured-work .tt92-featured-grid>.tt85-card:hover{transform:translateY(-3px);box-shadow:0 13px 23px oklch(from rgba(29,38,34,.14) l c var(--tt-accent-hue, h) / alpha)}
body[data-page="index.html"] #featured-work .tt92-featured-grid .tt85-image{display:block;position:relative;aspect-ratio:16/9;overflow:hidden;background:oklch(from #25302b l c var(--tt-accent-hue, h) / alpha)}
body[data-page="index.html"] #featured-work .tt92-featured-grid .tt85-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .35s}
body[data-page="index.html"] #featured-work .tt92-featured-grid .tt85-card:hover .tt85-image img{transform:scale(1.04)}
body[data-page="index.html"] #featured-work .tt92-featured-grid .tt85-tag{position:absolute;left:14px;top:14px;background:oklch(from #27322d l c var(--tt-accent-hue, h) / alpha);color:#fff;padding:5px 10px;font-size:9px;line-height:1.3;border-radius:30px;text-transform:uppercase;letter-spacing:.08em;max-width:90%}
body[data-page="index.html"] #featured-work .tt92-featured-grid .tt85-card-foot{padding:19px 22px 22px;display:flex;flex-direction:column;flex:1}
body[data-page="index.html"] #featured-work .tt92-featured-grid .tt85-card-type{font-size:10px;letter-spacing:.1em;color:oklch(from #5bbc8d l c var(--tt-accent-hue, h) / alpha);margin-bottom:9px}
body[data-page="index.html"] #featured-work .tt92-featured-grid .tt85-card-foot h3{font-size:clamp(17px,1.6vw,21px);line-height:1.28;letter-spacing:-.025em;margin:0 0 11px;color:#fff}
body[data-page="index.html"] #featured-work .tt92-featured-grid .tt85-card-foot h3 a,body[data-page="index.html"] #featured-work .tt92-featured-grid .tt85-card-link{color:#fff;text-decoration:none}
body[data-page="index.html"] #featured-work .tt92-featured-grid .tt85-card-foot p{font-size:13px;color:oklch(from #c2cbc7 l c var(--tt-accent-hue, h) / alpha);line-height:1.5;margin:0 0 19px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body[data-page="index.html"] #featured-work .tt92-featured-grid .tt85-card-link{font-size:12px;font-weight:800;margin-top:auto}
body[data-page="index.html"] #featured-work .tt92-featured-grid .tt85-card-link:hover{text-decoration:underline}
@media(max-width:960px){body[data-page="index.html"] #featured-work .tt92-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body[data-page="index.html"] #featured-work .tt92-featured-grid{grid-template-columns:minmax(0,1fr)}}

.home-project-proof {
  padding: clamp(23px, 3vw, 38px) 0;
  background: #f1f3f2;
  border-bottom: 1px solid #e3e6e4;
}

.home-project-proof .home-project-proof-inner.v79-shell {
  box-sizing: border-box;
  width: 100%;
  padding-inline: clamp(22px, 4.2vw, 80px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px clamp(24px, 3vw, 50px);
}

.home-project-proof .home-project-label {
  margin: 0;
  padding: 5px clamp(16px, 2vw, 34px) 5px 0;
  border-right: 1px solid oklch(from #99c6b0 l c var(--tt-accent-hue, h) / alpha);
  color: oklch(from #216444 l c var(--tt-accent-hue, h) / alpha);
  font-size: clamp(.875rem, 1.2vw, 1.125rem);
  font-weight: 800;
}

.home-project-proof h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  line-height: 1.24;
  color: #1d2420;
}

.home-project-proof p {
  max-width: 67ch;
  margin: 0;
  color: oklch(from #4f6058 l c var(--tt-accent-hue, h) / alpha);
}

.home-project-proof a, .home-related-services a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: oklch(from #216444 l c var(--tt-accent-hue, h) / alpha);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-project-proof a { justify-self: start; }

.home-related-services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  margin-top: 24px;
  padding-top: 12px;
  border-top: 1px solid #e3e6e4;
}

.home-related-services h3 {
  margin: 0;
  color: #1d2420;
  font-size: 1rem;
}

.home-related-services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (width < 850px) {
  .home-project-proof .home-project-proof-inner.v79-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .home-project-proof .home-project-label { padding: 0; border: 0; }
}

@media (width < 768px) {
  .home-project-proof .home-project-proof-inner.v79-shell {
    padding-inline: clamp(18px, 5vw, 26px);
  }
}

@media screen and (width <= 540px) {
  /* Reserve space for offscreen content until the browser measures its real height. */
  main > .v79-section {
    content-visibility: auto;
    contain-intrinsic-block-size: auto 600px;
  }

  main > .v79-services { contain-intrinsic-block-size: auto 1060px; }
  main > .v79-challenges { contain-intrinsic-block-size: auto 1420px; }
  main > .v79-work { contain-intrinsic-block-size: auto 1530px; }
  main > .v79-faq { contain-intrinsic-block-size: auto 500px; }

  .site-footer {
    content-visibility: auto;
    contain-intrinsic-block-size: auto 1360px;
  }
}
