/* AMON global breadcrumb and V1.2 hero geometry */

.amon-breadcrumb {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  margin-block: 0 36px !important;
  color: #edf4f4;
  font-size: 0.78125rem;
  line-height: 1.4;
}

.amon-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amon-breadcrumb li {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
}

.amon-breadcrumb a {
  display: inline;
  min-height: 0;
  align-items: initial;
  color: #9fb3ba;
  text-decoration: none;
  transition: color 140ms ease;
}

.amon-breadcrumb__separator {
  flex: 0 0 auto;
  color: #70868f;
}

.amon-breadcrumb__current {
  color: #edf4f4;
  font-weight: 400;
}

.amon-breadcrumb a:hover {
  color: var(--amon-color-focus-dark) !important;
}

.amon-breadcrumb a:focus-visible {
  border-radius: 1px;
  color: var(--amon-color-focus-dark) !important;
  outline: 2px solid var(--amon-color-focus-dark);
  outline-offset: 3px;
}

/* The existing orientation hero is intentionally light; keep the component
   on the same surface while retaining equivalent contrast. */
.amon-orientation-hero .amon-breadcrumb a {
  color: var(--amon-color-slate);
}

.amon-orientation-hero .amon-breadcrumb__separator {
  color: #73858b;
}

.amon-orientation-hero .amon-breadcrumb__current {
  color: var(--amon-color-ink);
}

.amon-orientation-hero .amon-breadcrumb a:hover,
.amon-orientation-hero .amon-breadcrumb a:focus-visible {
  color: var(--amon-color-link) !important;
}

@media (min-width: 64em) {
  :is(.amon-hero, .amon-services-intro, .amon-df01__hero) h1 {
    max-width: none;
    font-size: 56px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.08;
  }

  .amon-services-asset--intro {
    width: min(100%, 520px);
    max-width: 520px;
  }

  .amon-df01__asset--hero {
    width: min(100%, 420px);
    max-width: 420px;
  }
}

@media (min-width: 75em) {
  :is(.amon-hero, .amon-services-intro, .amon-df01__hero) {
    display: flex;
    min-height: 860px;
    flex-direction: column;
    box-sizing: border-box;
    padding-block: 28px;
  }

  :is(.amon-hero__layout, .amon-services-intro__layout, .amon-df01__hero-layout) {
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    align-items: center;
  }

  .amon-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    column-gap: 48px;
  }

  .amon-services-intro__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
    column-gap: 48px;
  }

  .amon-df01__hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    column-gap: 48px;
  }

  .amon-services-intro__content,
  .amon-df01__hero-copy {
    align-self: start;
  }

  .amon-services-asset--intro {
    width: min(100%, 600px);
    max-width: 600px;
  }

  .amon-df01__asset--hero {
    width: min(100%, 460px);
    max-width: 460px;
  }

  .amon-df01__title-line {
    display: inline;
  }

  :is(.amon-hero, .amon-services-intro, .amon-df01__hero) :is(.amon-eyebrow, .amon-services-section-kicker, .amon-df01__eyebrow) {
    margin-block-end: 16px;
  }

  :is(.amon-services-intro .amon-services-section-marker, .amon-df01__hero .amon-df01__marker) {
    margin-block-end: 12px;
  }

  :is(.amon-hero__title, .amon-services-intro__title, .amon-df01__hero h1) {
    margin-block-end: 24px;
  }

  :is(.amon-hero__intro, .amon-hero__text, .amon-services-lead, .amon-df01__hero-copy > p:not(.amon-df01__eyebrow):not(.amon-df01__marker)) {
    font-size: 18px;
    line-height: 1.5;
  }

  .amon-hero__intro {
    margin-block-end: 12px;
  }

  .amon-hero__text,
  .amon-services-lead {
    margin-block-end: 0;
  }

  .amon-df01__hero-copy > p:not(.amon-df01__eyebrow):not(.amon-df01__marker) {
    max-width: none;
    margin-block-end: 12px;
  }

  .amon-df01__hero-copy > p:not(.amon-df01__eyebrow):not(.amon-df01__marker):last-of-type {
    margin-block-end: 0;
  }

  :is(.amon-hero__actions, .amon-df01__hero-actions) {
    margin-block-start: 24px !important;
  }
}

@media (max-width: 47.999em) {
  .amon-breadcrumb {
    margin-block-end: 32px !important;
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .amon-breadcrumb a {
    transition: none;
  }
}
