/* Temporary tropical hero skin. Loaded only by the homepage. */
:root {
    --vice-ink: #201130;
    --vice-font-display: var(--font-display);
    --vice-pink: #ff3fbd;
    --vice-pink-hi: #ff78d2;
    --vice-cyan: #46fff1;
    --vice-white: #fff4ed;
    --vice-muted: #eddae8;
    --vice-glass: #281535bb;
    --vice-core: #3a1949dd;
    --vice-line: #ffc0de5c;
    --vice-shade: #130e2180;
    --vice-shadow: #170e2d;
    --vice-left: #381161ad;
    --vice-mid: #a61a802b;
    --vice-right: #ff4a8b12;
    --vice-edge: #ffb1d533;
    --vice-yellow: #fff077;
    --vice-map-water: #214a62;
    --vice-map-land: #252837;
    --vice-map-block: #393d4d;
    --vice-map-street: #8f95a0;
    --vice-map-alley: #505767;
    --vice-map-park: #3c625e;
    --vice-map-road: #e9e5d6;
    --vice-map-route: #fa4bdb;
    --vice-map-frame: #181423;
    --vice-map-border: #ffb9e9;
    --vice-map-shadow: #130c2480;
}

.home-vice .site-header:not(.is-scrolled) {
    background: var(--vice-ink);
}

.vice-stage {
    position: relative;
    isolation: isolate;
    background: var(--vice-ink);
    color: var(--vice-white);
}

.vice-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(90deg, var(--vice-left), var(--vice-mid) 55%, var(--vice-right)), url('/images/hero/vice-sunset.jpg');
    background-size: cover;
    background-position: center;
}

.vice-stage .hero {
    --green: var(--vice-pink);
    --point-fade: var(--vice-edge);
    --line: var(--vice-line);
    --muted: var(--vice-muted);
    --text: var(--vice-white);
    --bg: var(--vice-ink);
    padding-top: 58px;
    column-gap: 48px;
}

.vice-stage .hero h1 {
    color: var(--vice-white);
    font-family: var(--vice-font-display);
    font-size: clamp(64px, 6.9vw, 100px);
    font-weight: 800;
    line-height: .92;
    letter-spacing: -.055em;
    text-transform: uppercase;
    text-shadow: 0 4px 24px var(--vice-shadow);
}

.vice-stage .hero h1 em {
    color: var(--vice-pink);
}

.vice-stage .intro {
    color: var(--vice-muted);
    text-shadow: 0 2px 12px var(--vice-shadow);
}

.vice-stage .button {
    background: var(--vice-pink);
    color: var(--vice-ink);
}

.vice-stage .button:hover {
    background: var(--vice-pink-hi);
}

.vice-stage .button-secondary {
    background: var(--vice-shade);
    color: var(--vice-white);
    box-shadow: inset 0 0 0 1px var(--vice-line);
}

.vice-stage .button-secondary:hover {
    background: var(--vice-core);
    color: var(--vice-white);
    box-shadow: inset 0 0 0 1px var(--vice-pink);
}

.vice-stage .hero-foot {
    padding-bottom: 28px;
}

@media (max-width: 800px) {
    .vice-stage::before {
        background-position: 65% center;
    }

    .vice-stage .hero {
        padding-top: 38px;
    }

    .vice-stage .hero h1 {
        font-size: clamp(52px, 14vw, 78px);
        letter-spacing: -.045em;
    }

}

/* A fictional city map replaces the radar for the temporary campaign. */
.vice-map {
    align-self: center;
    min-width: 0;
    overflow: clip;
    border: 2px solid var(--vice-map-border);
    border-radius: 16px;
    background: var(--vice-map-frame);
    box-shadow: 10px 12px 0 var(--vice-map-shadow);
    transform: rotate(2deg);
}

.vice-map-heading,
.vice-map-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    color: var(--vice-white);
    font-size: 12px;
    line-height: 1.5;
}

.vice-map-heading > strong {
    color: var(--vice-yellow);
    font-weight: 500;
}

.vice-map-scene {
    position: relative;
    aspect-ratio: 6 / 5;
    overflow: clip;
    border-block: 1px solid var(--vice-line);
}

.vice-map-drawing { display: block; width: 100%; height: 100%; }
.vice-map-water { fill: var(--vice-map-water); }
.vice-map-land { fill: var(--vice-map-land); }
.vice-map-block { fill: var(--vice-map-block); }
.vice-map-street { fill: none; stroke: var(--vice-map-street); stroke-width: 5; }
.vice-map-alley { fill: none; stroke: var(--vice-map-alley); stroke-width: 2; }
.vice-map-park { fill: var(--vice-map-park); }
.vice-map-highway-edge,
.vice-map-bridge-edge { fill: none; stroke: var(--vice-map-land); stroke-width: 17; }
.vice-map-highway,
.vice-map-bridge { fill: none; stroke: var(--vice-map-road); stroke-width: 8; }
.vice-map-canal { fill: none; stroke: var(--vice-map-water); stroke-width: 17; }
.vice-map-route-shadow { fill: none; stroke: var(--vice-map-frame); stroke-width: 12; stroke-linejoin: round; }
.vice-map-route { fill: none; stroke: var(--vice-map-route); stroke-width: 6; stroke-linejoin: round; }
.vice-map-compass { fill: var(--vice-white); font: 500 15px var(--font-body); }

.vice-objective {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translate(-50%, -50%);
    color: var(--vice-white);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.vice-objective > span:last-child {
    padding: 4px 8px;
    border: 1px solid var(--vice-line);
    border-radius: 4px;
    background: var(--vice-map-frame);
}

.vice-objective-blip {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--vice-map-frame);
    border-radius: 50%;
    background: var(--vice-yellow);
    color: var(--vice-ink);
    font: 800 18px/1 var(--vice-font-display);
    box-shadow: 0 0 0 5px var(--vice-edge);
}

.vice-objective-shopify { left: 55%; top: 24%; }
.vice-objective-software { left: 86%; top: 43%; }
.vice-objective-integrations { left: 24%; top: 74%; }
.vice-objective-strategy { left: 50%; top: 72%; }
.vice-objective-software .vice-objective-blip { background: var(--vice-cyan); }
.vice-objective-integrations .vice-objective-blip { background: var(--vice-pink); }
.vice-map-footer > img { display: block; width: 70px; height: auto; }

@media (prefers-reduced-motion: no-preference) {
    .vice-objective-blip { animation: vice-objective-pulse 3.6s ease-in-out infinite; }
    .vice-objective-software .vice-objective-blip { animation-delay: -.9s; }
    .vice-objective-integrations .vice-objective-blip { animation-delay: -1.8s; }
    .vice-objective-strategy .vice-objective-blip { animation-delay: -2.7s; }
}

@keyframes vice-objective-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(.88); }
}

@media (max-width: 800px) {
    .vice-map { margin: 24px 0 8px; transform: none; }
    .vice-map-heading, .vice-map-footer { padding: 14px; font-size: 11px; }
    .vice-objective { font-size: 11px; gap: 5px; }
    .vice-objective-blip { width: 30px; height: 30px; font-size: 16px; }
}
