/* Editorial product film, directly after the hero. */
.home-page #product-film {
    padding: clamp(5rem, 9vw, 9rem) 0 clamp(5rem, 8vw, 8rem);
    background: #f8faf9;
    color: #191c1c;
}

.product-film-intro {
    display: grid;
    grid-template-columns: minmax(11rem, 1fr) minmax(0, 3fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    margin-bottom: clamp(2.5rem, 5vw, 5rem);
}

.product-film-index {
    margin: .6rem 0 0;
    color: #13786e;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-film-heading h2 {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(3rem, 6.7vw, 7rem);
    font-weight: 500;
    line-height: 1.01;
    letter-spacing: -.065em;
}

.product-film-heading p {
    max-width: 41rem;
    margin: clamp(1.5rem, 2.8vw, 2.75rem) 0 0;
    color: #4a5857;
    font-size: clamp(1.05rem, 1.5vw, 1.45rem);
    line-height: 1.5;
}

.product-film-figure {
    position: relative;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid #cbdad6;
}

.product-film-figure::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: min(22%, 13rem);
    height: 2px;
    background: #1cb5ac;
}

.product-film-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #e8f1ef;
}

.product-film-figure figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.1rem;
    color: #556361;
    font-size: .82rem;
    letter-spacing: .015em;
}

.product-film-controls {
    display: flex;
    flex: none;
    gap: 1.25rem;
}

.product-film-toggle,
.product-film-sound {
    flex: none;
    padding: .25rem 0 .35rem;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: #191c1c;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.product-film-toggle:hover,
.product-film-sound:hover { color: #13786e; }
.product-film-toggle:focus-visible,
.product-film-sound:focus-visible { outline: 2px solid #13786e; outline-offset: 5px; }
.product-film-toggle:disabled,
.product-film-sound:disabled { color: #687775; cursor: not-allowed; }

@media (max-width: 767px) {
    .home-page #product-film { padding: 4.5rem 0 5rem; }
    .product-film-intro { grid-template-columns: 1fr; gap: 1.15rem; margin-bottom: 2.5rem; }
    .product-film-index { margin: 0; }
    .product-film-heading h2 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
    .product-film-video { aspect-ratio: 16 / 9; }
    .product-film-figure figcaption { align-items: flex-start; }
}

/* Wordmark composition: the film and its explanation share one unframed row. */
.home-page #logo-middle #product-film {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    width: 100%;
    max-width: 1080px;
    margin: clamp(1.25rem, 3vh, 2.5rem) auto 0;
    padding: 0;
    background: transparent;
}

#logo-middle .product-film-figure {
    min-width: 0;
    padding: 0;
    border: 0;
}

#logo-middle .product-film-figure::before { content: none; }
#logo-middle .product-film-video { background: transparent; }
#logo-middle .product-film-figure figcaption { padding-top: .65rem; }

#logo-middle .product-film-copy {
    min-width: 0;
    text-align: left;
}

#logo-middle .product-film-kicker {
    margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
    color: #13786e;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

#logo-middle .product-film-copy h2 {
    margin: 0;
    color: #191c1c;
    font-size: clamp(1.85rem, 3.25vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.08;
}

#logo-middle .product-film-description {
    margin: clamp(1.25rem, 2.3vw, 2rem) 0 0;
    color: #4a5857;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    line-height: 1.6;
}

#logo-middle .product-film-type-line {
    display: grid;
}

#logo-middle .product-film-type-line > span {
    grid-area: 1 / 1;
}

#logo-middle .product-film-type-ghost {
    visibility: hidden;
}

#logo-middle .product-film-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#logo-middle [data-film-type].is-typing::after {
    content: '|';
    color: #12aaa2;
    font-weight: 400;
    animation: product-film-caret .8s steps(1) infinite;
}

@keyframes product-film-caret {
    50% { opacity: 0; }
}

@media (max-width: 767px) {
    .home-page #logo-middle #product-film {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    #logo-middle .product-film-kicker { margin-bottom: 1rem; }
    #logo-middle .product-film-copy h2 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
}

@media (prefers-reduced-motion: reduce) {
    #logo-middle [data-film-type].is-typing::after { animation: none; content: none; }
}
