* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --jungle: #0a1a1f;
    --panel: #12282f;
    --void: #051012;
    --lift: #1a3842;
    --sun: #ffb703;
    --sun-hi: #ffd166;
    --coral: #fb5607;
    --coral-hi: #ff7d3a;
    --papaya: #06d6a0;
    --papaya-hi: #3de8b8;
    --carib: #118ab2;
    --carib-hi: #3aa8c8;
    --purple: #8338ec;
    --purple-hi: #a566ff;
    --white: #fdf5e6;
    --mist: #7a9a9a;
    --grad: linear-gradient(120deg, #ffb703, #fb5607, #06d6a0, #118ab2);
    --grad-sg: linear-gradient(90deg, #ffb703, #06d6a0);
    --grad-sgg: linear-gradient(120deg, #ffb703, #06d6a0);
    --grad-sc: linear-gradient(120deg, #ffb703, #fb5607);
    --grad-pc: linear-gradient(120deg, #06d6a0, #118ab2);
    --grad-cp: linear-gradient(120deg, #fb5607, #8338ec);
    --grad-cs: linear-gradient(120deg, #118ab2, #ffb703);
    --grad-panel: linear-gradient(160deg, #12282f, #0a1a1f);
    --tropic: repeating-linear-gradient(45deg, rgba(255,183,3,0.03) 0 2px, transparent 2px 8px), repeating-linear-gradient(-45deg, rgba(6,214,160,0.03) 0 2px, transparent 2px 8px);
    --weave: radial-gradient(rgba(251,86,7,0.04) 1.5px, transparent 1.5px);
    --stair: repeating-linear-gradient(0deg, rgba(17,138,178,0.04) 0 2px, transparent 2px 6px);
    --head: 'Climate Crisis', 'Archivo Black', 'Inter', system-ui, sans-serif;
    --black: 'Archivo Black', 'Climate Crisis', 'Inter', system-ui, sans-serif;
    --sans: 'Inter', 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;
    --shadow: 0 12px 30px rgba(0,0,0,0.78);
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    color: var(--white);
    background: var(--jungle);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.mono-tag, .mono-pill, .mono-hint { font-family: var(--mono); }

/* ===== Header ===== */
.st-header {
    position: sticky; top: 0; z-index: 60;
    height: 76px;
    background: rgba(10,26,31,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 3px solid transparent;
    border-image: var(--grad-sg) 1;
}
.st-header-inner {
    max-width: 1280px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; padding: 0 24px; position: relative;
}
.st-brand { display: flex; align-items: center; gap: 12px; position: relative; }
.st-brand-stripes { display: flex; gap: 3px; align-items: flex-end; height: 28px; }
.st-brand-stripes i { display: block; width: 4px; border-radius: 2px; }
.st-brand-stripes i:nth-child(1) { height: 16px; background: var(--sun); }
.st-brand-stripes i:nth-child(2) { height: 22px; background: var(--coral); }
.st-brand-stripes i:nth-child(3) { height: 28px; background: var(--papaya); }
.st-brand-block { display: flex; flex-direction: column; gap: 1px; }
.st-logo { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.st-logo-somos { font-family: var(--black); font-weight: 900; color: var(--sun); font-size: 22px; letter-spacing: 0.16em; }
.st-logo-tech { font-family: var(--black); font-style: italic; font-weight: 900; color: var(--papaya); font-size: 22px; letter-spacing: 0.01em; }
.st-tagline { color: var(--carib-hi); font-size: 10px; letter-spacing: 0.16em; }

.st-nav { display: flex; align-items: center; gap: 26px; }
.st-nav a { font-size: 15px; transition: transform .2s, filter .2s; }
.st-nav a:hover { transform: translateY(-2px); filter: brightness(1.2); }
.st-nav-1 { font-family: var(--black); font-weight: 900; color: var(--sun); }
.st-nav-2 { font-family: var(--black); font-weight: 900; text-transform: uppercase; color: var(--papaya); letter-spacing: 0.1em; }
.st-nav-3 { font-family: var(--black); font-style: italic; color: var(--carib-hi); }
.st-nav-4 { font-family: var(--black); font-weight: 900; text-transform: uppercase; color: var(--purple-hi); letter-spacing: 0.1em; }

.st-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.st-stat-1 { color: var(--papaya); font-size: 11px; letter-spacing: 0.1em; }
.st-stat-2 { color: var(--sun); font-size: 10px; letter-spacing: 0.1em; }

.st-edge { position: absolute; top: 50%; width: 40px; height: 14px; transform: translateY(-50%);
    background-image: var(--tropic); opacity: 0.95; border-radius: 3px; }
.st-edge-left { left: 0; } .st-edge-right { right: 0; }

/* ===== Layout ===== */
.main-content { max-width: 1280px; margin: 0 auto; padding: 0 24px 60px; }
section { position: relative; }
.st-head { text-align: center; margin: 56px 0 30px; }
.st-head-line { display: block; width: 90px; height: 3px; margin: 0 auto 16px;
    border-radius: 3px; position: relative; overflow: hidden; }
.st-line-sg { background: var(--grad-sg); }
.st-line-sgg { background: var(--grad-sgg); }
.st-line-sc { background: var(--grad-sc); }
.st-line-pc { background: var(--grad-pc); }
.st-line-cp { background: var(--grad-cp); }
.st-line-cs { background: var(--grad-cs); }
.st-head-title { font-family: var(--head); font-variation-settings: 'YEAR' 1979;
    font-weight: 900; font-size: 34px; color: var(--white); text-transform: uppercase;
    letter-spacing: 0.03em; }
.st-head-sub { color: var(--mist); font-size: 13px; letter-spacing: 0.06em; margin-top: 8px; display: block; }

/* ===== Hero: Mayan steps ===== */
.st-hero { padding: 28px 0 10px; }
.st-hero-desktop {
    display: grid; grid-template-columns: 24fr 46fr 24fr; gap: 12px;
    height: clamp(400px, 72vh, 640px);
}
.st-hero-hint { text-align: center; color: var(--mist); font-size: 12px; letter-spacing: 0.08em; margin-top: 16px; }

/* Left: tropical leaves */
.st-leaves { display: flex; flex-direction: column; gap: 12px; }
.st-leaf { position: relative; display: block; height: var(--h); padding: 2px;
    background: var(--tc); clip-path: polygon(50% 0%, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%);
    transition: transform .35s, filter .35s; }
.st-leaf-frame { position: relative; display: block; width: 100%; height: 100%; overflow: hidden;
    background: var(--panel);
    clip-path: polygon(50% 0%, 100% 30%, 100% 70%, 50% 100%, 0% 70%, 0% 30%); }
.st-leaf-frame img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
.st-leaf-vein { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px;
    background: linear-gradient(180deg, rgba(253,245,230,0.65), transparent); }
.st-leaf-meta { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center;
    display: flex; flex-direction: column; gap: 1px;
    background: linear-gradient(0deg, rgba(5,16,18,0.86), transparent); padding: 10px 4px 2px; }
.st-leaf-name { font-family: var(--black); font-weight: 900; color: var(--white); font-size: 12px; letter-spacing: 0.04em; }
.st-leaf-sub { font-size: 8.5px; color: var(--tc); letter-spacing: 0.04em; }
.st-leaf:hover { transform: translateY(-4px); filter: drop-shadow(0 12px 22px var(--tglow)); }
.st-leaf:hover .st-leaf-frame img { animation: leaf-sway 2.6s ease-in-out infinite; }
@keyframes leaf-sway { 0%,100% { transform: scale(1.02) rotate(0deg); } 50% { transform: scale(1.06) rotate(1.2deg); } }

.tone-papaya { --tc: #06d6a0; --tglow: rgba(6,214,160,0.5); }
.tone-carib { --tc: #118ab2; --tglow: rgba(17,138,178,0.5); }
.tone-purple { --tc: #8338ec; --tglow: rgba(131,56,236,0.5); }
.tone-coral { --tc: #fb5607; --tglow: rgba(251,86,7,0.5); }
.tone-sun { --tc: #ffb703; --tglow: rgba(255,183,3,0.5); }

/* Centre: stepped pyramid + base */
.st-tower { display: flex; flex-direction: column; }
.st-pyramid { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center;
    transition: filter .4s; min-height: 0; }
.st-step { position: relative; display: flex; align-items: center; justify-content: center;
    width: var(--w); height: 20%; overflow: hidden; border-radius: 5px;
    transition: filter .3s; }
.st-step-1 { background: linear-gradient(160deg, #3aa8c8, #118ab2); }
.st-step-2 { background: linear-gradient(160deg, #3de8b8, #06d6a0); }
.st-step-3 { background: linear-gradient(160deg, #ffd166, #ffb703); }
.st-step-4 { background: linear-gradient(160deg, #ff7d3a, #fb5607); }
.st-step-5 { background: linear-gradient(160deg, #a566ff, #8338ec); }
.st-step-img { display: block; width: clamp(36px, 20%, 110px); height: 62%; border-radius: 5px;
    overflow: hidden; border: 1px solid rgba(253,245,230,0.28); }
.st-step-img img { width: 100%; height: 100%; object-fit: cover; }
.st-step-door { display: block; width: clamp(28px, 22%, 52px); height: 84%; border-radius: 8px 8px 0 0;
    overflow: hidden; border: 2px solid rgba(253,245,230,0.55); }
.st-step-door img { width: 100%; height: 100%; object-fit: cover; }
.st-step-stripe { position: absolute; left: 0; right: 0; bottom: 3px; height: 3px;
    background-image: repeating-linear-gradient(90deg, rgba(253,245,230,0.38) 0 4px, transparent 4px 6px, rgba(253,245,230,0.75) 6px 8px, transparent 8px 14px); }
.st-tower:hover .st-pyramid { filter: drop-shadow(0 0 26px rgba(255,183,3,0.45)); }
.st-tower:hover .st-step { animation: step-light .9s ease both; animation-delay: calc(var(--i) * 0.1s); }
@keyframes step-light { from { filter: brightness(1); } to { filter: brightness(1.3); } }

.st-tower-base { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
    padding: 12px 0 0; }
.st-tower-left { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.st-tower-title { font-family: var(--black); font-weight: 900; font-size: 22px; line-height: 1.25;
    color: var(--white); }
.st-tower-pill { background: var(--sun); color: var(--void); font-size: 10px; font-weight: 600;
    letter-spacing: 0.1em; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; }
.st-tower-read { display: inline-flex; align-items: center; gap: 6px; color: var(--sun);
    font-family: var(--black); font-size: 13px; white-space: nowrap; transition: transform .25s; }
.st-tower-read:hover { transform: translateX(5px); }

/* Right: data steps */
.st-steps { display: flex; flex-direction: column; align-items: flex-start;
    justify-content: space-between; gap: 10px; }
.st-dstep { position: relative; display: flex; flex-direction: column; align-items: flex-start;
    gap: 1px; width: var(--w); min-width: 0; border: 1px solid var(--tc); border-radius: 8px;
    background: rgba(18,40,47,0.72); padding: 9px 8px 9px 13px; overflow: hidden;
    transition: transform .3s, box-shadow .3s; }
.st-dstep-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tc); }
.st-dstep-val { font-family: var(--black); font-weight: 900; font-size: 18px; color: var(--tc);
    line-height: 1.1; }
.st-dstep-lbl { max-width: 100%; font-size: 9px; color: var(--mist); letter-spacing: 0.04em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-dstep:hover { transform: translateX(4px); box-shadow: 0 0 22px var(--tglow); }

/* Mobile: four-layer pyramid */
.st-mob { display: none; }
.st-mpyramid { position: relative; width: 90%; margin: 0 auto; height: 110px;
    display: flex; flex-direction: column; align-items: center; }
.st-mstep { position: relative; display: block; width: var(--w); height: var(--h);
    overflow: hidden; border-radius: 4px; transition: filter .3s; }
.st-mstep.tone-purple { background: linear-gradient(160deg, #a566ff, #8338ec); }
.st-mstep.tone-coral { background: linear-gradient(160deg, #ff7d3a, #fb5607); }
.st-mstep.tone-sun { background: linear-gradient(160deg, #ffd166, #ffb703); }
.st-mstep.tone-papaya { background: linear-gradient(160deg, #3de8b8, #118ab2); }
.st-mstep.tone-carib { background: linear-gradient(160deg, #3aa8c8, #118ab2); }
.st-mstep-img { position: absolute; left: 5px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; border-radius: 4px; overflow: hidden;
    border: 1px solid rgba(253,245,230,0.45); }
.st-mstep-img img { width: 100%; height: 100%; object-fit: cover; }
.st-mstep-stripe { position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
    background-image: repeating-linear-gradient(90deg, rgba(253,245,230,0.42) 0 4px, transparent 4px 9px); }
.st-mstep-label { position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    font-family: var(--black); font-weight: 900; color: var(--white); font-size: 8px; letter-spacing: 0.06em; }
.st-mpyramid-base { display: block; width: 100%; height: 3px; margin-top: 3px; border-radius: 3px;
    background: var(--grad-sg); }

/* ===== Carnival grid ===== */
.st-carn-section { padding: 10px 0 20px; }
.st-carn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.st-carn { position: relative; display: block; min-height: 132px; padding: 24px 14px 16px;
    background: linear-gradient(160deg, rgba(255,183,3,0.10), rgba(251,86,7,0.08)), var(--panel);
    border: 1px solid var(--tc); border-radius: 16px; color: var(--tc);
    box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.st-carn-wave { position: absolute; top: 0; left: 0; width: 100%; height: 12px; }
.st-carn.t0 { --tc: #ffb703; --tglow: rgba(255,183,3,0.42); }
.st-carn.t1 { --tc: #fb5607; --tglow: rgba(251,86,7,0.42); }
.st-carn.t2 { --tc: #06d6a0; --tglow: rgba(6,214,160,0.42); }
.st-carn.t3 { --tc: #118ab2; --tglow: rgba(17,138,178,0.42); }
.st-carn.t4 { --tc: #8338ec; --tglow: rgba(131,56,236,0.42); }
.st-carn-body { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.st-carn-img { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; background: var(--white);
    border: 2px solid var(--white); }
.st-carn-img img { width: 100%; height: 100%; object-fit: cover; }
.st-carn-name { font-family: var(--black); font-weight: 900; color: var(--white); font-size: 15px;
    margin-top: 6px; line-height: 1.2; }
.st-carn-count { font-size: 10px; color: var(--mist); letter-spacing: 0.06em; }
.st-carn-heat { display: flex; gap: 5px; margin-top: 8px; }
.st-carn-heat i { display: block; width: 10px; height: 10px; border-radius: 2px;
    background: rgba(253,245,230,0.14); }
.st-carn-heat i.sq0.on { background: var(--sun); }
.st-carn-heat i.sq1.on { background: var(--coral); }
.st-carn-heat i.sq2.on { background: var(--papaya); }
.st-carn-rating { position: absolute; right: 12px; bottom: 10px; font-family: var(--mono);
    font-size: 11px; font-weight: 600; color: var(--sun); }
.st-carn:hover { transform: translateY(-6px); box-shadow: 0 18px 36px var(--tglow); }
.st-carn:hover .st-carn-wave { animation: wave-bob 1.4s ease-in-out infinite; }
@keyframes wave-bob { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }

/* ===== Copa Final ===== */
.st-copa-section { padding: 10px 0 20px; }
.st-copa-reel { position: relative; background: rgba(6,214,160,0.08);
    border: 1px dashed var(--carib); border-radius: 18px; padding: 34px 24px 30px; }
.st-copa-track { display: flex; gap: 34px; overflow-x: auto; padding: 6px 14px 12px; cursor: grab;
    scrollbar-width: thin; scrollbar-color: var(--papaya) transparent; }
.st-copa-track.dragging { cursor: grabbing; }
.st-copa-track::-webkit-scrollbar { height: 6px; }
.st-copa-track::-webkit-scrollbar-thumb { background: var(--papaya); border-radius: 6px; }
.st-copa-weave { position: absolute; left: 24px; right: 24px; bottom: 8px; height: 14px;
    background-image: var(--weave); background-size: 10px 10px; pointer-events: none; }
.st-copa { position: relative; flex: 0 0 236px; display: flex; flex-direction: column;
    background: linear-gradient(160deg, var(--papaya), var(--carib));
    border-radius: 16px; padding: 22px 18px 18px; color: var(--white);
    box-shadow: var(--shadow); transition: transform .3s, filter .3s; }
.st-copa.alt { background: linear-gradient(160deg, var(--carib), var(--papaya)); }
.st-copa-handles::before, .st-copa-handles::after { content: ''; position: absolute; top: 26px;
    width: 22px; height: 38px; border: 3px solid rgba(253,245,230,0.68);
    border-radius: 50%; border-top-color: transparent; border-bottom-color: transparent; }
.st-copa-handles::before { left: -16px; border-right-color: transparent; }
.st-copa-handles::after { right: -16px; border-left-color: transparent; }
.st-copa-trophy { display: block; width: 26px; height: 26px; color: rgba(253,245,230,0.95); }
.st-copa-name { font-family: var(--black); font-weight: 900; font-size: 15px; margin-top: 8px; }
.st-copa-country { font-size: 10px; letter-spacing: 0.06em; color: rgba(253,245,230,0.82); }
.st-copa-shot { display: block; height: 80px; margin-top: 12px; border-radius: 8px;
    overflow: hidden; background: var(--void); }
.st-copa-shot img { width: 100%; height: 100%; object-fit: cover; }
.st-copa-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; }
.st-copa-index { font-size: 20px; font-weight: 600; color: var(--white); }
.st-copa-time { font-size: 10px; color: rgba(253,245,230,0.82); }
.st-copa-dot { position: absolute; right: 14px; bottom: 12px; width: 8px; height: 8px;
    border-radius: 50%; background: var(--sun); }
.st-copa:hover { transform: translateY(-6px); filter: drop-shadow(0 14px 26px rgba(6,214,160,0.5)); }
.st-copa:hover .st-copa-handles::before { animation: handle-glow-l 1.3s ease-in-out infinite; }
.st-copa:hover .st-copa-handles::after { animation: handle-glow-r 1.3s ease-in-out infinite; }
@keyframes handle-glow-l { 0%,100% { border-left-color: rgba(253,245,230,0.68); } 50% { border-left-color: #ffd166; } }
@keyframes handle-glow-r { 0%,100% { border-right-color: rgba(253,245,230,0.68); } 50% { border-right-color: #ffd166; } }

/* ===== Founder Arc ===== */
.st-arc-section { padding: 10px 0 20px; }
.st-arc { display: flex; justify-content: center; align-items: flex-start; gap: 24px;
    flex-wrap: wrap; padding: 44px 0 54px; }
.st-founder { position: relative; display: block; width: 184px; height: 196px;
    background: linear-gradient(160deg, var(--coral), var(--purple));
    clip-path: polygon(50% 0%, 100% 35%, 100% 65%, 50% 100%, 0% 65%, 0% 35%);
    transform: rotate(var(--ang)) translateY(var(--ty));
    transition: transform .38s cubic-bezier(.22,1,.36,1), filter .38s; }
.st-founder-vein { position: absolute; left: 50%; top: 4%; bottom: 6%; width: 1px;
    background: linear-gradient(180deg, rgba(253,245,230,0.7), transparent); }
.st-founder-inner { position: relative; display: flex; flex-direction: column; align-items: center;
    gap: 4px; padding: 36px 16px 26px; text-align: center; }
.st-founder-ava { width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
    border: 2px solid var(--white); background: var(--panel); }
.st-founder-ava img { width: 100%; height: 100%; object-fit: cover; }
.st-founder-name { font-family: var(--black); font-weight: 900; color: var(--white);
    font-size: 12px; margin-top: 8px; line-height: 1.2; }
.st-founder-meta { font-size: 9px; color: rgba(253,245,230,0.86); letter-spacing: 0.04em; }
.st-founder:hover { transform: rotate(0deg) translateY(calc(var(--ty) - 8px));
    filter: drop-shadow(0 18px 30px rgba(251,86,7,0.55)); }
.st-founder:hover .st-founder-vein { animation: vein-pulse 1.6s ease-in-out infinite; }
@keyframes vein-pulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ===== Ritmo Tags ===== */
.st-ritmo-section { padding: 10px 0 20px; }
.st-ritmo-rail { display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 22px; padding: 32px 20px; border-radius: 18px;
    background: rgba(17,138,178,0.10); border: 1px dashed rgba(255,183,3,0.4); }
.st-ritmo { position: relative; display: inline-flex; align-items: center; gap: 10px;
    min-width: 130px; height: 50px; padding: 0 16px; border-radius: 26px;
    background: linear-gradient(120deg, var(--carib), var(--sun));
    box-shadow: var(--shadow); transition: transform .3s, filter .3s; }
.st-ritmo.alt { background: linear-gradient(120deg, var(--sun), var(--carib)); }
.st-ritmo + .st-ritmo::before { content: ''; position: absolute; left: -22px; top: 50%;
    width: 22px; border-top: 1px dashed rgba(17,138,178,0.65); }
.st-ritmo-wave { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.st-ritmo-wave i { display: block; width: 3px; height: var(--bh); border-radius: 2px;
    background: rgba(253,245,230,0.9); animation: ritmo 1.5s ease-in-out infinite; }
.st-ritmo-wave i:nth-child(2) { animation-delay: .15s; }
.st-ritmo-wave i:nth-child(3) { animation-delay: .3s; }
.st-ritmo-wave i:nth-child(4) { animation-delay: .45s; }
.st-ritmo-wave i:nth-child(5) { animation-delay: .6s; }
@keyframes ritmo { 0%,100% { transform: scaleY(0.7); } 50% { transform: scaleY(1.1); } }
.st-ritmo-word { font-family: var(--black); font-weight: 900; color: var(--white); font-size: 13px; }
.st-ritmo-count { font-size: 11px; color: rgba(253,245,230,0.88); margin-left: auto; }
.st-ritmo:hover { transform: scale(1.08); filter: drop-shadow(0 12px 22px rgba(17,138,178,0.6)); }
.st-ritmo-hot { text-align: center; color: var(--mist); font-size: 13px; letter-spacing: 0.04em; margin-top: 18px; }
.st-ritmo-hot strong { color: var(--sun); }

/* ===== Masonry + sidebar ===== */
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; margin-top: 40px; align-items: start; }
.masonry-section { padding: 10px 0; }
.masonry-stream { display: flex; flex-direction: column; gap: 24px; }
.masonry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.st-card { position: relative; display: block; background: var(--grad-panel);
    border: 1px solid rgba(255,183,3,0.5); border-radius: 14px; overflow: hidden;
    box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.st-card-stripes { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; z-index: 3;
    background-image: repeating-linear-gradient(0deg, rgba(255,183,3,0.55) 0 6px, rgba(6,214,160,0.4) 6px 12px);
    opacity: 0.5; transition: opacity .3s; }
.masonry-img-wrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.masonry-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.masonry-badge { position: absolute; top: 12px; left: 14px; background: var(--sun); color: var(--void);
    font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
    padding: 3px 10px; border-radius: 20px; }
.masonry-body { padding: 16px 16px 20px 20px; }
.masonry-cat { color: var(--papaya); font-size: 11px; letter-spacing: 0.08em; }
.masonry-title { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--white);
    margin: 6px 0 10px; line-height: 1.4; }
.masonry-meta { display: flex; align-items: center; gap: 6px; font-family: var(--mono);
    font-size: 11px; color: rgba(122,154,154,0.6); }
.masonry-meta svg { width: 13px; height: 13px; color: var(--coral); }
.masonry-read { position: absolute; right: 16px; bottom: 14px; background: var(--papaya); color: var(--void);
    font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 20px;
    opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.st-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(255,183,3,0.28); }
.st-card:hover .masonry-img { transform: scale(1.06); }
.st-card:hover .masonry-read { opacity: 1; transform: translateY(0); }
.st-card:hover .st-card-stripes { opacity: 1; }
.masonry-hidden { display: none; }
.masonry-ad-slot { position: relative; margin: 4px 0 18px; padding: 14px 0; }
.masonry-ad-slot::before, .masonry-ad-slot::after { content: ''; position: absolute; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,183,3,0.6), transparent); }
.masonry-ad-slot::before { top: 0; }
.masonry-ad-slot::after { bottom: 0; }

.load-more-wrap { display: flex; justify-content: center; align-items: center; margin: 30px 0 10px; position: relative; }
.load-more-btn { position: relative; display: inline-flex; align-items: center; gap: 10px;
    background: var(--sun); color: var(--void); border: none; cursor: pointer;
    font-family: var(--black); font-weight: 900; font-size: 15px; letter-spacing: 0.04em;
    padding: 13px 30px; border-radius: 30px; box-shadow: 0 10px 26px rgba(255,183,3,0.4);
    transition: transform .25s, box-shadow .25s; }
.load-more-btn:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(255,183,3,0.55); }
.load-ring { width: 15px; height: 15px; border: 2px solid rgba(5,16,18,0.3); border-top-color: var(--papaya);
    border-radius: 50%; opacity: 0; }
.load-more-btn.loading .load-ring { opacity: 1; animation: spin2 0.8s linear infinite; }
@keyframes spin2 { to { transform: rotate(360deg); } }
.infinite-ring { position: absolute; width: 30px; height: 30px; border: 3px solid rgba(6,214,160,0.25);
    border-top-color: var(--papaya); border-radius: 50%; opacity: 0; }
.infinite-ring.spin { opacity: 1; animation: spin2 0.8s linear infinite; }
.scroll-sentinel { height: 1px; }

/* Sidebar widget */
.sidebar { position: sticky; top: 96px; }
.st-widget { background: var(--panel); border-radius: 16px; padding: 20px 18px; box-shadow: var(--shadow);
    border: 1px solid rgba(6,214,160,0.28); }
.st-widget-title { font-family: var(--black); font-weight: 900; font-size: 16px; color: var(--white);
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.st-widget-title svg { width: 17px; height: 17px; color: var(--papaya); }
.st-live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--papaya);
    animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }
.st-rank-list { display: flex; flex-direction: column; gap: 8px; }
.st-rank-row { position: relative; display: flex; align-items: center; gap: 10px;
    background: var(--jungle); border-radius: 10px; padding: 10px 12px 10px 16px; }
.st-rank-bar { position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--rc); }
.st-rank-name { flex: 1; font-family: var(--black); font-weight: 900; font-size: 13px; color: var(--white); }
.st-rank-count { color: var(--sun); font-size: 13px; font-weight: 600; }
.st-widget-note { color: var(--mist); font-size: 10px; letter-spacing: 0.06em; margin-top: 12px; text-align: center; }

/* ===== Footer ===== */
.st-footer { position: relative; background: var(--void); color: var(--white); margin-top: 60px; overflow: hidden; }
.st-footer-tropic { display: block; height: 40px; background-image: var(--tropic); opacity: 0.9;
    animation: plx 6s linear infinite; }
@keyframes plx { to { background-position: 14px 14px; } }
.st-footer-edge { display: block; height: 3px;
    background: linear-gradient(90deg, rgba(255,183,3,0.65), rgba(6,214,160,0.65)); }
.st-footer-inner { max-width: 1280px; margin: 0 auto; padding: 34px 24px 28px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.st-footer-brand { display: flex; flex-direction: column; gap: 6px; }
.st-footer-logo { font-family: var(--black); font-size: 24px; display: flex; align-items: baseline; gap: 6px; }
.st-fl-somos { font-weight: 900; color: var(--sun); letter-spacing: 0.16em; }
.st-fl-tech { font-style: italic; font-weight: 900; color: var(--papaya-hi); }
.st-footer-tagline { color: rgba(253,245,230,0.55); font-size: 11px; letter-spacing: 0.1em; }
.st-footer-nav { display: flex; gap: 28px; }
.st-footer-nav a { font-family: var(--black); font-size: 15px; transition: transform .2s, filter .2s; }
.st-footer-nav a:hover { transform: translateY(-2px); filter: brightness(1.2); }
.st-fnav-1 { font-weight: 900; color: var(--sun); }
.st-fnav-2 { text-transform: uppercase; color: var(--papaya); letter-spacing: 0.08em; }
.st-fnav-3 { font-style: italic; color: var(--carib-hi); }
.st-footer-copy { color: rgba(122,154,154,0.5); font-size: 11px; letter-spacing: 0.06em; }

/* ===== Ad slots ===== */
.ad-slot { margin: 26px auto; }
.ad-slot-top, .ad-slot-bottom { background: rgba(255,183,3,0.06); border-radius: 12px; padding: 6px 0; }
.masonry-ad-slot { background: rgba(255,183,3,0.06); border-radius: 12px; }
#adv1 > div:first-child, #adv2 > div:first-child, #adv3 > div:first-child { color: var(--mist) !important; }

/* ===== Article detail ===== */
.article-main { max-width: 900px; margin: 0 auto; padding: 0 24px 60px; }
.article-hero { position: relative; height: 56vh; min-height: 320px; max-height: 520px; margin: 24px 0 0;
    border-radius: 20px; overflow: hidden;
    background: radial-gradient(ellipse at 50% 32%, rgba(255,183,3,0.32), transparent 62%), var(--jungle); }
.article-hero-glow { position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(6,214,160,0.55), transparent 70%); filter: blur(20px); }
.article-hero-stripes { position: absolute; left: 0; top: 0; bottom: 0; width: 30px;
    background-image: var(--tropic); opacity: 0.95; animation: plx 6s linear infinite; }
.article-hero-actions { position: absolute; top: 18px; left: 18px; display: flex; gap: 12px; z-index: 3; }
.hero-chip { display: inline-flex; align-items: center; gap: 7px; background: rgba(5,16,18,0.6);
    border: 1px solid var(--sun); color: var(--white); border-radius: 30px; padding: 8px 16px;
    font-family: var(--mono); font-size: 12px; cursor: pointer; transition: transform .25s; }
.hero-chip svg { width: 15px; height: 15px; color: var(--sun); }
.hero-chip:hover { transform: scale(1.08); }
.article-cover-wrap { position: absolute; inset: 0; }
.article-cover { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in;
    mask-image: linear-gradient(to bottom, #000 60%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent); }

.article-headline { text-align: left; margin: 28px 0 20px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.mono-pill { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 20px; }
.article-cat { border: 1px solid var(--sun); color: var(--sun); }
.detail-badge { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; padding: 4px 12px;
    border-radius: 20px; background: var(--coral); color: var(--white); }
.article-country { border: 1px solid var(--carib); color: var(--carib-hi); }
.article-popularity { border: 1px solid var(--purple-hi); color: var(--purple-hi); }
.article-heat { border: 1px solid var(--coral); color: var(--coral-hi); display: inline-flex; align-items: center; gap: 5px; }
.article-heat svg { width: 12px; height: 12px; }
.article-title { font-family: var(--black); font-weight: 900; font-size: 32px; line-height: 1.25; color: var(--white); }
.at-somos { color: var(--sun); letter-spacing: 0.06em; }
.at-story { font-style: italic; color: var(--papaya); }
.article-meta-row { color: var(--mist); font-size: 12px; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.meta-dot { opacity: 0.5; }

.param-section { margin: 26px 0; }
.param-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.param-card { position: relative; background: var(--panel); border: 1px solid rgba(255,183,3,0.5);
    border-radius: 14px; padding: 20px 14px 18px; text-align: left; cursor: default; overflow: hidden;
    box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.param-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background-image: repeating-linear-gradient(90deg, rgba(253,245,230,0.3) 0 1px, transparent 1px 4px), var(--grad-sg); }
.param-label { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: rgba(122,154,154,0.55); }
.param-value { display: block; font-family: var(--mono); font-weight: 600; font-size: 24px; color: var(--sun); margin-top: 6px; }
.param-hint { display: block; font-size: 12px; color: var(--mist); margin-top: 8px; opacity: 0; max-height: 0; overflow: hidden; transition: opacity .3s, max-height .3s; }
.param-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(255,183,3,0.22); }
.param-card:hover .param-hint { opacity: 1; max-height: 60px; }

.startup-data-module { position: relative; background: var(--panel); border: 1px solid var(--sun);
    border-radius: 16px; padding: 28px 24px 24px; margin: 26px 0; box-shadow: var(--shadow); overflow: hidden; }
.startup-wave { position: absolute; top: 0; left: 0; width: 100%; height: 12px; color: var(--sun); }
.startup-wave svg { width: 100%; height: 100%; }
.startup-label { display: flex; align-items: center; gap: 8px; color: var(--papaya); font-size: 12px;
    letter-spacing: 0.1em; margin: 8px 0 14px; }
.startup-label svg { width: 16px; height: 16px; }
.sd-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sd-name { font-family: var(--black); font-weight: 900; font-size: 28px; color: var(--brandc); }
.sd-value { font-family: var(--mono); font-weight: 600; font-size: 30px; color: var(--carib-hi); }
.sd-mini { display: flex; gap: 20px; flex-wrap: wrap; color: var(--mist); font-size: 11px; margin: 12px 0 18px; letter-spacing: 0.06em; }
.sd-track, .sd-position { margin-bottom: 14px; }
.sd-track-label, .sd-position-label { display: block; color: var(--mist); font-size: 11px; margin-bottom: 6px; }
.sd-bar { height: 8px; background: var(--jungle); border-radius: 8px; overflow: hidden; }
.sd-bar-fill { display: block; height: 100%; background: var(--grad-sg); border-radius: 8px; }
.sd-bar-coral .sd-bar-fill { background: linear-gradient(90deg, var(--coral), var(--sun)); }

.article-body { max-width: 680px; margin: 20px auto; font-size: 18px; line-height: 1.8; color: var(--white); }
.article-body p { margin-bottom: 22px; }
.article-body p:nth-child(odd) { border-left: 3px solid var(--papaya); padding-left: 18px; }
.article-body p:first-of-type::first-letter { font-family: var(--black); font-weight: 900; font-size: 46px;
    color: var(--sun); float: left; line-height: 0.8; padding: 6px 8px 0 0; text-transform: uppercase; }
.article-body img { border-radius: 14px; margin: 20px 0; width: 100%; }
.tech-term { color: var(--carib-hi); border-bottom: 1px solid var(--carib-hi); cursor: pointer; }
.tech-term:hover { background: rgba(17,138,178,0.22); }

.related-section { margin: 40px 0 10px; }
.related-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.st-related-card { position: relative; background: var(--panel); border: 1px solid rgba(255,183,3,0.5);
    border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.st-related-stripes { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; z-index: 2;
    background-image: repeating-linear-gradient(0deg, rgba(255,183,3,0.55) 0 5px, rgba(6,214,160,0.4) 5px 10px); opacity: 0.6; }
.st-related-img-wrap { height: 110px; overflow: hidden; }
.st-related-img { width: 100%; height: 100%; object-fit: cover; }
.st-related-body { padding: 12px 14px 16px 18px; }
.st-related-cat { color: var(--sun); font-size: 10px; letter-spacing: 0.08em; }
.st-related-title { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--white); margin: 6px 0 8px; line-height: 1.35; }
.st-related-heat { display: inline-flex; align-items: center; gap: 5px; color: var(--papaya); font-family: var(--mono); font-size: 11px; }
.st-related-heat svg { width: 12px; height: 12px; }
.st-related-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(255,183,3,0.24); }

/* Drawers */
.term-drawer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    background: var(--panel); border-top: 3px solid var(--sun); border-radius: 18px 18px 0 0;
    padding: 22px 24px 30px; box-shadow: 0 -14px 40px rgba(0,0,0,0.6);
    transform: translateY(120%); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.term-drawer.open { transform: translateY(0); }
.term-drawer-close { position: absolute; top: 10px; right: 16px; border: none; background: none;
    font-size: 26px; color: var(--mist); cursor: pointer; line-height: 1; }
.term-drawer-text { font-size: 15px; color: var(--white); line-height: 1.6; }

.cover-gallery { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,0.94);
    display: none; align-items: center; justify-content: center; padding: 30px; }
.cover-gallery.open { display: flex; }
.cover-gallery img { max-width: 92%; max-height: 92%; border-radius: 12px; object-fit: contain; }
.cover-gallery-close { position: absolute; top: 20px; right: 26px; border: none; background: none;
    color: var(--white); font-size: 34px; cursor: pointer; line-height: 1; }

/* ===== Static pages ===== */
.static-main { max-width: 900px; margin: 0 auto; padding: 30px 24px 60px; }
.back-btn { display: inline-block; color: var(--papaya); font-size: 13px; margin-bottom: 20px; }
.static-article { background: var(--panel); border: 1px solid rgba(255,183,3,0.45); border-radius: 16px; padding: 34px 32px; box-shadow: var(--shadow); }
.static-cat { border: 1px solid var(--sun); color: var(--sun); }
.static-title { font-family: var(--head); font-variation-settings: 'YEAR' 1979; font-weight: 900;
    font-size: 28px; color: var(--white); margin: 14px 0 20px; text-transform: uppercase; letter-spacing: 0.03em; }
.static-content { font-size: 16px; line-height: 1.8; color: var(--white); }
.static-content h2 { font-family: var(--black); font-weight: 900; font-size: 19px; color: var(--sun); margin: 22px 0 8px; }
.static-content p { margin-bottom: 14px; }

/* ===== Reveal ===== */
.st-reveal { opacity: 0; }
.st-reveal.revealed { opacity: 1; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .content-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .param-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .masonry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .st-carn-grid { grid-template-columns: repeat(4, 1fr); }
    .st-tower-title { font-size: 19px; }
}
@media (max-width: 860px) {
    .st-nav { display: none; }
    .st-head-title { font-size: 30px; }
    .st-hero-desktop { grid-template-columns: 26fr 48fr 26fr; }
}
@media (max-width: 767px) {
    .st-header { height: 64px; }
    .st-edge { display: none; }
    .st-header-inner { padding: 0 16px; }
    .st-stats { display: none; }
    .st-logo-somos, .st-logo-tech { font-size: 19px; }
    .main-content { padding: 0 14px 40px; }
    .st-hero { padding: 4px 0; max-height: 130px; overflow: hidden; }
    .st-hero-desktop, .st-hero-hint { display: none; }
    .st-mob { display: block; padding: 0; }
    .st-carn-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .st-arc { gap: 30px 14px; }
    .st-founder { width: 156px; height: 168px; }
    .st-founder-inner { padding: 30px 12px 22px; }
    .st-copa { flex-basis: 210px; }
    .st-copa-track { gap: 28px; }
    .st-head-title { font-size: 26px; }
    .article-title { font-size: 25px; }
    .related-track { grid-template-columns: minmax(0, 1fr); }
    .sd-name { font-size: 22px; }
    .sd-value { font-size: 24px; }
    .hero-chip span { display: none; }
    .hero-chip { padding: 9px 11px; border-radius: 50%; }
    .param-hint { display: none; }
    .st-ritmo-rail { gap: 14px; padding: 24px 14px; }
    .st-ritmo + .st-ritmo::before { display: none; }
}
@media (max-width: 600px) {
    .masonry-grid { grid-template-columns: minmax(0, 1fr); }
    .masonry-img-wrap { aspect-ratio: 1 / 1; }
    .st-head-title { font-size: 22px; }
    .st-ritmo { min-width: 118px; }
}
