/* Scoped to the Advisory hero. Keep the financial image legible in both themes. */
.advisory-commercial-hero {
  --hero-ink: #f8fafc;
  --hero-secondary: #cbd5e1;
  --hero-ground: #050811;
  --hero-rule: rgb(248 250 252 / 25%);
  position: relative;
  isolation: isolate;
  padding: 0;
  overflow: hidden;
  background: var(--hero-ground);
  color: var(--hero-ink);
}
[data-theme="light"] .advisory-commercial-hero { background: var(--hero-ground); }
.advisory-hero-visual {
  position: absolute;
  inset: 0 0 0 28%;
  z-index: -2;
}
.advisory-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}
.advisory-commercial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--hero-ground) 12%, rgb(5 8 17 / 96%) 26%, rgb(5 8 17 / 75%) 42%, rgb(5 8 17 / 12%) 72%), linear-gradient(0deg, var(--hero-ground), transparent 28%);
}
.advisory-hero-layout {
  min-height: min(900px, 100svh);
  padding-top: clamp(160px, 18vh, 210px);
  padding-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-3xl);
}
.advisory-hero-copy { max-width: 660px; padding-bottom: var(--space-lg); }
.advisory-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.04em;
  line-height: 1.06;
  max-width: 11.5ch;
  margin: 0 0 var(--space-xl);
  color: var(--hero-ink);
  text-wrap: balance;
}
.advisory-hero-description {
  max-width: 44ch;
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--hero-secondary);
  margin: 0;
}
.advisory-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-xl); }
.advisory-hero-actions .btn {
  min-height: 54px;
  border-radius: var(--radius-sm);
  background: #2563eb;
  color: var(--hero-ink);
  border: 0;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: none;
}
.advisory-hero-actions .btn:hover { background: #1d4ed8; transform: translateY(-2px); }
.advisory-hero-services { display: inline-flex; gap: var(--space-sm); align-items: center; min-height: 48px; color: var(--hero-ink); font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--hero-rule); }
.advisory-hero-services:hover { text-decoration-color: currentColor; }
.advisory-hero-actions a:focus-visible { outline: 3px solid var(--hero-ink); outline-offset: 5px; }
.advisory-hero-foundation {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-xl);
  border-top: 1px solid var(--hero-rule);
  padding-top: var(--space-lg);
}
.advisory-hero-foundation p { max-width: 57ch; margin: 0; color: var(--hero-secondary); font-size: var(--fs-sm); line-height: 1.6; }
.advisory-hero-signature { font-family: var(--font-display); font-size: var(--fs-md); color: var(--hero-ink); white-space: nowrap; }
@media (max-width: 1050px) and (min-width: 701px) {
  .advisory-hero-copy { max-width: 60%; }
  .advisory-hero-title { font-size: clamp(3rem, 6.5vw, 4.5rem); }
  .advisory-hero-visual { left: 22%; }
}
@media (max-width: 700px) {
  .advisory-hero-layout { min-height: auto; padding-top: 128px; padding-bottom: var(--space-lg); gap: 0; }
  .advisory-hero-copy { max-width: 100%; padding-bottom: 0; }
  .advisory-hero-title { font-size: clamp(2.65rem, 10.6vw, 4rem); max-width: 13ch; margin-bottom: var(--space-lg); }
  .advisory-hero-description { font-size: var(--fs-base); max-width: 45ch; }
  .advisory-hero-actions { gap: var(--space-md); margin-top: var(--space-lg); }
  .advisory-hero-actions .btn { min-height: 50px; padding-inline: var(--space-md); font-size: var(--fs-sm); }
  .advisory-hero-services { font-size: var(--fs-sm); }
  .advisory-hero-visual { inset: auto 0 87px; height: clamp(240px, 65vw, 390px); z-index: -2; }
  .advisory-hero-visual img { object-position: 50% 44%; }
  .advisory-commercial-hero::before { background: linear-gradient(180deg, var(--hero-ground) 0%, var(--hero-ground) 53%, transparent 68%, transparent 84%, var(--hero-ground) 96%); }
  .advisory-hero-foundation { margin-top: clamp(260px, 70vw, 410px); padding-top: var(--space-md); align-items: start; }
  .advisory-hero-foundation p { font-size: var(--fs-xs); max-width: 48ch; }
  .advisory-hero-signature { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .advisory-hero-actions .btn { transition: none; }
  .advisory-hero-actions .btn:hover { transform: none; }
}
