/* Shared HoneyRuns public-site header/footer */
.hr-shell-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hr-shell-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .hr-shell-inner { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .hr-shell-inner { padding: 0 2rem; }
}

.hr-shell-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.hr-shell-logo {
    font-family: Satoshi, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.875rem;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    color: #1A1A1A;
}

.hr-shell-logo span:first-child { color: #FDB813; }

.hr-shell-links {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
}

.hr-shell-link,
.hr-shell-login {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: rgba(26, 26, 28, 0.84);
    text-decoration: none;
    transition: color 160ms ease;
}

.hr-shell-roll-link {
    position: relative;
    display: inline-block;
    overflow: hidden;
    line-height: 1.25;
}

.hr-shell-roll-link span {
    display: block;
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hr-shell-roll-link::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 100%;
    color: #1A1A1A;
    transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hr-shell-roll-link:hover span,
.hr-shell-roll-link:focus-visible span {
    transform: translateY(-115%);
}

.hr-shell-roll-link:hover::after,
.hr-shell-roll-link:focus-visible::after {
    transform: translateY(-100%);
}

.hr-shell-link:hover,
.hr-shell-login:hover {
    color: #1A1A1A;
}

.hr-shell-actions {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Login is a quiet text link: one filled pill (the CTA) per header, nothing boxed beside it */
.hr-shell-login {
    padding: 0.5rem 0.75rem;
}

.hr-shell-cta,
.hr-primary-cta,
.hr-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    transition: background 160ms ease, border-color 160ms ease;
}

.hr-shell-cta {
    padding: 0.5rem 1.15rem;
}

.hr-shell-cta,
.hr-primary-cta {
    background: #18181B;
    color: #FFFFFF;
}

.hr-shell-cta:hover,
.hr-shell-cta:focus-visible,
.hr-primary-cta:hover,
.hr-primary-cta:focus-visible {
    background: #2E2E33;
}

/* Secondary = text + arrow beside the filled primary, not a second outlined pill */
.hr-secondary-cta {
    gap: 0.4rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    background: transparent;
    color: rgba(26, 26, 28, 0.84);
}

.hr-secondary-cta::after {
    content: "\2192";
    transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hr-secondary-cta:hover,
.hr-secondary-cta:focus-visible {
    color: #18181B;
}

.hr-secondary-cta:hover::after,
.hr-secondary-cta:focus-visible::after {
    transform: translateX(3px);
}

.hr-primary-cta--spaced {
    margin-top: 1rem;
}

.hr-shell-mobile-toggle {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: transparent;
    color: #3D3D3D;
    cursor: pointer;
}

.hr-shell-mobile-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
}

.hr-shell-mobile {
    position: fixed;
    inset: 0;
    z-index: 49;
    display: none;
}

.hr-shell-mobile.is-open { display: block; }

.hr-shell-mobile-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.hr-shell-mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 16rem;
    background: #fff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 5rem 1.5rem 1.5rem;
}

.hr-shell-mobile-panel nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hr-shell-mobile-panel .hr-shell-link,
.hr-shell-mobile-panel .hr-shell-login,
.hr-shell-mobile-panel .hr-shell-cta {
    width: 100%;
    text-align: center;
}

.hr-shell-mobile-panel .hr-shell-link {
    display: block;
    text-align: left;
    padding: 0.5rem 0;
}


@media (min-width: 768px) {
    .hr-shell-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: initial;
    }

    .hr-shell-links,
    .hr-shell-actions {
        display: flex;
    }

    .hr-shell-mobile-toggle {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hr-shell-roll-link span,
    .hr-shell-roll-link::after,
    .hr-shell-cta,
    .hr-primary-cta,
    .hr-secondary-cta,
    .hr-secondary-cta::after {
        transition: none;
    }

    .hr-shell-roll-link::after {
        display: none;
    }

    .hr-shell-roll-link:hover span,
    .hr-shell-roll-link:focus-visible span {
        transform: none;
    }
}

.hr-shell-footer {
    background: #1A1A1A;
    color: #fff;
    padding: 4rem 0;
}

.hr-shell-footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hr-shell-footer-brand {
    max-width: 28rem;
}

.hr-shell-footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
    font-family: Satoshi, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
}

.hr-shell-footer-logo span:first-child { color: #FDB813; }

.hr-shell-footer-tagline {
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    line-height: 1.5;
}

.hr-shell-footer-socials {
    display: flex;
    gap: 1rem;
}

.hr-shell-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: background 160ms ease;
}

.hr-shell-social:hover { background: #FDB813; }

.hr-shell-footer h4 {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

.hr-shell-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hr-shell-footer a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 160ms ease;
}

.hr-shell-footer a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.hr-shell-footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hr-shell-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
}

.hr-shell-footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}

.hr-shell-footer-legal a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
}

.hr-shell-footer-legal a:hover {
    color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 768px) {
    .hr-shell-footer-bottom {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hr-shell-footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* Riggs idle motion — the one copy on the public site. Mirrors the app's
   RiggsMark idle state (honeyruns-nextjs/src/components/riggs/RiggsMark.tsx):
   float + blink + slow honey sheen. Change both together. */
.rg-c { transform-box: fill-box; transform-origin: center; }
.rg-bob { animation: rg-bob 3.6s ease-in-out infinite; }
.rg-blink { animation: rg-blink 5s ease-in-out infinite; }
.rg-sheenS { animation: rg-sheenS 5s ease-in-out infinite; }
@keyframes rg-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes rg-blink { 0%, 93%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(.1); } }
@keyframes rg-sheenS { 0% { transform: translateX(-34px) rotate(-18deg); } 55%, 100% { transform: translateX(44px) rotate(-18deg); } }

@media (prefers-reduced-motion: reduce) {
    .rg-bob, .rg-blink, .rg-sheenS { animation: none !important; }
}
