/* ================================================================
   THE PEOPLE'S BILLIONAIRE — Main Stylesheet
   ================================================================ */

/* ----------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
    --color-bg:        #FFFFFF;
    --color-bg-dark:   #0D0D0D;
    --color-bg-light:  #F5F4F0;
    --color-text:      #0D0D0D;
    --color-text-muted:#6B6B6B;
    --color-text-light:#FAFAFA;
    --color-gold:      #C9A84C;
    --color-gold-dark: #A88630;
    --color-border:    #E8E8E8;
    --color-border-dark: #2A2A2A;
    --color-primary:   #0D0D0D;
    --color-accent:    #C9A84C;

    --font-display:    'Playfair Display', Georgia, serif;
    --font-body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-full: 9999px;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
    --shadow-md:  0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
    --shadow-xl:  0 24px 64px rgba(0,0,0,.18);

    --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

    --container-max: 1200px;
    --container-pad: clamp(1rem, 5vw, 2.5rem);

    --header-h: 72px;
}

/* ----------------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: 2px; }

.screen-reader-text {
    position: absolute;
    clip: rect(1px,1px,1px,1px);
    overflow: hidden;
    height: 1px; width: 1px;
    word-wrap: normal;
}

/* ----------------------------------------------------------------
   LAYOUT UTILITIES
   ---------------------------------------------------------------- */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.section {
    padding-block: clamp(4rem, 8vw, 7rem);
}

.section-light { background: var(--color-bg-light); }
.section-dark  { background: var(--color-bg-dark); color: var(--color-text-light); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: .75rem;
}

.section-eyebrow-gold { color: var(--color-gold); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.section-header-light .section-title,
.section-header-light .section-desc { color: var(--color-text-light); }
.section-header-light .section-desc { opacity: .75; }

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: -.01em;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.12);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.97); }

.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text-light);
}

.btn-gold {
    background: var(--color-gold);
    color: #0D0D0D;
}

.btn-gold:hover { background: var(--color-gold-dark); }

.btn-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-text-light);
}

.btn-ghost {
    background: rgba(255,255,255,.12);
    color: var(--color-text-light);
    border: 1.5px solid rgba(255,255,255,.3);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgba(255,255,255,.22);
}

.btn-ghost-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.6);
}

.btn-ghost-white:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
}

/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(255,255,255,.98);
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 2rem;
}

/* Logo */
.header-logo a { display: flex; align-items: center; }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 1px;
}

.logo-the {
    font-size: .625rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.logo-main {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--color-text);
    line-height: 1.1;
}

/* Nav */
.header-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-list li a {
    padding: .5rem .9rem;
    font-size: .9rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition);
    color: var(--color-text);
    position: relative;
}
.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: transform var(--transition);
}
.nav-list li a:hover::after,
.nav-list li.current-menu-item a::after { transform: translateX(-50%) scaleX(1); }
.nav-list li a:hover { color: var(--color-text); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }

.header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    color: var(--color-text);
    transition: var(--transition);
    position: relative;
}
.header-btn:hover { background: var(--color-bg-light); }

.cart-count {
    position: absolute;
    top: 4px; right: 4px;
    width: 16px; height: 16px;
    background: var(--color-gold);
    color: #0D0D0D;
    font-size: .6rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Hamburger */
.hamburger { flex-direction: column; gap: 5px; display: none; }
.hamburger-line {
    width: 20px; height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.is-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search drawer */
.search-drawer {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    z-index: 999;
}
.search-drawer.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.search-drawer .container { display: flex; align-items: center; gap: 1rem; }
.search-drawer .search-field { flex: 1; }
.search-drawer input[type="search"] {
    width: 100%; padding: .75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 1rem;
    transition: border-color var(--transition);
}
.search-drawer input[type="search"]:focus { border-color: var(--color-text); outline: none; }
.search-close { padding: .5rem; border-radius: var(--radius-full); color: var(--color-text-muted); transition: var(--transition); }
.search-close:hover { background: var(--color-bg-light); color: var(--color-text); }

/* ----------------------------------------------------------------
   MOBILE NAV
   ---------------------------------------------------------------- */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: #fff;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.mobile-nav-overlay.is-open { transform: translateX(0); }

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1099;
    background: rgba(0,0,0,.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}
.mobile-nav-backdrop.is-visible { opacity: 1; pointer-events: all; }

.mobile-nav-inner {
    padding: 1.5rem var(--container-pad);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mobile-nav-close {
    align-self: flex-end;
    padding: .5rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    color: var(--color-text);
    transition: var(--transition);
}
.mobile-nav-close:hover { background: var(--color-bg-light); }

.mobile-nav-list { flex: 1; }
.mobile-nav-list li { border-bottom: 1px solid var(--color-border); }
.mobile-nav-list li a {
    display: block;
    padding: 1.1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition);
}
.mobile-nav-list li a:hover { padding-left: .5rem; color: var(--color-gold-dark); }

.mobile-nav-footer { padding-top: 2rem; }
.mobile-social-link { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--color-text-muted); transition: var(--transition); }
.mobile-social-link:hover { color: var(--color-text); }

/* ----------------------------------------------------------------
   TICKER
   ---------------------------------------------------------------- */
.ticker-wrap {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    overflow: hidden;
    padding-block: .55rem;
    margin-top: var(--header-h);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 50s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }

.ticker-item { white-space: nowrap; padding-right: .5rem; }
.ticker-dot { color: var(--color-gold); margin-inline: .75rem; }

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-33.333%); }
}

/* ----------------------------------------------------------------
   HERO
   ---------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    will-change: transform;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13,13,13,.82) 0%,
        rgba(13,13,13,.60) 60%,
        rgba(13,13,13,.30) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-block: 6rem 4rem;
    max-width: 760px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp .6s .2s forwards;
}

.eyebrow-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-gold);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.4); opacity: .6; }
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp .6s .35s forwards;
}

.hero-headline-gold { color: var(--color-gold); }

/* Typewriter cursor on the gold span */
.hero-headline-gold.typewriter::after {
    content: '|';
    display: inline-block;
    color: var(--color-gold);
    animation: blink-cursor .8s step-end infinite;
    margin-left: 2px;
    font-weight: 300;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp .6s .5s forwards;
}
.hero-sub strong { color: var(--color-gold); font-weight: 700; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: fadeUp .6s .65s forwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    width: fit-content;
    opacity: 0;
    animation: fadeUp .6s .8s forwards;
}

.hero-stat { text-align: center; }
.hero-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: .25rem;
}
.hero-stat-label {
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
}
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.18); }

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: fadeUp .6s 1.1s both;
}
.scroll-indicator span {
    display: block;
    width: 24px; height: 38px;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 12px;
    position: relative;
}
.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: rgba(255,255,255,.7);
    border-radius: 2px;
    animation: scroll-wheel 1.8s infinite;
}

@keyframes scroll-wheel {
    0%   { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

/* ----------------------------------------------------------------
   NET WORTH TRACKER
   ---------------------------------------------------------------- */
.net-worth-section { background: #fff; }

.tracker-card {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* Top row */
.tracker-top {
    display: flex;
    align-items: center;
    padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
    gap: 2rem;
    border-bottom: 1px solid var(--color-border-dark);
    flex-wrap: wrap;
}

.tracker-primary { flex: 2; min-width: 180px; }
.tracker-secondary { flex: 1; min-width: 120px; text-align: center; }

.tracker-label {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: .5rem;
}

.tracker-amount {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    letter-spacing: -.03em;
}

.tracker-goal {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.tracker-divider { width: 1px; height: 60px; background: var(--color-border-dark); flex-shrink: 0; }

/* Progress bar */
.tracker-progress-wrap {
    padding: 2rem clamp(1.5rem, 4vw, 3rem);
    border-bottom: 1px solid var(--color-border-dark);
}

.tracker-progress-bar {
    height: 12px;
    background: rgba(255,255,255,.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: .75rem;
    position: relative;
}

.tracker-progress-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), #F0C96D);
    width: var(--progress);
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tracker-progress-glow {
    position: absolute;
    right: -8px; top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 12px 4px rgba(201, 168, 76, .6);
    animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 12px 4px rgba(201,168,76,.6); }
    50%       { box-shadow: 0 0 20px 8px rgba(201,168,76,.9); }
}

.tracker-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: .8rem;
}
.tracker-pct-label  { color: var(--color-gold); font-weight: 600; }
.tracker-goal-label { color: rgba(255,255,255,.5); }

/* Allocation breakdown */
.tracker-allocation {
    padding: 2rem clamp(1.5rem, 4vw, 3rem);
    border-bottom: 1px solid var(--color-border-dark);
}

.tracker-alloc-title {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin-bottom: 1.5rem;
}

.alloc-bars { display: flex; flex-direction: column; gap: 1rem; }

.alloc-row {
    display: grid;
    grid-template-columns: 180px 1fr 48px;
    align-items: center;
    gap: 1rem;
}

.alloc-label { font-size: .9rem; color: rgba(255,255,255,.7); }

.alloc-bar-wrap {
    height: 8px;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.alloc-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    width: 0;
    transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.alloc-fund    { background: var(--color-gold); }
.alloc-ops     { background: rgba(255,255,255,.35); }
.alloc-retain  { background: rgba(255,255,255,.18); }

.alloc-pct { font-size: .85rem; font-weight: 700; color: var(--color-gold); text-align: right; }

.alloc-note {
    margin-top: 1rem;
    font-size: .78rem;
    color: rgba(255,255,255,.35);
    font-style: italic;
}

/* Updates log */
.tracker-updates { padding: 2rem clamp(1.5rem, 4vw, 3rem); }

.tracker-updates-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin-bottom: 1.25rem;
}

.updates-list { display: flex; flex-direction: column; gap: .75rem; }

.update-item {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,.04);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-gold);
    transition: var(--transition);
}
.update-item:hover { background: rgba(255,255,255,.07); }

.update-date { font-size: .75rem; font-weight: 600; color: var(--color-gold); }
.update-text { font-size: .9rem; color: rgba(255,255,255,.75); }

.updates-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--color-gold);
    transition: var(--transition);
}
.updates-link:hover { color: #fff; }

/* ----------------------------------------------------------------
   PRODUCTS — Wear the Movement
   ---------------------------------------------------------------- */

/* Section background: deep dark with warm grain */
.products-section {
    background: linear-gradient(160deg, #0d0d0d 0%, #141414 40%, #111018 100%);
    position: relative;
    overflow: hidden;
}
.products-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201,168,76,.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 110%, rgba(100,80,200,.08) 0%, transparent 55%);
    pointer-events: none;
}

/* Section intro band */
.products-intro {
    padding-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.products-header { margin-bottom: 2rem; }

.products-section-title { color: #fff; }
.products-title-accent {
    color: var(--color-gold);
    position: relative;
    display: inline-block;
}
.products-title-accent::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
    border-radius: 2px;
}

.products-section-desc { color: rgba(255,255,255,.65); }

/* Stat pills row */
.products-stat-row {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.products-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgba(201,168,76,.1);
    border: 1px solid rgba(201,168,76,.25);
    border-radius: var(--radius-full);
    padding: .35rem .9rem;
}

/* Category filter pills */
.cat-filter-bar {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}
.cat-filter-pill {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .5rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255,255,255,.18);
    background: transparent;
    color: rgba(255,255,255,.55);
    cursor: pointer;
    transition: all .2s ease;
}
.cat-filter-pill:hover {
    border-color: rgba(201,168,76,.5);
    color: var(--color-gold);
}
.cat-filter-pill.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #0d0d0d;
}

/* Products grid area */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-top: 2rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background: #1a1a1a;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 4px 20px rgba(0,0,0,.4);
    transition: transform .3s cubic-bezier(0.4,0,0.2,1), box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 12px 40px rgba(0,0,0,.6), 0 0 0 1px rgba(201,168,76,.3), 0 0 24px rgba(201,168,76,.12);
    border-color: rgba(201,168,76,.35);
}

.product-card-img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
}

.product-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-img { transform: scale(1.08); }

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(13,13,13,.3) 0%, rgba(13,13,13,.72) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .25s ease;
}
.product-card:hover .product-card-overlay { opacity: 1; }

.product-card-cta {
    font-size: .8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .65rem 1.4rem;
    border: 2px solid rgba(255,255,255,.7);
    border-radius: var(--radius-full);
    transition: all .2s ease;
    backdrop-filter: blur(4px);
}
.product-card:hover .product-card-cta {
    background: rgba(201,168,76,.2);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* Fund badge — bottom of image */
.product-fund-badge {
    position: absolute;
    bottom: .75rem;
    right: .75rem;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0d0d0d;
    background: var(--color-gold);
    padding: .25rem .65rem;
    border-radius: var(--radius-full);
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .25s ease, transform .25s ease;
}
.product-card:hover .product-fund-badge {
    opacity: 1;
    transform: translateY(0);
}

.product-badge {
    position: absolute;
    top: .75rem; left: .75rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .7rem;
    border-radius: var(--radius-full);
}
.product-badge-sale { background: var(--color-gold); color: #0D0D0D; }

.product-card-body {
    padding: 1.25rem;
    background: #1a1a1a;
}

.product-card-cat {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: .4rem;
}

.product-card-title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.product-card-title a { color: #fff; transition: color var(--transition); }
.product-card-title a:hover { color: var(--color-gold); }

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-card-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
}

.products-cta { text-align: center; padding-bottom: 2rem; position: relative; z-index: 1; }
.woo-notice { color: rgba(255,255,255,.5); text-align: center; padding: 3rem 0; }

/* ----------------------------------------------------------------
   MANIFESTO
   ---------------------------------------------------------------- */
.manifesto-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5rem);
}

.manifesto-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.manifesto-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.manifesto-img-wrap:hover .manifesto-img { transform: scale(1.03); }

.manifesto-img-badge {
    position: absolute;
    bottom: 1.5rem; right: 1.5rem;
    background: var(--color-gold);
    color: #0D0D0D;
    padding: .75rem 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}
.badge-pct { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 900; line-height: 1; }
.badge-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }

.manifesto-lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.manifesto-points { display: flex; flex-direction: column; gap: .875rem; margin-bottom: 2.5rem; }

.manifesto-point {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.point-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: .05em;
    color: var(--color-text);
}

/* ----------------------------------------------------------------
   PHASES
   ---------------------------------------------------------------- */
.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.phase-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.phase-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}
.phase-card:hover::before,
.phase-card.phase-active::before { opacity: 1; }

.phase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.4);
    border-color: rgba(201,168,76,.3);
}

.phase-card.phase-active {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 1px var(--color-gold), var(--shadow-lg);
}

.phase-card.phase-complete {
    border-color: rgba(255,255,255,.2);
    opacity: .7;
}

.phase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.phase-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(255,255,255,.12);
}
.phase-active .phase-number { color: var(--color-gold); opacity: .4; }

.phase-status {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .35rem .8rem;
    border-radius: var(--radius-full);
}
.status-active  { background: rgba(201,168,76,.2); color: var(--color-gold); }
.status-complete{ background: rgba(255,255,255,.1); color: rgba(255,255,255,.5); }
.status-pending { background: rgba(255,255,255,.05); color: rgba(255,255,255,.35); }

.phase-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .35rem;
}

.phase-range {
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.phase-desc {
    font-size: .9375rem;
    color: rgba(255,255,255,.6);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.phase-features {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.phase-features li {
    font-size: .875rem;
    color: rgba(255,255,255,.5);
    padding-left: 1.1rem;
    position: relative;
}
.phase-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: .8rem;
}

.phase-progress-mini {
    margin-top: 1.5rem;
    height: 6px;
    background: rgba(255,255,255,.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}
.phase-progress-fill {
    height: 100%;
    background: var(--color-gold);
    border-radius: var(--radius-full);
    width: var(--progress);
    transition: width 2s 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.phase-progress-pct {
    position: absolute;
    right: 0; bottom: calc(100% + 4px);
    font-size: .7rem;
    font-weight: 700;
    color: var(--color-gold);
}

/* ----------------------------------------------------------------
   WHY SECTION
   ---------------------------------------------------------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.why-card {
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-gold);
}

.why-icon {
    width: 52px; height: 52px;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background var(--transition);
}
.why-card:hover .why-icon { background: rgba(201,168,76,.12); }

.why-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: .6rem;
}

.why-desc { font-size: .9375rem; color: var(--color-text-muted); line-height: 1.65; }

/* ----------------------------------------------------------------
   FAQ
   ---------------------------------------------------------------- */
.faq-container { max-width: 760px; }

.faq-list { display: flex; flex-direction: column; gap: .5rem; }

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item:has(.faq-question[aria-expanded="true"]),
.faq-item:hover { border-color: var(--color-gold); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    background: transparent;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--color-bg-light); }
.faq-question[aria-expanded="true"] { background: var(--color-bg-light); }

.faq-icon {
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: transform var(--transition);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--color-gold-dark); }

.faq-answer {
    padding: 0 1.5rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s cubic-bezier(0.4, 0, 0.2, 1), padding .3s ease;
}
.faq-answer:not([hidden]) {
    max-height: 400px;
    padding-bottom: 1.25rem;
}

.faq-answer p { font-size: .9375rem; color: var(--color-text-muted); line-height: 1.7; }

/* ----------------------------------------------------------------
   CTA BANNER
   ---------------------------------------------------------------- */
.cta-banner {
    position: relative;
    overflow: hidden;
    padding-block: clamp(5rem, 10vw, 8rem);
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cta-banner-img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,13,13,.88), rgba(13,13,13,.65));
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    color: #fff;
}

.cta-banner-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -.02em;
}

.cta-banner-desc { font-size: 1.0625rem; color: rgba(255,255,255,.75); margin-bottom: 2.5rem; }

.cta-banner-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.footer-newsletter {
    background: var(--color-gold);
    padding-block: 3rem;
}

.newsletter-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.newsletter-text h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: #0D0D0D;
    margin-bottom: .25rem;
}
.newsletter-text p { font-size: .9rem; color: rgba(13,13,13,.65); }

.newsletter-form { flex: 1; min-width: 280px; }

.newsletter-field {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.newsletter-field input[type="email"] {
    flex: 1;
    padding: .75rem 1.25rem;
    border: 2px solid rgba(13,13,13,.2);
    border-radius: var(--radius-full);
    background: rgba(255,255,255,.7);
    font-size: .9375rem;
    transition: var(--transition);
}
.newsletter-field input[type="email"]:focus {
    outline: none;
    border-color: #0D0D0D;
    background: #fff;
}

.newsletter-status { font-size: .85rem; margin-top: .5rem; min-height: 1.2em; color: #0D0D0D; font-weight: 600; }
.newsletter-status.error { color: #b00020; }

/* Footer main */
.footer-main {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding-block: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo { display: inline-block; margin-bottom: 1rem; }
.footer-logo .logo-the { color: rgba(255,255,255,.4); }
.footer-logo .logo-main { color: #fff; }

.footer-tagline { font-size: .875rem; color: rgba(255,255,255,.45); margin-bottom: 1.5rem; line-height: 1.5; }

.footer-socials { display: flex; gap: .5rem; }
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.6);
    transition: var(--transition);
}
.social-link:hover { border-color: var(--color-gold); color: var(--color-gold); }

.footer-heading {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    transition: var(--transition);
}
.footer-links a:hover { color: #fff; padding-left: .25rem; }

/* Footer bottom */
.footer-bottom {
    background: #000;
    padding-block: 1.25rem;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
}

.copyright, .footer-printify-note {
    font-size: .8rem;
    color: rgba(255,255,255,.35);
}
.footer-printify-note a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-printify-note a:hover { color: #fff; }

/* ----------------------------------------------------------------
   GENERIC PAGE & POSTS
   ---------------------------------------------------------------- */
.tpb-main {
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 4rem;
    min-height: 60vh;
}

.woo-page { padding-top: calc(var(--header-h) + 3rem); }

.page-title-bar {
    background: var(--color-bg-light);
    padding-block: 2.5rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 3rem;
}
.page-title-bar h1 { font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }

/* ----------------------------------------------------------------
   ANIMATIONS & SCROLL-DRIVEN REVEAL
   ---------------------------------------------------------------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
    from { opacity: 0; transform: translateX(-28px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(28px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-16px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Elements waiting to be revealed */
[data-animate] {
    opacity: 0;
    transition: opacity .6s ease, transform .6s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-up"]    { transform: translateY(28px); }
[data-animate="fade-right"] { transform: translateX(-28px); }
[data-animate="fade-left"]  { transform: translateX(28px); }
[data-animate="slide-right"]{ transform: translateX(-16px); }

[data-animate].is-visible {
    opacity: 1;
    transform: none;
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 960px) {
    .manifesto-container { grid-template-columns: 1fr; }
    .manifesto-img-col { order: 1; }
    .manifesto-text-col { order: 0; }
    .manifesto-img { aspect-ratio: 16/9; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand-col { grid-column: 1 / -1; }

    .tracker-top { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
    .tracker-divider { width: 100%; height: 1px; }

    .alloc-row { grid-template-columns: 120px 1fr 40px; }
}

@media (max-width: 720px) {
    .header-nav { display: none; }
    .hamburger { display: flex; }
    .account-btn { display: none; }

    .hero-stats { flex-direction: column; gap: 1rem; width: 100%; }
    .hero-stat-divider { width: 80%; height: 1px; }

    .phases-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }

    .newsletter-inner { flex-direction: column; gap: 1.5rem; }
    .newsletter-form { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

    .alloc-row { grid-template-columns: 1fr; gap: .4rem; }
    .alloc-label { font-weight: 600; }
    .alloc-bar-wrap { height: 10px; }

    .cta-banner-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .btn-lg { width: 100%; justify-content: center; }
    .tracker-amount { font-size: 2.5rem; }
}

/* ----------------------------------------------------------------
   TARGET TECHNOLOGIES
   ---------------------------------------------------------------- */
/* Widen the container just for the tech section so 3 cards match the old 2-col card width */
#target-technologies .container {
    max-width: 1840px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: stretch;
}


.tech-card {
    position: relative;
    min-height: 440px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: default;
    transition: transform var(--transition), box-shadow var(--transition);
}
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.tech-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.tech-card:hover .tech-card-bg { transform: scale(1.04); }

.tech-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.25) 100%
    );
    transition: background var(--transition);
}
.tech-card:hover .tech-card-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.65) 55%,
        rgba(0, 0, 0, 0.35) 100%
    );
}

.tech-card-body {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding: 2rem;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-card-icon {
    color: var(--color-gold);
    margin-bottom: 0.25rem;
}

.tech-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.tech-card-desc {
    font-size: 0.925rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    max-width: 48ch;
}

.tech-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid rgba(201,168,76,0.4);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    width: fit-content;
    margin-top: 0.25rem;
}

.tech-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    max-width: 600px;
    margin-inline: auto;
    margin-top: 1rem;
}

@media (max-width: 960px) {
    .tech-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .tech-card { min-height: 340px; }
}

@media (max-width: 640px) {
    .tech-grid { grid-template-columns: 1fr; }
    .tech-card { min-height: 300px; }
}

/* ----------------------------------------------------------------
   PRINT
   ---------------------------------------------------------------- */
@media print {
    .site-header, .ticker-wrap, .hero-section, .cta-banner, .footer-newsletter { display: none; }
}

/* ----------------------------------------------------------------
   QUICK-NAV
   ---------------------------------------------------------------- */
.quick-nav {
    background: #111;
    border-top: 1px solid #1c1c1c;
    border-bottom: 1px solid #1c1c1c;
    padding: .7rem 0;
}

.quick-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Left cluster: numbered text links */
.quick-nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.quick-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .9rem;
    color: #888;
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-decoration: none;
    transition: color .18s;
    white-space: nowrap;
}

.quick-nav-link:first-child { padding-left: 0; }

.quick-nav-link:hover { color: #fff; }

.quick-nav-num {
    font-size: .62rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: .06em;
    opacity: .7;
}

.quick-nav-sep {
    width: 1px;
    height: 14px;
    background: #2e2e2e;
    display: inline-block;
    flex-shrink: 0;
}

/* Right CTA: fund tracker */
.quick-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .85rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(201,168,76,.4);
    background: rgba(201,168,76,.06);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-decoration: none;
    white-space: nowrap;
    transition: background .18s, border-color .18s, color .18s;
}

.quick-nav-cta:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #0D0D0D;
}

.quick-nav-cta-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #2ecc71;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(46,204,113,.5);
    animation: qn-pulse 2s infinite;
}

@keyframes qn-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(46,204,113,.5); }
    70%  { box-shadow: 0 0 0 6px rgba(46,204,113,0); }
    100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

@media (max-width: 768px) {
    .quick-nav-inner { flex-direction: column; gap: .6rem; align-items: center; }
    .quick-nav-link { font-size: .74rem; }
}

@media (max-width: 420px) {
    .quick-nav-links { flex-wrap: wrap; justify-content: center; }
    .quick-nav-sep { display: none; }
    .quick-nav-link { padding: .25rem .6rem; }
}

/* ----------------------------------------------------------------
   FUND TRACKER PAGE
   ---------------------------------------------------------------- */

/* Page wrapper */
.ft-page { overflow-x: hidden; }

/* ── HERO ── */
.ft-hero {
    background: var(--color-bg-dark);
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ft-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(201,168,76,.08) 0%, transparent 70%);
    pointer-events: none;
}

.ft-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.25rem;
}

.ft-live-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(46,204,113,.6);
    animation: ft-pulse 2s infinite;
}

@keyframes ft-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(46,204,113,.6); }
    70%  { box-shadow: 0 0 0 10px rgba(46,204,113,0); }
    100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

.ft-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--color-text-light);
    line-height: 1.05;
    margin: 0 0 1.25rem;
}

.ft-hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #999;
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

/* Mega counter */
.ft-mega-counter {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: .25rem;
    margin-bottom: .5rem;
}

.ft-counter-currency {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1.1;
    margin-top: .6rem;
}

.ft-counter-number {
    font-family: var(--font-display);
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -.02em;
    transition: color .3s;
}

.ft-counter-label {
    color: #666;
    font-size: .9rem;
    margin-bottom: 2.5rem;
    letter-spacing: .04em;
}

/* Progress bar */
.ft-progress-wrap {
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.ft-progress-track {
    height: 10px;
    background: #1e1e1e;
    border-radius: var(--radius-full);
    overflow: visible;
    position: relative;
    margin-bottom: .6rem;
}

.ft-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold));
    border-radius: var(--radius-full);
    position: relative;
    min-width: 2px;
    transition: width 1.8s cubic-bezier(.4,0,.2,1);
}

.ft-progress-glow {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-gold);
    box-shadow: 0 0 16px 4px rgba(201,168,76,.6);
    transition: left 1.8s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}

.ft-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: .78rem;
    color: #666;
}

.ft-progress-pct {
    color: var(--color-gold);
    font-weight: 600;
}

/* Quick stats */
.ft-quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.ft-qstat {
    background: #111;
    border: 1px solid #222;
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
}

.ft-qstat--gold { border-color: rgba(201,168,76,.3); }

.ft-qstat-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: .25rem;
}

.ft-qstat--gold .ft-qstat-number { color: var(--color-gold); }

.ft-qstat-label {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #666;
}

@media (max-width: 640px) {
    .ft-quick-stats { grid-template-columns: 1fr 1fr; }
}

/* ── PHASE TIMELINE ── */
.ft-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

.ft-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: linear-gradient(180deg, var(--color-gold) 0%, #222 100%);
}

.ft-phase-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem 0;
    position: relative;
}

.ft-phase-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #555;
    background: var(--color-bg);
    flex-shrink: 0;
    z-index: 1;
    transition: border-color .3s, color .3s;
}

.ft-phase--active .ft-phase-number {
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 0 20px rgba(201,168,76,.3);
}

.ft-phase--done .ft-phase-number {
    border-color: #2ecc71;
    color: #2ecc71;
    background: rgba(46,204,113,.08);
}

.ft-phase-body { flex: 1; padding-top: .5rem; }

.ft-phase-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-bottom: .4rem;
}

.ft-phase-label {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.ft-phase--future .ft-phase-label { color: #888; }

.ft-phase-alloc {
    font-size: .78rem;
    color: var(--color-gold);
    background: rgba(201,168,76,.1);
    border: 1px solid rgba(201,168,76,.3);
    border-radius: var(--radius-full);
    padding: .2rem .6rem;
    font-weight: 600;
}

.ft-phase-badge {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    padding: .2rem .6rem;
}

.ft-phase-badge--active { background: rgba(201,168,76,.15); color: var(--color-gold); }
.ft-phase-badge--done   { background: rgba(46,204,113,.12); color: #2ecc71; }

.ft-phase-desc { font-size: .9rem; color: var(--color-text-muted); margin: 0 0 .6rem; }

.ft-phase-goal {
    font-size: .82rem;
    font-weight: 600;
    color: #aaa;
    margin-bottom: .5rem;
}

.ft-phase-mini-bar {
    height: 4px;
    background: #e8e8e8;
    border-radius: var(--radius-full);
    overflow: hidden;
    max-width: 400px;
}

.ft-phase-mini-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold));
    border-radius: var(--radius-full);
    transition: width 1.8s cubic-bezier(.4,0,.2,1);
}

/* ── ALLOCATION GRID ── */
.ft-alloc-grid {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 780px;
    margin: 0 auto;
}

.ft-alloc-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #111;
    border: 1px solid #1e1e1e;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    transition: border-color .2s, transform .2s;
}

.ft-alloc-card:hover {
    border-color: #333;
    transform: translateX(4px);
}

.ft-alloc-icon { font-size: 1.6rem; flex-shrink: 0; width: 36px; text-align: center; }

.ft-alloc-info { flex: 1; }
.ft-alloc-name {
    font-weight: 700;
    font-size: .95rem;
    color: var(--color-text-light);
    margin-bottom: .2rem;
}
.ft-alloc-desc { font-size: .8rem; color: #666; }

.ft-alloc-right { min-width: 130px; text-align: right; }
.ft-alloc-pct {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: .4rem;
}

.ft-alloc-bar-wrap {
    height: 4px;
    background: #222;
    border-radius: var(--radius-full);
    overflow: hidden;
    width: 120px;
    margin-left: auto;
}

.ft-alloc-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1.5s cubic-bezier(.4,0,.2,1);
}

.ft-alloc-note {
    text-align: center;
    font-size: .78rem;
    color: #666;
    margin-top: 1.5rem;
    font-style: italic;
}

@media (max-width: 640px) {
    .ft-alloc-card { flex-wrap: wrap; }
    .ft-alloc-right { min-width: auto; width: 100%; display: flex; align-items: center; gap: .75rem; }
    .ft-alloc-bar-wrap { margin-left: 0; flex: 1; }
}

/* ── VOTE CTA ── */
.ft-vote-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--color-border);
}

.ft-vote-eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: .75rem;
}

.ft-vote-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 1rem;
    line-height: 1.15;
}

.ft-vote-desc {
    font-size: .95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.ft-vote-visual { text-align: center; }

.ft-vote-circle {
    width: 140px; height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
}

.ft-vote-checkmark {
    font-size: 2.5rem;
    color: var(--color-gold);
    font-weight: 700;
    z-index: 1;
}

.ft-vote-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201,168,76,.2);
    animation: ft-ring-expand 3s ease-out infinite;
}

.ft-vote-ring--1 { width: 160px; height: 160px; animation-delay: 0s; }
.ft-vote-ring--2 { width: 185px; height: 185px; animation-delay: .7s; }
.ft-vote-ring--3 { width: 210px; height: 210px; animation-delay: 1.4s; }

@keyframes ft-ring-expand {
    0%   { opacity: .6; transform: scale(.85); }
    100% { opacity: 0;  transform: scale(1.15); }
}

.ft-vote-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: .05em;
}

@media (max-width: 768px) {
    .ft-vote-card { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .ft-vote-right { display: none; }
}

/* ── TRANSACTION LOG ── */
.ft-log-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.ft-log-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
    font-family: var(--font-body);
}

.ft-log-table thead {
    background: var(--color-bg-dark);
}

.ft-log-table thead th {
    padding: .75rem 1rem;
    text-align: left;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.ft-log-table tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: background .15s;
}

.ft-log-table tbody tr:hover { background: var(--color-bg-light); }
.ft-log-table tbody tr:last-child { border-bottom: none; }

.ft-log-table tbody td {
    padding: .75rem 1rem;
    color: var(--color-text);
}

.ft-log-id { color: var(--color-text-muted); font-size: .82rem; font-family: monospace; }
.ft-log-fund { color: #2ecc71; font-weight: 700; }
.ft-log-running { font-weight: 700; }
.ft-log-empty { text-align: center; color: var(--color-text-muted); padding: 2rem !important; }

.ft-log-note {
    font-size: .78rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

/* ----------------------------------------------------------------
   FUND POPUP WIDGET
   ---------------------------------------------------------------- */
.fund-popup {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 210px;
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(201,168,76,.08);
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px) scale(.97);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease;
}

.fund-popup--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.fund-popup--hiding {
    opacity: 0;
    transform: translateY(8px) scale(.96);
    pointer-events: none;
}

/* Close button — top-right, outside the link */
.fund-popup-close {
    position: absolute;
    top: .5rem;
    right: .5rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.07);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background .15s, color .15s;
    padding: 0;
}

.fund-popup-close:hover {
    background: rgba(255,255,255,.14);
    color: #fff;
}

/* Inner link — the whole card is clickable */
.fund-popup-inner {
    display: block;
    padding: 1rem 1rem .85rem;
    text-decoration: none;
    color: inherit;
}

.fund-popup-inner:hover .fund-popup-amount { color: var(--color-gold); }
.fund-popup-inner:hover .fund-popup-arrow  { transform: translateX(3px); }

/* Label row */
.fund-popup-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: .4rem;
}

.fund-popup-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #2ecc71;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(46,204,113,.5);
    animation: fp-pulse 2s infinite;
}

@keyframes fp-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(46,204,113,.5); }
    70%  { box-shadow: 0 0 0 6px rgba(46,204,113,0); }
    100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

/* Big number */
.fund-popup-amount {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: .6rem;
    transition: color .18s;
}

/* Mini progress bar */
.fund-popup-bar-wrap {
    height: 3px;
    background: #222;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: .55rem;
}

.fund-popup-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold));
    border-radius: var(--radius-full);
    min-width: 2px;
    transition: width 1s ease;
}

/* Sub-text */
.fund-popup-sub {
    font-size: .72rem;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fund-popup-arrow {
    color: var(--color-gold);
    font-size: .8rem;
    transition: transform .18s;
}

@media (max-width: 480px) {
    .fund-popup {
        bottom: 1rem;
        right: 1rem;
        width: 190px;
    }
}

/* ----------------------------------------------------------------
   FORM PAGES (Partner + Design Submit)
   ---------------------------------------------------------------- */

.form-page { overflow-x: hidden; }

/* Hero */
.form-hero {
    background-color: var(--color-bg-dark);
    background-image: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=1920&q=60&auto=format&fit=crop');
    background-size: cover;
    background-position: center 40%;
    position: relative;
    padding: 5rem 0 4rem;
    text-align: center;
}

.form-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,8,8,.92) 0%, rgba(13,13,13,.85) 100%);
    pointer-events: none;
}

.form-hero .container {
    position: relative;
    z-index: 1;
}

/* Royalty page — art/studio feel */
.form-hero--royalty {
    background-image: url('https://images.unsplash.com/photo-1513364776144-60967b0f800f?w=1920&q=60&auto=format&fit=crop');
}

/* Contact page — urban/people feel */
.form-hero--contact {
    background-image: url('https://images.unsplash.com/photo-1520333789090-1afc82db536a?w=1920&q=60&auto=format&fit=crop');
}

/* Marketplace sell page */
.form-hero--marketplace {
    background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=1920&q=60&auto=format&fit=crop');
}

/* Contact uses grid */
.contact-uses { background: #0a0a0a; padding: 4rem 0 3rem; }

.contact-uses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-use-card {
    background: #111;
    border: 1px solid #1c1c1c;
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    transition: border-color .2s;
}

.contact-use-card:hover { border-color: rgba(201,168,76,.2); }

.contact-use-icon {
    font-size: 1.5rem;
    margin-bottom: .6rem;
    display: block;
}

.contact-use-title {
    font-family: var(--font-display);
    font-size: .95rem;
    color: #fff;
    margin-bottom: .4rem;
}

.contact-use-desc {
    font-size: .82rem;
    color: #777;
    line-height: 1.6;
}

.contact-aside {
    text-align: center;
    padding-top: 1rem;
}

.contact-aside-note {
    font-size: .82rem;
    color: #555;
}

.contact-aside-note a {
    color: var(--color-gold);
    text-decoration: none;
}

.contact-aside-note a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .contact-uses-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .contact-uses-grid { grid-template-columns: 1fr; }
}

.form-hero--design {
    background: linear-gradient(135deg, #0d0d0d 0%, #111 100%);
}

.form-hero-eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.form-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-text-light);
    margin: 0 0 1rem;
    line-height: 1.1;
}

.form-hero-sub {
    font-size: clamp(.95rem, 2vw, 1.1rem);
    color: #888;
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.form-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.form-stat { text-align: center; padding: .5rem 2rem; }
.form-stat-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: .3rem;
}
.form-stat-label {
    font-size: .7rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #666;
}
.form-stat-sep {
    width: 1px; height: 40px;
    background: #2a2a2a;
    flex-shrink: 0;
}

/* Explainer steps */
.form-steps {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.form-step {
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.form-step-num {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--color-gold);
    margin-bottom: .5rem;
}

.form-step-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 .4rem;
}

.form-step-desc { font-size: .82rem; color: var(--color-text-muted); line-height: 1.5; margin: 0; }

.form-step-arrow {
    font-size: 1.2rem;
    color: var(--color-gold);
    align-self: center;
    flex-shrink: 0;
    padding: 0 .25rem;
    margin-top: -1rem;
}

/* Guidelines (design page) */
.form-guidelines {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.form-guideline {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.form-guideline--yes { background: rgba(46,204,113,.04); border-color: rgba(46,204,113,.2); }
.form-guideline--no  { background: rgba(231,76,60,.04);  border-color: rgba(231,76,60,.15); }

.form-guideline-title {
    font-size: .85rem;
    font-weight: 700;
    margin: 0 0 .75rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.form-guideline-icon { font-size: 1rem; }
.form-guideline--yes .form-guideline-icon { color: #2ecc71; }
.form-guideline--no  .form-guideline-icon { color: #e74c3c; }

.form-guideline ul {
    margin: 0; padding: 0 0 0 1rem;
    list-style: disc;
    font-size: .82rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

@media (max-width: 540px) { .form-guidelines { grid-template-columns: 1fr; } }

/* Form container */
.form-container {
    max-width: 720px;
    margin: 0 auto;
}

.form-header { margin-bottom: 2rem; }
.form-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 .4rem;
}
.form-desc { color: var(--color-text-muted); font-size: .9rem; margin: 0; }

.form-error-msg {
    margin-top: .75rem;
    padding: .7rem 1rem;
    background: rgba(231,76,60,.08);
    border: 1px solid rgba(231,76,60,.3);
    border-radius: var(--radius-sm);
    color: #e74c3c;
    font-size: .88rem;
    font-weight: 500;
}

/* Fieldset */
.form-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 2.5rem;
}

.form-legend {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: block;
    margin-bottom: 1.25rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid #e8e8e8;
    width: 100%;
}

/* Form rows */
.form-row { display: flex; gap: 1rem; }
.form-row--2 > .form-group { flex: 1; min-width: 0; }

@media (max-width: 560px) { .form-row { flex-direction: column; } }

/* Form group */
.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: .4rem;
}

.form-label-hint {
    font-weight: 400;
    color: var(--color-text-muted);
    display: block;
    margin-top: .1rem;
}

/* Inputs */
.form-input,
.form-select,
.form-textarea {
    display: block;
    width: 100%;
    padding: .65rem .9rem;
    font-family: var(--font-body);
    font-size: .9rem;
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color .18s, box-shadow .18s;
    appearance: none;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .8rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-textarea { resize: vertical; min-height: 100px; }

/* Checkbox */
.form-checkbox-group { display: flex; flex-direction: column; gap: .5rem; }
.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    cursor: pointer;
    font-size: .88rem;
    color: var(--color-text);
    line-height: 1.5;
}
.form-checkbox-label input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.form-checkbox-box {
    width: 18px; height: 18px;
    flex-shrink: 0;
    border: 2px solid #ccc;
    border-radius: 4px;
    background: #fff;
    margin-top: 2px;
    transition: border-color .15s, background .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-checkbox-label input[type="checkbox"]:checked ~ .form-checkbox-box {
    background: var(--color-gold);
    border-color: var(--color-gold);
}
.form-checkbox-label input[type="checkbox"]:checked ~ .form-checkbox-box::after {
    content: '';
    display: block;
    width: 5px; height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

/* Radio */
.form-radio-group { display: flex; flex-direction: column; gap: .6rem; }
.form-radio-label {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    cursor: pointer;
    font-size: .88rem;
    color: var(--color-text);
    line-height: 1.5;
}
.form-radio-label input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.form-radio-box {
    width: 18px; height: 18px;
    flex-shrink: 0;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    margin-top: 2px;
    transition: border-color .15s;
    position: relative;
}
.form-radio-label input[type="radio"]:checked ~ .form-radio-box {
    border-color: var(--color-gold);
}
.form-radio-label input[type="radio"]:checked ~ .form-radio-box::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-gold);
}

/* Disclaimer */
.form-disclaimer {
    font-size: .78rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-gold);
    margin-bottom: 1.5rem;
}

/* Submit row */
.form-submit-row { display: flex; }
.form-submit-btn { min-width: 200px; }

/* Success state */
.form-success {
    text-align: center;
    padding: 4rem 2rem;
}
.form-success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(46,204,113,.12);
    border: 2px solid #2ecc71;
    color: #2ecc71;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.form-success-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 .75rem;
}
.form-success-desc {
    color: var(--color-text-muted);
    max-width: 460px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

/* ----------------------------------------------------------------
   COMMUNITY POLL WIDGET
   ---------------------------------------------------------------- */
.polls-row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: center;
    margin-top: 3rem;
}

.polls-row .poll-widget {
    flex: 1;
    min-width: 0;
    max-width: 560px;
}

@media (max-width: 860px) {
    .polls-row { flex-direction: column; }
}

.poll-widget {
    max-width: 640px;
    margin: 0;
    background: #111;
    border: 1px solid #222;
    border-radius: 16px;
    overflow: hidden;
}

.poll-header {
    padding: 1.75rem 1.75rem 1.25rem;
    border-bottom: 1px solid #1c1c1c;
}

.poll-eyebrow {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: .65rem;
}

.poll-live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #2ecc71;
    flex-shrink: 0;
    animation: fp-pulse 2s infinite;
}

.poll-question {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    color: var(--color-text-light);
    margin: 0 0 .4rem;
    line-height: 1.25;
}

.poll-sub {
    font-size: .78rem;
    color: #555;
    margin: 0;
}

/* Options */
.poll-options {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.poll-option {
    display: grid;
    grid-template-columns: 28px 1fr auto auto;
    align-items: center;
    gap: .6rem;
    width: 100%;
    padding: .7rem .85rem;
    background: #161616;
    border: 1px solid #222;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: border-color .18s, background .18s, transform .12s;
    position: relative;
    overflow: hidden;
}

.poll-option:hover:not(:disabled) {
    border-color: var(--color-gold);
    background: #1a1a1a;
    transform: translateX(3px);
}

.poll-option:disabled { cursor: default; }

.poll-option-icon {
    font-size: 1rem;
    line-height: 1;
    text-align: center;
}

.poll-option-name {
    font-family: var(--font-body);
    font-size: .85rem;
    font-weight: 600;
    color: #ccc;
    transition: color .18s;
    z-index: 1;
}

.poll-option:hover:not(:disabled) .poll-option-name { color: #fff; }

.poll-option-bar-wrap {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
}

.poll-option--voted .poll-option-bar-wrap { opacity: 1; }

.poll-option-bar {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, rgba(201,168,76,.12), rgba(201,168,76,.06));
    border-radius: 10px;
    transition: width .7s cubic-bezier(.4,0,.2,1);
    min-width: 2px;
}

.poll-option-pct {
    font-size: .75rem;
    font-weight: 700;
    color: var(--color-gold);
    min-width: 32px;
    text-align: right;
    opacity: 0;
    transition: opacity .3s;
    z-index: 1;
}

.poll-option--voted .poll-option-pct { opacity: 1; }

/* Winner highlight */
.poll-option--winner .poll-option-name { color: var(--color-gold); }
.poll-option--winner { border-color: rgba(201,168,76,.35); }

.poll-footer {
    padding: .85rem 1.75rem 1.25rem;
    font-size: .75rem;
    color: #444;
    border-top: 1px solid #1c1c1c;
    margin: 0;
}

.poll-voted-msg {
    color: var(--color-gold);
    font-weight: 600;
}

@media (max-width: 480px) {
    .poll-option { grid-template-columns: 22px 1fr auto; }
    .poll-option-pct { min-width: 28px; font-size: .7rem; }
}

/* =============================================================
   LEADERBOARD — Fund Tracker
   ============================================================= */

.ft-leaderboard { padding: 5rem 0; background: #080808; }

.ft-lb-intro {
    max-width: 540px;
    margin: 0 auto 3rem;
    text-align: center;
}

.ft-lb-intro p {
    color: #888;
    font-size: .95rem;
    margin-top: .5rem;
}

/* ── LIVE badge next to section header ───────────────────── */
.ft-lb-live-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(201,168,76,.1);
    border: 1px solid rgba(201,168,76,.25);
    color: var(--color-gold);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .3rem .75rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}
.ft-lb-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gold);
    animation: lb-pulse 1.8s ease-in-out infinite;
}
@keyframes lb-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .4; transform: scale(.7); }
}

/* ── PODIUM ──────────────────────────────────────────────── */
.ft-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
    padding: 0 1rem;
}

.ft-podium-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    flex: 1;
    max-width: 180px;
}

/* Avatar ring */
.ft-podium-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-display);
    background: #1e1e1e;
    color: #aaa;
    border: 2px solid #2a2a2a;
    position: relative;
    z-index: 1;
}

/* #1 — gold glow ring + shimmer */
.ft-podium-slot--1 .ft-podium-avatar {
    width: 72px;
    height: 72px;
    font-size: 1.65rem;
    background: linear-gradient(135deg, #b8912a 0%, #f0d278 45%, #c9a84c 100%);
    color: #000;
    border: 3px solid rgba(201,168,76,.6);
    box-shadow:
        0 0 0 4px rgba(201,168,76,.12),
        0 0 32px rgba(201,168,76,.35),
        0 0 64px rgba(201,168,76,.12);
}

/* #1 crown ring pulse */
.ft-podium-slot--1 .ft-podium-avatar::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid rgba(201,168,76,.3);
    animation: crown-pulse 2.4s ease-in-out infinite;
}
@keyframes crown-pulse {
    0%, 100% { opacity: .6; transform: scale(1); }
    50%       { opacity: 0;  transform: scale(1.12); }
}

.ft-podium-slot--2 .ft-podium-avatar {
    background: linear-gradient(135deg, #3a3a3a 0%, #7a7a7a 100%);
    color: #e0e0e0;
    border-color: #555;
}

.ft-podium-slot--3 .ft-podium-avatar {
    background: linear-gradient(135deg, #5c2e10 0%, #9b5e32 100%);
    color: #f0cba0;
    border-color: #7a4520;
}

.ft-podium-name {
    font-size: .78rem;
    font-weight: 600;
    color: #aaa;
    text-align: center;
    letter-spacing: .02em;
}

.ft-podium-label {
    font-size: .6rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #444;
    font-weight: 600;
}

.ft-podium-amount {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: -.01em;
}

.ft-podium-slot--2 .ft-podium-amount,
.ft-podium-slot--3 .ft-podium-amount {
    color: #888;
}

/* Podium plinth */
.ft-podium-block {
    width: 100%;
    border-radius: 6px 6px 0 0;
    background: #111;
    border: 1px solid #1e1e1e;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 0;
    font-size: 1.4rem;
    transition: background .3s;
}

.ft-podium-slot--1 .ft-podium-block {
    height: 88px;
    background: linear-gradient(180deg, #1a1506 0%, #111 100%);
    border-color: rgba(201,168,76,.2);
    border-top: 2px solid var(--color-gold);
    box-shadow: 0 -4px 24px rgba(201,168,76,.12) inset;
}
.ft-podium-slot--2 .ft-podium-block {
    height: 60px;
    border-top: 2px solid #444;
}
.ft-podium-slot--3 .ft-podium-block {
    height: 42px;
    border-top: 2px solid #5c2e10;
}

/* ── FULL LIST ───────────────────────────────────────────── */
.ft-lb-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.ft-lb-row {
    display: grid;
    grid-template-columns: 44px 1fr 160px auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem 1rem 1rem;
    background: #0e0e0e;
    border: 1px solid #191919;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: border-color .2s, background .2s, transform .15s;
}

/* Left accent bar */
.ft-lb-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #222;
    border-radius: 10px 0 0 10px;
    transition: background .2s;
}

.ft-lb-row:hover {
    border-color: #282828;
    background: #111;
    transform: translateX(2px);
}
.ft-lb-row:hover::before { background: rgba(201,168,76,.4); }

/* Top 3 rows get a gold-tinted left bar and subtle bg */
.ft-lb-row--top {
    background: #0f0e0a;
    border-color: rgba(201,168,76,.12);
}
.ft-lb-row--top::before {
    background: linear-gradient(180deg, var(--color-gold) 0%, rgba(201,168,76,.3) 100%);
}
.ft-lb-row--top:hover { border-color: rgba(201,168,76,.28); }

.ft-lb-rank {
    font-size: .8rem;
    font-weight: 800;
    color: #383838;
    text-align: center;
    letter-spacing: .04em;
    line-height: 1;
}
.ft-lb-row--top .ft-lb-rank {
    font-size: 1rem;
}

.ft-lb-info {
    display: flex;
    flex-direction: column;
    gap: .18rem;
    min-width: 0;
}

.ft-lb-name {
    font-size: .9rem;
    font-weight: 700;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ft-lb-row--top .ft-lb-name { color: #fff; }

/* Inline progress bar column */
.ft-lb-bar-wrap {
    height: 4px;
    background: #1c1c1c;
    border-radius: 4px;
    overflow: hidden;
    position: static;
    width: 100%;
}

.ft-lb-bar {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, rgba(201,168,76,.5), rgba(201,168,76,.9));
    width: 0;
    border-radius: 4px;
    transition: width 1.2s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 0 8px rgba(201,168,76,.3);
}

.ft-lb-amount {
    font-family: var(--font-display);
    font-size: .9rem;
    font-weight: 700;
    color: var(--color-gold);
    white-space: nowrap;
    text-align: right;
    letter-spacing: -.01em;
}

/* Empty state */
.ft-lb-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #555;
}

.ft-lb-empty p { margin-bottom: 1.5rem; font-size: .95rem; }

.ft-lb-note {
    text-align: center;
    font-size: .72rem;
    color: #2e2e2e;
    max-width: 500px;
    margin: 0 auto;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 600;
}

@media (max-width: 700px) {
    .ft-lb-row { grid-template-columns: 36px 1fr auto; }
    .ft-lb-bar-wrap { display: none; }
}
@media (max-width: 600px) {
    .ft-podium { gap: .75rem; }
    .ft-podium-slot { max-width: 120px; }
    .ft-podium-slot--1 .ft-podium-avatar { width: 58px; height: 58px; font-size: 1.3rem; }
    .ft-lb-row { grid-template-columns: 28px 1fr auto; gap: .65rem; padding: .85rem 1rem; }
}

/* =============================================================
   ROYALTY SPECS — page-royalty-submit.php
   ============================================================= */

.royalty-specs { background: #0a0a0a; padding: 4.5rem 0; }

.royalty-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.royalty-spec-card {
    background: #111;
    border: 1px solid #1c1c1c;
    border-radius: 12px;
    padding: 1.75rem;
    transition: border-color .2s;
}

.royalty-spec-card:hover { border-color: rgba(201,168,76,.2); }

.royalty-spec-icon {
    font-size: 1.75rem;
    margin-bottom: .75rem;
    display: block;
}

.royalty-spec-title {
    font-family: var(--font-display);
    font-size: 1rem;
    color: #fff;
    margin-bottom: .85rem;
}

.royalty-spec-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.royalty-spec-list li {
    font-size: .875rem;
    color: #999;
    padding-left: 1.1rem;
    position: relative;
}

.royalty-spec-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: .75rem;
    top: .05em;
}

/* Highlight math box */
.royalty-highlight-box {
    background: #111;
    border: 1px solid rgba(201,168,76,.2);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-top: 2rem;
}

.royalty-highlight-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: .65rem;
}

.royalty-highlight-math {
    font-size: .95rem;
    color: #aaa;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .royalty-specs-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
    .royalty-specs-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   COMMUNITY DESIGN BADGE — shop loop card overlay
   ============================================================= */

.tpb-cd-badge {
    position: absolute;
    top: .6rem;
    left: .6rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: rgba(0,0,0,.82);
    border: 1px solid rgba(201,168,76,.5);
    color: var(--color-gold);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .25rem .55rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.tpb-cd-badge svg {
    flex-shrink: 0;
    color: var(--color-gold);
}

/* =============================================================
   MARKETPLACE PAGE
   ============================================================= */

.mkt-page { overflow-x: hidden; }

/* --- BANNER ------------------------------------------------- */
.mkt-banner {
    background-color: #0e0b1f;
    background-image: url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=1920&q=60&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 3.5rem 0;
    border-bottom: 1px solid #2a2060;
}

.mkt-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14,11,31,.88) 0%, rgba(60,30,0,.80) 100%);
}

.mkt-banner .container,
.mkt-banner-inner { position: relative; z-index: 1; }

.mkt-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.mkt-banner-left { flex: 1; min-width: 260px; }

.mkt-banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: .65rem;
}

.mkt-banner-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: .5rem;
}

.mkt-banner-sub {
    font-size: .9rem;
    color: #888;
    line-height: 1.55;
    max-width: 420px;
}

.mkt-banner-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
    background: rgba(201,168,76,.1);
    border: 1px solid rgba(201,168,76,.3);
    border-radius: 12px;
    padding: 1.1rem 1.5rem;
}

.mkt-bstat { text-align: center; }

.mkt-bstat-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
}

.mkt-bstat-label {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(201,168,76,.65);
    margin-top: .2rem;
}

.mkt-bstat-div {
    width: 1px;
    height: 30px;
    background: rgba(201,168,76,.2);
}

/* Hero dot */
.mkt-hero-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-gold);
    animation: pulse-dot 2s ease-in-out infinite;
}

/* --- SHOP LAYOUT -------------------------------------------- */
.mkt-shop-wrap {
    background: #f5f2eb;
    padding: 0;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
}

/* Use flex so sidebar stretches to full content height — edge-to-edge, no centering constraint */
.mkt-shop-container {
    display: flex;
    align-items: stretch;
    width: 100%;
    padding: 0;
    flex: 1;
    min-height: 70vh;
}

/* --- SIDEBAR ----------------------------------------------- */
.mkt-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    border-right: 2px solid #e8e5de;
    border-top: 3px solid var(--color-gold);
    padding: 1.75rem 1.5rem;
    /* sticky scroll while sidebar stretches full height */
    position: relative;
}

.mkt-sidebar-inner {
    position: sticky;
    top: 72px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

.mkt-sidebar--hidden {
    width: 0 !important;
    min-width: 0 !important;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    border: none;
}

.mkt-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid #eee;
}

.mkt-sidebar-title {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #111;
}

.mkt-clear-btn {
    font-size: .72rem;
    font-weight: 600;
    color: var(--color-gold);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.mkt-filter-group { margin-bottom: 1.5rem; }

.mkt-filter-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: .6rem;
    display: block;
}

/* Search */
.mkt-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.mkt-search-icon {
    position: absolute;
    left: .75rem;
    color: #aaa;
    pointer-events: none;
}

.mkt-search-input {
    width: 100%;
    padding: .55rem .75rem .55rem 2.1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: .85rem;
    background: #fafafa;
    color: #111;
    transition: border-color .18s;
}

.mkt-search-input:focus {
    outline: none;
    border-color: var(--color-gold);
    background: #fff;
}

/* Checkboxes */
.mkt-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.mkt-checkbox-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .84rem;
    color: #444;
    cursor: pointer;
    line-height: 1.4;
}

.mkt-checkbox-item input { display: none; }

.mkt-checkbox-box {
    width: 16px; height: 16px;
    border-radius: 4px;
    border: 2px solid #ccc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .15s;
}

.mkt-radio-box { border-radius: 50%; }

.mkt-checkbox-item input:checked + .mkt-checkbox-box {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.mkt-checkbox-item input:checked + .mkt-checkbox-box::after {
    content: '';
    width: 7px; height: 5px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg) translateY(-1px);
    display: block;
}

.mkt-radio-box::after { border-radius: 50%; }

/* Sidebar sell CTA */
.mkt-sidebar-sell-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.mkt-sidebar-sell-cta p {
    font-size: .78rem;
    color: #888;
    margin-bottom: .6rem;
}

/* --- MAIN CONTENT ------------------------------------------ */
.mkt-main {
    flex: 1;
    min-width: 0;
    padding: 1.5rem 1.75rem 3rem;
}

/* Toolbar */
.mkt-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e0ddd6;
    gap: 1rem;
    flex-wrap: wrap;
}

.mkt-toolbar-left,
.mkt-toolbar-right {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.mkt-sidebar-toggle {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .85rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    font-size: .8rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all .18s;
    white-space: nowrap;
}

.mkt-sidebar-toggle:hover { border-color: #999; color: #111; }

.mkt-result-count {
    font-size: .82rem;
    color: #888;
    font-weight: 500;
}

.mkt-sort-label {
    font-size: .78rem;
    color: #888;
    white-space: nowrap;
}

.mkt-sort-select {
    padding: .4rem .75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: .82rem;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.mkt-sort-select:focus { outline: 1px solid var(--color-gold); }

.mkt-view-toggle {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.mkt-view-btn {
    padding: .4rem .6rem;
    background: #fff;
    border: none;
    color: #aaa;
    cursor: pointer;
    transition: all .15s;
}

.mkt-view-btn--active { background: #111; color: #fff; }
.mkt-view-btn:first-child { border-right: 1px solid #ccc; }

/* Active filter chips */
.mkt-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: 1rem;
}

.mkt-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .65rem;
    background: #111;
    color: #fff;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
}

.mkt-chip-x {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    margin-left: .1rem;
}

.mkt-chip-x:hover { color: #fff; }

.mkt-link-btn {
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: inherit;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

/* --- PRODUCT GRID ------------------------------------------ */
.mkt-grid--view-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.mkt-grid--view-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

/* Card — grid mode */
.mkt-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e8e5de;
    transition: transform .2s, box-shadow .2s;
    position: relative;
}

.mkt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

.mkt-card-img-wrap {
    display: block;
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f0ede6;
}

.mkt-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s;
}

.mkt-card:hover .mkt-card-img { transform: scale(1.04); }

.mkt-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
}

.mkt-card:hover .mkt-card-overlay { opacity: 1; }

.mkt-card-quick-view {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255,255,255,.5);
    padding: .4rem 1rem;
    border-radius: 20px;
}

/* Thin fund contribution bar under image */
.mkt-card-fund-bar {
    height: 3px;
    background: #eee;
    overflow: hidden;
}

.mkt-card-fund-pct {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    transition: width .6s;
}

.mkt-card-body {
    padding: .85rem 1rem 1rem;
}

.mkt-card-meta {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .3rem;
    flex-wrap: wrap;
}

.mkt-card-seller-tag {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #999;
}

.mkt-seller-dot {
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--color-gold);
}

.mkt-card-cat-tag {
    font-size: .65rem;
    font-weight: 600;
    color: #bbb;
    background: #f5f5f5;
    border-radius: 20px;
    padding: .1rem .45rem;
}

.mkt-card-name {
    font-family: var(--font-display);
    font-size: .95rem;
    line-height: 1.3;
    margin-bottom: .3rem;
}

.mkt-card-name a { color: #111; text-decoration: none; }
.mkt-card-name a:hover { color: #000; text-decoration: underline; }

.mkt-card-desc {
    font-size: .78rem;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: .65rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mkt-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .5rem;
}

.mkt-card-price-block { display: flex; flex-direction: column; gap: .15rem; }

.mkt-card-price { font-weight: 700; font-size: 1rem; color: #111; }

.mkt-card-fund-label {
    display: flex;
    align-items: center;
    gap: .25rem;
    font-size: .68rem;
    font-weight: 600;
    color: #2ecc71;
}

.mkt-card-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
    transition: background .18s, transform .18s;
}

.mkt-card-add-btn:hover { background: var(--color-gold); color: #000; transform: scale(1.05); }

/* List view extras — hidden in grid mode */
.mkt-card-list-extra { display: none; }

/* Card in list mode */
.mkt-grid--view-list .mkt-card {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: stretch;
    border-radius: 10px;
}

.mkt-grid--view-list .mkt-card-img-wrap {
    aspect-ratio: unset;
    height: 100%;
    border-radius: 10px 0 0 10px;
}

.mkt-grid--view-list .mkt-card-fund-bar { display: none; }

.mkt-grid--view-list .mkt-card-body {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mkt-grid--view-list .mkt-card-desc { -webkit-line-clamp: 3; }

.mkt-grid--view-list .mkt-card-list-extra {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .6rem;
    padding: 1rem;
    border-left: 1px solid #eee;
    min-width: 150px;
}

.mkt-card-list-desc { font-size: .82rem; color: #888; line-height: 1.5; }

.mkt-card-list-actions {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

/* Sidebar collapsed — sidebar hidden, main fills width */
.mkt-sidebar-collapsed .mkt-sidebar {
    width: 0;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    border: none;
}

/* Empty / no results */
/* --- MARKETPLACE: coming soon banner + preview cards ---------- */
.mkt-coming-soon-banner {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}

.mkt-cs-badge {
    display: inline-block;
    background: rgba(201,168,76,.15);
    border: 1px solid rgba(201,168,76,.35);
    color: var(--color-gold);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .85rem;
    border-radius: 20px;
    margin-bottom: .9rem;
}

.mkt-cs-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: #111;
    margin-bottom: .5rem;
}

.mkt-cs-desc {
    color: #666;
    font-size: .9rem;
    max-width: 420px;
    margin: 0 auto .75rem;
    line-height: 1.6;
}

.mkt-cs-actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
}

/* Preview card grid — same as real grid but with blur overlay */
.mkt-grid--preview {
    position: relative;
}

.mkt-grid--preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(245,242,235,0) 0%, rgba(245,242,235,.6) 55%, rgba(245,242,235,1) 100%);
    pointer-events: none;
    z-index: 2;
}

.mkt-card--preview {
    opacity: .7;
    filter: blur(1.5px) grayscale(20%);
    pointer-events: none;
    user-select: none;
}

.mkt-card-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.mkt-card-preview-overlay span {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255,255,255,.5);
    padding: .35rem .9rem;
    border-radius: 20px;
}

.mkt-card-price--tbd {
    color: #bbb !important;
    font-style: italic;
}

.mkt-card-add-btn--disabled {
    opacity: .35;
    cursor: not-allowed;
}

.mkt-empty {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 520px;
    margin: 0 auto;
}

.mkt-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    display: block;
    animation: bounce-soft 2.5s ease-in-out infinite;
}

@keyframes bounce-soft {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.mkt-empty-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: #111;
    margin-bottom: .75rem;
}

.mkt-empty-desc {
    color: #666;
    font-size: .98rem;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.mkt-no-results { text-align: center; padding: 3rem 1rem; color: #888; font-size: .9rem; }

/* --- LEADERBOARD ------------------------------------------- */
.mkt-leaderboard { padding: 5rem 0; }

/* --- WHY SELL ---------------------------------------------- */
.mkt-why {
    background: linear-gradient(160deg, #12103a 0%, #1e0e2a 50%, #0a1a2a 100%);
    padding: 5rem 0;
}

.mkt-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.mkt-why-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    transition: border-color .2s, background .2s;
}

.mkt-why-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(201,168,76,.4);
}
.mkt-why-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.mkt-why-title { font-family: var(--font-display); font-size: .95rem; color: #f0ece0; margin-bottom: .4rem; }
.mkt-why-desc { font-size: .82rem; color: #aaa8c0; line-height: 1.65; }

.mkt-cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(201,168,76,.18) 0%, rgba(201,168,76,.08) 100%);
    border: 1px solid rgba(201,168,76,.35);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    flex-wrap: wrap;
}

.mkt-cta-strip-text h3 { font-family: var(--font-display); color: #f0ece0; font-size: 1.1rem; margin-bottom: .25rem; }
.mkt-cta-strip-text p { color: #aaa8c0; font-size: .85rem; margin: 0; }

/* --- SELL PAGE TERMS --------------------------------------- */
.mkt-terms-strip { background: #0a0a0a; padding: 3.5rem 0; }

.mkt-terms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.mkt-term { padding: 1.25rem; border-left: 2px solid #1c1c1c; }

.mkt-term-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: .5rem;
}

.mkt-term-value { font-size: .85rem; color: #888; line-height: 1.6; }

/* Fund % input on sell form */
.mkt-fund-input-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 120px;
}

.mkt-fund-input { padding-right: 2rem !important; }

.mkt-fund-pct-sign {
    position: absolute;
    right: .75rem;
    color: #666;
    font-weight: 600;
    pointer-events: none;
}

.mkt-fund-tiers {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .65rem;
}

.mkt-tier-btn {
    padding: .3rem .75rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    border: 1px solid #2a2a2a;
    background: transparent;
    color: #888;
    cursor: pointer;
    transition: all .18s;
}

.mkt-tier-btn:hover { border-color: var(--color-gold); color: var(--color-gold); }
.mkt-fee-box { margin-top: 1.5rem; }
.mkt-fee-math { font-size: .95rem; }

/* Marketplace badge on shop loop */
.tpb-mkt-badge {
    position: absolute;
    top: .6rem;
    right: .6rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: rgba(0,0,0,.82);
    border: 1px solid rgba(46,204,113,.35);
    color: #2ecc71;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .22rem .5rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sub-label in leaderboard rows */
.ft-lb-meta { font-size: .72rem; color: #555; margin-top: .1rem; }
.ft-lb-row--top .ft-lb-meta { color: #666; }

/* --- MARKETPLACE: banner pills -------------------------------- */
.mkt-banner-pills {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
    margin-top: .9rem;
}

.mkt-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .85rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .03em;
    border: 1px solid;
}

.mkt-pill--seller {
    background: rgba(201,168,76,.12);
    border-color: rgba(201,168,76,.4);
    color: var(--color-gold);
}

.mkt-pill--royalty {
    background: rgba(46,204,113,.1);
    border-color: rgba(46,204,113,.35);
    color: #2ecc71;
}

/* --- MARKETPLACE: royalty ribbon on cards -------------------- */
.mkt-royalty-ribbon {
    position: absolute;
    top: .55rem;
    left: .55rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    background: rgba(0,0,0,.82);
    border: 1px solid rgba(46,204,113,.4);
    color: #2ecc71;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .2rem .5rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    pointer-events: none;
    white-space: nowrap;
}

/* fund label variant for royalty cards */
.mkt-card-fund-label--royalty { color: #2ecc71; }
.mkt-card-fund-pct--royalty   { color: #2ecc71; }
.mkt-seller-dot--royalty      { background: #2ecc71; }

/* --- MARKETPLACE: "Two ways to list" section ----------------- */
.mkt-how {
    padding: 4rem 0;
    background: linear-gradient(160deg, #fdf9f0 0%, #f5f0e8 100%);
    border-top: 1px solid #e8e2d8;
    border-bottom: 1px solid #e8e2d8;
}

.mkt-how-section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.mkt-how-section-head h2 {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    color: #111;
    margin-bottom: .45rem;
}

.mkt-how-section-head p {
    color: #666;
    font-size: .95rem;
    max-width: 520px;
    margin: 0 auto;
}

.mkt-how-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 820px;
    margin: 0 auto;
}

.mkt-how-card {
    flex: 1;
    background: #fff;
    border: 1px solid #e0dbd0;
    border-radius: 14px;
    padding: 2rem 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: border-color .2s, box-shadow .2s;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.mkt-how-card:hover {
    border-color: #c8c0b0;
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
}

.mkt-how-card--seller {
    border-top: 4px solid var(--color-gold);
}

.mkt-how-card--royalty {
    border-top: 4px solid var(--color-gold);
    background: linear-gradient(160deg, #0d0d0d 0%, #141410 100%);
    color: #fff;
    border-color: rgba(201,168,76,.2);
    position: relative;
    overflow: hidden;
}

.mkt-how-card--royalty::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 80% 120%, rgba(201,168,76,.1) 0%, transparent 70%);
    pointer-events: none;
}

.mkt-how-card--royalty .mkt-how-card-title {
    color: #fff;
}

.mkt-how-card--royalty .mkt-how-card-desc {
    color: rgba(255,255,255,.6);
}

.mkt-how-card--royalty .btn-gold {
    background: var(--color-gold);
    color: #000;
    font-weight: 700;
}
.mkt-how-card--royalty .btn-gold:hover {
    background: var(--color-gold-dark, #b8912a);
}

/* Royalty stats strip inside how-card */
.mkt-royalty-stats {
    display: flex;
    gap: 1.25rem;
    margin: .5rem 0;
    padding: .75rem 0;
    border-top: 1px solid rgba(201,168,76,.15);
    border-bottom: 1px solid rgba(201,168,76,.15);
}
.mkt-royalty-stat {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.mkt-royalty-stat-num {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}
.mkt-royalty-stat-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255,255,255,.4);
    font-weight: 600;
}

.mkt-how-card-icon {
    font-size: 2.25rem;
    line-height: 1;
}

.mkt-how-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: #111;
    margin: 0;
}

.mkt-how-card-desc {
    color: #555;
    font-size: .9rem;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.mkt-how-card-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    font-size: .75rem;
    font-weight: 800;
    color: #bbb;
    letter-spacing: .06em;
    text-transform: uppercase;
    position: relative;
}

.mkt-how-card-sep::before,
.mkt-how-card-sep::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: calc(50% - 16px);
    background: #ddd;
}

.mkt-how-card-sep::before { top: 0; }
.mkt-how-card-sep::after  { bottom: 0; }

@media (max-width: 640px) {
    .mkt-how-grid { flex-direction: column; }
    .mkt-how-card-sep {
        width: 100%;
        height: 40px;
        flex-direction: row;
    }
    .mkt-how-card-sep::before,
    .mkt-how-card-sep::after {
        width: calc(50% - 18px);
        height: 1px;
        top: 50%;
        left: auto;
        transform: none;
    }
    .mkt-how-card-sep::before { left: 0; }
    .mkt-how-card-sep::after  { right: 0; left: auto; }
}

/* --- RESPONSIVE -------------------------------------------- */
@media (max-width: 1100px) {
    .mkt-sidebar { width: 220px; }
    .mkt-why-grid { grid-template-columns: repeat(2, 1fr); }
    .mkt-terms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .mkt-shop-container { flex-direction: column; }
    .mkt-sidebar {
        width: 100% !important;
        border-right: none;
        border-bottom: 1px solid #e8e5de;
        position: static;
    }
    .mkt-sidebar-inner { position: static; max-height: none; overflow-y: visible; }
    .mkt-main { padding: 1.25rem 1rem 2.5rem; }
    .mkt-banner-inner { flex-direction: column; align-items: flex-start; }
    .mkt-banner-stats { width: 100%; justify-content: space-around; }
    .mkt-grid--view-list .mkt-card { grid-template-columns: 120px 1fr; }
    .mkt-grid--view-list .mkt-card-list-extra { display: none; }
}

@media (max-width: 600px) {
    .mkt-why-grid { grid-template-columns: 1fr; }
    .mkt-terms-grid { grid-template-columns: 1fr; }
    .mkt-cta-strip { flex-direction: column; text-align: center; }
    .mkt-grid--view-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
    .mkt-toolbar { flex-direction: column; align-items: flex-start; }
    .mkt-bstat-div { display: none; }
    .mkt-bstat-num { font-size: 1.1rem; }
}

/* ================================================================
   MARKETPLACE NUDGE (on catalog section)
================================================================ */
.mkt-nudge {
    margin-top: 2rem;
}

.mkt-nudge-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(135deg, #fdf9f0 0%, #f5f0e6 100%);
    border: 1px solid rgba(201,168,76,.25);
    border-left: 4px solid var(--color-gold);
    border-radius: 10px;
    padding: 1.1rem 1.5rem;
    flex-wrap: wrap;
}

.mkt-nudge-text {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.mkt-nudge-label {
    font-family: var(--font-display);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-gold);
    white-space: nowrap;
}

.mkt-nudge-text p {
    font-size: .88rem;
    color: #555;
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 600px) {
    .mkt-nudge-inner { flex-direction: column; align-items: flex-start; }
    .mkt-nudge-text  { flex-direction: column; gap: .25rem; }
}

/* ================================================================
   POLICY PAGES (privacy, terms, refund, shipping)
================================================================ */
.policy-hero {
    background: #0D0D0D;
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid #1c1c1c;
}

.policy-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: #f0ece0;
    margin: .5rem 0 .4rem;
    line-height: 1.15;
}

.policy-hero-sub {
    color: #666;
    font-size: .85rem;
    margin: 0;
}

.policy-container {
    max-width: 760px;
}

.policy-intro {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8e5de;
}

.policy-section {
    margin-bottom: 2.25rem;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid #e8e5de;
}

.policy-section:last-of-type {
    border-bottom: none;
}

.policy-section h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: #111;
    margin-bottom: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.policy-section p {
    color: #444;
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: .75rem;
}

.policy-section p:last-child { margin-bottom: 0; }

.policy-section ul {
    margin: .5rem 0 .75rem 1.25rem;
    color: #444;
    font-size: .95rem;
    line-height: 1.75;
}

.policy-section ul li { margin-bottom: .3rem; }

.policy-section a { color: var(--color-gold); text-decoration: underline; }

.policy-section--highlight {
    background: #fff8ee;
    border: 1px solid rgba(201,168,76,.25);
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.25rem;
}

.policy-section--highlight h2 { color: #7a5c10; }
.policy-section--highlight p  { color: #555; }

.policy-contact {
    margin-top: 1rem;
    font-size: .9rem;
    color: #777;
}

.policy-contact a { color: var(--color-gold); text-decoration: underline; }

/* ----------------------------------------------------------------
   SEARCH FORM (header drawer + results page)
   ---------------------------------------------------------------- */
.search-form-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}
.search-form-icon {
    position: absolute;
    left: 1rem;
    color: rgba(255,255,255,.4);
    pointer-events: none;
    flex-shrink: 0;
}
.search-form-input {
    flex: 1;
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.15);
    border-right: none;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    color: #fff;
    font-size: 1rem;
    padding: .75rem 1rem .75rem 2.75rem;
    transition: border-color var(--transition);
    -webkit-appearance: none;
}
.search-form-input::placeholder { color: rgba(255,255,255,.35); }
.search-form-input:focus {
    outline: none;
    border-color: var(--color-gold);
    background: rgba(255,255,255,.1);
}
/* cancel button that browsers inject */
.search-form-input::-webkit-search-cancel-button { filter: invert(1); opacity: .5; }
.search-form-submit {
    background: var(--color-gold);
    border: 1.5px solid var(--color-gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: #0d0d0d;
    padding: .75rem 1.1rem;
    cursor: pointer;
    transition: background var(--transition);
    display: flex;
    align-items: center;
}
.search-form-submit:hover { background: var(--color-gold-dark); border-color: var(--color-gold-dark); }

/* ================================================================
   COMMUNITY DESIGN SECTION (front-page marketplace spotlight)
   ================================================================ */
.cds-section {
    background: linear-gradient(135deg, #090909 0%, #0f0d08 50%, #0a0a0d 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle gold glow top-left, indigo bottom-right */
.cds-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 10% 20%, rgba(201,168,76,.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 90% 80%, rgba(100,80,180,.05) 0%, transparent 70%);
    pointer-events: none;
}

.cds-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 2.5rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- TEXT COLUMN ------------------------------------------- */
.cds-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin: .6rem 0 1.2rem;
    letter-spacing: -.02em;
}

.cds-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.65);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.25rem;
}

/* Step row */
.cds-how-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
}
.cds-how-step {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.cds-step-num {
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--color-gold);
    text-transform: uppercase;
}
.cds-step-label {
    font-size: .82rem;
    color: rgba(255,255,255,.75);
    font-weight: 500;
    white-space: nowrap;
}
.cds-arrow {
    color: rgba(201,168,76,.4);
    font-size: 1.1rem;
    margin-top: 6px;
}

/* Split percentage blocks */
.cds-split-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}
.cds-split-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    text-align: center;
    gap: .4rem;
}
.cds-split-div {
    width: 1px;
    background: rgba(255,255,255,.1);
    align-self: stretch;
    margin: .75rem 0;
}
.cds-split-pct {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
}
.cds-split-pct--gold  { color: var(--color-gold); }
.cds-split-pct--white { color: #fff; }
.cds-split-pct--muted { color: rgba(255,255,255,.35); }
.cds-split-label {
    font-size: .72rem;
    color: rgba(255,255,255,.45);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}

/* CTAs */
.cds-cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- VISUAL COLUMN ----------------------------------------- */
.cds-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cds-card-stack {
    position: relative;
    width: 310px;
    height: 420px;
}

.cds-card {
    position: absolute;
    width: 270px;
    background: #1a1a1a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
    transition: transform .4s ease;
}
.cds-card--back {
    top: 30px;
    right: 0;
    transform: rotate(5deg);
    z-index: 1;
    opacity: .7;
}
.cds-card--front {
    top: 0;
    left: 0;
    z-index: 2;
    transform: rotate(-2deg);
    border: 1px solid rgba(201,168,76,.25);
}
.cds-card-stack:hover .cds-card--back  { transform: rotate(8deg) translateY(-6px); }
.cds-card-stack:hover .cds-card--front { transform: rotate(-3deg) translateY(-4px); }

.cds-card-img-wrap { width: 100%; aspect-ratio: 1; overflow: hidden; }
.cds-card-img { width: 100%; height: 100%; object-fit: cover; }

.cds-card-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,.7);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: .25rem .6rem;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}
.cds-card-tag--royalty { border: 1px solid rgba(201,168,76,.4); }

.cds-card-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    background: #1a1a1a;
}
.cds-card-name {
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
}
.cds-card-earning {
    font-size: .72rem;
    font-weight: 700;
    color: var(--color-gold);
}

.cds-card-badge {
    position: absolute;
    bottom: 52px;
    right: -10px;
    background: var(--color-gold);
    color: #000;
    padding: .5rem .85rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 800;
    font-size: .68rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.3;
    box-shadow: 0 4px 16px rgba(201,168,76,.4);
    z-index: 3;
}

.cds-fund-ticker {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20,20,20,.95);
    border: 1px solid rgba(201,168,76,.3);
    color: var(--color-gold);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .4rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: .4rem;
    white-space: nowrap;
    z-index: 4;
    backdrop-filter: blur(8px);
}

/* Responsive */
@media (max-width: 900px) {
    .cds-inner {
        grid-template-columns: 1fr;
    }
    .cds-visual {
        order: -1;
        margin-bottom: 1rem;
    }
    .cds-card-stack { width: 280px; height: 380px; }
    .cds-card { width: 240px; }
}

@media (max-width: 480px) {
    .cds-split-row { flex-direction: column; }
    .cds-split-div { width: 100%; height: 1px; margin: 0; }
    .cds-how-row { flex-direction: column; align-items: flex-start; }
    .cds-arrow { transform: rotate(90deg); }
}

/* ----------------------------------------------------------------
   SEARCH HERO
   ---------------------------------------------------------------- */
.search-hero {
    background: linear-gradient(160deg, #0d0d0d 0%, #14120a 100%);
    padding: clamp(3rem, 6vw, 5rem) 0 2.5rem;
    border-bottom: 1px solid rgba(201,168,76,.15);
}
.search-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .5rem;
    line-height: 1.2;
}
.search-query-highlight { color: var(--color-gold); }
.search-hero-count {
    font-size: .85rem;
    color: rgba(255,255,255,.45);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}
.search-hero-form { max-width: 600px; }

/* ----------------------------------------------------------------
   SEARCH RESULTS
   ---------------------------------------------------------------- */
.search-results-section {
    background: linear-gradient(160deg, #0d0d0d 0%, #111018 100%);
}
.search-section-label {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255,255,255,.45);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.search-products-grid { margin-bottom: 3rem; }

/* Other (page/post) results */
.search-other-results { margin-bottom: 2rem; }
.search-result-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-type {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: .35rem;
}
.search-result-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .4rem;
}
.search-result-title a { color: #fff; transition: color var(--transition); }
.search-result-title a:hover { color: var(--color-gold); }
.search-result-excerpt { font-size: .9rem; color: rgba(255,255,255,.55); line-height: 1.6; }

/* No results state */
.search-empty {
    text-align: center;
    padding: 4rem 0;
}
.search-empty-icon {
    color: rgba(255,255,255,.15);
    margin-bottom: 1.5rem;
}
.search-empty-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .75rem;
}
.search-empty-desc {
    color: rgba(255,255,255,.5);
    max-width: 420px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.search-empty-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* product image placeholder */
.product-card-img--placeholder {
    width: 100%; height: 100%;
    background: #1e1e1e;
}
