/* ============================================================
   HHPoker — Graphite Monochrome Master Stylesheet
   Pure grayscale: #000 through #FFF, zero chromatic injection
   ============================================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
    --ink-full:     #000000;
    --ink-strong:   #1A1A1A;
    --ink-body:     #4A4A4A;
    --ink-muted:    #808080;
    --ink-faint:    #B0B0B0;
    --ink-ghost:    #D4D4D4;
    --surface-dark: #F2F2F2;
    --surface-mid:  #F7F7F7;
    --surface-light:#FAFAFA;
    --paper:        #FFFFFF;
    --border-hair:  #E5E5E5;
    --border-soft:  #D0D0D0;
    --border-firm:  #999999;
    --radius-sm:    2px;
    --radius-md:    4px;
    --transition:   220ms ease;
}

/* --- Smooth Scrolling --- */
html {
    scroll-behavior: smooth;
}

/* --- Selection --- */
::selection {
    background: #000;
    color: #FFF;
}

/* --- Typography Enhancements --- */
.font-display {
    letter-spacing: -0.02em;
}

.tracking-super {
    letter-spacing: 0.2em;
}

/* --- Divider --- */
.hr-hairline {
    border: 0;
    height: 1px;
    background: var(--border-hair);
    margin: 0;
}

.hr-thick {
    border: 0;
    height: 2px;
    background: var(--ink-full);
    width: 48px;
    margin: 0;
}

/* --- Navbar Scroll Shadow --- */
#navbar.scrolled {
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* --- Image Treatments --- */
.img-grayscale {
    filter: grayscale(100%);
    transition: filter var(--transition);
}

.img-grayscale:hover {
    filter: grayscale(80%);
}

/* --- Card Base --- */
.card-mono {
    background: var(--paper);
    border: 1px solid var(--border-hair);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.card-mono:hover {
    border-color: var(--border-soft);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

/* --- Stat Number --- */
.stat-number {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

/* --- Step Dot --- */
.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--ink-full);
    flex-shrink: 0;
}

.step-line {
    width: 1px;
    background: var(--border-hair);
    flex-grow: 1;
}

/* --- FAQ Accordion --- */
.faq-toggle {
    cursor: pointer;
    transition: color var(--transition);
}

.faq-toggle:hover {
    color: var(--ink-full);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 380ms ease, padding 380ms ease;
}

.faq-body.open {
    max-height: 300px;
    padding-top: 12px;
    padding-bottom: 8px;
}

.faq-icon {
    transition: transform 300ms ease;
}

.faq-icon.rotate {
    transform: rotate(45deg);
}

/* --- CTA Button --- */
.btn-mono {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-mono--fill {
    background: var(--ink-full);
    color: var(--paper);
    border: 2px solid var(--ink-full);
}

.btn-mono--fill:hover {
    background: var(--ink-strong);
    border-color: var(--ink-strong);
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.btn-mono--outline {
    background: transparent;
    color: var(--ink-full);
    border: 2px solid var(--ink-full);
}

.btn-mono--outline:hover {
    background: var(--ink-full);
    color: var(--paper);
    transform: translateY(-1px);
}

/* --- Section Header --- */
.section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--ink-muted);
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--ink-full);
}

/* --- Hero Overlay --- */
.hero-overlay {
    position: relative;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.78) 60%, rgba(255,255,255,0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* --- Mobile Menu --- */
#mobile-menu:not(.hidden) {
    display: block;
}

/* --- Fade-In Animation --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 700ms ease forwards;
}

.animate-delay-1 { animation-delay: 100ms; }
.animate-delay-2 { animation-delay: 250ms; }
.animate-delay-3 { animation-delay: 400ms; }
.animate-delay-4 { animation-delay: 550ms; }

/* --- Scroll-Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
}

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

/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
    .hero-overlay::after {
        background: rgba(255,255,255,0.72);
    }
}
