.hp-new-machine-hero {
    min-height: 0;
    padding: clamp(34px, 5vw, 68px) 0;
}

.hp-new-machine-hero h1 em {
    display: inline;
}

.hp-new-machine {
    padding-block: clamp(30px, 4vw, 54px) clamp(52px, 7vw, 96px);
}

.hp-new-machine__heading,
.hp-machine-player__heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px 20px;
}

.hp-new-machine__heading {
    margin-bottom: 20px;
}

.hp-new-machine__heading h2 {
    margin: 0;
    font-size: clamp(26px, 3.2vw, 40px);
    letter-spacing: -.04em;
}

.hp-new-machine__heading a {
    color: inherit;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hp-new-machine__heading i {
    margin-left: 4px;
}

.hp-machine-folders {
    display: grid;
    gap: 14px;
}

.hp-machine-folder {
    border: 1px solid #ffffff24;
    border-radius: 18px;
    color: #f5f5f7;
    background: #2c2c2e;
}

.hp-machine-folder__summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(10px, 2vw, 22px);
    padding: clamp(12px, 2vw, 20px);
    border-radius: 18px;
    cursor: pointer;
    list-style: none;
}

.hp-machine-folder__summary::-webkit-details-marker {
    display: none;
}

.hp-machine-folder__summary:hover {
    background: #ffffff08;
}

.hp-machine-folder__summary:focus-visible {
    outline: 2px solid var(--hp-orange);
    outline-offset: -3px;
}

.hp-machine-folder[open] > .hp-machine-folder__summary {
    border-radius: 18px 18px 0 0;
}

.hp-machine-folder__summary-copy,
.hp-machine-folder__action {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hp-machine-folder__summary-copy {
    justify-content: space-between;
}

.hp-machine-folder--featured .hp-machine-folder__summary {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.hp-machine-folder--featured .hp-machine-folder__summary-copy {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    padding: clamp(24px, 4.5vw, 60px);
    background: radial-gradient(ellipse at top right, #ff660019, transparent 70%);
}

.hp-machine-folder__photo {
    position: relative;
    height: clamp(260px, 30vw, 360px);
    overflow: hidden;
    background: #fff;
}

.hp-machine-folder__photo img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 16px;
    object-fit: contain;
}

/* Show the product area of the supplied sheet at full height. */
.hp-machine-folder__photo--sheet img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    max-width: none;
    height: 122%;
    padding: 0;
    transform: translate(-50%, -50%);
    clip-path: inset(9% 15% 10%);
}

.hp-machine-folder__icon {
    display: grid;
    place-items: center;
    width: clamp(48px, 6vw, 64px);
    aspect-ratio: 1;
    border-radius: 12px;
    color: #ff9a58;
    background: #ff66001a;
    font-size: 22px;
}

.hp-machine-folder__name {
    display: grid;
    gap: 4px;
    font-size: clamp(15px, 2vw, 22px);
    line-height: 1.25;
}

.hp-machine-folder__model {
    color: #ff9a58;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
}

.hp-machine-folder__count {
    color: #d1d1d6;
    font-size: 12px;
    white-space: nowrap;
}

.hp-machine-folder--featured .hp-machine-folder__name {
    gap: 10px;
}

.hp-machine-folder--featured .hp-machine-folder__name strong {
    max-width: 18ch;
    font-size: clamp(26px, 3.4vw, 44px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.hp-machine-folder--featured .hp-machine-folder__action {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #ff9a5866;
    border-radius: 8px;
    color: #ffad77;
    font-size: 13px;
    font-weight: 700;
}

.hp-machine-folder--featured .hp-machine-folder__summary:is(:hover, :focus-visible) .hp-machine-folder__action {
    border-color: #ff9a58;
    background: #ff66001a;
}

.hp-machine-folder[open] .hp-machine-folder__chevron {
    transform: rotate(180deg);
}

.hp-machine-folder__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(20px, 3vw, 40px);
    padding: clamp(16px, 3vw, 30px);
    border-top: 1px solid #ffffff24;
}

.hp-machine-folder__content h3 {
    margin: 0 0 14px;
    font-size: 17px;
}

.hp-machine-folder__specs {
    margin: 0;
}

.hp-machine-folder__specs > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ffffff24;
}

.hp-machine-folder__specs dt {
    color: #d1d1d6;
}

.hp-machine-folder__specs dd {
    margin: 0;
    font-weight: 650;
}

.hp-new-machine__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px;
    max-width: 840px;
}

.hp-machine-video {
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 20px;
    color: var(--hp-ink);
    background: #fff;
}

.hp-machine-video__thumbnail {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    background: #242424;
}

.hp-machine-video__thumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-machine-video__play {
    position: relative;
    display: grid;
    place-items: center;
    width: 52px;
    aspect-ratio: 1;
    border: 1px solid #ffffffa6;
    border-radius: 50%;
    color: #fff;
    background: #242424d9;
}

.hp-machine-video__play i {
    margin-left: 2px;
}

.hp-machine-video:is(:hover, :focus-visible) .hp-machine-video__play {
    border-color: var(--hp-orange);
    color: #191919;
    background: var(--hp-orange);
}

.hp-machine-video__title {
    display: block;
    padding: 16px 20px;
    font-size: 17px;
}

.hp-machine-player {
    width: min(880px, calc(100% - 24px), calc((100dvh - 120px) * 1.77));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    border: 1px solid #ffffff36;
    border-radius: 18px;
    color: #fff;
    background: #242424;
}

.hp-machine-player::backdrop {
    background: #111d;
}

.hp-machine-player__heading {
    padding: 8px 16px;
}

.hp-machine-player h2 {
    margin: 0;
    font-size: 17px;
}

.hp-machine-player button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: inherit;
    background: #ffffff1a;
    font-size: 24px;
    cursor: pointer;
}

.hp-machine-player video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #111;
}

.hp-machine-player__error {
    margin: 0;
    padding: 12px 16px;
}

@media (max-width: 680px) {
    .hp-machine-folder--featured .hp-machine-folder__summary {
        grid-template-columns: 1fr;
    }

    .hp-machine-folder__photo {
        height: clamp(220px, 59vw, 300px);
    }

    .hp-machine-folder--featured .hp-machine-folder__summary-copy {
        gap: 16px;
    }
}
