:root {
    --canvas: #07141c;
    --canvas-deep: #041018;
    --footer: #0b1e2b;
    --ink: #f4f7f8;
    --muted: #93a7b4;
    --primary: #007abc;
    --line: rgba(0, 122, 188, 0.4);
    --gutter: 20px;
    --column: 1080px;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--canvas-deep);
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100%;
    background:
        linear-gradient(180deg, var(--canvas) 0%, var(--canvas-deep) 100%);
    color: var(--ink);
    font-family: Ubuntu, sans-serif;
}

.sheet {
    width: min(var(--column), calc(100% - (var(--gutter) * 2)));
    margin: 0 auto;
    padding: 22px 0 8px;
}

.identity {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "icon meta"
        "stores stores";
    column-gap: 16px;
    row-gap: 16px;
    align-items: center;
}

.icon {
    grid-area: icon;
    width: 76px;
    height: 76px;
    border-radius: 22%;
    display: block;
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.16);
}

.meta {
    grid-area: meta;
    min-width: 0;
}

h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.subtitle {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 400;
}

.stores {
    grid-area: stores;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.stores a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    border-radius: 8px;
    line-height: 0;
}

.stores a:focus-visible,
.social a:focus-visible,
.lang-switch:focus-visible,
.credit a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.stores img {
    display: block;
    height: 40px;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.shots {
    display: flex;
    gap: 14px;
    margin: 22px 0 0;
    padding: 4px max(var(--gutter), calc((100% - var(--column)) / 2)) 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(var(--gutter), calc((100% - var(--column)) / 2));
    list-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.shots::-webkit-scrollbar {
    display: none;
}

.shots li {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.shots img {
    height: clamp(340px, 58vh, 520px);
    width: auto;
    aspect-ratio: 1206 / 2622;
    border-radius: 16px;
    display: block;
    box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.14);
}

.site-footer {
    background: var(--footer);
    border-top: 1px solid var(--line);
    padding: 32px max(var(--gutter), calc((100% - var(--column)) / 2)) 20px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
}

.brand .wordmark {
    display: block;
    height: 32px;
    width: auto;
}

.brand p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.35;
}

.footer-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.social {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #d7e6ee;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
}

.social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.social i {
    font-size: 16px;
    line-height: 1;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px 7px 7px;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.lang-switch img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: block;
}

.credit {
    margin: 26px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.credit a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    vertical-align: middle;
}

.credit img {
    width: 13px;
    height: auto;
    display: block;
}

@media (min-width: 800px) {
    :root {
        --gutter: 40px;
    }

    .sheet {
        padding-top: 36px;
    }

    .identity {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "icon meta stores";
        column-gap: 20px;
    }

    .icon {
        width: 108px;
        height: 108px;
    }

    h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 17px;
    }

    .stores {
        flex-direction: column;
        align-items: flex-end;
    }

    .stores a {
        width: auto;
        height: auto;
    }

    .stores img {
        width: 160px;
        height: auto;
        max-height: none;
    }

    .footer-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 32px;
    }

    .brand .wordmark {
        height: 36px;
    }

    .brand p {
        font-size: 16px;
    }
}

@media (orientation: portrait) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .brand .wordmark {
        margin-inline: auto;
    }

    .footer-side {
        align-items: center;
    }

    .social {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shots {
        scroll-behavior: auto;
    }
}
