/* hutchins-header.css — shared across all Hutchins sites */
/* Load via: <link rel="stylesheet" href="https://data.hutchinsclimate.com/hutchins-header.css"> */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* Match the 6px custom scrollbar used by app/DC/Hurdle (Tailwind sites).
   Without this, plain HTML pages get macOS overlay scrollbars (0px width)
   while Tailwind pages get 6px classic scrollbars — shifting centering by 3px. */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #FAF8F5; }
::-webkit-scrollbar-thumb { background: #E84C3D; border-radius: 3px; }

.hutchins-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 32px;
    background: #FAF8F5;
    max-width: 1280px;
    margin: 0 auto;
}

.hutchins-header-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250, 248, 245, 0.80);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(26, 26, 26, 0.05);
    border-radius: 16px;
    box-shadow: rgba(26, 26, 26, 0.05) 0px 20px 25px -5px,
                rgba(26, 26, 26, 0.05) 0px 8px 10px -6px;
    height: 62px;
    padding: 0 24px;
}

.hutchins-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.hutchins-header-brand {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1.2px;
    color: #1A1A1A;
    text-decoration: none;
    line-height: 32px;
}

.hutchins-header-divider {
    width: 1px;
    height: 24px;
    background: rgba(26, 26, 26, 0.12);
    flex-shrink: 0;
}

.hutchins-header-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 500;
    color: #1A1A1A;
    line-height: 28px;
}

.hutchins-header-btn {
    height: 36px;
    padding: 0 12px;
    background: #1A1A1A;
    color: #FAF8F5;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: rgba(26, 26, 26, 0.1) 0px 10px 15px -3px,
                rgba(26, 26, 26, 0.1) 0px 4px 6px -4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.hutchins-header-btn:hover {
    transform: translateY(-1px);
    box-shadow: rgba(26, 26, 26, 0.15) 0px 15px 25px -5px;
}

/* Container — must match header width */
.hutchins-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Responsive */
@media (max-width: 768px) {
    .hutchins-header {
        padding: 8px 16px;
    }
    .hutchins-header-pill {
        height: 52px;
        padding: 0 16px;
    }
    .hutchins-header-brand {
        font-size: 18px;
        letter-spacing: -0.8px;
    }
    .hutchins-header-divider,
    .hutchins-header-subtitle {
        display: none;
    }
    .hutchins-container {
        padding: 0 16px;
    }
}
