.homepage__header {
    display: grid;
    gap: 1rem;
    align-items: end;
}

.homepage__brand-mark {
    width: min(15rem, 58vw);
    justify-self: start;
}

.homepage__brand-mark img {
    display: block;
    width: 100%;
    height: auto;
}

.homepage__content {
    display: grid;
    gap: 1rem;
}

.homepage__intro-card .special-page-content h2 {
    font-family: var(--font-body);
    color: var(--accent-strong);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    line-height: 1.05;
    margin: 0 0 0.25rem;
}

.homepage__intro-card .special-page-content p {
    font-weight: 700;
    font-size: 1.05rem;
}

.homepage__intro-card .special-page-content p strong {
    display: block;
    font-size: clamp(1.05rem, 2.6vw, 1.45rem);
    line-height: 1.1;
}

.social-qr-grid {
    padding-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
}

.social-qr-item {
    display: grid;
    gap: 0.6rem;
    justify-items: center;
    text-decoration: none;
    color: var(--text-main);
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.social-qr-item:hover,
.social-qr-item:focus-visible {
    border-color: var(--accent);
}

.social-qr-item__label {
    font-weight: 600;
    color: var(--accent);
}

.social-qr-item__image {
    width: 100%;
    max-width: 160px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border);
}

@media (min-width: 900px) {
    .homepage__header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .homepage__brand-mark {
        width: min(18rem, 24vw);
        justify-self: end;
    }
}
