/* ============================================================
   WHITE AUDITION — Homepage
   ============================================================ */

/* ---- HERO ---- */
.ah-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--ah-color-bg-warm);
}

.ah-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.ah-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(250, 250, 248, 0.96) 0%,
        rgba(250, 250, 248, 0.80) 45%,
        rgba(250, 250, 248, 0.30) 100%
    );
}

/* Left accent bar */
.ah-hero-overlay::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--ah-color-primary);
    opacity: 0.6;
}

.ah-hero-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 40px;
}

.ah-hero-content {
    max-width: 680px;
}

.ah-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ah-color-primary-text);
    margin-bottom: 24px;
}
.ah-hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--ah-color-primary);
    flex-shrink: 0;
}

.ah-hero h1 {
    font-family: var(--ah-font-serif);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 400;
    color: var(--ah-color-dark);
    line-height: 1.1;
    margin-bottom: 24px;
}
.ah-hero h1 em {
    font-style: italic;
    color: var(--ah-color-primary-text);
}

.ah-hero-desc {
    color: var(--ah-color-text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 500px;
}

.ah-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ah-btn-hero-ghost {
    background: transparent;
    border: 1px solid var(--ah-color-border);
    color: var(--ah-color-text-muted);
}
.ah-btn-hero-ghost:hover {
    border-color: var(--ah-color-dark);
    color: var(--ah-color-dark);
    background: transparent;
}

/* Hero floor: stats + slide counter */
.ah-hero-floor {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 32px;
    gap: 20px;
    flex-wrap: wrap;
}

.ah-hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}
.ah-hero-stat { display: flex; flex-direction: column; gap: 3px; }
.ah-hero-stat-num {
    font-family: var(--ah-font-serif);
    font-size: 1.7rem;
    color: var(--ah-color-dark);
    line-height: 1;
}
.ah-hero-stat-lbl {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ah-color-text-light);
}
.ah-hero-stat-div {
    width: 1px;
    height: 28px;
    background: var(--ah-color-border);
    flex-shrink: 0;
}

/* Slide counter */
.ah-hero-slide-ctrl {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ah-hero-slide-cur,
.ah-hero-slide-tot {
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    color: var(--ah-color-text-light);
}
.ah-hero-slide-cur { color: var(--ah-color-text-muted); }
.ah-hero-track {
    width: 64px;
    height: 1px;
    background: var(--ah-color-border);
    position: relative;
    overflow: hidden;
}
.ah-hero-fill {
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 0;
    background: var(--ah-color-dark);
    transition: width 5s linear;
}

/* Nav arrows */
.ah-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: #fff;
    border: 1px solid var(--ah-color-border);
    color: var(--ah-color-text-muted);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s;
    box-shadow: var(--ah-shadow-sm);
}
.ah-hero-nav:hover {
    background: var(--ah-color-dark);
    color: #fff;
    border-color: var(--ah-color-dark);
}
.ah-hero-prev { left: 24px; }
.ah-hero-next { right: 24px; }

/* ---- CANLI BAR ---- */
.ah-live-bar {
    background: #0D0C0C;
    border-bottom: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(30,45,79,0.15);
}
.ah-live-bar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ah-live-bar-inner::-webkit-scrollbar { display: none; }

.ah-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #e44;
    font-weight: 700;
    flex-shrink: 0;
}
.ah-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e44;
    animation: wa-pulse 1.4s infinite;
}
@keyframes wa-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.3; transform: scale(0.65); }
}
.ah-live-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
    transition: color 0.18s;
}
.ah-live-item i { color: var(--ah-color-primary-text); font-size: 0.7rem; }
.ah-live-item:hover { color: #fff; }
.ah-live-sep { color: rgba(255,255,255,0.13); }

/* ---- CATEGORY NAV ---- */
.ah-cats-nav {
    background: #fff;
    border-bottom: 1px solid var(--ah-color-border-lt);
}
.ah-cats-list {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ah-cats-list::-webkit-scrollbar { display: none; }

.ah-cat-link {
    display: inline-flex;
    align-items: center;
    padding: 13px 20px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--ah-color-text-muted);
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.18s, border-color 0.18s;
}
.ah-cat-link:hover,
.ah-cat-link.active {
    color: var(--ah-color-dark);
    border-bottom-color: var(--ah-color-dark);
}

/* ---- SECTION SHELL ---- */
.ah-home-sec {
    padding: 72px 0;
    background: var(--ah-color-bg);
}
.ah-home-sec--warm {
    background: var(--ah-color-bg-warm);
    border-top: 1px solid var(--ah-color-border-lt);
    border-bottom: 1px solid var(--ah-color-border-lt);
}
.ah-home-sec--dark {
    background: var(--ah-color-dark);
}

/* ---- SECTION HEADER ---- */
.ah-sec-hd {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ah-color-border-lt);
}
.ah-sec-hd--inv {
    border-bottom-color: rgba(255,255,255,0.08);
}

.ah-sec-eyebrow {
    display: block;
    font-size: 0.63rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ah-color-primary-text);
    margin-bottom: 6px;
}

.ah-sec-title {
    font-family: var(--ah-font-serif);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 400;
    color: var(--ah-color-text);
    line-height: 1.2;
    margin: 0;
}
.ah-sec-hd--inv .ah-sec-title { color: #fff; }
.ah-sec-hd--inv .ah-sec-eyebrow { color: var(--ah-color-primary-text); }

.ah-sec-link {
    font-size: 0.78rem;
    color: var(--ah-color-text-muted);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: gap 0.18s, color 0.18s;
    border-bottom: 1px solid var(--ah-color-border);
    padding-bottom: 1px;
}
.ah-sec-link::after { content: '→'; }
.ah-sec-link:hover { gap: 8px; color: var(--ah-color-dark); border-bottom-color: var(--ah-color-dark); }
.ah-sec-link--inv { color: rgba(255,255,255,0.40); border-bottom-color: rgba(255,255,255,0.15); }
.ah-sec-link--inv:hover { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.5); }

.ah-sec-footer {
    text-align: center;
    margin-top: 40px;
}

/* ---- DISCOVER TABS ---- */
.ah-disc-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--ah-color-border-lt);
}
.ah-disc-tab {
    background: none;
    border: none;
    padding: 0 40px 20px 0;
    cursor: pointer;
    text-align: left;
    position: relative;
    opacity: 0.38;
    transition: opacity 0.2s;
}
.ah-disc-tab:first-child { padding-left: 0; }
.ah-disc-tab.active { opacity: 1; }
.ah-disc-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: calc(100% - 40px);
    height: 2px;
    background: var(--ah-color-dark);
}
.ah-disc-tab-title {
    display: block;
    font-family: var(--ah-font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--ah-color-text);
    line-height: 1.2;
}
.ah-disc-panel { display: none; }
.ah-disc-panel.active { display: block; }

/* ---- CTA BAND ---- */
.ah-cta-band {
    background: var(--ah-color-dark);
    border-top: none;
    border-bottom: none;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Decorative geometric accent */
.ah-cta-band::after {
    content: '';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    border: 1px solid rgba(30,45,79,0.12);
    border-radius: 50%;
    pointer-events: none;
    opacity: 1;
}
.ah-cta-band::before {
    content: '';
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    height: 220px;
    border: 1px solid rgba(30,45,79,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.ah-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

.ah-cta-title {
    font-family: var(--ah-font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin: 8px 0 14px;
}
.ah-cta-title em {
    font-style: italic;
    color: var(--ah-color-primary-text);
}

.ah-cta-desc {
    color: rgba(255,255,255,0.55);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
    max-width: 480px;
}

.ah-cta-band .ah-btn-primary {
    background: var(--ah-color-primary);
    color: var(--ah-color-dark);
}
.ah-cta-band .ah-btn-primary:hover {
    background: #fff;
    color: var(--ah-color-dark);
    transform: translateY(-1px);
}

.ah-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    min-width: 210px;
}

.ah-btn-cta {
    padding: 14px 32px;
    text-align: center;
    font-size: 0.9rem;
}

.ah-btn-cta-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    padding: 13px 32px;
    border-radius: var(--ah-radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.18s;
    cursor: pointer;
    font-family: var(--ah-font-body);
}
.ah-btn-cta-ghost:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    background: rgba(255,255,255,0.06);
}

/* ---- Auction cards in dark section ---- */
.ah-home-sec--dark .ah-section-header h2 { color: #fff; }
.ah-home-sec--dark .ah-section-link { color: rgba(255,255,255,0.5); }
.ah-home-sec--dark .ah-section-header { border-bottom-color: rgba(255,255,255,0.08); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .ah-hero { min-height: 80vh; }
    .ah-hero-body { padding-top: 60px; }
    .ah-hero-stats { gap: 16px; }
    .ah-hero-floor { padding-bottom: 24px; }
    .ah-home-sec,
    .ah-home-sec--warm,
    .ah-home-sec--dark { padding: 48px 0; }
    .ah-cta-inner { flex-direction: column; }
    .ah-cta-actions { width: 100%; }
    .ah-btn-cta, .ah-btn-cta-ghost { text-align: center; width: 100%; }
}

@media (max-width: 480px) {
    .ah-hero-nav { display: none; }
    .ah-hero-stats { display: none; }
    .ah-hero-slide-ctrl { display: none; }
    .ah-hero h1 { font-size: 2.4rem; }
    .ah-hero-actions { flex-direction: column; }
    .ah-cat-link { padding: 11px 14px; font-size: 0.8rem; }
    .ah-disc-tab { padding-right: 24px; }
    .ah-disc-tab.active::after { width: calc(100% - 24px); }
    .ah-cta-band::after { display: none; }
}

/* ============================================================
   HOMEPAGE — Scroll Reveal Animations
   ============================================================ */

/* Base animation states */
.ah-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.ah-reveal.visible { opacity: 1; transform: translateY(0); }

.ah-reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.ah-reveal-left.visible { opacity: 1; transform: translateX(0); }

.ah-reveal-scale {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.ah-reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.ah-delay-1 { transition-delay: 0.08s; }
.ah-delay-2 { transition-delay: 0.16s; }
.ah-delay-3 { transition-delay: 0.24s; }
.ah-delay-4 { transition-delay: 0.32s; }
.ah-delay-5 { transition-delay: 0.40s; }

/* ---- Section Number Decoration ---- */
.ah-sec-num {
    font-family: var(--ah-font-serif);
    font-size: 6rem;
    font-weight: 400;
    color: var(--ah-color-primary-text);
    opacity: 0.08;
    position: absolute;
    right: 0;
    top: -20px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.02em;
}

/* ---- Home Section Position context ---- */
.ah-home-sec { position: relative; }

/* ---- Category Navigation — Visual Upgrade ---- */
.ah-cats-nav {
    background: #fff;
    border-bottom: 1px solid var(--ah-color-border-lt);
    padding: 0 0;
}
.ah-cat-link {
    position: relative;
    padding: 14px 22px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ah-color-text-muted);
}
.ah-cat-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 22px;
    right: 22px;
    height: 2px;
    background: var(--ah-color-primary);
    transform: scaleX(0);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.ah-cat-link:hover::after,
.ah-cat-link.active::after { transform: scaleX(1); }

/* ---- Live Bar Ticker ---- */
.ah-live-bar-inner {
    gap: 32px;
}
.ah-live-item {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 4px 0;
}
.ah-live-item:hover { color: var(--ah-color-primary-text); }
.ah-live-item i { font-size: 0.65rem; }

/* ---- Section Header with line decoration ---- */
.ah-sec-hd {
    position: relative;
}
.ah-sec-hd::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--ah-color-primary);
    opacity: 0.6;
}

/* ---- Dark Section Enhancements ---- */
.ah-home-sec--dark {
    background: linear-gradient(180deg, #0E0D0D 0%, #151312 100%);
}

/* ---- Warm Section Enhancement ---- */
.ah-home-sec--warm {
    background: linear-gradient(180deg, var(--ah-color-bg-warm) 0%, #F6F2EC 100%);
}

/* ---- Hero Eyebrow Pulse ---- */
.ah-hero-eyebrow {
    animation: wa-eyebrow-in 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes wa-eyebrow-in {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ---- Hero H1 Entry ---- */
.ah-hero h1 {
    animation: wa-title-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}
@keyframes wa-title-in {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Hero Desc Entry ---- */
.ah-hero-desc {
    animation: wa-title-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

/* ---- Hero Actions Entry ---- */
.ah-hero-actions {
    animation: wa-title-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

/* ---- Hero Stats Entry ---- */
.ah-hero-stats {
    animation: wa-title-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

/* ---- Discover Tabs Enhancement ---- */
.ah-disc-tabs {
    gap: 0;
    padding-bottom: 0;
}
.ah-disc-tab {
    padding: 0 48px 24px 0;
    position: relative;
}
.ah-disc-tab:first-child { padding-left: 0; }
.ah-disc-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 24px;
    width: 0;
    border-left: 0px solid var(--ah-color-primary);
    transition: border-width 0.3s;
}
.ah-disc-tab.active::before {
    border-left-width: 2px;
    padding-left: 16px;
}
.ah-disc-tab.active .ah-disc-tab-title,
.ah-disc-tab.active .ah-sec-eyebrow {
    padding-left: 16px;
}
.ah-disc-tab-title {
    transition: padding-left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ah-sec-eyebrow {
    transition: padding-left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Blog Section Cards ---- */
.ah-home-sec .ah-blog-card {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease;
}
.ah-home-sec .ah-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}

/* ---- Vendor / Artist Card Hover ---- */
.ah-home-sec .ah-artist-card,
.ah-home-sec .ah-mu-house-card {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease,
                border-color 0.3s;
}
.ah-home-sec .ah-artist-card:hover,
.ah-home-sec .ah-mu-house-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--ah-color-primary);
}

/* ---- Footer Newsletter Inline Style ---- */
.ah-cta-band {
    overflow: hidden;
}
.ah-cta-copy {
    position: relative;
    z-index: 1;
}
.ah-cta-actions {
    position: relative;
    z-index: 1;
}

/* ---- Responsive refinements ---- */
@media (max-width: 768px) {
    .ah-sec-num { display: none; }
    .ah-disc-tab { padding: 0 24px 20px 0; }
    .ah-disc-tab.active .ah-disc-tab-title,
    .ah-disc-tab.active .ah-sec-eyebrow { padding-left: 12px; }
}
