/* Tonal hierarchy is homepage-only. No scene, scroll or overflow rules. */
.consultancy-page[data-consultancy-page="main"] {
  --home-service-surface: #181b1e;
  --home-support-surface: #121b24;
  --home-section-space: 80px;
  --home-gutter: max(56px, calc((100% - 1280px) / 2));
}
.consultancy-page[data-consultancy-page="main"] .consultancy-shell main > :is(.destinations, .statement, .faq, .inquiry) {
  width: 100%;
  padding-inline: var(--home-gutter);
  background: var(--home-service-surface);
  border-top-color: #ffffff18;
  border-bottom-color: #ffffff18;
}
.consultancy-page[data-consultancy-page="main"] .consultancy-shell main > :is(.statement, .faq, .inquiry) {
  padding-block: var(--home-section-space);
}
.consultancy-page[data-consultancy-page="main"] .consultancy-shell .destinations { padding-block: 32px; }
.consultancy-page[data-consultancy-page="main"] .migration-preserved,
.consultancy-page[data-consultancy-page="main"] .migration-preserved > #reviews,
.consultancy-page[data-consultancy-page="main"] .migration-preserved > #work {
  background: var(--home-support-surface);
}
/* The article preview has a legacy inline black background. Override only it. */
.consultancy-page[data-consultancy-page="main"] .migration-preserved > div:has(> #blog) {
  background: var(--home-support-surface) !important;
}
.consultancy-page[data-consultancy-page="main"] .migration-preserved > section,
.consultancy-page[data-consultancy-page="main"] #blog {
  padding-block: var(--home-section-space) !important;
}
.consultancy-page[data-consultancy-page="main"] .migration-preserved > #reviews,
.consultancy-page[data-consultancy-page="main"] .migration-preserved > #work,
.consultancy-page[data-consultancy-page="main"] #blog {
  border-top: 1px solid #ffffff14;
}
/* The canonical presentation footer is shared by the four landing pages.
   Legacy detail-page Footer.tsx and standalone concepts remain untouched. */
.consultancy-shell .site-footer {
  --footer-gutter: max(56px, calc((100% - 1280px) / 2));
  width: 100%;
  padding: 0;
  background: #101110;
}
.consultancy-shell .site-footer .footer-main { padding: 48px var(--footer-gutter) 32px; }
.consultancy-shell .site-footer .footer-region {
  margin: 0;
  padding: 28px var(--footer-gutter);
  background: #191e22;
  align-items: start;
}
.consultancy-shell .site-footer .footer-region > p { max-width: 640px; margin: 0; }
.consultancy-shell .site-footer .footer-region > div { margin: 0; }
.consultancy-shell .site-footer .footer-region p { font-size: 13px; }
.consultancy-shell .site-footer .footer-region a { font-size: 13px; }
.consultancy-shell .site-footer .footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 0 24px;
  margin: 0;
  padding: 12px var(--footer-gutter) 16px;
  background: #0c0e10;
  font-size: .75rem;
  line-height: 1.6;
  color: #b8bcb4;
}
.consultancy-shell .site-footer .footer-bottom nav { grid-column: 1 / -1; justify-self: center; justify-content: center; flex-wrap: wrap; margin: 0; gap: 0 24px; }
.consultancy-shell .site-footer .footer-bottom a { font-size: .75rem; }
.consultancy-shell .site-footer .footer-bottom > span:last-of-type,
.consultancy-shell .site-footer .footer-bottom > a:last-child { color: #a6aaa2; }
.consultancy-shell .site-footer .footer-bottom > a:last-child { margin: 0; justify-self: end; }
.consultancy-shell .site-footer .footer-copyright { grid-column: 1 / -1; width: 100%; text-align: center; white-space: normal; }
.consultancy-shell .faq .faq-inquiry-link { text-decoration: underline; text-underline-offset: .2em; }
.consultancy-shell .faq .faq-inquiry-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (min-width: 1200px) {
  .consultancy-shell .site-footer .footer-main { display: grid; grid-template-columns: minmax(210px, .9fr) minmax(0, 3fr); gap: 48px; }
  .consultancy-shell .site-footer .footer-intro { display: flex; gap: 12px; margin: 0; }
  .consultancy-shell .site-footer .footer-directory { gap: 28px; }
  .consultancy-shell .site-footer .footer-directory details:not(:last-child) .footer-links { gap: 0 20px; }
}
@media (max-width: 1024px) {
  .consultancy-page[data-consultancy-page="main"] { --home-gutter: 32px; }
  .consultancy-shell .site-footer { --footer-gutter: 32px; }
}
@media (max-width: 767px) {
  .consultancy-page[data-consultancy-page="main"] { --home-gutter: 20px; --home-section-space: 48px; }
  .consultancy-page[data-consultancy-page="main"] .consultancy-shell .destinations { padding-block: 24px; }
  .consultancy-shell .site-footer { --footer-gutter: 20px; }
  .consultancy-shell .site-footer .footer-main { padding-block: 32px 24px; }
  .consultancy-shell .site-footer .footer-region { display: grid; grid-template-columns: 1fr; gap: 20px; padding-block: 24px; }
  .consultancy-shell .site-footer .footer-bottom { gap: 0 12px; padding-block: 16px; }
  .consultancy-shell .site-footer .footer-copyright,
  .consultancy-shell .site-footer .footer-bottom nav { grid-column: 1 / -1; }
  .consultancy-shell .site-footer .footer-bottom nav { gap: 24px; }
  .consultancy-shell .site-footer .footer-bottom > span:last-of-type { width: auto; }
}
