:root {
    --ink: #211f20;
    --page-gutter: clamp(1rem, 4vw, 4rem);
}

* {
    box-sizing: border-box;
}

html {
    background: #fff;
    color: var(--ink);
    font-family: "Archivo", Arial, sans-serif;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

img {
    display: block;
    max-width: 100%;
}

.hero {
    position: relative;
    padding-top: clamp(4.75rem, 8vw, 9rem);
}

.hero__top {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    width: clamp(6.8rem, 18.4vw, 21rem);
    height: auto;
    transform: translateX(-50%);
}

.hero__photo {
    width: 100%;
    height: auto;
}

.products {
    position: relative;
    z-index: 2;
    width: min(100%, 58rem);
    margin: clamp(-4.75rem, -5.25vw, -2.5rem) auto 0;
    padding: 0 var(--page-gutter);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(1.5rem, 3vw, 3rem);
}

.product-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
}

.product-block img {
    width: min(100%, 25rem);
}

.product-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    width: 100%;
    max-width: 18rem;
    margin-top: clamp(1.25rem, 2.5vw, 2rem);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #000;
    color: #000;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: background-color 160ms ease, transform 160ms ease;
}

.btn-outline:hover {
    background: #d9d9d9;
    transform: translateY(-1px);
}

.btn-outline:focus-visible {
    outline: 3px solid #25a8b8;
    outline-offset: 3px;
}

.products--single {
    width: min(100%, 33rem);
}

.products--single img {
    width: min(100%, 27rem);
    flex: none;
}

.page-message--soon {
    margin-top: clamp(3.5rem, 7vw, 6rem);
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.page-message--soon p {
    font-weight: 700;
    font-size: clamp(1.4rem, 2.75vw, 2.1rem);
}

.page-message {
    width: min(calc(100% - (2 * var(--page-gutter))), 52rem);
    margin: clamp(2.25rem, 4vw, 3.5rem) auto 0;
    padding: clamp(1.15rem, 2.5vw, 1.6rem);
    border-left: 4px solid #642f91;
    background: #f5f2f8;
    text-align: center;
    font-size: clamp(1rem, 1.45vw, 1.3rem);
    line-height: 1.5;
}

.page-message--error {
    border-left-color: #9d1c20;
}

.page-message h1 {
    margin: 0 0 0.5rem;
    color: #9d1c20;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.page-message p {
    margin: 0;
}

.page-message__link {
    margin: 1.25rem 0 0;
}

.company {
    padding: clamp(2.25rem, 4.5vw, 4.25rem) var(--page-gutter) clamp(2rem, 4vw, 3.75rem);
    text-align: center;
}

.company__logo {
    width: clamp(16rem, 31vw, 25.5rem);
    margin: 0 auto clamp(0.65rem, 1.1vw, 1rem);
}

.company__contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
    padding: 0.75rem 1.65rem;
    border-radius: 999px;
    background: #642f91;
    color: #fff;
    font-size: clamp(0.9rem, 1vw, 1rem);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.company__contact:hover {
    background: #4e2473;
    transform: translateY(-1px);
}

.company__contact:focus-visible {
    outline: 3px solid #25a8b8;
    outline-offset: 3px;
}

.company p,
.company address {
    margin: 0;
}

.company__product-line {
    font-size: clamp(1rem, 1.3vw, 1.4rem);
    font-weight: 700;
    line-height: 1.25;
}

.company address {
    margin-top: 0.15rem;
    font-size: clamp(0.85rem, 1.1vw, 1.15rem);
    font-style: italic;
    line-height: 1.25;
}

.company address span {
    display: block;
}

footer {
    padding: clamp(1rem, 1.6vw, 1.5rem) var(--page-gutter);
    background: rgb(217 217 217);
    text-align: center;
    font-size: clamp(0.68rem, 0.85vw, 0.88rem);
    font-weight: 400;
    line-height: 1.45;
}

@media (max-width: 600px) {
    .hero {
        padding-top: clamp(3.75rem, 18vw, 5.25rem);
    }

    .hero__top {
        width: min(30vw, 9.6rem);
    }

    .hero__photo {
        min-height: 15rem;
        object-fit: cover;
        object-position: 54% center;
    }

    .products {
        width: min(100%, 27rem);
        margin-top: -2rem;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .product-block img {
        width: min(100%, 23rem);
    }

    .company {
        padding-top: 2.75rem;
    }

    footer span {
        display: block;
        height: 0;
        overflow: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}
