/* Clickit cursor-led brand refresh. */
.site-brand-mark {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    overflow: visible;
    border-radius: 0;
    color: var(--lime);
    background: transparent;
    font-size: 0;
}

.site-brand-mark::before {
    position: absolute;
    top: 3px;
    left: 7px;
    width: 27px;
    height: 34px;
    background: currentColor;
    clip-path: polygon(5% 0, 98% 61%, 61% 66%, 79% 97%, 62% 100%, 45% 69%, 19% 94%);
    content: "";
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, .24));
    transform: rotate(-8deg);
    transform-origin: 35% 35%;
}

.site-brand-mark::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 7px;
    height: 7px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    content: "";
    box-shadow: 7px 9px 0 -2.8px currentColor, -2px -8px 0 -2.8px currentColor;
}

.site-brand-mark i {
    position: absolute;
    z-index: 2;
    right: 3px;
    bottom: 5px;
    width: 9px;
    height: 2px;
    border-radius: 3px;
    background: currentColor;
    transform: rotate(42deg);
}

.site-header.is-scrolled .site-brand-mark { color: #93b824; }
.site-brand-light .site-brand-mark { color: var(--lime); }

.site-button > span[aria-hidden="true"] {
    display: block;
    width: 13px;
    height: 17px;
    flex: 0 0 13px;
    color: inherit;
    background: currentColor;
    clip-path: polygon(0 0, 100% 63%, 61% 67%, 79% 100%, 63% 100%, 46% 70%, 20% 95%);
    font-size: 0;
    transform: rotate(-7deg);
    transition: transform .25s ease;
}

.site-button:hover > span[aria-hidden="true"] { transform: rotate(-7deg) translate(3px, 2px); }

.section-index::before {
    width: 10px;
    height: 14px;
    background: currentColor;
    clip-path: polygon(0 0, 100% 63%, 61% 67%, 79% 100%, 63% 100%, 46% 70%, 20% 95%);
    transform: rotate(-8deg);
}

.hero-kicker span {
    width: 12px;
    height: 16px;
    border-radius: 0;
    background: var(--lime);
    box-shadow: none;
    clip-path: polygon(0 0, 100% 63%, 61% 67%, 79% 100%, 63% 100%, 46% 70%, 20% 95%);
    transform: rotate(-8deg);
}

.coverage-action {
    position: relative;
    font-size: 0;
}

.coverage-action::before {
    width: 14px;
    height: 19px;
    background: currentColor;
    clip-path: polygon(0 0, 100% 63%, 61% 67%, 79% 100%, 63% 100%, 46% 70%, 20% 95%);
    content: "";
    transform: rotate(-8deg);
}

.coverage-action:hover::before { color: var(--forest); }

/* The hero now represents home, enterprise, and everyday movement together. */
.hero-visual { isolation: isolate; }

.hero-photo {
    inset: 24px 82px 76px 6px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 34px;
    background:
        linear-gradient(to top, rgba(7, 19, 15, .38), transparent 55%),
        url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=1200&q=86") center/cover;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .32);
    filter: saturate(.78) contrast(1.03);
    transform: rotate(-2.4deg);
}

.hero-photo::before {
    position: absolute;
    top: 62px;
    right: -116px;
    bottom: auto;
    left: auto;
    width: 224px;
    height: 252px;
    border: 7px solid var(--forest);
    border-radius: 24px;
    background:
        linear-gradient(to top, rgba(7, 19, 15, .27), transparent 58%),
        url("https://images.unsplash.com/photo-1556740749-887f6717d7e4?auto=format&fit=crop&w=700&q=84") center/cover;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .34);
    content: "";
    transform: rotate(7deg);
}

.hero-photo::after {
    position: absolute;
    right: -60px;
    bottom: -70px;
    width: 248px;
    height: 164px;
    border: 7px solid var(--forest);
    border-radius: 20px;
    background:
        linear-gradient(to top, rgba(7, 19, 15, .28), transparent 60%),
        url("https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=760&q=84") center/cover;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .34);
    content: "";
    transform: rotate(3deg);
}

.hero-visual::before {
    position: absolute;
    z-index: 8;
    right: 18px;
    bottom: 10px;
    width: 42px;
    height: 57px;
    background: var(--lime);
    clip-path: polygon(0 0, 100% 63%, 61% 67%, 79% 100%, 63% 100%, 46% 70%, 20% 95%);
    content: "";
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .42));
    transform: rotate(-12deg);
    animation: click-drift 4s ease-in-out infinite;
}

.hero-visual::after {
    position: absolute;
    z-index: 7;
    right: 61px;
    bottom: 17px;
    padding: 8px 11px;
    border: 1px solid rgba(217, 255, 99, .4);
    border-radius: 999px;
    color: var(--lime);
    background: rgba(11, 23, 20, .86);
    content: "click to begin";
    font-family: Consolas, monospace;
    font-size: 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.match-card { z-index: 10; }
.match-card-top { top: 150px; left: -38px; }
.match-card-bottom { right: -4px; bottom: 112px; }
.photo-caption { right: 92px; bottom: 82px; left: 26px; }

.hero-copy h1 em::after {
    width: 55%;
    height: 9px;
    background: repeating-linear-gradient(90deg, var(--lime) 0 7px, transparent 7px 12px);
    clip-path: none;
}

.text-arrow-link span[aria-hidden="true"] {
    display: inline-block;
    width: 12px;
    height: 16px;
    background: currentColor;
    clip-path: polygon(0 0, 100% 63%, 61% 67%, 79% 100%, 63% 100%, 46% 70%, 20% 95%);
    font-size: 0;
    transform: rotate(-7deg);
}

@keyframes click-drift {
    0%, 100% { transform: translate(0, 0) rotate(-12deg); }
    46% { transform: translate(-13px, -12px) rotate(-12deg); }
    52% { transform: translate(-10px, -9px) rotate(-12deg) scale(.88); }
}

@media (max-width: 900px) {
    .hero-photo { inset: 20px 96px 80px 18px; }
    .hero-photo::before { right: -106px; }
    .hero-photo::after { right: -58px; }
}

@media (max-width: 600px) {
    .site-brand-mark { width: 37px; height: 37px; flex-basis: 37px; }
    .site-brand-mark::before { width: 23px; height: 30px; }
    .hero-photo { inset: 18px 54px 78px 10px; border-radius: 26px; }
    .hero-photo::before { top: 46px; right: -62px; width: 140px; height: 175px; border-width: 5px; border-radius: 18px; }
    .hero-photo::after { right: -42px; bottom: -55px; width: 178px; height: 122px; border-width: 5px; border-radius: 16px; }
    .match-card-top { top: 116px; left: -2px; }
    .match-card-bottom { right: -2px; bottom: 105px; }
    .photo-caption { display: none; }
    .hero-visual::before { right: 1px; bottom: 14px; width: 34px; height: 47px; }
    .hero-visual::after { right: 35px; bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual::before { animation: none; }
}
