.back-to-top {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #2d6a4f;
    color: #fff;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.back-to-top[hidden] { display: none; }
.back-to-top:hover { background: #23553f; }

.hero-jump-row a:focus-visible,
.back-to-top:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 1px;
    box-shadow: 0 0 0 6px #1f1b16;
}

@media (min-width: 1025px) and (max-width: 1120px) {
    .header-inner { gap: 12px; }
    .header-search { width: clamp(175px, 22vw, 220px); }
}

@media (max-width: 420px) {
    .header-inner { gap: 8px; padding-inline: 14px; }
    .header-inner .brand { flex-shrink: 1; min-width: 0; gap: 8px; }
    .header-inner .brand-logo { flex: none; }
    .header-inner .brand-copy { min-width: 0; }
    .header-inner .brand-title, .header-inner .brand-tagline { white-space: normal; }
    .header-right { gap: 6px; }
    .back-to-top { padding-inline: 6px; }
}

@media print {
    .back-to-top { display: none; }
}
