/* All rules are scoped; no theme, privacy, or security settings are changed. */
.amco-hero,
.amco-hero * { box-sizing: border-box; }
.amco-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: calc(100vh - var(--amco-hero-offset, 0px));
    height: calc(100svh - var(--amco-hero-offset, 0px));
    min-height: 28rem;
    overflow: hidden;
    background: #111;
    color: #fff;
    font-family: inherit;
}
.amco-hero [hidden] { display: none !important; }
.amco-hero .amco-hero__slides,
.amco-hero .amco-hero__slide { position: absolute; inset: 0; margin: 0; }
.amco-hero .amco-hero__slide { animation: amco-hero-reveal .5s ease-out; }
.amco-hero .amco-hero__image {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    object-position: center;
}
.amco-hero .amco-hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.08) 25%, rgba(0,0,0,.78) 100%);
    pointer-events: none;
}
.amco-hero .amco-hero__copy {
    position: absolute;
    z-index: 1;
    left: clamp(1.25rem, 7vw, 8rem);
    right: clamp(1.25rem, 7vw, 8rem);
    bottom: 7rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.65);
}
.amco-hero .amco-hero__heading {
    margin: 0 0 .35em;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: clamp(2rem, 5.7vw, 5.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.amco-hero .amco-hero__subheading {
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: clamp(1rem, 2vw, 1.65rem);
    line-height: 1.4;
    letter-spacing: .08em;
    overflow-wrap: anywhere;
}
.amco-hero .amco-hero__controls {
    position: absolute;
    z-index: 2;
    left: 1rem;
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .35rem;
}
.amco-hero .amco-hero__button,
.amco-hero .amco-hero__dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    width: auto;
    height: auto;
    margin: 0;
    padding: .5rem .75rem;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 3px;
    background: rgba(0,0,0,.8);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    box-shadow: none;
}
.amco-hero .amco-hero__toggle { font-size: .85rem; }
.amco-hero .amco-hero__dots { display: flex; align-items: center; gap: 0; }
.amco-hero .amco-hero__dot { border-color: transparent; padding: .5rem; border-radius: 0; }
.amco-hero .amco-hero__dot span { width: 10px; height: 10px; border: 1px solid #fff; border-radius: 50%; }
.amco-hero .amco-hero__dot[aria-disabled="true"] span { background: #fff; }
.amco-hero .amco-hero__button:hover,
.amco-hero .amco-hero__dot:hover { background: #333; color: #fff; }
.amco-hero button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #111; }
@media (max-width: 600px) {
    .amco-hero { min-height: 30rem; }
    .amco-hero .amco-hero__copy { bottom: 10rem; }
    .amco-hero .amco-hero__toggle { flex-basis: 100%; max-width: 18rem; margin: 0 calc(50% - 9rem) .25rem; }
}
@keyframes amco-hero-reveal { from { opacity: .5; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .amco-hero .amco-hero__slide { animation: none; }
}
