/* assets/css/shared.css */
/* Shared custom styles for Half Full website (index.html + resources.html) */

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.bg-royal { background-color: #005A9C; }
.text-royal { color: #005A9C; }
.border-royal { border-color: #005A9C; }

/* ── Sidebar cart ──────────────────────────────────────────────────────────── */
.hf-cart {
    position: fixed;
    inset: 0;
    z-index: 150;
    pointer-events: none;
}

.hf-cart--open {
    pointer-events: auto;
}

.hf-cart__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 28rem;
    background: #fff;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.hf-cart--open .hf-cart__panel {
    transform: translateX(0);
}

.hf-cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 140;
    background: rgba(15, 23, 42, 0.6);
}

.hf-cart__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.hf-cart__eyebrow {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #005A9C;
    margin-bottom: 0.25rem;
}

.hf-cart__title {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.hf-cart__close {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    transition: color 0.2s ease, background 0.2s ease;
}

.hf-cart__close:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.hf-cart__banner {
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.75rem;
    line-height: 1.5;
}

.hf-cart__banner--guest {
    background: #f8fafc;
    color: #475569;
}

.hf-cart__banner--member {
    background: #eff6ff;
    color: #1e3a5f;
}

.hf-cart__banner-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005A9C;
}

.hf-cart__banner-title {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.hf-cart__body {
    flex: 1;
    overflow-y: auto;
    padding: 0 1.25rem 1rem;
}

.hf-cart__items {
    padding-top: 0.5rem;
}

.hf-cart__item {
    display: flex;
    gap: 0.85rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.hf-cart__item-img {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    border-radius: 0.85rem;
    background: #f8fafc;
}

.hf-cart__item-body {
    flex: 1;
    min-width: 0;
}

.hf-cart__item-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.9rem;
}

.hf-cart__item-price,
.hf-cart__item-line {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.hf-cart__item-line {
    font-weight: 700;
    color: #005A9C;
}

.hf-cart__qty {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.55rem;
}

.hf-cart__qty-btn {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 9999px;
    background: #e2e8f0;
    color: #334155;
    font-weight: 800;
    transition: background 0.2s ease;
}

.hf-cart__qty-btn:hover {
    background: #cbd5e1;
}

.hf-cart__qty-value {
    min-width: 1.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.hf-cart__remove {
    color: #dc2626;
    align-self: flex-start;
    padding: 0.25rem;
}

.hf-cart__remove:hover {
    color: #991b1b;
}

.hf-cart__checkout {
    margin-top: 0.5rem;
}

.hf-cart__guest-form,
.hf-cart__member-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
}

.hf-cart__member-card {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.hf-cart__label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.hf-cart__member-name {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.hf-cart__member-email {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 0.15rem;
}

.hf-cart__field {
    display: block;
    margin-bottom: 0.75rem;
}

.hf-cart__field > span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.35rem;
}

.hf-cart__required {
    color: #dc2626;
}

.hf-cart__optional {
    font-weight: 500;
    color: #94a3b8;
}

.hf-cart__input {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hf-cart__input:focus {
    outline: none;
    border-color: #005A9C;
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.15);
}

.hf-cart__hint {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.hf-cart__inline-link {
    color: #005A9C;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hf-cart__coupon {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.hf-cart__coupon-row {
    display: flex;
    gap: 0;
}

.hf-cart__coupon-row .hf-cart__input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.hf-cart__coupon-btn {
    padding: 0.7rem 1rem;
    background: #005A9C;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    white-space: nowrap;
}

.hf-cart__coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.6rem;
    padding: 0.55rem 0.75rem;
    background: #ecfdf5;
    border-radius: 0.65rem;
    font-size: 0.75rem;
    color: #166534;
}

.hf-cart__footer {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    background: #fff;
}

.hf-cart__totals {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
    font-size: 0.75rem;
}

.hf-cart__total-row {
    display: flex;
    justify-content: space-between;
    color: #64748b;
}

.hf-cart__total-row span:last-child {
    font-weight: 700;
    color: #0f172a;
}

.hf-cart__total-row--discount span:last-child {
    color: #16a34a;
}

.hf-cart__total-row--grand {
    padding-top: 0.55rem;
    margin-top: 0.25rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.hf-cart__total-row--grand span:last-child {
    color: #005A9C;
    font-size: 1.15rem;
}

.hf-cart__actions {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.hf-cart__link {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
}

.hf-cart__link:hover:not(:disabled) {
    color: #005A9C;
}

.hf-cart__link:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.hf-cart__checkout-btn {
    width: 100%;
    padding: 0.95rem 1rem;
    background: #005A9C;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 0.85rem;
    box-shadow: 0 8px 20px rgba(0, 90, 156, 0.25);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.hf-cart__checkout-btn:hover:not(:disabled) {
    filter: brightness(1.08);
}

.hf-cart__checkout-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.hf-cart__empty,
.hf-cart__success-card {
    text-align: center;
    padding: 2rem 0.5rem;
}

.hf-cart__empty-icon {
    display: flex;
    justify-content: center;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.hf-cart__empty-title,
.hf-cart__success-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #0f172a;
}

.hf-cart__empty-copy,
.hf-cart__success-copy {
    margin-top: 0.45rem;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
}

.hf-cart__empty-btn {
    display: inline-flex;
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    background: #005A9C;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0.75rem;
}

.hf-cart__success {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.hf-cart__success-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    border-radius: 9999px;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
}

.hf-cart__success-meta {
    margin-top: 0.65rem;
    font-size: 0.75rem;
    color: #475569;
}

.hf-cart__success-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
    margin-top: 1.25rem;
}

.hf-cart__loading,
.hf-cart__error {
    text-align: center;
    padding: 2rem 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
}

.hf-cart__error {
    color: #dc2626;
}

/* ── Auth nav button (split Log In / Join) ─────────────────────────────────── */
.hf-auth-nav {
    display: inline-flex;
    align-items: stretch;
    border: 2px solid #005A9C;
    background: #fff;
    box-shadow: 4px 4px 0 rgba(0, 90, 156, 0.18);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hf-auth-nav:hover {
    box-shadow: 5px 5px 0 rgba(0, 90, 156, 0.28);
}

.hf-auth-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.15rem;
    font-family: inherit;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    background: transparent;
    color: #005A9C;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.hf-auth-nav__btn svg {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

.hf-auth-nav__btn:hover {
    background: #f0f7fc;
}

.hf-auth-nav__btn--join {
    background: #005A9C;
    color: #fff;
}

.hf-auth-nav__btn--join:hover {
    background: #00467d;
}

.hf-auth-nav__divider {
    width: 2px;
    align-self: stretch;
    background: #005A9C;
    opacity: 0.2;
    flex-shrink: 0;
}

.hf-auth-nav--dashboard {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: #005A9C;
    border: 2px solid #005A9C;
    box-shadow: 4px 4px 0 rgba(0, 90, 156, 0.18);
    transition: box-shadow 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.hf-auth-nav--dashboard:hover {
    filter: brightness(1.06);
    box-shadow: 5px 5px 0 rgba(0, 90, 156, 0.28);
}

.hf-auth-nav--dashboard svg {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

.hf-auth-nav__user {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    opacity: 0.75;
    text-transform: none;
}

#mobile-menu .hf-auth-nav,
#mobile-menu .hf-auth-nav--dashboard {
    width: 100%;
}

#mobile-menu .hf-auth-nav__btn {
    flex: 1;
}

/* ── Back to top ─────────────────────────────────────────────────────────────── */
.hf-back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #005A9C;
    color: #fff;
    border: 2px solid #005A9C;
    box-shadow: 4px 4px 0 rgba(0, 90, 156, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.2s ease;
    cursor: pointer;
    padding: 0;
}

.hf-back-to-top:hover {
    box-shadow: 5px 5px 0 rgba(0, 90, 156, 0.32);
    filter: brightness(1.06);
}

.hf-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hf-back-to-top svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ── Animated stats ──────────────────────────────────────────────────────────── */
.hf-stat-item {
    opacity: 0;
    transform: translateY(1.25rem);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hf-stat-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hf-stat-item:nth-child(2).is-visible { transition-delay: 0.12s; }
.hf-stat-item:nth-child(3).is-visible { transition-delay: 0.24s; }
.hf-stat-item:nth-child(4).is-visible { transition-delay: 0.36s; }

.hf-stat-value--reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.75rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hf-stat-value--reveal.is-animated {
    opacity: 1;
    transform: translateY(0);
}

/* ── COMMS homepage CTA (community sidebar) ────────────────────────────────── */
.comms-cta__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 2rem;
    box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.comms-cta__card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10rem;
    height: 10rem;
    background: rgba(0, 90, 156, 0.06);
    border-radius: 50%;
    filter: blur(40px);
    transform: translate(35%, -45%);
    pointer-events: none;
}

.comms-cta__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comms-cta__icon-wrap {
    flex-shrink: 0;
    width: 3.75rem;
    height: 3.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
}

.comms-cta__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.comms-cta__eyebrow {
    display: block;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #005A9C;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.comms-cta__title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0;
    line-height: 1;
}

.comms-cta__lead {
    position: relative;
    z-index: 1;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
    color: #334155;
    margin: 0;
}

.comms-cta__desc {
    position: relative;
    z-index: 1;
    font-size: 0.8125rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

.comms-cta__desc strong {
    color: #334155;
    font-weight: 700;
}

.comms-cta__features {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0.25rem 0 0.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.comms-cta__feature {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.comms-cta__feature-dot {
    flex-shrink: 0;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #005A9C;
}

.comms-cta__feature-label {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475569;
}

.comms-cta__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.comms-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: inherit;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.comms-cta__btn--primary {
    color: #fff;
    background: #005A9C;
    border: 2px solid #005A9C;
    box-shadow: 0 8px 20px -8px rgba(0, 90, 156, 0.45);
}

.comms-cta__btn--primary:hover {
    filter: brightness(1.08);
    transform: scale(1.02);
}

.comms-cta__btn--secondary {
    color: #64748b;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
}

.comms-cta__btn--secondary:hover {
    border-color: #005A9C;
    color: #005A9C;
    background: #fff;
}

/* ── Discord CTA (community sidebar) ─────────────────────────────────────── */
.discord-cta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 1.5rem;
    background: #005A9C;
    border-radius: 2rem;
    color: #fff;
    box-shadow: 0 16px 32px -12px rgba(0, 90, 156, 0.4);
}

@media (min-width: 1024px) {
    .discord-cta {
        flex: 1;
        min-height: 0;
    }
}

.discord-cta__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.discord-cta__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 0.85rem;
}

.discord-cta__icon svg {
    width: 1.65rem;
    height: 1.65rem;
}

.discord-cta__title {
    font-size: 1.375rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
}

.discord-cta__desc {
    font-size: 0.8125rem;
    line-height: 1.55;
    opacity: 0.88;
    margin: 0;
}

.discord-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: inherit;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: #005A9C;
    background: #fff;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, filter 0.2s ease;
    flex-shrink: 0;
}

.discord-cta__btn:hover {
    transform: scale(1.02);
    filter: brightness(1.03);
}

/* ── COMMS page (light) ────────────────────────────────────────────────────── */
.comms-page {
    background: #fff;
}

.comms-page__main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.comms-page__hero {
    max-width: 42rem;
}

.comms-page__brand {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comms-page__icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.comms-page__eyebrow {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 0.5rem;
}

.comms-page__title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin: 0 0 0.35rem;
    line-height: 1.05;
}

.comms-page__subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 0.75rem;
}

.comms-page__tagline {
    font-size: 1rem;
    font-style: italic;
    color: #005A9C;
    margin: 0 0 1rem;
}

.comms-page__desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0 0 1.35rem;
}

.comms-page__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.comms-page__section {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.comms-page__section-title {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f172a;
}

.comms-page__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .comms-page__steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.comms-page__step {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.1rem 1.15rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.comms-page__step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    background: #005A9C;
}

.comms-page__step-title {
    margin: 0 0 0.3rem;
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
}

.comms-page__step-desc {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #64748b;
}

.comms-page__member-panel {
    padding: 1rem 1.15rem;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
}

.comms-page__member-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
}

.comms-page__member-banner p {
    margin: 0;
    flex: 1 1 16rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #334155;
}

.comms-page__banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    flex-shrink: 0;
}

.comms-page__grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .comms-page__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.comms-page__feature {
    padding: 1.25rem 1.35rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.comms-page__feature-title {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0f172a;
    margin: 0 0 0.4rem;
}

.comms-page__feature-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
}

.comms-page__access {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .comms-page__access {
        grid-template-columns: repeat(2, 1fr);
    }
}

.comms-page__access-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.comms-page__access-card--primary {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.comms-page__access-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0f172a;
}

.comms-page__access-desc {
    margin: 0;
    flex: 1;
    font-size: 0.84rem;
    line-height: 1.55;
    color: #64748b;
}

.comms-page__access-note {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #64748b;
}

.comms-page__access-note a {
    color: #005A9C;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.comms-page__halffull-desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
    max-width: 40rem;
}

.comms-page__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.comms-page__links a {
    font-size: 0.8rem;
    font-weight: 700;
    color: #005A9C;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
}

.comms-page__links a:hover {
    border-bottom-color: #005A9C;
}

.comms-page__disclaimer {
    padding: 1.15rem 1.25rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.comms-page__disclaimer-title {
    margin: 0 0 0.45rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
}

.comms-page__disclaimer p:last-child {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.6;
    color: #64748b;
}

.comms-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.75rem 1.25rem;
    font-family: inherit;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.comms-page__btn:hover {
    border-color: #005A9C;
    color: #005A9C;
}

.comms-page__btn--primary {
    background: #005A9C;
    border-color: #005A9C;
    color: #fff;
}

.comms-page__btn--primary:hover {
    filter: brightness(1.06);
    color: #fff;
}

.comms-page__btn--secondary {
    background: #fff;
}

.comms-page__status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 1rem;
}

.comms-page__status-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
}

.comms-page__status-dot--online {
    background: #059669;
}

.comms-page__status-dot--soon {
    background: #d97706;
}

.comms-dev-footnote {
    margin-top: 0.5rem;
    font-size: 0.68rem;
    color: #94a3b8;
    text-align: center;
}

.comms-dev-footnote summary {
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.04em;
    list-style: none;
}

.comms-dev-footnote summary::-webkit-details-marker {
    display: none;
}

.comms-dev-footnote__text {
    margin: 0.5rem 0 0;
    line-height: 1.5;
    word-break: break-all;
}

.comms-dev-footnote__text code {
    font-size: 0.65rem;
    color: #64748b;
}

.comms-dev-footnote__sep {
    margin: 0 0.35rem;
}

/* ── Hero / Wave Animation (index.html) ──────────────────────────────────────── */
.hero-container {
    position: relative;
    background: #ffffff;
    padding-bottom: 120px;
    overflow: hidden;
}

.wave-container {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 120px;
    line-height: 0;
    z-index: 5;
}

.wave-svg {
    position: relative;
    display: block;
    width: 200%;
    height: 120px;
}

.wave-fill {
    fill: #005A9C;
}

.wave-animation {
    animation: move-wave 12s linear infinite;
}

@keyframes move-wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* ── Dashboard embed mode (?embed=1) ─────────────────────────────────────── */
html.hf-embed .hf-site-chrome,
html.hf-embed .hf-site-footer {
    display: none !important;
}

html.hf-embed body {
    overflow-x: hidden;
}

html.hf-embed .comms-dev-footnote {
    display: none;
}

/* ── Mobile polish ─────────────────────────────────────────────────────────── */
@media (max-width: 639px) {
    .hero-container h1 {
        font-size: clamp(2.5rem, 11vw, 4.5rem);
        line-height: 0.95;
    }
}

@media (hover: none) {
    .shop-card-overlay {
        opacity: 1 !important;
    }
}

.js-cart-toggle,
#hamburger {
    min-width: 2.75rem;
    min-height: 2.75rem;
}

.hf-index-nav {
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .hf-index-nav {
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .hf-index-nav {
        gap: 2rem;
    }
}

.hf-info-page__main {
    max-width: 48rem;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

@media (min-width: 1024px) {
    .hf-info-page__main {
        padding: 4rem 2rem 5rem;
    }
}

.hf-info-page__card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 1.75rem;
    box-shadow: 0 12px 30px -20px rgba(15, 23, 42, 0.25);
}

.hf-info-page__card + .hf-info-page__card {
    margin-top: 1.25rem;
}

.hf-info-page__lead {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.hf-info-page__section-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #005A9C;
    margin: 1.75rem 0 0.75rem;
}

.hf-info-page__section-title:first-child {
    margin-top: 0;
}

.hf-info-page__prose {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.7;
}

.hf-info-page__prose p + p,
.hf-info-page__prose ul {
    margin-top: 0.75rem;
}

.hf-info-page__prose ul {
    padding-left: 1.25rem;
    list-style: disc;
}

.hf-info-page__prose a {
    color: #005A9C;
    font-weight: 700;
    text-decoration: underline;
}

.hf-info-page__form {
    display: grid;
    gap: 1rem;
}

.hf-info-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.hf-info-page__hint {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
}

.hf-info-page__meta {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.75rem;
}

.hf-info-page__crisis {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    color: #991b1b;
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.hf-info-page__member-note {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    color: #0c4a6e;
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.hf-info-page__member-note a {
    color: #005A9C;
    font-weight: 800;
    text-decoration: underline;
}

/* ── Navigation (both pages) ──────────────────────────────────────────────── */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #005A9C;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

section[id] {
    scroll-margin-top: 5.5rem;
}

.nav-link.active {
    color: #005A9C !important;
}

.nav-link.active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #005A9C;
    position: absolute;
    bottom: -4px;
}

/* Mobile menu (both pages) */
#mobile-menu {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero background overlay (index.html) */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    opacity: 0.07;
    filter: grayscale(100%);
    z-index: 0;
}

/* Reveal animation (index.html) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.btn-pulse:hover {
    box-shadow: 0 0 0 10px rgba(0, 90, 156, 0.1);
}

/* ── Homepage Upcoming Events (mission drop board) ─────────────────────────── */
.drop-board-live {
    animation: drop-pulse 2s ease-in-out infinite;
}

@keyframes drop-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.drop-board-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding-left: 0.25rem;
}

.drop-board-timeline {
    position: absolute;
    left: 1.35rem;
    top: 2rem;
    bottom: 2rem;
    width: 2px;
    background: linear-gradient(180deg, #005A9C 0%, #e2e8f0 100%);
    border-radius: 2px;
    pointer-events: none;
}

.drop-card {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 1rem;
    padding: 1.125rem 1.25rem 1.125rem 0.75rem;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    animation: drop-card-in 0.45s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.drop-card:nth-of-type(2) { animation-delay: 0.05s; }
.drop-card:nth-of-type(3) { animation-delay: 0.1s; }
.drop-card:nth-of-type(4) { animation-delay: 0.15s; }

@keyframes drop-card-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.drop-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    bottom: 0.75rem;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--drop-accent, #005A9C);
    opacity: 0.85;
}

.drop-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.drop-card.is-next {
    border-color: color-mix(in srgb, var(--drop-accent, #005A9C) 35%, #e2e8f0);
    background: linear-gradient(135deg, color-mix(in srgb, var(--drop-accent, #005A9C) 5%, #fff) 0%, #fff 55%);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--drop-accent, #005A9C) 12%, transparent);
}

.drop-card-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
    width: 4.25rem;
    padding-top: 0.125rem;
}

.drop-card-node {
    position: relative;
    z-index: 2;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.drop-card:hover .drop-card-node {
    border-color: var(--drop-accent, #005A9C);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--drop-accent, #005A9C) 14%, transparent);
}

.drop-card-node-inner {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--drop-accent, #005A9C);
}

.drop-card.is-next .drop-card-node {
    border-color: var(--drop-accent, #005A9C);
    background: color-mix(in srgb, var(--drop-accent, #005A9C) 10%, #fff);
}

.drop-date-pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.5rem 0.35rem;
    border-radius: 0.875rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.drop-date-month {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    line-height: 1;
}

.drop-date-day {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    margin-top: 0.1rem;
    letter-spacing: -0.04em;
}

.drop-date-time {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--drop-accent, #005A9C);
    margin-top: 0.25rem;
    letter-spacing: 0.02em;
}

.drop-card-main,
.drop-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.drop-card-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.drop-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    color: var(--drop-accent, #005A9C);
    background: color-mix(in srgb, var(--drop-accent, #005A9C) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--drop-accent, #005A9C) 20%, #e2e8f0);
}

.drop-card-badge svg {
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
}

.drop-next-ribbon {
    display: none;
    align-items: center;
    font-size: 0.625rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: var(--drop-accent, #005A9C);
    padding: 0.25rem 0.55rem;
    border-radius: 0.375rem;
    animation: drop-ribbon-glow 2.5s ease-in-out infinite;
}

.drop-card.is-next .drop-next-ribbon {
    display: inline-flex;
}

@keyframes drop-ribbon-glow {
    0%, 100% { box-shadow: 0 0 6px color-mix(in srgb, var(--drop-accent, #005A9C) 50%, transparent); }
    50% { box-shadow: 0 0 14px color-mix(in srgb, var(--drop-accent, #005A9C) 80%, transparent); }
}

.drop-card-title {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.3;
    margin: 0;
    transition: color 0.2s ease;
}

.drop-card:hover .drop-card-title {
    color: var(--drop-accent, #005A9C);
}

.drop-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.drop-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.drop-card-meta svg {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    opacity: 0.7;
}

.drop-card-desc {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0.4rem 0 0;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.drop-card-countdown {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0.5rem 0 0;
}

.drop-card-countdown strong {
    color: var(--drop-accent, #005A9C);
}

.drop-card-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 6.5rem;
}

.drop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1;
}

button.drop-btn {
    appearance: none;
    -webkit-appearance: none;
}

.drop-btn-ghost {
    color: #475569;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.drop-btn-ghost:hover {
    color: #005A9C;
    border-color: #005A9C;
    background: #f8fafc;
}

.drop-btn-rsvp {
    color: #fff;
    background: var(--drop-accent, #005A9C);
    border: none;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--drop-accent, #005A9C) 35%, transparent);
}

.drop-btn-rsvp:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.drop-btn-rsvp.is-cancel {
    background: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.drop-board-loading-text {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #64748b;
    font-size: 0.875rem;
}

.drop-board--empty .drop-board-list {
    padding-left: 0;
    min-height: 16rem;
    justify-content: center;
}

.drop-board-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    width: 100%;
    margin: 0 auto;
    max-width: 26rem;
    padding: 2.25rem 1.5rem 2rem;
    border: 1px dashed #cbd5e1;
    border-radius: 1.25rem;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.75));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.drop-board-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.35rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #005A9C;
    box-shadow: 0 8px 20px -12px rgba(0, 90, 156, 0.45);
}

.drop-board-empty__icon svg {
    width: 1.65rem;
    height: 1.65rem;
}

.drop-board-empty__eyebrow {
    margin: 0;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #94a3b8;
}

.drop-board-empty__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #0f172a;
    line-height: 1.15;
}

.drop-board-empty__desc {
    margin: 0;
    max-width: 22rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
}

.drop-board-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.drop-board-empty__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.drop-board-empty__btn:hover {
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
}

.drop-board-empty__btn--primary {
    border-color: #005A9C;
    background: #005A9C;
    color: #fff;
    box-shadow: 0 8px 18px -10px rgba(0, 90, 156, 0.7);
}

.drop-board-empty__btn--primary:hover {
    background: #004a82;
    border-color: #004a82;
    color: #fff;
}

@media (max-width: 768px) {
    .drop-board-timeline {
        display: none;
    }

    .drop-board-list {
        padding-left: 0;
    }

    .drop-card {
        flex-direction: column;
        padding: 1rem 1rem 1rem 1.125rem;
        gap: 0.875rem;
    }

    .drop-card-rail {
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
        padding-top: 0;
    }

    .drop-date-pillar {
        width: auto;
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.4rem 0.75rem;
    }

    .drop-date-day {
        font-size: 1.25rem;
        margin-top: 0;
    }

    .drop-date-time {
        margin-top: 0;
    }

    .drop-date-time::before {
        content: '·';
        margin-right: 0.35rem;
        color: #cbd5e1;
    }

    .drop-card-actions {
        flex-direction: row;
        min-width: 0;
        width: 100%;
    }

    .drop-btn {
        flex: 1;
    }
}

/* RSVP button state (used in both static cards and calendar) */
.rsvp-btn {
    transition: all 0.2s ease;
    font-size: 10px;
    min-width: 100px;
}

.rsvp-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 90, 156, 0.15);
}

.rsvp-btn.rsvpd {
    background-color: #005A9C !important;
    color: white !important;
    cursor: default !important;
    box-shadow: none !important;
}

/* ── Blog / Journal styles (resources.html) ───────────────────────────────── */
.blog-card {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-12px);
}

.blog-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.category-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.2s;
}

.tag-active {
    background-color: #005A9C !important;
    color: white !important;
    border-color: #005A9C !important;
}

/* ══ Unified Modal System (event modal reference) ═══════════════════════════ */

.hf-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 30;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    padding: 0;
    line-height: 1;
}

.hf-modal-close:hover {
    color: #0f172a;
    border-color: #cbd5e1;
    background: #f8fafc;
    transform: scale(1.05);
}

.hf-modal-close svg {
    width: 1.125rem;
    height: 1.125rem;
}

.hf-modal-close--on-hero {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    backdrop-filter: blur(8px);
}

.hf-modal-close--on-hero:hover {
    background: #fff;
    color: #0f172a;
    border-color: #fff;
}

.hf-modal-panel {
    background: #fff;
    width: 100%;
    border-radius: 0;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.hf-modal-panel.hf-modal-panel-open,
.hf-modal-panel.scale-100 {
    transform: scale(1);
    opacity: 1;
}

.hf-modal-panel--auth {
    max-width: 44rem;
}

.hf-modal-form--wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}

.hf-modal-span-2 {
    grid-column: 1 / -1;
}

.hf-modal-verify {
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.hf-modal-verify-note {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.45;
}

.hf-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.hf-modal-hero {
    position: relative;
    padding: 2rem 2rem 1.75rem;
    background: linear-gradient(135deg, var(--event-accent, #005A9C) 0%, color-mix(in srgb, var(--event-accent, #005A9C) 35%, #0f172a) 100%);
    color: #fff;
}

#event-modal,
#rsvp-modal {
    --event-accent: #005A9C;
}

#auth-modal .hf-modal-hero {
    --event-accent: #005A9C;
}

#event-modal .hf-modal-badge,
#rsvp-modal .hf-modal-badge {
    background: color-mix(in srgb, var(--event-accent, #005A9C) 85%, #000);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

#event-modal .hf-modal-btn-event,
#rsvp-modal .hf-modal-btn-primary {
    background: var(--event-accent, #005A9C);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--event-accent, #005A9C) 40%, transparent);
}

.hf-modal-hero--compact {
    padding: 1.75rem 2rem 1.5rem;
}

.hf-modal-eyebrow {
    display: block;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.hf-modal-hero-title {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0;
}

.hf-modal-badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.2);
    margin-bottom: 0.75rem;
}

.hf-modal-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.hf-modal-tab {
    flex: 1;
    padding: 1rem 1.25rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hf-modal-tab:hover {
    color: #475569;
    background: #fff;
}

.hf-modal-tab.is-active {
    color: #005A9C;
    border-bottom-color: #005A9C;
    background: #fff;
}

.hf-modal-body {
    padding: 2rem;
}

@media (min-width: 640px) {
    .hf-modal-body {
        padding: 2rem 2.5rem;
    }
}

.hf-modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hf-modal-field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.hf-modal-field label {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.hf-modal-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #0f172a;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hf-modal-input:focus {
    border-color: #005A9C;
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.15);
}

textarea.hf-modal-input,
select.hf-modal-input {
    font-family: inherit;
}

.hf-modal-input-wrap {
    position: relative;
}

.hf-modal-input-wrap .hf-modal-input {
    padding-right: 4rem;
}

.hf-modal-toggle-pass {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 0;
}

.hf-modal-toggle-pass svg {
    width: 1.125rem;
    height: 1.125rem;
}

.hf-modal-toggle-pass:hover {
    color: #005A9C;
}

.hf-modal-btn-primary {
    width: 100%;
    padding: 0.9rem 1.25rem;
    font-family: inherit;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: #005A9C;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 90, 156, 0.3);
}

.hf-modal-btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.hf-modal-btn-secondary {
    flex: 1;
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hf-modal-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.hf-modal-footer {
    padding: 1.25rem 2rem;
    text-align: center;
    font-size: 0.6875rem;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    background: #fafbfc;
}

.hf-modal-actions {
    display: flex;
    gap: 0.75rem;
    padding: 0 2rem 2rem;
}

.hf-modal-meta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 0.75rem;
}

.hf-modal-desc {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.hf-modal-callout {
    padding: 1rem 1.25rem;
    font-size: 0.8125rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0;
}

@media (max-width: 640px) {
    .hf-modal-form--wide {
        grid-template-columns: 1fr;
    }
}

.hf-modal-note {
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0.5rem 0 0;
}

.hf-modal-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hf-modal-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: #475569;
    cursor: pointer;
    margin-top: 0.25rem;
}

.hf-modal-checkbox input {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.125rem;
    accent-color: #005A9C;
    flex-shrink: 0;
}

/* Site toast notifications */
.hf-toast-stack {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 400;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: min(24rem, calc(100vw - 2rem));
    pointer-events: none;
}

.hf-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.95rem 1rem 0.95rem 1.1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #005A9C;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
    transform: translateX(110%);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.hf-toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.hf-toast.is-leaving {
    transform: translateX(110%);
    opacity: 0;
}

.hf-toast--success {
    border-left-color: #005A9C;
}

.hf-toast--error {
    border-left-color: #dc2626;
}

.hf-toast--info {
    border-left-color: #475569;
}

.hf-toast__body {
    flex: 1;
    min-width: 0;
}

.hf-toast__eyebrow {
    display: block;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.hf-toast--success .hf-toast__eyebrow {
    color: #005A9C;
}

.hf-toast--error .hf-toast__eyebrow {
    color: #dc2626;
}

.hf-toast__message {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.45;
    color: #0f172a;
    word-break: break-word;
}

.hf-toast__close {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-top: -0.1rem;
}

.hf-toast__close:hover {
    color: #005A9C;
}

@media (max-width: 640px) {
    .hf-toast-stack {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
}

/* Article Modal (resources.html) */
#article-modal {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

#article-modal.active {
    display: flex;
    opacity: 1;
}

#article-modal.active .modal-container {
    transform: scale(1);
    opacity: 1;
}

#article-modal .modal-container {
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.liked svg {
    fill: #ef4444;
}

/* Smooth card appearance when switching */
.radar-card {
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(8px);
}

.radar-card:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

/* ── Squad Calendar styles (index.html #community section) ──────────────────────── */
#squad-calendar {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

.fc .fc-toolbar {
    margin-bottom: 1.5rem !important;
}

.fc .fc-button-primary {
    background-color: #005A9C;
    border-color: #005A9C;
    color: white;
    border-radius: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

.fc .fc-button-primary:hover {
    background-color: #00467d;
    border-color: #00467d;
}

.fc .fc-button-primary:disabled {
    opacity: 0.6;
}

.fc .fc-daygrid-event,
.fc .fc-list-event {
    border: none !important;
    border-radius: 0.75rem !important;
    margin: 0.35rem 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.fc .fc-list-event-time {
    display: none; /* we show time manually in custom content */
}

/* Make sure our custom RSVP buttons look good inside calendar */
.fc .rsvp-btn {
    min-width: 90px;
    padding: 0.5rem 1rem;
}

/* Fix any FullCalendar default overrides */
.fc .fc-daygrid-day-number,
.fc .fc-list-day-side {
    color: #334155;
    font-weight: 700;
}

.fc .fc-daygrid-day.fc-day-today {
    background: rgba(0, 90, 156, 0.04) !important;
}

/* ── FullCalendar Internal Border Overrides ───────────────── */
.fc-theme-standard .fc-list,
.fc-theme-standard td,
.fc-theme-standard th,
.fc-theme-standard .fc-scrollgrid {
    border: none !important;
}

.fc .fc-list-day-cushion {
    background: transparent !important;
    padding-left: 0 !important;
}

.fc .fc-toolbar {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.fc .fc-list-event {
    margin-bottom: 1rem !important;
}

.fc .fc-list-event:hover td {
    background-color: transparent !important;
}

.fc .fc-list-day {
    display: none !important;
}

/* ── Make calendar events look clickable ──────────────────────────────── */
.fc .fc-list-event,
.fc .fc-daygrid-event {
    cursor: pointer !important;
}

.fc .fc-list-event:hover,
.fc .fc-daygrid-event:hover {
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

.fc .fc-list-event > div,
.fc .fc-daygrid-event-harness > div {
    cursor: pointer;
}

.fc-list-event-dot {
    display: none !important;
}

/* ── Event Modal ───────────────────────────────────────────────────────────── */
#event-modal,
#auth-modal,
#rsvp-modal,
#product-modal {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

#event-modal { z-index: 150; }
#rsvp-modal { z-index: 160; }
#product-modal { z-index: 160; }
#auth-modal { z-index: 200; }

#event-modal:not(.hidden),
#auth-modal:not(.hidden),
#rsvp-modal:not(.hidden),
#product-modal:not(.hidden) {
    display: flex !important;
}

#event-modal.opacity-100,
#auth-modal.opacity-100,
#rsvp-modal.opacity-100,
#product-modal.opacity-100 {
    opacity: 1;
}

#event-modal .modal-container,
#auth-modal .modal-container,
#rsvp-modal .modal-container,
#product-modal .modal-container {
    max-height: 90vh;
    overflow-y: auto;
}

#event-modal .modal-container::-webkit-scrollbar,
#auth-modal .modal-container::-webkit-scrollbar,
#rsvp-modal .modal-container::-webkit-scrollbar,
#product-modal .modal-container::-webkit-scrollbar {
    width: 6px;
}

#event-modal .modal-container::-webkit-scrollbar-track,
#auth-modal .modal-container::-webkit-scrollbar-track,
#rsvp-modal .modal-container::-webkit-scrollbar-track,
#product-modal .modal-container::-webkit-scrollbar-track,
#article-modal .modal-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0;
}

#event-modal .modal-container::-webkit-scrollbar-thumb,
#auth-modal .modal-container::-webkit-scrollbar-thumb,
#rsvp-modal .modal-container::-webkit-scrollbar-thumb,
#product-modal .modal-container::-webkit-scrollbar-thumb,
#article-modal .modal-container::-webkit-scrollbar-thumb {
    background: #005A9C;
    border-radius: 0;
}

.hf-modal-panel .hf-modal-input,
.hf-modal-panel select,
.hf-modal-panel textarea,
.hf-modal-panel button.hf-modal-btn-primary,
.hf-modal-panel button.hf-modal-btn-secondary {
    border-radius: 0 !important;
}

#event-hero {
    min-height: 12rem;
}

#event-actions {
    border-top: 1px solid #f1f5f9;
    padding-top: 2rem;
}

/* Consistent centering */
.fixed.inset-0.flex.items-center.justify-center {
    align-items: center !important;
    justify-content: center !important;
}

/* Shop coming soon */
.hf-shop-banner {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    text-align: center;
}

.hf-shop-banner__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #b45309;
}

.hf-shop-banner__copy {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #92400e;
}

.hf-shop-soon-btn,
.hf-shop-soon-btn:disabled {
    cursor: not-allowed;
    opacity: 0.85;
}

.hf-shop-closed .js-cart-toggle,
.hf-shop-closed #cart-toggle,
.hf-shop-closed #cart-toggle-mobile {
    display: none !important;
}

.hf-cart__hint--warn {
    color: #b45309;
    font-weight: 700;
}

.hf-shop-soon-panel {
    display: flex;
    justify-content: center;
    padding: 2rem 0 3rem;
}

.hf-shop-soon-panel--home {
    padding: 0;
}

.hf-shop-soon-panel__card {
    max-width: 36rem;
    width: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow: 0 18px 40px -28px rgba(15, 23, 42, 0.35);
}

.hf-shop-soon-panel__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #005A9C;
}

.hf-shop-soon-panel__title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #0f172a;
}

.hf-shop-soon-panel__lead {
    margin: 0 0 1.5rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #64748b;
}

.hf-shop-soon-panel__signup {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    text-align: left;
}

.hf-shop-soon-panel__signup-title {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.hf-shop-soon-panel__fine {
    margin: 0.75rem 0 0;
    font-size: 0.7rem;
    color: #94a3b8;
    text-align: center;
}

