/* Планшеты и небольшие ноутбуки */
@media (max-width: 900px) {
    .section { padding: 78px 0; }
    .feed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .feed-card:nth-child(2) { transform: none; }
    .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-sticker { font-size: .85rem; }
    .sticker-one { top: -35px; left: 0; }
    .sticker-two { right: 0; bottom: -40px; }
}

/* Телефоны */
@media (max-width: 600px) {
    html { scroll-padding-top: 12px; }
    .section { width: min(100% - 32px, 1100px); padding: 62px 0; }
    .section-heading { margin-bottom: 30px; }
    .section-heading h2 { font-size: clamp(1.8rem, 9vw, 2.6rem); }
    .eyebrow { font-size: .65rem; letter-spacing: .08em; }

    .intro-screen { padding: 16px; }
    .intro-window { padding: 24px 18px; box-shadow: 7px 7px 0 rgba(0,0,0,.25); }
    .intro-window h1 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
    .intro-window .tiny-note { font-size: .7rem; }
    .intro-window .button { width: 100%; }

    .hero { min-height: 82svh; min-height: 82vh; padding: 76px 18px 64px; }
    .hero-content { width: 100%; }
    .hero-title { margin: 22px 0; font-size: clamp(2.65rem, 14vw, 5rem); line-height: .96; letter-spacing: -.06em; text-shadow: 3px 3px 0 white; }
    .hero-title span { text-shadow: 3px 3px 0 var(--ink); }
    .hero-subtitle { max-width: 32ch; margin-bottom: 22px; font-size: 1rem; }
    .hero-content > .eyebrow { max-width: 34ch; margin-inline: auto; font-size: .58rem; }
    .hero-sticker { padding: 7px 9px; font-size: .68rem; }
    .sticker-one { top: -43px; left: 2px; }
    .sticker-two { right: 2px; bottom: -48px; }
    .hero .button { width: min(100%, 280px); }

    .notice-card { align-items: flex-start; gap: 12px; padding: 18px; box-shadow: 4px 4px 0 var(--ink); }
    .notice-card h3 { font-size: 1rem; line-height: 1.3; }
    .notice-icon { font-size: 1.8rem; }

    .feed-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .feed-card { padding: 17px; box-shadow: 4px 4px 0 var(--ink); }
    .feed-card:nth-child(2) { transform: none; }
    .feed-card img { height: auto; max-height: 300px; aspect-ratio: 16 / 10; object-fit: cover; }
    .feed-card h3 { margin-top: 2px; font-size: 1.2rem; }

    .media-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .media-placeholder, .photo-placeholder { min-height: 0; padding: 14px; }
    .media-placeholder img, .photo-placeholder img { width: auto; max-width: 100%; max-height: 320px; }
    .placeholder-symbol { font-size: .78rem; }

    .photo-grid { gap: 12px; }
    .photo-grid img { width: 100%; border-radius: 12px; box-shadow: 4px 4px 0 rgba(33,27,43,.12); }

    .certificate { padding: 20px 16px; border-width: 5px; outline-offset: 4px; box-shadow: 5px 5px 0 rgba(33,27,43,.15); }
    .certificate-top, .certificate-label { font-size: .62rem; letter-spacing: .04em; }
    .certificate h3 { font-size: clamp(1.8rem, 10vw, 2.7rem); }
    .certificate ul { margin: 20px 0; padding-left: 1.2em; font-size: .92rem; line-height: 1.65; }
    .certificate-footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 26px; font-size: .9rem; }
    .certificate-footer span { gap: 4px; }
    .fake-seal { justify-self: center; width: 82px; height: 82px; }
    .certificate-disclaimer { margin-top: 22px; font-size: .68rem; }

    .danger-section { padding-top: 20px; }
    .danger-panel { padding: 26px 18px; box-shadow: 4px 4px 0 var(--ink); }
    .danger-panel .button { width: 100%; }
    .site-footer { padding: 28px 16px; font-size: .62rem; }

    .error-overlay { align-items: center; padding: 12px; }
    .error-window { padding: 0 16px 18px; }
    .error-titlebar { margin-inline: -16px; padding-inline: 12px; font-size: .88rem; }
    .error-body { gap: 10px; }
    .error-icon { font-size: 2rem; }
    .error-body h2 { font-size: 1.05rem; }
    .error-window .button { padding-inline: 12px; }
}

/* Очень узкие экраны */
@media (max-width: 360px) {
    .section { width: calc(100% - 24px); }
    .hero { padding-inline: 12px; }
    .hero-title { font-size: 2.55rem; }
    .hero-sticker { font-size: .58rem; }
    .certificate { padding-inline: 12px; }
    .notice-card { padding: 14px; }
}
