/* Targeted behavior and mobile-layout repairs. Existing typography stays intact. */
.mlm-home-motion .hero#top { overflow: hidden; isolation: isolate; }
.mlm-home-motion .hero#top > .montana-photo > img {
  animation: mlm-home-pan 18s ease-in-out infinite alternate;
  transform-origin: 50% 40%;
  will-change: transform;
}
@keyframes mlm-home-pan {
  from { transform: scale(1.035) translate3d(-.7%, 0, 0); }
  to { transform: scale(1.12) translate3d(1%, -.8%, 0); }
}
.mlm-home-motion .hero#top.mlm-motion-paused > .montana-photo > img,
.mlm-home-motion.motion-paused .hero#top > .montana-photo > img {
  animation-play-state: paused;
}
.mlm-home-motion .hero-actions { flex-wrap: wrap; }
.mlm-motion-toggle {
  color: inherit; background: #15201db3; border: 1px solid currentColor;
  border-radius: 3px; padding: 10px 14px; min-height: 44px;
  font: inherit; font-size: 12px; cursor: pointer;
}
.mlm-motion-toggle:focus-visible,
.revenue-repair-form :focus-visible,
.roi .calculator input:focus-visible { outline: 3px solid #c69851; outline-offset: 4px; }
.mlm-motion-toggle:disabled { cursor: default; }
.revenue-repair-form [hidden] { display: none !important; }
.revenue-repair-form [data-back] { margin-right: 12px; }
.revenue-repair-form legend:focus { outline-offset: 6px; }
.revenue-repair-form [data-review] { display: grid; grid-template-columns: minmax(80px, .6fr) minmax(0, 1.4fr); gap: 12px 20px; }
.revenue-repair-form [data-review] dt { font-weight: 600; }
.revenue-repair-form [data-review] dd { margin: 0; overflow-wrap: anywhere; }
.revenue-repair-form .form-note { margin-block: 16px; }
.revenue-repair-form [role="status"] { color: #17352b; opacity: 1; font-size: .9rem; line-height: 1.55; }
.revenue-repair-form .wizard-honeypot { display: none; }
.revenue-repair-form:not(.wizard-ready) [data-back],
.revenue-repair-form:not(.wizard-ready) .form-top [data-step-count],
.revenue-repair-form:not(.wizard-ready) .progress,
.revenue-repair-form:not(.wizard-ready) [data-step="2"] { display: none; }
.roi .calculator input[type="range"] { min-height: 44px; accent-color: #c69851; }
.mlm-journal-empty { margin-block: 24px; padding: 24px; border: 1px solid currentColor; border-radius: 8px; }
.alex-profile-shell { background: #0c181b; }
@media (min-width: 901px) {
  .alex-profile-shell > header { position: relative; inset: auto; margin: 22px 3% 24px; }
  .alex-profile-shell .hero#home { overflow: hidden; }
  .alex-profile-shell .hero#home > .hero-content { padding-top: 80px; }
}
@media (max-width: 900px) {
  .alex-profile-shell > header {
    position: relative; inset: auto; width: auto; margin: 12px 4% 22px;
    box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 12px;
    padding: 16px; background: #102123;
  }
  .alex-profile-shell > header .brand { width: 100%; white-space: normal; }
  .alex-profile-shell > header .language-switch { margin-left: 0 !important; }
  .alex-profile-shell > header #motion { margin-left: auto; min-height: 44px; }
  .alex-profile-shell > header nav { width: 100%; order: 3; flex-wrap: wrap; gap: 4px 12px; }
  .alex-profile-shell > header nav a { min-height: 44px; }
  .alex-profile-shell .hero#home { min-height: 0; height: auto; max-height: none; padding-bottom: 28px; }
  .alex-profile-shell .hero#home > .hero-image {
    position: relative; inset: auto; width: 86%; height: auto; aspect-ratio: 4 / 3;
    margin: 0 7%; border-radius: 22px; overflow: hidden; transform: none !important;
  }
  .alex-profile-shell .hero#home > .hero-image img {
    display: block; width: 100%; height: 100%; object-fit: cover;
    object-position: 50% 30%; opacity: 1; filter: none; transform: none !important;
  }
  .alex-profile-shell .hero#home > .hero-shade,
  .alex-profile-shell .hero#home > .hero-orbit { display: none; }
  .alex-profile-shell .hero#home > .hero-content {
    position: relative; padding: 30px 7% 24px; width: 100%; box-sizing: border-box;
  }
  .alex-profile-shell .hero#home > .hero-coordinate { position: relative; inset: auto; max-width: none; margin: 12px 7% 28px; }
  .alex-profile-shell .hero#home > .hero-bottom { position: relative; inset: auto; margin: 0 7%; }
}
@media (prefers-reduced-motion: reduce) {
  .mlm-home-motion .hero#top > .montana-photo > img { animation: none !important; transform: none !important; will-change: auto; }
}
