/* Homepage-only finishing layer. Existing imagery, content and handlers remain intact. */
body[data-brand-family="home"] {
  --home-ink: var(--fg);
  --home-muted: color-mix(in srgb, var(--fg) 76%, transparent);
  --home-line: color-mix(in srgb, var(--fg) 20%, transparent);
  --home-control: color-mix(in srgb, var(--fg) 10%, transparent);
  --home-control-hover: color-mix(in srgb, var(--fg) 17%, transparent);
  --home-photo-shade: color-mix(in srgb, var(--bg) 82%, transparent);
}
html body[data-brand-family="home"] main .wrap,
html body[data-brand-family="home"] #services .wrap,
html body[data-brand-family="home"] .foot2 .wrap {
  width: 100% !important;
  max-width: 1248px !important;
  padding-inline: 48px !important;
  margin-inline: auto !important;
}
html body[data-brand-family="home"] main > .section {
  padding-block: 104px !important;
  scroll-margin-top: 88px;
}
html body[data-brand-family="home"] main .section__head {
  padding-top: 0 !important;
  margin: 0 auto 48px !important;
  max-width: 850px;
  text-align: center;
}
html body[data-brand-family="home"] main h1,
html body[data-brand-family="home"] main h2,
html body[data-brand-family="home"] main h3,
html body[data-brand-family="home"] main p { letter-spacing: 0 !important; }
html body[data-brand-family="home"] main h2.display,
html body[data-brand-family="home"] #contact .gt-title {
  font-size: 48px !important;
  line-height: 1.12 !important;
  text-wrap: balance;
}
html body[data-brand-family="home"] .section__head > p {
  font-size: 18px !important;
  line-height: 1.6;
  color: var(--home-muted) !important;
  max-width: 60ch;
  margin: 20px auto 0 !important;
}
html body[data-brand-family="home"] main > .hero.section {
  min-height: max(620px, 86svh) !important;
  padding-block: 144px 96px !important;
  display: flex;
  align-items: center;
}
html body[data-brand-family="home"] .hero h1 {
  font-size: 72px !important;
  line-height: 1.05 !important;
  max-width: 1040px;
  margin: 0 auto !important;
  text-wrap: balance;
  white-space: normal !important;
  width: 100% !important;
  min-width: 0 !important;
}
html body[data-brand-family="home"] .hero .hero__lead {
  font-size: 20px !important;
  line-height: 1.65 !important;
  max-width: 62ch !important;
  margin: 32px auto 0 !important;
  color: var(--home-muted) !important;
}
html body[data-brand-family="home"] .hero__cta { margin-top: 36px !important; gap: 16px !important; }
html body[data-brand-family="home"] .hero__cta .btn,
html body[data-brand-family="home"] .collab .btn,
html body[data-brand-family="home"] #contact .send-btn {
  min-height: 52px;
  padding: 14px 28px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  background: var(--home-control) !important;
  color: var(--home-ink) !important;
  border: 1px solid var(--home-line) !important;
}
html body[data-brand-family="home"] .hero__cta .btn-primary {
  background: var(--home-ink) !important;
  color: var(--bg) !important;
}
html body[data-brand-family="home"] .btn:focus-visible,
html body[data-brand-family="home"] .svc-card3:focus-visible,
html body[data-brand-family="home"] .cs__tile:focus-visible {
  outline: 2px solid var(--home-ink) !important;
  outline-offset: 5px !important;
}
html body[data-brand-family="home"] #partners .logo-marq {
  border: 0 !important;
  background: transparent !important;
}
html body[data-brand-family="home"] #partners .logo-tile {
  border: 0 !important;
  background: transparent !important;
  height: 112px !important;
}
html body[data-brand-family="home"] #partners .collab {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--home-line) !important;
  margin-top: 32px;
  padding: 32px 0 0 !important;
}
html body[data-brand-family="home"] #partners .collab h3 { font-size: 24px; line-height: 1.3; }
html body[data-brand-family="home"] #partners .collab p { color: var(--home-muted); line-height: 1.6; margin-top: 10px; }
html body[data-brand-family="home"] section#services .wrap .svc-grid3.reveal {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin: 0 !important;
}
html body[data-brand-family="home"] section#services .wrap .svc-grid3.reveal .svc-card3 {
  aspect-ratio: 4/5 !important;
  min-height: 420px !important;
  border-radius: 8px !important;
  isolation: isolate;
}
html body[data-brand-family="home"] #services .svc-card3__photo img {
  opacity: .7 !important;
  filter: grayscale(1) !important;
  transform: none !important;
}
html body[data-brand-family="home"] #services .svc-card3__photo::after {
  content: "";
  display: block !important;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, var(--home-photo-shade) 100%) !important;
}
html body[data-brand-family="home"] section#services .wrap .svc-grid3.reveal .svc-card3 .svc-card3__body {
  justify-content: flex-end !important;
  align-items: flex-start !important;
  padding: 28px !important;
  gap: 22px;
  text-align: left !important;
}
html body[data-brand-family="home"] section#services .wrap .svc-grid3.reveal .svc-card3 .svc-card3__body .svc__num {
  display: block !important;
  position: absolute;
  top: 28px;
  left: 28px;
  font-size: 16px;
  color: var(--home-ink);
}
html body[data-brand-family="home"] section#services .wrap .svc-grid3.reveal .svc-card3 .svc-card3__body .svc__t {
  font-size: 26px !important;
  line-height: 1.24 !important;
  text-align: left !important;
  color: var(--home-ink) !important;
  hyphens: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-shadow: none !important;
}
html body[data-brand-family="home"] section#services .wrap .svc-grid3.reveal .svc-card3 .svc-card3__body .svc__link {
  display: inline-flex !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-height: 44px;
  min-inline-size: 0 !important;
  min-block-size: 44px !important;
  inline-size: auto !important;
  block-size: auto !important;
  max-width: 100% !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  padding: 10px 18px !important;
  background: var(--home-control) !important;
  border: 1px solid var(--home-line) !important;
  border-radius: 999px !important;
  transform: none !important;
  box-shadow: none !important;
  align-self: flex-start !important;
}
html body[data-brand-family="home"] #services .svc__link-txt { font-size: 14px !important; max-width: 100% !important; width: auto !important; padding: 0 !important; white-space: nowrap !important; }
html body[data-brand-family="home"] #services .svc__link-txt--short { display: inline !important; }
html body[data-brand-family="home"] #services .svc__link-txt--long,
html body[data-brand-family="home"] #services .svc__link svg { display: none !important; }
html body[data-brand-family="home"] #cases .cs {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  gap: 16px !important;
  background: transparent !important;
}
html body[data-brand-family="home"] #cases .cs__tile {
  aspect-ratio: auto !important;
  min-height: 340px !important;
  padding: 26px !important;
  border-radius: 8px;
  justify-content: flex-end !important;
  background: var(--bg-2) !important;
}
html body[data-brand-family="home"] #cases .cs__bg {
  opacity: .5 !important;
  transform: none !important;
  filter: grayscale(1) !important;
}
html body[data-brand-family="home"] #cases .cs__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--home-photo-shade));
  z-index: 0;
  pointer-events: none;
}
html body[data-brand-family="home"] #cases .cs__name {
  font-size: 20px !important;
  line-height: 1.3 !important;
  color: var(--home-ink) !important;
  text-align: left;
  hyphens: none !important;
  word-break: normal;
}
html body[data-brand-family="home"] #cases .cs__desc {
  display: block !important;
  position: relative !important;
  padding: 0 !important;
  margin-top: 14px !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: var(--home-muted) !important;
}
html body[data-brand-family="home"] #cases .cs__years {
  margin-top: 24px !important;
  color: var(--home-muted) !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
}
html body[data-brand-family="home"] #founders .founders {
  gap: 48px !important;
  border: 0 !important;
  background: transparent !important;
}
html body[data-brand-family="home"] #founders .founder {
  padding: 0 !important;
  background: transparent !important;
}
html body[data-brand-family="home"] #founders .founder__photo {
  aspect-ratio: 4/5 !important;
  border-radius: 8px;
  margin-bottom: 28px !important;
}
html body[data-brand-family="home"] #founders .founder__name { font-size: 28px !important; line-height: 1.25; }
html body[data-brand-family="home"] #founders .founder__bio {
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: var(--home-muted) !important;
  margin-top: 16px;
}
html body[data-brand-family="home"] #contact .contact2 {
  display: grid !important;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) !important;
  gap: 72px !important;
  align-items: start;
}
html body[data-brand-family="home"] #contact .gt-title { text-align: left !important; margin: 0 !important; }
html body[data-brand-family="home"] #contact .form2__grid {
  gap: 24px !important;
  background: transparent !important;
}
html body[data-brand-family="home"] #contact .field2:not(.consent2) {
  padding: 0 0 16px !important;
  border-bottom: 1px solid var(--home-line) !important;
}
html body[data-brand-family="home"] #contact .field2:focus-within { border-color: var(--home-ink) !important; }
html body[data-brand-family="home"] #contact .field2 label { font-size: 12px !important; color: var(--home-muted) !important; }
html body[data-brand-family="home"] #contact input:not([type="checkbox"]),
html body[data-brand-family="home"] #contact textarea { font-size: 17px !important; padding-block: 14px 0 !important; }
html body[data-brand-family="home"] #contact textarea { min-height: 110px; resize: vertical; }
html body[data-brand-family="home"] #contact .consent2 { padding: 8px 0 !important; gap: 12px !important; font-size: 14px !important; line-height: 1.5; }
html body[data-brand-family="home"] #contact .send-btn { margin-top: 28px !important; width: auto !important; min-width: 180px; }
html body[data-brand-family="home"] .foot2 { padding-top: 56px !important; }
html body[data-brand-family="home"] .foot2__copy { color: var(--home-muted); }
@media (max-width: 1100px) {
  html body[data-brand-family="home"] .hero h1 { font-size: 60px !important; }
  html body[data-brand-family="home"] #cases .cs { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body[data-brand-family="home"] #contact .contact2 { gap: 40px !important; }
  html body[data-brand-family="home"] section#services .wrap .svc-grid3.reveal .svc-card3 .svc-card3__body { padding: 20px !important; }
  html body[data-brand-family="home"] section#services .wrap .svc-grid3.reveal .svc-card3 .svc-card3__body .svc__t { font-size: 22px !important; }
}
@media (max-width: 760px) {
  html body[data-brand-family="home"] main .wrap,
  html body[data-brand-family="home"] #services .wrap,
  html body[data-brand-family="home"] .foot2 .wrap { padding-inline: 24px !important; }
  html body[data-brand-family="home"] main > .section { padding-block: 72px !important; }
  html body[data-brand-family="home"] main > .hero.section { min-height: max(600px, 86svh) !important; padding-block: 124px 72px !important; }
  html body[data-brand-family="home"] .hero h1 { font-size: 40px !important; line-height: 1.1 !important; }
  html body[data-brand-family="home"] .hero .hero__lead { font-size: 17px !important; margin-top: 24px !important; }
  html body[data-brand-family="home"] main h2.display,
  html body[data-brand-family="home"] #contact .gt-title { font-size: 34px !important; }
  html body[data-brand-family="home"] .section__head > p { font-size: 16px !important; }
  html body[data-brand-family="home"] main .section__head { margin-bottom: 32px !important; }
  html body[data-brand-family="home"] section#services .wrap .svc-grid3.reveal { grid-template-columns: 1fr !important; gap: 20px !important; }
  html body[data-brand-family="home"] section#services .wrap .svc-grid3.reveal .svc-card3 { aspect-ratio: 5/4 !important; min-height: 320px !important; }
  html body[data-brand-family="home"] section#services .wrap .svc-grid3.reveal .svc-card3 .svc-card3__body { padding: 28px !important; }
  html body[data-brand-family="home"] section#services .wrap .svc-grid3.reveal .svc-card3 .svc-card3__body .svc__t { font-size: 26px !important; }
  html body[data-brand-family="home"] #cases .cs { grid-template-columns: 1fr !important; }
  html body[data-brand-family="home"] #cases .cs__tile { min-height: 320px !important; }
  html body[data-brand-family="home"] #founders .founders { grid-template-columns: 1fr !important; gap: 48px !important; }
  html body[data-brand-family="home"] #founders .founder__name { font-size: 25px !important; }
  html body[data-brand-family="home"] #founders .founder__bio { font-size: 16px !important; }
  html body[data-brand-family="home"] #contact .contact2 { grid-template-columns: 1fr !important; gap: 40px !important; }
  html body[data-brand-family="home"] #contact .form2__grid { grid-template-columns: 1fr !important; }
  html body[data-brand-family="home"] .collab { grid-template-columns: 1fr !important; }
}
@media (max-width: 360px) {
  html body[data-brand-family="home"] .hero h1 { font-size: 34px !important; }
  html body[data-brand-family="home"] .hero__cta { flex-direction: column; align-items: stretch; }
}/* Service cards stay still on hover: no lift, zoom or shifting content */
html body .svc-card3:hover,
html body .svc-card3:hover *,
html body .svc-card3 .svc__link:hover { transform:none !important; }
