@media (max-width: 1180px) {
    .hr-header-inner {
        gap: 18px;
    }

    .hr-brand {
        min-width: 220px;
    }

    .hr-brand-copy small {
        display: none;
    }

    .hr-nav-list {
        gap: 15px;
    }

    .hr-hero-content {
        width: 72%;
    }
}

@media (max-width: 1024px) {
    .hr-topbar nav,
    .hr-header-actions {
        display: none;
    }

    .hr-header-inner {
        min-height: 76px;
        justify-content: space-between;
    }

    .hr-brand-mark {
        width: 44px;
        height: 44px;
    }

    .hr-brand-copy strong {
        font-size: 24px;
    }

    .hr-menu-toggle {
        display: grid;
    }

    .hr-menu-toggle-lines,
    .hr-menu-toggle-lines::before,
    .hr-menu-toggle-lines::after {
        width: 20px;
        height: 2px;
        display: block;
        content: "";
        background: currentColor;
        border-radius: 2px;
    }

    .hr-menu-toggle-lines {
        position: relative;
    }

    .hr-menu-toggle-lines::before {
        position: absolute;
        top: -6px;
    }

    .hr-menu-toggle-lines::after {
        position: absolute;
        top: 6px;
    }

    .hr-primary-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        background: var(--hr-surface);
        border-top: 1px solid var(--hr-line);
        box-shadow: var(--hr-shadow);
    }

    .hr-primary-nav.is-open {
        display: block;
    }

    .hr-nav-list {
        width: min(calc(100% - 48px), var(--hr-container));
        margin: auto;
        padding: 12px 0 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 24px;
    }

    .hr-nav-list a {
        padding: 13px 0;
        border-bottom: 1px solid var(--hr-line);
    }

    .hr-nav-list a::after {
        display: none;
    }

    .hr-home-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hr-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hr-featured-grid,
    .hr-latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hr-container {
        width: min(calc(100% - 32px), var(--hr-container));
    }

    .hr-topbar-inner {
        min-height: 32px;
        justify-content: center;
        text-align: center;
        font-size: 11px;
    }

    .hr-home {
        padding-top: 12px;
    }

    .hr-hero {
        min-height: 420px;
        padding: 38px 28px;
        align-items: flex-start;
    }

    .hr-hero-content {
        width: 100%;
    }

    .hr-hero h1 {
        max-width: 560px;
        font-size: clamp(30px, 8vw, 42px);
    }

    .hr-hero-subtitle {
        max-width: 450px;
        font-size: 16px;
        line-height: 1.65;
    }

    .hr-hero-visual {
        width: 70%;
        opacity: 0.55;
    }

    .hr-globe {
        right: -220px;
        bottom: -350px;
    }

    .hr-hero-visual p {
        display: none;
    }

    .hr-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 10px;
    }

    .hr-topic-grid {
        grid-template-columns: 1fr;
    }

    .hr-topic-card {
        min-height: 126px;
    }

    .hr-sidebar {
        grid-template-columns: 1fr;
    }

    .hr-section-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .hr-featured-grid,
    .hr-latest-grid {
        grid-template-columns: 1fr;
    }

    .hr-footer-grid,
    .hr-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .hr-container {
        width: min(calc(100% - 24px), var(--hr-container));
    }

    .hr-header-inner {
        min-height: 68px;
    }

    .hr-brand {
        min-width: 0;
    }

    .hr-brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .hr-brand-copy strong {
        font-size: 22px;
    }

    .hr-hero {
        min-height: 448px;
        padding: 30px 22px;
    }

    .hr-hero-values {
        flex-wrap: wrap;
        gap: 10px 16px;
        font-size: 14px;
    }

    .hr-primary-button {
        width: 100%;
        justify-content: center;
    }

    .hr-section,
    .hr-side-card {
        padding: 22px;
    }

    .hr-section-heading h2 {
        font-size: 21px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
