/* Home — visual language adapted from HTML-Light-Demo */

.home-shell {
    --lamp-color: var(--nv-accent);
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    color: var(--nv-text);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        radial-gradient(circle at 72% 18%, color-mix(in srgb, var(--lamp-color) 10%, transparent), transparent 32%),
        linear-gradient(140deg, var(--nv-bg-deep) 0%, var(--nv-bg) 56%, #080811 100%);
    background-size: 56px 56px, 56px 56px, auto, auto;
    font-family: var(--nv-font);
}

.home-shell::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    opacity: 0.12;
    background-image: radial-gradient(rgba(255, 255, 255, 0.28) 0.7px, transparent 0.7px);
    background-size: 7px 7px;
    mask-image: linear-gradient(145deg, black, transparent 70%);
}

.home-light-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.home-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 48%, transparent 46%, rgba(0, 0, 0, 0.42) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.4));
    mix-blend-mode: multiply;
}

.home-header,
.home-main,
.home-section,
.home-footer {
    position: relative;
    z-index: 3;
}

.home-header {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 clamp(20px, 4vw, 54px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.home-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.03em;
    min-width: 0;
}

.home-logo-wrap {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f4f5f8;
    flex-shrink: 0;
}

.home-logo {
    width: 27px;
    height: 27px;
    display: block;
    object-fit: contain;
}

.home-brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-brand-suffix {
    margin-left: 2px;
    color: rgba(238, 240, 247, 0.42);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    white-space: nowrap;
}

.home-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.home-nav-link {
    color: rgba(239, 241, 247, 0.48);
    text-decoration: none;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 160ms ease;
}

.home-nav-link:hover,
.home-nav-link.is-active {
    color: #fff;
}

.home-status {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(239, 241, 247, 0.54);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    white-space: nowrap;
}

.home-status > span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--lamp-color);
    box-shadow: 0 0 16px var(--lamp-color);
    animation: home-pulse 2.4s ease-in-out infinite;
}

@keyframes home-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.85); }
}

.home-main {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    align-items: end;
    gap: clamp(32px, 5vw, 68px);
    padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 54px) 48px;
    min-height: calc(100svh - 82px - 90px);
}

.home-kicker {
    margin: 0 0 23px;
    color: color-mix(in srgb, var(--lamp-color) 86%, white);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
}

.home-title {
    max-width: 900px;
    margin: 0;
    color: #f7f7fa;
    font-size: clamp(3.2rem, 8vw, 5.6rem);
    font-weight: 670;
    letter-spacing: -0.067em;
    line-height: 0.94;
}

.home-title span {
    color: rgba(247, 247, 250, 0.55);
}

.home-headline {
    max-width: 34rem;
    margin: 28px 0 0;
    color: transparent;
    background: linear-gradient(90deg, #9bb6e0 0%, #7a9fd4 48%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 520;
    letter-spacing: -0.027em;
    line-height: 1.35;
}

.home-subtitle {
    max-width: 36rem;
    margin: 16px 0 0;
    color: rgba(238, 240, 247, 0.46);
    font-size: 15px;
    line-height: 1.55;
}

.home-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.home-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid color-mix(in srgb, var(--lamp-color) 54%, transparent);
    border-radius: 999px;
    color: #fff;
    background: color-mix(in srgb, var(--lamp-color) 14%, transparent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 620;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.home-cta:hover {
    background: color-mix(in srgb, var(--lamp-color) 22%, transparent);
    border-color: color-mix(in srgb, var(--lamp-color) 72%, transparent);
    transform: translateY(-1px);
}

.home-cta-ghost {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(246, 247, 251, 0.72);
}

.home-cta-arrow {
    font-size: 14px;
    opacity: 0.8;
}

.home-facts {
    align-self: center;
    width: 100%;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 19px;
    background: rgba(13, 15, 21, 0.93);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
}

.home-facts-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.home-facts-heading p {
    margin: 0;
    font-size: 12px;
    font-weight: 720;
    letter-spacing: 0.12em;
}

.home-facts-heading span {
    display: block;
    color: rgba(237, 239, 246, 0.34);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 8px;
    letter-spacing: 0.15em;
    text-align: right;
    margin-top: 6px;
}

.home-fact-list {
    margin: 0;
    padding: 0;
}

.home-fact {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-fact:last-of-type {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.home-fact dt {
    margin: 0;
    color: rgba(244, 245, 249, 0.58);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 9px;
    letter-spacing: 0.11em;
    font-weight: 550;
}

.home-fact dd {
    margin: 0;
    color: rgba(244, 245, 249, 0.92);
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

.home-facts-link {
    width: 100%;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(245, 246, 250, 0.72);
    background: rgba(255, 255, 255, 0.026);
    text-decoration: none;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 9px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    transition: color 160ms ease, border-color 160ms ease;
}

.home-facts-link:hover {
    color: #fff;
    border-color: color-mix(in srgb, var(--lamp-color) 35%, transparent);
}

.home-section {
    max-width: 1140px;
    margin: 0 auto;
    padding: 56px clamp(20px, 4vw, 54px);
}

.home-section-title {
    margin: 0 0 18px;
    max-width: 28rem;
    color: #f7f7fa;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.home-about-copy {
    max-width: 42rem;
    margin: 0;
    color: rgba(238, 240, 247, 0.52);
    font-size: 15px;
    line-height: 1.65;
}

.home-strategies .home-about-copy {
    margin-bottom: 28px;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.strategy-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
    background: var(--nv-surface);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    transition: border-color 180ms ease, transform 180ms ease;
}

.strategy-card:hover {
    border-color: color-mix(in srgb, var(--lamp-color) 42%, transparent);
    transform: translateY(-2px);
}

.strategy-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.strategy-index {
    color: var(--nv-text-mute);
    font-family: var(--nv-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
}

.strategy-market {
    color: color-mix(in srgb, var(--lamp-color) 82%, white);
    font-family: var(--nv-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: right;
}

.strategy-title {
    margin: 0;
    color: var(--nv-text);
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.strategy-blurb {
    margin: 0;
    color: var(--nv-text-dim);
    font-size: 14px;
    line-height: 1.55;
}

.strategy-points {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
}

.strategy-points li {
    position: relative;
    padding: 8px 0 8px 16px;
    border-top: 1px solid var(--nv-border-soft);
    color: var(--nv-text-dim);
    font-size: 13px;
    line-height: 1.45;
}

.strategy-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lamp-color);
}

.strategy-card .home-cta {
    margin-top: auto;
    align-self: flex-start;
}

/* Equities sleeve page */
a.home-brand {
    text-decoration: none;
    color: inherit;
}

.eq-shell .home-light-canvas {
    display: none;
}

.eq-main {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: end;
    padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 54px) 24px;
}

.eq-title {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
}

.eq-panel {
    position: relative;
    z-index: 3;
    padding: 25px;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
    background: var(--nv-surface);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.eq-holdings {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.eq-holding {
    display: grid;
    grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-sm);
    background: rgba(255, 255, 255, 0.025);
}

.eq-holding-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eq-ticker {
    color: var(--nv-text);
    font-family: var(--nv-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.eq-name {
    color: var(--nv-text-dim);
    font-size: 13px;
}

.eq-holding-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eq-sleeve {
    color: color-mix(in srgb, var(--lamp-color) 85%, white);
    font-family: var(--nv-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eq-note {
    color: var(--nv-text-dim);
    font-size: 13px;
    line-height: 1.4;
}

.eq-report-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: color-mix(in srgb, var(--lamp-color) 88%, white);
    font-family: var(--nv-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 160ms ease;
}

.eq-report-link:hover {
    color: var(--nv-text);
}

.eq-report-arrow {
    font-size: 12px;
    line-height: 1;
}

.eq-research-grid {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.eq-research-card {
    padding: 22px 24px;
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
    background: rgba(255, 255, 255, 0.025);
}

.eq-research-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.eq-research-ticker {
    color: color-mix(in srgb, var(--lamp-color) 85%, white);
    font-family: var(--nv-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.eq-research-date {
    color: var(--nv-text-dim);
    font-family: var(--nv-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
}

.eq-research-title {
    margin: 0 0 10px;
    color: var(--nv-text);
    font-family: var(--nv-serif, "Libre Baskerville", Georgia, serif);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.45;
}

.eq-research-summary {
    margin: 0 0 16px;
    color: var(--nv-text-dim);
    font-size: 14px;
    line-height: 1.55;
}

.eq-research-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.eq-research-source {
    color: var(--nv-text-dim);
    font-family: var(--nv-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.eq-research-footer .eq-report-link {
    margin-top: 0;
}

.eq-contact-band {
    padding-bottom: 72px;
}

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

    .eq-main {
        grid-template-columns: 1fr;
        padding-bottom: 12px;
    }

    .eq-holding {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.home-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.home-team-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    transition: border-color 180ms ease, background 180ms ease;
}

.home-team-card:hover {
    border-color: color-mix(in srgb, var(--lamp-color) 40%, transparent);
    background: color-mix(in srgb, var(--lamp-color) 6%, transparent);
}

.home-team-role {
    margin: 0 0 10px;
    color: color-mix(in srgb, var(--lamp-color) 80%, white);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-team-name {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -0.03em;
    color: #fff;
}

.home-team-bio {
    margin: 0;
    color: rgba(238, 240, 247, 0.46);
    font-size: 13px;
    line-height: 1.55;
}

.home-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    min-height: 90px;
    padding: 0 clamp(20px, 4vw, 54px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(239, 241, 247, 0.28);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 8px;
    letter-spacing: 0.13em;
}

.home-footer > p {
    margin: 0;
}

.home-footer > p:last-child {
    text-align: right;
}

.home-footer-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.home-footer-link {
    color: rgba(247, 248, 252, 0.62);
    text-decoration: none;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-footer-link:hover {
    color: var(--lamp-color);
}

@media (max-width: 900px) {
    .home-header {
        height: auto;
        min-height: 82px;
        flex-wrap: wrap;
        padding: 18px 20px;
    }

    .home-status { display: none; }

    .home-main {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 32px;
    }

    .home-facts { align-self: stretch; }

    .home-footer {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px 20px;
        text-align: center;
    }

    .home-footer > p:first-child { display: none; }
    .home-footer > p:last-child { text-align: center; }
    .home-footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .home-status > span,
    .home-cta {
        animation: none !important;
        transition: none !important;
    }
}
