/* ═══════════════════════════════════════════════════════
   Home Features — Spotify Life inspired
   ═══════════════════════════════════════════════════════ */

.home-features {
    display: none;
    width: 100%;
    padding-bottom: 100px;
}
body:not(.nav-crypto):not(.nav-hub):not(.nav-erasmus):not(.nav-shannon) .home-features {
    display: block;
}

.hf-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 40px 0;
}

/* ── Hero title ─────────────────────────────────────── */
.hf-hero-title {
    font-size: clamp(52px, 7.5vw, 112px);
    font-weight: 900;
    letter-spacing: -4px;
    color: var(--text-primary);
    margin: 0 0 48px;
    line-height: 1.0;
}

/* ── Card carousel ──────────────────────────────────── */
.hf-carousel {
    display: flex;
    gap: 10px;
    align-items: stretch;
    /* no overflow-x — all cards fill the row */
}

.hf-cc {
    flex: 1;
    min-width: 0;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 22px 20px;
    min-height: 340px;
    transition: flex 0.45s cubic-bezier(0.4,0,0.2,1),
                background 0.35s ease,
                color 0.35s ease,
                box-shadow 0.35s ease;
    cursor: pointer;
}
/* Large card gets slightly more base weight */
.hf-cc-large { flex: 1.6; }

/* Accordion on click — active card expands, siblings shrink */
.hf-carousel:has(.hf-cc--active) .hf-cc       { flex: 0.7; }
.hf-carousel:has(.hf-cc--active) .hf-cc-large { flex: 0.7; }
.hf-cc--active                                 { flex: 2.4 !important; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }

/* Subtle hover cue — slight brightness, no expansion */
.hf-cc:not(.hf-cc--active):hover { filter: brightness(1.06); }

/* Solid color variants — default */
.hf-cc-white  { background: #ffffff; color: #111111; }
.hf-cc-teal   { background: #3ecfb8; color: #001a16; }
.hf-cc-amber  { background: #f5a623; color: #1a0a00; }
.hf-cc-lime   { background: #c4f135; color: #0e1400; }
.hf-cc-dark   { background: #161616; color: #ffffff; border: 1px solid rgba(255,255,255,0.08); }

/* Color inversion on active (clicked) */
.hf-cc-white.hf-cc--active  { background: #70ff8a !important; color: #f0f0f0 !important; }
.hf-cc-teal.hf-cc--active   { background: #ff6666 !important; color: #5ee8d0 !important; }
.hf-cc-amber.hf-cc--active  { background: #cf40ff !important; color: #ffbb55 !important; }
.hf-cc-lime.hf-cc--active   { background: #216dd0ce !important; color: #d8f550 !important; }
.hf-cc-dark.hf-cc--active   { background: #f2f2f2 !important; color: #111111 !important; border-color: transparent; }

/* Arrow inversion to match active state */
.hf-cc-white.hf-cc--active .hf-cc-arrow  { background: #f0f0f0; color: #222222; }
.hf-cc-teal.hf-cc--active  .hf-cc-arrow  { background: #5ee8d0; color: #0d3d35; }
.hf-cc-amber.hf-cc--active .hf-cc-arrow  { background: #ffbb55; color: #3d2000; }
.hf-cc-lime.hf-cc--active  .hf-cc-arrow  { background: #d8f550; color: #1e2e00; }
.hf-cc-dark.hf-cc--active  .hf-cc-arrow  { background: #222222; color: #f2f2f2; }

.hf-cc-body { display: flex; flex-direction: column; height: 100%; justify-content: space-between; }

.hf-cc-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    opacity: 0.45;
    margin-bottom: 14px;
    display: block;
}
.hf-cc-h {
    font-size: clamp(22px, 2.8vw, 36px);
    font-weight: 900;
    letter-spacing: -0.8px;
    line-height: 1.1;
    margin: 0;
}
.hf-cc-p {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.6;
    margin: 12px 0 0;
    max-width: 260px;
}
.hf-cc-bottom { margin-top: 32px; }

.hf-cc-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    cursor: pointer;
    transition: gap 0.2s;
}
.hf-cc:hover .hf-cc-cta { gap: 14px; }

.hf-cc-arrow {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.hf-cc:hover .hf-cc-arrow { transform: scale(1.1) rotate(-8deg); }

.hf-cc-white .hf-cc-arrow,
.hf-cc-teal  .hf-cc-arrow,
.hf-cc-amber .hf-cc-arrow,
.hf-cc-lime  .hf-cc-arrow { background: #000000; color: #ffffff; }
.hf-cc-dark  .hf-cc-arrow { background: #ffffff; color: #000000; }

/* Ghost character decoration */
.hf-cc-ghost {
    position: absolute;
    bottom: -12px; right: 12px;
    font-size: 130px;
    font-weight: 900;
    line-height: 1;
    opacity: 0.055;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    user-select: none;
    letter-spacing: -4px;
}
.hf-cc:hover .hf-cc-ghost { opacity: 0.1; transform: scale(1.04) rotate(3deg); }

/* ── Quick access rows ──────────────────────────────── */
.hf-ql { margin-top: 60px; }

.hf-section-title {
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin: 0 0 24px;
    line-height: 1.0;
}

.hf-ql-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 20px 32px;
    border-radius: 100px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
    gap: 16px;
    user-select: none;
}
/* All rows dark by default; hovered row turns light blue */
.hf-ql-row--hi,
.hf-ql-row--dark { background: #1a1a1a; color: #fff; }
.hf-ql-row:hover { background: #add8e6 !important; color: #000 !important; transform: scale(1.01); }

.hf-ql-text {
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 500;
    flex: 1;
}
.hf-ql-sub {
    font-size: 12px;
    opacity: 0.45;
    font-weight: 400;
    margin-left: 8px;
}

.hf-ql-arrow {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.hf-ql-row:hover .hf-ql-arrow { transform: translateX(6px); }
.hf-ql-row--hi   .hf-ql-arrow { background: #000; color: #fff; }
.hf-ql-row--dark .hf-ql-arrow { background: #add8e6; color: #000; }

/* ── Full-width feature cards ───────────────────────── */
.hf-features { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }

.hf-fc {
    border-radius: 28px;
    padding: clamp(52px, 7vw, 96px) clamp(32px, 6vw, 80px);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    position: relative;
    overflow: hidden;
}
.hf-fc:hover { transform: scale(1.01); }
.hf-fc--lime   { background: #c4f135; color: #0e1400; }
.hf-fc--blue   { background: #1e3a5f; color: #ffffff; }

.hf-fc-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 20px;
    display: block;
}
.hf-fc-h {
    font-size: clamp(32px, 5vw, 72px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin: 0 auto 20px;
    max-width: 840px;
}
.hf-fc-p {
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 1.7;
    opacity: 0.7;
    max-width: 520px;
    margin: 0 auto 36px;
}
.hf-fc-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
}
.hf-fc-btn:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.hf-fc--lime .hf-fc-btn { background: #000; color: #fff; }
.hf-fc--blue .hf-fc-btn { background: #add8e6; color: #000; }

/* Subtle inner glow blob */
.hf-fc::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.07) 0%, transparent 60%);
    pointer-events: none;
}

/* ── CEO Quote ───────────────────────────────────────── */
.hf-ceo-quote {
    margin-top: 80px;
    padding: 240px 40px 300px;
    text-align: center;
}

.hf-ceo-text {
    font-size: clamp(36px, 5.5vw, 80px);
    font-weight: 900;
    letter-spacing: -2.5px;
    line-height: 1.08;
    color: var(--text-primary);
    margin: 0 auto 48px;
    max-width: 900px;
}

.hf-ceo-attribution {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hf-ceo-avatar {
    width: 110px;
    height: 110px;
    border-radius: 20px;
    object-fit: cover;
    object-position: center top;
}

.hf-ceo-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    opacity: 0.6;
}

/* ── Mission statement ──────────────────────────────── */
.hf-mission {
    text-align: center;
    padding: 328px 40px 320px;
}
.hf-mission-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.45;
    display: block;
    margin-bottom: 28px;
}
.hf-mission-text {
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 500;
    line-height: 1.55;
    color: var(--text-primary);
    max-width: 780px;
    margin: 0 auto;
    opacity: 0.88;
}
.hf-mission-pic {
    width: 260px;
    height: 346px;
    object-fit: cover;
    object-position: center top;
    border-radius: 16px;
    margin-top: 40px;
}

/* ── Philosophical quotes (same UI as Mission) ──────── */
.hf-quote {
    text-align: center;
    padding: 160px 40px;
}
.hf-quote-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.4;
    display: block;
    margin-bottom: 28px;
}
.hf-quote-text {
    font-size: clamp(16px, 1.9vw, 24px);
    font-weight: 500;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 820px;
    margin: 0 auto 20px;
    opacity: 0.82;
}
.hf-quote-source {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.4;
    display: block;
}

/* ── Bot Influencers marquee ─────────────────────────── */
.hf-marquee-wrap {
    overflow: hidden;
    padding-bottom: 56px;
}
.hf-marquee-title {
    margin-bottom: 28px;
}

.hf-marquee-track {
    overflow: hidden;
    margin-bottom: 12px;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.hf-marquee-inner {
    display: flex;
    gap: 12px;
    width: max-content;
}

.hf-marquee-track--fwd .hf-marquee-inner {
    animation: hf-mq-fwd 32s linear infinite;
}
.hf-marquee-track--rev .hf-marquee-inner {
    animation: hf-mq-rev 36s linear infinite;
}

@keyframes hf-mq-fwd {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes hf-mq-rev {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}

.hf-mq-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 36px;
    height: 88px;
    border-radius: 20px;
    font-size: clamp(22px, 2.8vw, 38px);
    font-weight: 900;
    letter-spacing: -0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
}

/* Card color variants — reuse site palette */
.hf-mq--white { background: #ffffff; color: #111111; }
.hf-mq--teal  { background: #3ecfb8; color: #001a16; }
.hf-mq--amber { background: #f5a623; color: #1a0a00; }
.hf-mq--lime  { background: #c4f135; color: #0e1400; }
.hf-mq--dark  { background: #1e1e1e; color: #ffffff; border: 1px solid rgba(255,255,255,0.08); }

[data-theme="light"] .hf-mq--dark,
[data-theme="system"] .hf-mq--dark { background: #ececec; color: #111; border-color: transparent; }

/* Pause on hover */
.hf-marquee-track:hover .hf-marquee-inner { animation-play-state: paused; }

/* ── Color-shift panel overrides ────────────────────── */
.hf-cs--default {
    color: var(--text-primary);
}
.hf-cs--default .hf-cs-btn {
    background: var(--text-primary);
    color: var(--bg-primary, #000);
}
.hf-cs--pink { color: #fff; }
.hf-cs--pink .hf-cs-btn { background: #fff; color: #ff4d8f; }

/* ── Rolling Text ────────────────────────────────────── */
.hf-rolling {
    position: relative;
    height: 1020px;
    background: var(--bg-primary, #0a0a0a);
    overflow: hidden;
    cursor: crosshair;
}

.hf-rolling-inner {
    position: absolute;
    inset: 0;
}

.hf-rolling-char {
    position: absolute;
    font-weight: 900;
    color: #e8e4d0;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    will-change: transform;
}

[data-theme="light"] .hf-rolling-char,
[data-theme="system"] .hf-rolling-char { color: #111; }

/* ── For Data Scientists ─────────────────────────────── */
.hf-fds {
    background: #b8b0f0;
    padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 64px);
    overflow: hidden;
}

.hf-fds-header {
    margin-bottom: 48px;
}
.hf-fds-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1060;
    opacity: 0.6;
    display: block;
    margin-bottom: 12px;
}
.hf-fds-h {
    font-size: clamp(40px, 6vw, 88px);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 0.95;
    color: #111;
    margin: 0 0 16px;
}
.hf-fds-sub {
    font-size: clamp(15px, 1.4vw, 18px);
    font-weight: 500;
    color: #111;
    opacity: 0.6;
    margin: 0;
}

.hf-fds-cards {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.hf-fds-card {
    flex: 1;
    min-width: 0;
    background: #f0eee8;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    transform: rotate(var(--rot)) translate(var(--tx), var(--ty));
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
    cursor: default;
    min-height: 340px;
}
.hf-fds-card:hover {
    transform: rotate(0deg) translate(0,0) scale(1.03);
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    z-index: 2;
}

.hf-fds-vtitle {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111;
    opacity: 0.25;
    padding: 20px 14px;
    flex-shrink: 0;
    border-right: 1px solid rgba(0,0,0,0.08);
}

.hf-fds-card-body {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hf-fds-pill {
    display: inline-block;
    background: #111;
    color: #f0eee8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
    align-self: flex-start;
}

.hf-fds-card-body p {
    font-size: 13px;
    line-height: 1.65;
    color: #333;
    margin: 0;
}

/* ── For Musicians ───────────────────────────────────── */
.hf-fmu {
    background: var(--bg-primary, #0a0a0a);
    padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 64px);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hf-fmu-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-primary);
    opacity: 0.45;
    display: block;
    margin-bottom: 16px;
}

.hf-fmu-h {
    font-size: clamp(52px, 9vw, 130px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.93;
    color: var(--text-primary);
    margin: 0;
}

.hf-fmu-card-note {
    position: absolute;
    bottom: clamp(32px, 5vw, 64px);
    left: clamp(24px, 5vw, 64px);
    background: rgba(128,128,128,0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(128,128,128,0.15);
    border-radius: 18px;
    padding: 24px 26px;
    max-width: 360px;
}
.hf-fmu-card-note p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
    opacity: 0.75;
    margin: 0;
}

.hf-fmu-bottom {
    margin-top: auto;
    padding-top: 180px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.hf-fmu-sub {
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin: 0;
    opacity: 0.12;
}

.hf-fmu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.hf-fmu-tags span {
    background: var(--text-primary);
    color: var(--bg-primary, #0a0a0a);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 8px 18px;
    border-radius: 100px;
    transition: opacity 0.2s;
}
.hf-fmu-tags span:hover { opacity: 0.75; }

/* ── Custom cursor ───────────────────────────────────── */
.home-features,
.home-features * { cursor: none !important; }

.hf-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.18s ease, height 0.18s ease, opacity 0.2s ease;
    will-change: left, top;
}
.hf-cursor--hover {
    width: 26px;
    height: 26px;
    background: rgba(255,255,255,0.7);
}
.hf-cursor--hidden { opacity: 0; }

/* ── Scroll-reveal utility ───────────────────────────── */
.hf-sr {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.hf-sr.hf-sr--in {
    opacity: 1;
    transform: none;
}
.hf-sr-delay-1 { transition-delay: 0.1s; }
.hf-sr-delay-2 { transition-delay: 0.2s; }
.hf-sr-delay-3 { transition-delay: 0.32s; }
.hf-sr-delay-4 { transition-delay: 0.46s; }

/* 3D tilt container for fds-cards */
.hf-fds-cards { perspective: 1200px; }

/* Hero title — will be moved by parallax JS */
.hf-hero-title { will-change: transform, opacity; }
/* Carousel — will-change for GPU layer */
#hfCarousel { will-change: transform; transform-style: preserve-3d; }
/* CEO text — JS scale */
.hf-ceo-text { display: block; transform-origin: center; will-change: transform, opacity; }

/* ── AI Training Statement Block (lavender) ─────────── */
.hf-stmt {
    background: #b8b0f0;
    padding: clamp(56px, 7vw, 100px) clamp(20px, 5vw, 64px);
    overflow: hidden;
}

.hf-stmt-line {
    font-size: clamp(44px, 8vw, 118px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.0;
    text-transform: uppercase;
    margin: 0;
    color: #111;
}

.hf-stmt--outline {
    -webkit-text-stroke: 2.5px #111;
    color: transparent;
}

/* ── How We Train Impact Block (amber) ──────────────── */
.hf-impact {
    background: #f5a623;
    padding: clamp(56px, 7vw, 100px) clamp(20px, 5vw, 64px);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hf-impact-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #1a0a00;
    display: block;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.hf-impact-line {
    font-size: clamp(64px, 13vw, 190px);
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 0.88;
    text-transform: uppercase;
    margin: 0;
    color: #1a0a00;
    position: relative;
    z-index: 1;
}

.hf-impact--outline {
    -webkit-text-stroke: 3px #1a0a00;
    color: transparent;
}

.hf-impact-circle-sm {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #1a0a00;
    margin: 28px auto;
    opacity: 0.4;
    position: relative;
    z-index: 1;
}

.hf-impact-ghost {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(100px, 20vw, 280px);
    font-weight: 900;
    letter-spacing: -6px;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px rgba(26,10,0,0.1);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

.hf-impact-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1a0a00;
    margin: 32px auto 0;
    position: relative;
    z-index: 1;
}

/* ── On-chain Trading Dark Block ─────────────────────── */
.hf-onchain {
    background: #080808;
    padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 64px);
    text-align: center;
}

.hf-onchain-block {
    max-width: 680px;
    margin: 0 auto;
}

.hf-onchain-h {
    font-size: clamp(26px, 3.8vw, 54px);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #ffffff;
    margin: 0 0 20px;
}

.hf-onchain-p {
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
    margin: 0 auto;
}

.hf-onchain-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    max-width: 680px;
    margin: 72px auto;
}

.hf-onchain-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.hf-onchain-cta:hover { color: #ffffff; }

.hf-onchain-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.hf-onchain-cta:hover .hf-onchain-arrow { transform: translateX(5px); }

.hf-cta-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    gap: 16px;
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Scroll color-shift panels ─────────────────────── */
.hf-colorshift {
    height: 400vh;
    position: relative;
}

.hf-cs-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: var(--bg-primary, #0a0a0a);
    transition: background-color 0.65s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hf-cs-panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.hf-cs-panel.hf-cs--active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hf-cs-inner {
    text-align: center;
    padding: 0 48px;
    max-width: 860px;
}

.hf-cs-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
    display: block;
    margin-bottom: 20px;
}

.hf-cs-h {
    font-size: clamp(56px, 10vw, 148px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.93;
    margin: 0 0 28px;
    text-transform: uppercase;
}

.hf-cs-p {
    font-size: clamp(14px, 1.4vw, 18px);
    line-height: 1.7;
    opacity: 0.72;
    max-width: 500px;
    margin: 0 auto 32px;
}

.hf-cs-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    background: #000;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hf-cs-btn:hover { transform: scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

/* Panel color themes */
.hf-cs--amber { color: #1a0a00; }
.hf-cs--lime  { color: #0e1400; }
.hf-cs--teal  { color: #001a16; }
.hf-cs--green { color: #a8f0c8; }
.hf-cs--green .hf-cs-btn { background: #a8f0c8; color: #0e2418; }

/* ── Caloogy for Business ───────────────────────────── */
.hf-tob {
    overflow: hidden;
}

.hf-tob-header {
    position: relative;
    background: #f5a623;
    color: #1a0a00;
    padding: clamp(48px, 6vw, 88px) clamp(24px, 5vw, 72px) clamp(40px, 5vw, 72px);
    overflow: hidden;
}

.hf-tob-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.5;
    display: block;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.hf-tob-h {
    font-size: clamp(52px, 9vw, 130px);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.92;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.hf-tob-ghost {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(80px, 14vw, 200px);
    font-weight: 900;
    letter-spacing: -6px;
    text-transform: uppercase;
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    white-space: nowrap;
}

.hf-tob-cards {
    display: flex;
    align-items: stretch;
    min-height: 440px;
}

.hf-tob-card {
    flex: 1;
    min-width: 0;
    padding: clamp(28px, 3vw, 44px) clamp(22px, 2.5vw, 36px);
    cursor: pointer;
    transition: flex 0.45s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.hf-tob--open { flex: 2.2 !important; }
.hf-tob-card:not(.hf-tob--open):hover { filter: brightness(1.06); }

.hf-tob--amber { background: #f5a623; color: #1a0a00; }
.hf-tob--teal  { background: #3ecfb8; color: #001a16; }
.hf-tob--lime  { background: #c4f135; color: #0e1400; }

.hf-tob-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hf-tob-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    background: #000;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
}
.hf-tob--amber .hf-tob-num { background: #1a0a00; }
.hf-tob--teal  .hf-tob-num { background: #001a16; }
.hf-tob--lime  .hf-tob-num { background: #0e1400; }

.hf-tob-icon {
    font-size: 22px;
    opacity: 0.35;
}

.hf-tob-card-h {
    font-size: clamp(28px, 3.5vw, 52px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.0;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.hf-tob-divider {
    height: 1px;
    background: currentColor;
    opacity: 0.25;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.hf-tob-card-p {
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.65;
    opacity: 0.75;
    margin: 0;
    flex: 1;
}

.hf-tob-more {
    margin-top: 24px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.35s ease;
}
.hf-tob--open .hf-tob-more {
    max-height: 200px;
    opacity: 1;
}
.hf-tob-more ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hf-tob-more ul li {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.8;
    padding-left: 16px;
    position: relative;
}
.hf-tob-more ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0.6;
}

/* ── CTA blob section ───────────────────────────────── */
.hf-cta-section {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 80px 80px 120px;
    max-width: 1280px;
    margin: 0 auto;
}

.hf-cta-circle {
    flex-shrink: 0;
    width: clamp(200px, 20vw, 300px);
    height: clamp(200px, 20vw, 300px);
    border-radius: 50%;
    background: #add8e6;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hf-cta-circle span {
    font-size: clamp(26px, 3.2vw, 48px);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hf-cta-mid {
    flex: 1;
    background: #add8e6;
    color: #000;
    border-radius: 24px;
    padding: 32px 28px;
    align-self: stretch;
    display: flex;
    align-items: center;
}
.hf-cta-mid p {
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.7;
    margin: 0;
}

.hf-cta-links {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 240px;
}

.hf-cta-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    background: #ffffff;
    color: #000;
    gap: 16px;
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.hf-cta-link-row:hover { transform: scale(1.03); }

.hf-cta-link-arrow {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ── Light theme ─────────────────────────────────────── */
[data-theme="light"] .hf-hero-title,
[data-theme="system"] .hf-hero-title { color: #0a0a0a; }
[data-theme="light"] .hf-section-title,
[data-theme="system"] .hf-section-title { color: #0a0a0a; }
[data-theme="light"] .hf-ql-row--dark,
[data-theme="system"] .hf-ql-row--dark { background: #ececec; color: #0a0a0a; }
[data-theme="light"] .hf-ql-row--dark .hf-ql-arrow,
[data-theme="system"] .hf-ql-row--dark .hf-ql-arrow { background: #000; color: #fff; }
[data-theme="light"] .hf-cc-dark,
[data-theme="system"] .hf-cc-dark { background: #f0f0f0; color: #111; border-color: transparent; }
[data-theme="light"] .hf-cc-dark .hf-cc-arrow,
[data-theme="system"] .hf-cc-dark .hf-cc-arrow { background: #000; color: #fff; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
    .hf-cursor { display: none; }

    .hf-inner { padding: 40px 16px 0; }
    .hf-hero-title { font-size: 40px; letter-spacing: -1.5px; margin-bottom: 32px; }

    /* Vertical stack on mobile */
    .hf-carousel { flex-direction: column; gap: 10px; }
    .hf-carousel:has(.hf-cc:hover) .hf-cc,
    .hf-carousel:has(.hf-cc:hover) .hf-cc-large { flex: 1; }
    .hf-cc:hover { flex: 1 !important; }
    .hf-cc-large { flex: 1; }
    .hf-cc { min-height: 200px; padding: 22px 20px 20px; }
    .hf-cc-ghost { font-size: 80px; }

    .hf-ql { margin-top: 40px; }
    .hf-ql-row { padding: 14px 16px 14px 22px; border-radius: 60px; }
    .hf-ql-text { font-size: 14px; }
    .hf-ql-arrow { width: 36px; height: 36px; }
    .hf-fc { padding: 44px 24px; }
    .hf-fc-h { font-size: 26px; letter-spacing: -1px; }
    .hf-features { margin-top: 10px; gap: 10px; }
    .hf-ceo-quote { margin-top: 48px; padding: 144px 16px 192px; }
    .hf-ceo-text { letter-spacing: -1.5px; }
    .hf-ceo-avatar { width: 88px; height: 88px; }

    .hf-mission { padding: 168px 16px 144px; }
    .hf-mq-card { height: 68px; padding: 0 24px; border-radius: 16px; }
    .hf-fds-cards { flex-direction: column; }
    .hf-fds-card { transform: none !important; min-height: 220px; }
    .hf-fmu-card-note { position: static; max-width: 100%; margin-top: 32px; }
    .hf-fmu-bottom { padding-top: 32px; }
    .hf-stmt-line { letter-spacing: -1.5px; }
    .hf-stmt--outline { -webkit-text-stroke: 1.5px #111; }
    .hf-impact-line { letter-spacing: -2px; }
    .hf-impact--outline { -webkit-text-stroke: 2px #1a0a00; }
    .hf-tob-cards { flex-direction: column; min-height: 0; }
    .hf-tob--open { flex: none !important; }
    .hf-tob-card { min-height: 220px; }
    .hf-tob-ghost { display: none; }
    .hf-cs-h { letter-spacing: -2px; }
    .hf-cs-inner { padding: 0 24px; }

    .hf-cta-section { flex-direction: column; padding: 48px 16px 80px; }
    .hf-cta-circle { width: 180px; height: 180px; }
    .hf-cta-mid { align-self: auto; }
    .hf-cta-links { width: 100%; min-width: 0; }
}
