* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --plum: #1a1028;                  /* plum-deep: main background */
    --sandal: #241733;                /* sandalwood-panel: card panel */
    --ink: #0e0817;                   /* ink-plum: header base / footer / mask */
    --panel-hi: #2f1f42;              /* lifted panel: hover / inner stroke */
    --rose: #e8b298;                  /* rose gold: primary accent */
    --rose-hi: #f5c9b3;               /* bright rose gold */
    --lime: #b9f227;                  /* lime: growth / positive */
    --lime-hi: #d4ff6b;               /* bright lime */
    --peri: #a8b5ff;                  /* periwinkle: links / tags */
    --peri-hi: #c7d0ff;               /* bright periwinkle */
    --coral: #ff8b7e;                 /* coral: exits / heat */
    --cream: #f5eee8;                 /* cream white: primary text */
    --fog: #8b7fa0;                   /* fog plum: secondary text */

    --grad: linear-gradient(120deg, #e8b298, #a8b5ff, #b9f227);
    --grad-rs: linear-gradient(90deg, #e8b298, #b9f227);
    --grad-soft: linear-gradient(120deg, #241733, #2f1f42);

    --radius-s: 4px;
    --radius-m: 8px;
    --radius-l: 12px;
    --pill: 999px;
    --cut: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    --parallelogram: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
    --diamond: polygon(50% 0%, 100% 35%, 75% 100%, 25% 100%, 0% 35%);
    --pentagon: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    --folder-tab: polygon(0 0, 25% 0, 25% 8%, 55% 8%, 55% 0, 100% 0, 100% 100%, 0 100%);

    --flowline: repeating-linear-gradient(90deg, rgba(232,178,152,0.03) 0 1px, transparent 1px 8px);
    --growthdots: radial-gradient(rgba(185,242,39,0.04) 1px, transparent 1px);
    --valuesteps: repeating-linear-gradient(0deg, rgba(168,181,255,0.03) 0 1px, transparent 1px 20px);

    --shadow: 0 16px 40px rgba(0,0,0,0.7);
    --shadow-hover: 0 20px 50px rgba(0,0,0,0.75);
    --glow-rose: 0 0 28px rgba(232,178,152,0.5);
    --glow-lime: 0 0 28px rgba(185,242,39,0.45);
    --glow-peri: 0 0 28px rgba(168,181,255,0.5);
    --glow-coral: 0 0 28px rgba(255,139,126,0.5);
    --glow-grad: 0 6px 40px rgba(232,178,152,0.35), 0 0 34px rgba(185,242,39,0.28);

    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #1a1028;
    background-attachment: fixed;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video, svg { max-width: 100%; height: auto; }
main, section, div { max-width: 100%; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #0e0817; }
::-webkit-scrollbar-thumb { background: linear-gradient(120deg, #e8b298, #a8b5ff, #b9f227); border-radius: 999px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---- rose-peri-lime gradient stripe (animated) ---- */
.temp-stripe {
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #e8b298, #a8b5ff, #b9f227);
    background-size: 200% 3px;
}
.temp-stripe.flowing { animation: mr-stripe-flow 2.4s linear infinite; }
@keyframes mr-stripe-flow { to { background-position: 200% 0; } }
@keyframes mr-sweep { to { background-position: 200% 0; } }

@keyframes mr-live-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(185,242,39,0.7); } 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(185,242,39,0); } }
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes mr-breathe { 0%, 100% { text-shadow: 0 0 16px rgba(232,178,152,0.45); } 50% { text-shadow: 0 0 30px rgba(185,242,39,0.5); } }
@keyframes mr-float { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 8px)); } }
@keyframes mr-bounce { 0%, 100% { transform: translate(-50%, -50%) scale(1.08); } 40% { transform: translate(-50%, calc(-50% - 10px)) scale(1.08); } 60% { transform: translate(-50%, calc(-50% + 3px)) scale(1.06); } }
@keyframes mr-arc-drift { to { background-position-x: 600px; } }
@keyframes mr-twinkle { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.4; } }
@keyframes mr-breathe-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } }

.mono-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fog); }
.mono-hint { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; color: var(--fog); opacity: 0.8; margin-top: 14px; transition: opacity 0.22s ease; }
.mono-pill {
    font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(14,8,23,0.55);
    color: var(--rose-hi);
    border: 1px solid rgba(232,178,152,0.7);
    padding: 5px 12px; border-radius: var(--pill);
    backdrop-filter: blur(4px);
}

.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; margin: 0 0 26px; }
.section-title {
    font-family: var(--font-body); font-weight: 800; font-size: 42px;
    letter-spacing: 0.03em; text-transform: uppercase; color: var(--cream);
    line-height: 1.05;
}
.section-title i { font-family: var(--font-serif); font-style: italic; font-weight: 600; text-transform: none; letter-spacing: 0.01em; }
.section-title b { font-weight: 800; }
.section-title { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-sub { color: var(--fog); }

/* gradient underline under section titles */
.section-line {
    display: block;
    height: 3px; width: 150px; border-radius: 3px;
    background: linear-gradient(90deg, transparent, #e8b298, #a8b5ff, #b9f227, transparent);
    background-size: 200% 100%;
    margin-bottom: 12px;
}
.section-line.sweeping { animation: mr-sweep 5s linear infinite; }

.h-reveal { opacity: 0; }
.h-reveal.revealed { opacity: 1; }

/* ===== Header ===== */
.mr-header {
    position: sticky; top: 0; z-index: 50;
    height: 76px;
    background: rgba(26,16,40,0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}
.mr-header-inner { max-width: 1280px; height: 100%; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; }
.mr-brand { display: flex; align-items: center; gap: 12px; }
.mr-vline { width: 2px; height: 40px; background: linear-gradient(180deg, var(--rose), transparent); flex: 0 0 auto; }
.mr-brand-text { display: flex; flex-direction: column; gap: 2px; }
.mr-brand-line1 { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.mr-logo-a {
    font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 26px;
    color: var(--rose); line-height: 1;
    text-shadow: 0 0 22px rgba(232,178,152,0.35);
    animation: mr-breathe 6s ease-in-out infinite;
}
.mr-logo-b { font-family: var(--font-body); font-weight: 800; font-size: 18px; letter-spacing: 0.22em; color: var(--lime); text-transform: uppercase; line-height: 1; }
.mr-brand-sub { color: var(--fog); letter-spacing: 0.26em; }
.mr-nav { display: flex; align-items: center; gap: 26px; }
.mr-nav a { transition: filter 0.25s ease, transform 0.25s ease; }
.mr-nav a:hover { filter: drop-shadow(0 0 12px currentColor); transform: translateY(-1px); }
.nav-deals { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 20px; color: var(--rose); }
.nav-funds { font-family: var(--font-body); font-weight: 800; font-size: 15px; letter-spacing: 0.18em; color: var(--lime); text-transform: uppercase; }
.nav-founders { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 20px; color: var(--peri); }
.nav-exits { font-family: var(--font-body); font-weight: 800; font-size: 15px; letter-spacing: 0.18em; color: var(--coral); text-transform: uppercase; }
.mr-header-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.stat-lime { color: var(--lime); font-weight: 600; }
.stat-peri { color: var(--peri); font-weight: 600; }
/* growth-dot decorative lines at both ends */
.mr-plx {
    position: absolute; top: 50%; width: 130px; height: 3px;
    transform: translateY(-50%);
    pointer-events: none; opacity: 0.9;
    background-image: radial-gradient(circle, rgba(185,242,39,0.5) 1px, transparent 1.6px);
    background-size: 9px 3px;
}
.mr-plx.flowing { animation: star-drift 1.6s linear infinite; }
@keyframes star-drift { to { background-position: 9px 0; } }
.mr-plx-left { left: 4px; }
.mr-plx-right { right: 4px; }
.header-edge {
    position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: linear-gradient(90deg, #e8b298, #b9f227); opacity: 0.95;
}

/* ===== Hero: Deal Flow hub ===== */
.mr-hero { padding: 24px 20px 6px; max-width: 1360px; margin: 0 auto; }
.mr-dealflow {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: 8px;
    height: 72vh; min-height: 400px; max-height: 640px;
}
.mr-df-left { min-width: 0; }
.mr-df-feature {
    position: relative; display: block; overflow: hidden; height: 100%;
    background: var(--sandal);
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
    box-shadow: var(--shadow);
    transition: filter 0.3s ease;
}
.mr-df-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mr-df-shade { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,16,40,0.2) 0%, rgba(26,16,40,0.55) 55%, rgba(14,8,23,0.9) 100%); }
.mr-df-feature:hover { filter: drop-shadow(0 0 26px rgba(232,178,152,0.45)); }
.mr-df-feature:hover > img { transform: scale(1.03); }
.mr-df-pill { position: absolute; top: 14px; left: 14px; z-index: 4; color: var(--ink); background: var(--rose); border-color: var(--rose-hi); }
.mr-df-body {
    position: absolute; left: 0; bottom: 0; z-index: 3;
    display: flex; flex-direction: column; gap: 8px;
    padding: 26px 34px;
}
.mr-df-series { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 48px; line-height: 1; color: var(--rose); text-shadow: 0 4px 26px rgba(0,0,0,0.9); }
.mr-df-series i { font-style: italic; }
.mr-df-company { font-family: var(--font-body); font-weight: 800; font-size: 24px; color: var(--cream); text-shadow: 0 4px 20px rgba(0,0,0,0.9); }
.mr-df-funds { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mr-df-funds b { font-size: 32px; color: var(--lime); font-weight: 600; letter-spacing: 0.04em; }
.mr-df-read {
    position: absolute; right: 44px; bottom: 30px; z-index: 4;
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--rose); font-weight: 700;
    opacity: 0; transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.mr-df-read svg { width: 16px; height: 16px; }
.mr-df-feature:hover .mr-df-read { opacity: 1; transform: translateY(0); }

.mr-df-right { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mr-flow-title { display: flex; align-items: center; gap: 8px; padding: 2px 4px; }
.mr-flow-title .mono-tag { color: var(--lime); font-weight: 600; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: mr-live-pulse 1.6s infinite; box-shadow: 0 0 10px rgba(185,242,39,0.8); }
.mr-flow-row {
    flex: 1; min-height: 0; position: relative;
    display: flex; align-items: center; gap: 12px;
    background: var(--sandal);
    border-left: 2px solid var(--rose);
    padding: 10px 16px 10px 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-left-width 0.25s ease;
}
.mr-flow-row:hover { transform: translateX(6px); border-left-width: 6px; box-shadow: var(--glow-lime); }
.mr-flow-co { flex: 1; min-width: 0; font-weight: 700; font-size: 15px; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-flow-rnd { color: var(--rose); }
.mr-flow-amt { color: var(--lime); font-weight: 600; }
.mr-hint { margin-top: 10px; }

/* Mobile hero: stepped round staircase, 36x3 + 4x2 + 12 = 128px cap */
.mr-mob { display: none; }
@media (max-width: 767px) {
    .mr-hero { padding: 2px 12px 0; max-width: 100%; }
    .mr-dealflow { display: none; }
    .mr-mob { display: block; }
    .mr-hero-mobile { display: flex; flex-direction: column; max-height: 130px; overflow: hidden; padding: 6px 0; }
    .mr-mtrack { position: relative; overflow: visible; }
    .mr-mgroup { display: none; flex-direction: column; gap: 4px; }
    .mr-mgroup.active { display: flex; }
    .mr-step {
        position: relative; display: flex; align-items: center; gap: 8px;
        height: 36px; margin-left: var(--off); width: var(--w);
        background: var(--sandal);
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .mr-step:hover, .mr-step:active { transform: translateX(4px); box-shadow: 0 0 18px color-mix(in srgb, var(--sc) 55%, transparent); }
    .mr-step-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sc); }
    .mr-step-mid { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; padding-left: 12px; overflow: hidden; }
    .mr-step-mid i { font-family: var(--font-serif); font-style: italic; font-size: 14px; color: var(--cream); flex: 0 0 auto; }
    .mr-step-mid b { font-family: var(--font-body); font-weight: 700; font-size: 13px; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mr-step-amt { display: inline-flex; align-items: center; gap: 4px; color: var(--lime); font-size: 13px; font-weight: 600; flex: 0 0 auto; padding-right: 10px; }
    .mr-step-amt svg { width: 11px; height: 11px; }
    .mr-step-line { position: absolute; left: 12px; bottom: 3px; width: 34%; height: 2px; background: linear-gradient(90deg, var(--sc), transparent); }
    .mr-mdots { display: flex; justify-content: center; gap: 6px; height: 6px; margin-top: 2px; }
    .mr-mdot { width: 6px; height: 4px; border-radius: 999px; background: rgba(139,127,160,0.35); transition: all 0.3s ease; }
    .mr-mdot.active { width: 16px; background: var(--lime); }
}

/* ===== Portfolio Prism (parallelogram cards, rose to periwinkle) ===== */
.mr-prism-section {
    padding: 46px 20px 40px; max-width: 1280px; margin: 0 auto;
    background: linear-gradient(180deg, rgba(232,178,152,0.06), rgba(168,181,255,0.08));
    border-radius: var(--radius-l);
    position: relative; overflow: hidden;
}
.mr-prism-section::before { content: ""; position: absolute; inset: 0; background-image: var(--growthdots); background-size: 9px 9px; pointer-events: none; }
.mr-prism-section .section-title b { color: var(--peri); }
.mr-prism-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
.mr-prism-card {
    position: relative; display: block; overflow: hidden; height: 190px;
    clip-path: var(--parallelogram);
    background: var(--sandal);
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.mr-prism-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mr-prism-shade { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(232,178,152,0.12) 0%, rgba(26,16,40,0.55) 55%, rgba(14,8,23,0.92) 100%); }
.mr-prism-round { position: absolute; top: 12px; left: 18px; z-index: 3; color: var(--rose); font-weight: 600; }
.mr-prism-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; flex-direction: column; gap: 4px; padding: 14px 22px; }
.mr-prism-name { font-family: var(--font-body); font-weight: 800; font-size: 16px; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-prism-growth { display: inline-flex; align-items: center; gap: 5px; color: var(--lime); font-weight: 600; }
.mr-prism-growth svg { width: 12px; height: 12px; }
.mr-prism-arrow { position: absolute; right: 14px; bottom: 14px; z-index: 3; color: var(--lime); opacity: 0.85; }
.mr-prism-arrow svg { width: 18px; height: 18px; }
.mr-prism-card:hover { transform: rotate(-3deg) scale(1.06); filter: drop-shadow(0 0 22px rgba(185,242,39,0.5)); z-index: 4; }

/* ===== Term Sheets (folder-tab cards, periwinkle to rose) ===== */
.mr-ts-section {
    padding: 48px 20px 8px; max-width: 1280px; margin: 0 auto;
}
.mr-ts-section .section-title i { color: var(--peri); }
.mr-ts-rail {
    position: relative;
    border: 1.5px dashed rgba(232,178,152,0.55);
    border-radius: var(--radius-l);
    background: rgba(168,181,255,0.08);
    padding: 24px 8px 30px; overflow: hidden;
}
.mr-ts-rail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background-image: var(--flowline); pointer-events: none; }
.mr-ts-track { display: flex; gap: 18px; overflow-x: auto; padding: 6px 14px 18px; scroll-snap-type: x mandatory; }
.mr-ts-track::-webkit-scrollbar { height: 6px; }
.mr-ts-track::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #a8b5ff, #e8b298); border-radius: 999px; }
.mr-ts-card {
    flex: 0 0 260px; display: flex; flex-direction: column; gap: 8px;
    padding: 34px 18px 18px; position: relative; scroll-snap-align: start;
    background: linear-gradient(150deg, rgba(168,181,255,0.9), rgba(232,178,152,0.9));
    clip-path: var(--folder-tab);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.mr-ts-tab { position: absolute; top: 0; left: 6%; font-size: 9px; font-weight: 700; color: var(--ink); letter-spacing: 0.14em; }
.mr-ts-card.tone-rose .mr-ts-tab { color: var(--ink); }
.mr-ts-card.tone-coral .mr-ts-tab { color: var(--coral); }
.mr-ts-card.tone-peri .mr-ts-tab { color: #243066; }
.mr-ts-co { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 20px; color: var(--ink); line-height: 1.1; }
.mr-ts-terms { font-family: var(--font-body); font-size: 13px; line-height: 1.45; color: rgba(14,8,23,0.72); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mr-ts-funds { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.mr-ts-funds b { font-size: 20px; color: #2c5e04; font-weight: 700; }
.mr-ts-funds span { color: #243066; font-weight: 600; }
.mr-ts-signed {
    position: absolute; right: 10px; bottom: 10px;
    font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
    color: var(--ink); background: var(--coral);
    padding: 3px 9px; border-radius: var(--pill);
}
.mr-ts-card:hover { transform: translateY(-6px); box-shadow: var(--glow-peri); filter: brightness(1.08); }

/* ===== GP Arc (diamond partner cards, rose to coral) ===== */
.mr-gp-section {
    padding: 48px 20px 8px; max-width: 1280px; margin: 0 auto;
}
.mr-gp-section .section-title i { color: var(--rose); }
.mr-gp-arc { display: flex; justify-content: center; align-items: flex-start; gap: 22px; flex-wrap: wrap; padding: 34px 0 12px; }
.mr-gp-card {
    position: relative; display: flex; flex-direction: column; align-items: center;
    width: 170px; height: 230px; padding: 52px 18px 30px;
    transform: rotate(var(--ang)) translateY(var(--ty));
    transition: transform 0.3s ease, filter 0.3s ease;
    background: linear-gradient(165deg, #e8b298, #ff8b7e);
    clip-path: var(--diamond);
    box-shadow: var(--shadow);
}
.mr-gp-card:hover { transform: rotate(0deg) translateY(-8px); z-index: 5; filter: drop-shadow(0 0 22px rgba(232,178,152,0.6)); }
.mr-gp-avatar {
    position: relative; z-index: 2;
    width: 55px; height: 55px; border-radius: 50%; overflow: hidden;
    border: 2.5px solid var(--lime);
    box-shadow: 0 4px 16px rgba(0,0,0,0.55);
    background: var(--ink);
}
.mr-gp-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mr-gp-name { position: relative; z-index: 2; font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 18px; color: var(--ink); line-height: 1.1; margin-top: 10px; text-align: center; }
.mr-gp-focus { position: relative; z-index: 2; color: #2c5e04; font-weight: 700; font-size: 9px; margin-top: 4px; text-align: center; }
.mr-gp-dots { position: relative; z-index: 2; display: flex; gap: 6px; margin-top: 10px; }
.gp-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(14,8,23,0.25); border: 1px solid rgba(14,8,23,0.4); }
.gp-dot.on { background: var(--ink); border-color: var(--lime); box-shadow: 0 0 8px rgba(185,242,39,0.7); }

/* ===== Unicorn Vault (pentagon tags, lime to rose) ===== */
.mr-uni-section {
    padding: 48px 20px 8px; max-width: 1000px; margin: 0 auto;
    background: linear-gradient(180deg, rgba(185,242,39,0.05), rgba(232,178,152,0.06));
    border-radius: var(--radius-l);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.mr-uni-section .section-title i { color: var(--lime); }
.mr-uni-field { position: relative; height: 300px; max-width: 860px; margin: 0 auto; }
.mr-uni-line {
    position: absolute; height: 0; z-index: 1;
    border-top: 1.5px dashed rgba(185,242,39,0.35);
    transform-origin: 0 0; transform: rotate(var(--slope, 0deg));
    pointer-events: none;
}
.mr-uni-tag {
    position: absolute; z-index: 2;
    transform: translate(-50%, -50%);
    animation: mr-float 4.4s ease-in-out infinite; animation-delay: var(--fd, 0s);
    white-space: nowrap;
}
.mr-uni-shape {
    width: 110px; height: 110px;
    clip-path: var(--pentagon);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mr-uni-tag.tone-lime .mr-uni-shape { background: linear-gradient(160deg, #b9f227, #e8b298); }
.mr-uni-tag.tone-rose .mr-uni-shape { background: linear-gradient(160deg, #e8b298, #b9f227); }
.mr-uni-tag.sz-big .mr-uni-shape { width: 132px; height: 132px; }
.mr-uni-tag.sz-small .mr-uni-shape { width: 90px; height: 90px; }
.mr-uni-label { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.mr-uni-value { font-family: var(--font-body); font-weight: 800; font-size: 28px; color: var(--ink); line-height: 1; }
.mr-uni-tag.sz-big .mr-uni-value { font-size: 34px; }
.mr-uni-tag.sz-small .mr-uni-value { font-size: 22px; }
.mr-uni-name { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 12px; color: rgba(14,8,23,0.85); }
.mr-uni-tag:hover, .mr-uni-tag.lit {
    animation: mr-bounce 1.2s ease-in-out infinite;
    z-index: 5;
    filter: drop-shadow(0 0 18px rgba(185,242,39,0.65));
}
.mr-uni-hot { min-height: 20px; color: var(--fog); transition: opacity 0.22s ease; }
.mr-uni-chips { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 10px 0 26px; }
.mr-uni-chips .mono-tag { color: var(--fog); }
.mr-uni-chip {
    font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--lime); border: 1px solid rgba(185,242,39,0.45); border-radius: var(--pill);
    padding: 4px 12px; transition: background 0.25s ease, color 0.25s ease;
}
.mr-uni-chip:hover { background: var(--lime); color: var(--ink); }

/* ===== Masonry ===== */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; max-width: 1280px; margin: 48px auto 24px; padding: 0 20px; }
.content-main { min-width: 0; }
.masonry-section { min-width: 0; }
.masonry-section .section-title i { color: var(--rose); }
.masonry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.mr-masonry-card {
    display: flex; flex-direction: column;
    background: var(--sandal);
    border: 1px solid rgba(232,178,152,0.5);
    clip-path: var(--cut);
    overflow: hidden; box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mr-masonry-card:hover { transform: translateY(-8px); box-shadow: var(--glow-grad); }
.masonry-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.masonry-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.mr-masonry-card:hover .masonry-img { transform: scale(1.04); }
.masonry-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
    color: var(--ink); background: linear-gradient(135deg, #b9f227, #d4ff6b);
    padding: 3px 10px; border-radius: var(--pill); box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}
.masonry-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; }
.masonry-cat { color: var(--rose); }
.masonry-title { font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--cream); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.masonry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: rgba(139,127,160,0.75); }
.masonry-meta svg { width: 13px; height: 13px; color: var(--coral); }
.masonry-read {
    margin: auto 14px 14px; align-self: flex-end;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
    color: var(--ink); background: var(--rose);
    padding: 4px 14px; border-radius: var(--pill);
    opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: var(--glow-rose);
}
.mr-masonry-card:hover .masonry-read { opacity: 1; transform: translateY(0); }

.load-more-wrap { display: flex; justify-content: center; padding: 18px 0 30px; position: relative; }
.load-more-btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body); font-weight: 800; font-size: 18px; letter-spacing: 0.06em;
    color: var(--ink); text-transform: uppercase;
    background: linear-gradient(90deg, #b9f227, #d4ff6b); padding: 13px 32px; border-radius: var(--pill);
    box-shadow: var(--shadow); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.load-more-btn:hover { transform: translateY(-3px); box-shadow: var(--glow-lime); }
.load-ring { width: 18px; height: 18px; border: 2px solid rgba(14,8,23,0.3); border-top-color: var(--rose); border-radius: 50%; opacity: 0; }
.load-more-btn.loading .load-ring { opacity: 1; animation: ring-spin 0.8s linear infinite; }
.infinite-ring { position: absolute; top: 40px; width: 22px; height: 22px; border: 3px solid rgba(232,178,152,0.3); border-top-color: var(--rose); border-radius: 50%; opacity: 0; }
.infinite-ring.spin { opacity: 1; animation: ring-spin 0.8s linear infinite; }
.scroll-sentinel { height: 1px; }
.masonry-hidden { display: none; }

/* masonry ad dividers (rose/lime hairlines) */
.masonry-stream > div:not(.masonry-grid):not(.load-more-wrap):not(.scroll-sentinel) {
    border-top: 1px solid rgba(232,178,152,0.5);
    border-bottom: 1px solid rgba(185,242,39,0.4);
    margin: 6px 0 18px;
}

/* ===== Sidebar ===== */
.sidebar { display: flex; flex-direction: column; gap: 20px; align-self: start; position: sticky; top: 98px; }
.mr-widget { background: var(--sandal); border: 1px solid rgba(139,127,160,0.25); border-radius: var(--radius-l); padding: 18px 16px; box-shadow: var(--shadow); }
.widget-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 800; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream); margin-bottom: 12px; }
.mr-score-list { display: flex; flex-direction: column; }
.mr-score-row { display: flex; align-items: center; gap: 8px; padding: 9px 4px 9px 10px; background: var(--plum); border-bottom: 1px solid rgba(139,127,160,0.12); position: relative; }
.mr-score-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lc); }
.mr-score-name { flex: 1; font-weight: 600; font-size: 13px; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-score-rnd { color: var(--fog); font-size: 9px; }
.mr-score-amt { color: var(--lime); font-weight: 600; }

/* ===== Footer ===== */
.mr-footer { margin-top: 60px; background: var(--ink); position: relative; }
.footer-edge { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, rgba(232,178,152,0.65), rgba(185,242,39,0.65)); }
.footer-orbit {
    display: block; height: 34px; margin-top: 2px;
    background-image: repeating-linear-gradient(90deg, rgba(232,178,152,0.06) 0 1px, transparent 1px 8px);
    animation: mr-arc-drift 8s linear infinite;
    opacity: 0.9;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 30px 20px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-line1 { display: flex; align-items: baseline; gap: 10px; }
.footer-logo-a { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 30px; color: var(--rose); text-shadow: 0 0 30px rgba(232,178,152,0.4); }
.footer-logo-b { font-family: var(--font-body); font-weight: 800; font-size: 18px; letter-spacing: 0.24em; color: var(--lime); text-transform: uppercase; }
.footer-tagline { color: var(--fog); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-link { transition: filter 0.25s ease, transform 0.25s ease; }
.foot-link:hover { filter: drop-shadow(0 0 12px currentColor); transform: translateY(-1px); }
.foot-contact { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 20px; color: var(--rose); }
.foot-privacy { font-family: var(--font-body); font-weight: 800; font-size: 15px; letter-spacing: 0.18em; color: var(--lime); text-transform: uppercase; }
.foot-about { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 20px; color: var(--peri); }
.footer-copy { width: 100%; color: rgba(139,127,160,0.5); }

/* ===== Article detail ===== */
.article-main { max-width: 900px; margin: 0 auto; padding: 0 20px 20px; }
.article-hero { position: relative; height: 56vh; min-height: 320px; border-radius: 0 0 var(--radius-l) var(--radius-l); overflow: hidden; }
.article-hero-glow { position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 50% 40%, rgba(232,178,152,0.45), #1a1028 85%); }
.article-cover-wrap { position: absolute; inset: 0; z-index: 2; overflow: hidden; }
.article-cover { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; cursor: zoom-in;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.article-flow-edge { position: absolute; left: 18px; top: 0; bottom: 0; width: 4px; z-index: 4; background: repeating-linear-gradient(180deg, #e8b298 0 14px, transparent 14px 28px); background-size: 100% 28px; animation: star-dash-v 1.8s linear infinite; opacity: 0.85; }
@keyframes star-dash-v { to { background-position-y: 28px; } }
.article-hero-corner { position: absolute; right: 20px; bottom: 20px; z-index: 4; width: 130px; height: 130px; pointer-events: none; background: radial-gradient(circle at 70% 70%, rgba(185,242,39,0.4), transparent 62%); filter: blur(2px); }
.article-hero-actions { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 5; display: flex; gap: 10px; }
.hero-chip {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    padding: 9px 16px;
    background: rgba(0,0,0,0.5); color: var(--cream);
    border: 1px solid rgba(232,178,152,0.8);
    border-radius: 999px;
    backdrop-filter: blur(5px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-chip svg { width: 16px; height: 16px; }
.hero-chip:hover { transform: scale(1.08); box-shadow: var(--glow-rose); }

.article-headline { text-align: left; padding: 26px 10px 6px; }
.article-tags { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; margin-bottom: 12px; }
.article-cat { color: var(--rose-hi); border-color: rgba(232,178,152,0.6); }
.article-round { color: var(--lime-hi); border-color: rgba(185,242,39,0.55); }
.article-badge, .detail-badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink); background: linear-gradient(135deg, #b9f227, #d4ff6b); padding: 5px 11px; border-radius: var(--pill); }
.article-popularity { color: var(--peri-hi); border-color: rgba(168,181,255,0.6); }
.article-heat.mono-pill { color: var(--coral); border-color: rgba(255,139,126,0.6); }
.article-heat.mono-pill svg { width: 13px; height: 13px; }
.article-title { font-family: var(--font-body); font-weight: 800; font-size: 32px; letter-spacing: 0.01em; line-height: 1.15; color: var(--cream); max-width: 820px; margin: 0 0 10px; }
.article-title i { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--rose); }
.article-meta-row { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; color: var(--fog); }
.article-author { color: var(--rose); }
.meta-dot { opacity: 0.5; }

.param-section { padding: 16px 0 6px; }
.param-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.param-card {
    position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left;
    padding: 20px 16px 14px; background: var(--sandal);
    border: 1px solid rgba(232,178,152,0.45);
    border-radius: var(--radius-m);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.param-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #e8b298, #b9f227); }
.param-card:hover { transform: translateY(-4px); box-shadow: var(--glow-rose); }
.param-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: rgba(139,127,160,0.7); }
.param-value { font-family: var(--font-mono); font-weight: 600; font-size: 24px; letter-spacing: 0.02em; color: var(--lime); line-height: 1; }
.param-hint { font-size: 12px; line-height: 1.4; color: var(--fog); }

.object-data-module { position: relative; margin: 22px 0 8px; padding: 26px 22px 22px; background: var(--sandal); border: 1px solid rgba(232,178,152,0.6); clip-path: var(--cut); box-shadow: var(--shadow); overflow: hidden; }
.object-data-module::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background-image: var(--valuesteps); opacity: 0.9; }
.object-data-label { display: flex; align-items: center; gap: 7px; color: var(--lime); font-size: 13px; }
.object-data-label svg { width: 16px; height: 16px; }
.od-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 10px; flex-wrap: wrap; }
.od-name { font-family: var(--font-body); font-weight: 800; font-size: 26px; letter-spacing: 0.01em; color: var(--brandc, var(--rose)); }
.od-mag { font-family: var(--font-mono); font-weight: 600; font-size: 30px; color: var(--rose); letter-spacing: 0.02em; }
.od-mini { display: flex; justify-content: flex-start; gap: 18px; color: var(--fog); max-width: 560px; margin-bottom: 16px; flex-wrap: wrap; }
.od-mini span { color: var(--fog); }
.od-track { margin-bottom: 12px; }
.od-track-label, .od-position-label { display: block; color: var(--fog); margin-bottom: 6px; }
.od-bar { height: 10px; border-radius: 999px; background: var(--panel-hi); overflow: hidden; }
.od-bar-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #e8b298, #f5c9b3); }
.od-bar-peri .od-bar-fill { background: linear-gradient(120deg, #a8b5ff, #c7d0ff); }

.article-body { max-width: 680px; margin: 14px auto 20px; font-size: 18px; line-height: 1.8; color: var(--cream); }
.article-body p { margin: 0 0 1.1em; }
.article-body p:first-of-type::first-letter {
    font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: 46px; float: left; line-height: 0.9;
    color: var(--rose); margin: 4px 10px 0 0;
}
.article-body p:nth-of-type(odd) { border-left: 3px solid var(--lime); padding-left: 16px; }
.article-body img { width: 100%; border-radius: var(--radius-l); clip-path: var(--cut); margin: 10px 0; cursor: zoom-in; }
.article-body a { color: var(--peri-hi); text-decoration: underline; }
.tech-term { color: var(--peri); border-bottom: 1px solid rgba(168,181,255,0.7); cursor: pointer; }
.tech-term:hover { background: rgba(168,181,255,0.18); }

.term-drawer {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    background: var(--sandal); border-top: 3px solid var(--rose); border-radius: 18px 18px 0 0;
    padding: 22px 22px 30px; transform: translateY(110%); transition: transform 0.35s ease;
    max-height: 70vh; overflow-y: auto;
    box-shadow: 0 -10px 34px rgba(0,0,0,0.6);
}
.term-drawer.open, .param-drawer.open { transform: translateY(0); }
.term-drawer-close { position: absolute; top: 14px; right: 18px; font-size: 26px; color: var(--rose); }
.term-drawer-text { font-size: 16px; line-height: 1.7; color: var(--cream); padding-right: 30px; }
.cover-gallery {
    position: fixed; inset: 0; z-index: 90; background: rgba(14,8,23,0.94);
    display: none; align-items: center; justify-content: center; cursor: zoom-out;
}
.cover-gallery.open { display: flex; }
.cover-gallery img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius-l); }
.cover-gallery-close { position: absolute; top: 20px; right: 24px; font-size: 34px; color: #fff; }

.related-section { padding: 26px 0 10px; }
.related-section .section-title i { color: var(--rose); }
.related-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-card { display: flex; flex-direction: column; background: var(--sandal); border: 1px solid rgba(232,178,152,0.45); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.related-card:hover { transform: translateY(-6px); box-shadow: var(--glow-grad); }
.related-img-wrap { height: 110px; overflow: hidden; }
.related-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.related-card:hover .related-img { transform: scale(1.05); }
.related-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; }
.related-cat { color: var(--rose); }
.related-title { font-family: var(--font-body); font-weight: 600; font-size: 14px; line-height: 1.35; color: var(--cream); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-heat { display: flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--coral); }
.related-heat svg { width: 12px; height: 12px; }

/* static pages */
.static-main { max-width: 900px; margin: 0 auto; padding: 30px 20px 50px; }
.back-btn { display: inline-block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--fog); margin-bottom: 22px; transition: color 0.3s ease; }
.back-btn:hover { color: var(--lime); }
.static-article { border-radius: var(--radius-l); background: var(--sandal); border: 1px solid rgba(232,178,152,0.45); box-shadow: var(--shadow); padding: 34px 30px; clip-path: var(--cut); }
.static-cat { color: var(--rose-hi); }
.static-title { font-family: var(--font-body); font-weight: 800; font-size: 34px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--cream); margin-bottom: 18px; }
.static-title i { font-family: var(--font-serif); font-style: italic; font-weight: 600; text-transform: none; color: var(--rose); }
.static-title b { color: var(--lime); }
.static-content { color: var(--cream); font-size: 16px; line-height: 1.75; }
.static-content h2 { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 26px; letter-spacing: 0.02em; color: var(--rose); margin: 22px 0 8px; }
.static-content a { color: var(--peri-hi); text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
    .mr-nav { display: none; }
    .content-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
    .content-main { grid-area: main; min-width: 0; }
    .sidebar { display: none; }
    .param-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .related-track { grid-template-columns: minmax(0, 1fr); }
    .masonry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mr-df-series { font-size: 38px; }
    .mr-prism-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .mr-header { height: 64px; }
    .mr-header-inner { padding: 0 14px; }
    .mr-logo-a { font-size: 21px; }
    .mr-logo-b { font-size: 13px; letter-spacing: 0.16em; }
    .mr-plx { display: none; }
    .section-title { font-size: 30px; }
    .mr-prism-section, .mr-uni-section, .mr-ts-section, .mr-gp-section { padding-left: 12px; padding-right: 12px; }
    .mr-dealflow { display: none; }
    .mr-hint { display: none; }
    .mr-prism-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .mr-prism-card { height: 150px; }
    .mr-prism-card:hover { transform: none; }
    .mr-ts-card { flex-basis: 230px; }
    .mr-gp-card { width: 140px; height: 200px; padding: 42px 14px 24px; }
    .mr-gp-name { font-size: 15px; }
    .mr-uni-field { height: auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; padding: 14px 0 4px; }
    .mr-uni-tag { position: static; transform: none; animation: none; }
    .mr-uni-tag:hover, .mr-uni-tag.lit { animation: none; transform: translateY(-4px) scale(1.05); }
    .mr-uni-line { display: none; }
    .article-title { font-size: 26px; }
    .od-name { font-size: 22px; }
    .od-mag { font-size: 24px; }
    .hero-chip span { display: none; }
    .hero-chip { padding: 9px 11px; border-radius: 50%; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
    .masonry-grid { grid-template-columns: minmax(0, 1fr); }
    .masonry-img-wrap { aspect-ratio: 1 / 1; }
    .mr-gp-arc { gap: 14px; }
    .mr-gp-card { width: 128px; height: 186px; }
    .mr-gp-avatar { width: 46px; height: 46px; }
    .mr-stat-hide { display: none; }
}
